diff --git a/bin/json/game_rdtaskcondi.json b/bin/json/game_rdtaskcondi.json index 40018f1b3..0ad4701b5 100644 --- a/bin/json/game_rdtaskcondi.json +++ b/bin/json/game_rdtaskcondi.json @@ -1,7 +1,10 @@ [ { "id": 101, + "type_sp": 0, + "tasktxt": "", "type": 1, + "valid": 0, "data1": 1, "data2": 25001, "data3": 0, @@ -10,7 +13,10 @@ }, { "id": 102, + "type_sp": 0, + "tasktxt": "", "type": 2, + "valid": 0, "data1": 1, "data2": 3, "data3": 0, @@ -19,7 +25,10 @@ }, { "id": 103, + "type_sp": 0, + "tasktxt": "", "type": 3, + "valid": 0, "data1": 1, "data2": 2, "data3": 0, @@ -28,7 +37,10 @@ }, { "id": 104, + "type_sp": 0, + "tasktxt": "", "type": 4, + "valid": 0, "data1": 10, "data2": 14007, "data3": 0, @@ -37,7 +49,10 @@ }, { "id": 105, + "type_sp": 0, + "tasktxt": "", "type": 5, + "valid": 0, "data1": 2, "data2": 25001, "data3": 0, @@ -46,7 +61,10 @@ }, { "id": 106, + "type_sp": 0, + "tasktxt": "", "type": 6, + "valid": 0, "data1": 5, "data2": 25004, "data3": 0, @@ -55,7 +73,10 @@ }, { "id": 107, + "type_sp": 0, + "tasktxt": "", "type": 7, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -64,7 +85,10 @@ }, { "id": 108, + "type_sp": 0, + "tasktxt": "", "type": 8, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -73,7 +97,10 @@ }, { "id": 109, + "type_sp": 0, + "tasktxt": "", "type": 9, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -82,7 +109,10 @@ }, { "id": 110, + "type_sp": 0, + "tasktxt": "", "type": 10, + "valid": 0, "data1": 2, "data2": 0, "data3": 0, @@ -91,7 +121,10 @@ }, { "id": 111, + "type_sp": 0, + "tasktxt": "", "type": 11, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -100,7 +133,10 @@ }, { "id": 112, + "type_sp": 0, + "tasktxt": "", "type": 12, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -109,7 +145,10 @@ }, { "id": 113, + "type_sp": 0, + "tasktxt": "", "type": 13, + "valid": 0, "data1": 2, "data2": 0, "data3": 0, @@ -118,7 +157,10 @@ }, { "id": 114, + "type_sp": 0, + "tasktxt": "", "type": 14, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -127,7 +169,10 @@ }, { "id": 115, + "type_sp": 0, + "tasktxt": "", "type": 15, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -136,7 +181,10 @@ }, { "id": 116, + "type_sp": 0, + "tasktxt": "", "type": 16, + "valid": 0, "data1": 5, "data2": 3, "data3": 0, @@ -145,7 +193,10 @@ }, { "id": 117, + "type_sp": 0, + "tasktxt": "", "type": 17, + "valid": 0, "data1": 1, "data2": 3, "data3": 0, @@ -154,7 +205,10 @@ }, { "id": 118, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -163,7 +217,10 @@ }, { "id": 119, + "type_sp": 0, + "tasktxt": "", "type": 19, + "valid": 0, "data1": 2, "data2": 0, "data3": 0, @@ -172,7 +229,10 @@ }, { "id": 120, + "type_sp": 0, + "tasktxt": "", "type": 20, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -181,7 +241,10 @@ }, { "id": 121, + "type_sp": 0, + "tasktxt": "", "type": 21, + "valid": 0, "data1": 2, "data2": 0, "data3": 0, @@ -190,7 +253,10 @@ }, { "id": 122, + "type_sp": 0, + "tasktxt": "", "type": 22, + "valid": 0, "data1": 25001, "data2": 0, "data3": 0, @@ -199,7 +265,10 @@ }, { "id": 123, + "type_sp": 0, + "tasktxt": "", "type": 23, + "valid": 0, "data1": 3, "data2": 5, "data3": 20, @@ -208,7 +277,10 @@ }, { "id": 124, + "type_sp": 0, + "tasktxt": "", "type": 24, + "valid": 0, "data1": 4, "data2": 0, "data3": 0, @@ -217,7 +289,10 @@ }, { "id": 125, + "type_sp": 0, + "tasktxt": "", "type": 25, + "valid": 0, "data1": 3, "data2": 25001, "data3": 6, @@ -226,7 +301,10 @@ }, { "id": 126, + "type_sp": 0, + "tasktxt": "", "type": 26, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -235,7 +313,10 @@ }, { "id": 127, + "type_sp": 0, + "tasktxt": "", "type": 27, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -244,7 +325,10 @@ }, { "id": 128, + "type_sp": 0, + "tasktxt": "", "type": 28, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -253,7 +337,10 @@ }, { "id": 129, + "type_sp": 0, + "tasktxt": "", "type": 29, + "valid": 0, "data1": 2, "data2": 22, "data3": 25004, @@ -262,7 +349,10 @@ }, { "id": 130, + "type_sp": 0, + "tasktxt": "", "type": 30, + "valid": 0, "data1": 5, "data2": 3, "data3": 0, @@ -271,7 +361,10 @@ }, { "id": 131, + "type_sp": 0, + "tasktxt": "", "type": 31, + "valid": 0, "data1": 4, "data2": 3, "data3": 0, @@ -280,7 +373,10 @@ }, { "id": 132, + "type_sp": 0, + "tasktxt": "", "type": 32, + "valid": 0, "data1": 3, "data2": 3, "data3": 20, @@ -289,7 +385,10 @@ }, { "id": 133, + "type_sp": 0, + "tasktxt": "", "type": 33, + "valid": 0, "data1": 3, "data2": 3, "data3": 23, @@ -298,7 +397,10 @@ }, { "id": 134, + "type_sp": 0, + "tasktxt": "", "type": 34, + "valid": 0, "data1": 5, "data2": 2, "data3": 0, @@ -307,7 +409,10 @@ }, { "id": 135, + "type_sp": 0, + "tasktxt": "", "type": 35, + "valid": 0, "data1": 2, "data2": 25001, "data3": 0, @@ -316,7 +421,10 @@ }, { "id": 136, + "type_sp": 0, + "tasktxt": "", "type": 36, + "valid": 0, "data1": 1, "data2": 3, "data3": 3, @@ -325,7 +433,10 @@ }, { "id": 137, + "type_sp": 0, + "tasktxt": "", "type": 37, + "valid": 0, "data1": 1, "data2": 3, "data3": 0, @@ -334,7 +445,10 @@ }, { "id": 138, + "type_sp": 0, + "tasktxt": "", "type": 38, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -343,7 +457,10 @@ }, { "id": 139, + "type_sp": 0, + "tasktxt": "", "type": 39, + "valid": 0, "data1": 2, "data2": 0, "data3": 0, @@ -352,7 +469,10 @@ }, { "id": 140, + "type_sp": 0, + "tasktxt": "", "type": 40, + "valid": 0, "data1": 2, "data2": 2, "data3": 0, @@ -361,7 +481,10 @@ }, { "id": 141, + "type_sp": 0, + "tasktxt": "", "type": 41, + "valid": 0, "data1": 2, "data2": 2, "data3": 1, @@ -370,7 +493,10 @@ }, { "id": 142, + "type_sp": 0, + "tasktxt": "", "type": 42, + "valid": 0, "data1": 2, "data2": 2, "data3": 2, @@ -379,7 +505,10 @@ }, { "id": 143, + "type_sp": 0, + "tasktxt": "", "type": 43, + "valid": 0, "data1": 2, "data2": 2, "data3": 0, @@ -388,7 +517,10 @@ }, { "id": 144, + "type_sp": 0, + "tasktxt": "", "type": 44, + "valid": 0, "data1": 3, "data2": 0, "data3": 0, @@ -397,7 +529,10 @@ }, { "id": 145, + "type_sp": 0, + "tasktxt": "", "type": 45, + "valid": 0, "data1": 2, "data2": 1, "data3": 1, @@ -406,7 +541,10 @@ }, { "id": 146, + "type_sp": 0, + "tasktxt": "", "type": 46, + "valid": 0, "data1": 1, "data2": 4, "data3": 1, @@ -415,7 +553,10 @@ }, { "id": 147, + "type_sp": 0, + "tasktxt": "", "type": 47, + "valid": 0, "data1": 2, "data2": 0, "data3": 0, @@ -424,7 +565,10 @@ }, { "id": 148, + "type_sp": 0, + "tasktxt": "", "type": 48, + "valid": 0, "data1": 1, "data2": 1, "data3": 2, @@ -433,7 +577,10 @@ }, { "id": 149, + "type_sp": 0, + "tasktxt": "", "type": 49, + "valid": 0, "data1": 1, "data2": 1, "data3": 2, @@ -442,7 +589,10 @@ }, { "id": 150, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 1, "data2": 1, "data3": 0, @@ -451,7 +601,10 @@ }, { "id": 151, + "type_sp": 0, + "tasktxt": "", "type": 51, + "valid": 0, "data1": 1, "data2": 1, "data3": 0, @@ -460,7 +613,10 @@ }, { "id": 152, + "type_sp": 0, + "tasktxt": "", "type": 52, + "valid": 0, "data1": 1, "data2": 14007, "data3": 0, @@ -469,7 +625,10 @@ }, { "id": 153, + "type_sp": 0, + "tasktxt": "", "type": 53, + "valid": 0, "data1": 2, "data2": 0, "data3": 0, @@ -478,7 +637,10 @@ }, { "id": 154, + "type_sp": 0, + "tasktxt": "", "type": 54, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -487,7 +649,10 @@ }, { "id": 155, + "type_sp": 0, + "tasktxt": "", "type": 55, + "valid": 0, "data1": 2, "data2": 3, "data3": 0, @@ -496,7 +661,10 @@ }, { "id": 156, + "type_sp": 0, + "tasktxt": "", "type": 56, + "valid": 0, "data1": 1, "data2": 1, "data3": 2, @@ -505,7 +673,10 @@ }, { "id": 157, + "type_sp": 0, + "tasktxt": "", "type": 57, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -514,7 +685,10 @@ }, { "id": 158, + "type_sp": 0, + "tasktxt": "", "type": 58, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -523,7 +697,10 @@ }, { "id": 159, + "type_sp": 0, + "tasktxt": "", "type": 59, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -532,7 +709,10 @@ }, { "id": 160, + "type_sp": 0, + "tasktxt": "", "type": 60, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -541,7 +721,10 @@ }, { "id": 161, + "type_sp": 0, + "tasktxt": "", "type": 61, + "valid": 0, "data1": 109, "data2": 0, "data3": 0, @@ -550,7 +733,10 @@ }, { "id": 162, + "type_sp": 0, + "tasktxt": "", "type": 62, + "valid": 0, "data1": 2, "data2": 0, "data3": 0, @@ -559,7 +745,10 @@ }, { "id": 163, + "type_sp": 0, + "tasktxt": "", "type": 63, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -568,7 +757,10 @@ }, { "id": 164, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 2, "data2": 0, "data3": 0, @@ -577,7 +769,10 @@ }, { "id": 165, + "type_sp": 0, + "tasktxt": "", "type": 65, + "valid": 0, "data1": 2, "data2": 10001, "data3": 0, @@ -586,7 +781,10 @@ }, { "id": 166, + "type_sp": 0, + "tasktxt": "", "type": 66, + "valid": 0, "data1": 2, "data2": 1, "data3": 0, @@ -595,7 +793,10 @@ }, { "id": 167, + "type_sp": 0, + "tasktxt": "", "type": 67, + "valid": 0, "data1": 1000, "data2": 1, "data3": 0, @@ -604,7 +805,10 @@ }, { "id": 168, + "type_sp": 0, + "tasktxt": "", "type": 68, + "valid": 0, "data1": 1000, "data2": 1, "data3": 0, @@ -613,7 +817,10 @@ }, { "id": 169, + "type_sp": 0, + "tasktxt": "", "type": 69, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -622,7 +829,10 @@ }, { "id": 170, + "type_sp": 0, + "tasktxt": "", "type": 1, + "valid": 0, "data1": 1, "data2": 44006, "data3": 0, @@ -631,7 +841,10 @@ }, { "id": 171, + "type_sp": 0, + "tasktxt": "", "type": 70, + "valid": 0, "data1": 1, "data2": 101, "data3": 0, @@ -640,7 +853,10 @@ }, { "id": 172, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -649,7 +865,10 @@ }, { "id": 173, + "type_sp": 0, + "tasktxt": "", "type": 72, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -658,7 +877,10 @@ }, { "id": 174, + "type_sp": 0, + "tasktxt": "", "type": 70, + "valid": 0, "data1": 1, "data2": 101, "data3": 0, @@ -667,7 +889,10 @@ }, { "id": 175, + "type_sp": 0, + "tasktxt": "", "type": 70, + "valid": 0, "data1": 1, "data2": 102, "data3": 0, @@ -676,7 +901,10 @@ }, { "id": 176, + "type_sp": 0, + "tasktxt": "", "type": 70, + "valid": 0, "data1": 1, "data2": 103, "data3": 0, @@ -685,7 +913,10 @@ }, { "id": 177, + "type_sp": 0, + "tasktxt": "", "type": 70, + "valid": 0, "data1": 1, "data2": 104, "data3": 0, @@ -694,7 +925,10 @@ }, { "id": 178, + "type_sp": 0, + "tasktxt": "", "type": 70, + "valid": 0, "data1": 1, "data2": 105, "data3": 0, @@ -703,7 +937,10 @@ }, { "id": 179, + "type_sp": 0, + "tasktxt": "", "type": 70, + "valid": 0, "data1": 1, "data2": 106, "data3": 0, @@ -712,7 +949,10 @@ }, { "id": 180, + "type_sp": 0, + "tasktxt": "", "type": 70, + "valid": 0, "data1": 1, "data2": 107, "data3": 0, @@ -721,7 +961,10 @@ }, { "id": 181, + "type_sp": 0, + "tasktxt": "", "type": 70, + "valid": 0, "data1": 1, "data2": 108, "data3": 0, @@ -730,7 +973,10 @@ }, { "id": 182, + "type_sp": 0, + "tasktxt": "", "type": 70, + "valid": 0, "data1": 1, "data2": 109, "data3": 0, @@ -739,7 +985,10 @@ }, { "id": 183, + "type_sp": 0, + "tasktxt": "", "type": 140, + "valid": 0, "data1": 1, "data2": 10001, "data3": 0, @@ -748,7 +997,10 @@ }, { "id": 184, + "type_sp": 0, + "tasktxt": "", "type": 140, + "valid": 0, "data1": 1, "data2": 10002, "data3": 0, @@ -757,7 +1009,10 @@ }, { "id": 185, + "type_sp": 0, + "tasktxt": "", "type": 140, + "valid": 0, "data1": 1, "data2": 10003, "data3": 0, @@ -766,7 +1021,10 @@ }, { "id": 186, + "type_sp": 0, + "tasktxt": "", "type": 140, + "valid": 0, "data1": 1, "data2": 10004, "data3": 0, @@ -775,7 +1033,10 @@ }, { "id": 187, + "type_sp": 0, + "tasktxt": "", "type": 109, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -784,7 +1045,10 @@ }, { "id": 188, + "type_sp": 0, + "tasktxt": "", "type": 104, + "valid": 0, "data1": 100, "data2": 0, "data3": 0, @@ -793,7 +1057,10 @@ }, { "id": 189, + "type_sp": 0, + "tasktxt": "", "type": 70, + "valid": 0, "data1": 1, "data2": 110, "data3": 0, @@ -802,7 +1069,10 @@ }, { "id": 190, + "type_sp": 0, + "tasktxt": "", "type": 70, + "valid": 0, "data1": 1, "data2": 111, "data3": 1, @@ -811,7 +1081,10 @@ }, { "id": 191, + "type_sp": 0, + "tasktxt": "", "type": 70, + "valid": 0, "data1": 1, "data2": 112, "data3": 2, @@ -820,7 +1093,10 @@ }, { "id": 192, + "type_sp": 0, + "tasktxt": "", "type": 70, + "valid": 0, "data1": 1, "data2": 113, "data3": 3, @@ -829,7 +1105,10 @@ }, { "id": 193, + "type_sp": 0, + "tasktxt": "", "type": 70, + "valid": 0, "data1": 1, "data2": 114, "data3": 4, @@ -838,7 +1117,10 @@ }, { "id": 195, + "type_sp": 0, + "tasktxt": "", "type": 140, + "valid": 0, "data1": 1, "data2": 10005, "data3": 0, @@ -847,7 +1129,10 @@ }, { "id": 196, + "type_sp": 0, + "tasktxt": "", "type": 140, + "valid": 0, "data1": 1, "data2": 10006, "data3": 0, @@ -856,7 +1141,10 @@ }, { "id": 197, + "type_sp": 0, + "tasktxt": "", "type": 140, + "valid": 0, "data1": 1, "data2": 10007, "data3": 0, @@ -865,7 +1153,10 @@ }, { "id": 198, + "type_sp": 0, + "tasktxt": "", "type": 140, + "valid": 0, "data1": 1, "data2": 10008, "data3": 0, @@ -874,7 +1165,10 @@ }, { "id": 199, + "type_sp": 0, + "tasktxt": "", "type": 140, + "valid": 0, "data1": 1, "data2": 10009, "data3": 0, @@ -883,7 +1177,10 @@ }, { "id": 200, + "type_sp": 0, + "tasktxt": "", "type": 140, + "valid": 0, "data1": 1, "data2": 10010, "data3": 0, @@ -892,7 +1189,10 @@ }, { "id": 201, + "type_sp": 0, + "tasktxt": "", "type": 140, + "valid": 0, "data1": 1, "data2": 10007, "data3": 0, @@ -901,7 +1201,10 @@ }, { "id": 202, + "type_sp": 0, + "tasktxt": "", "type": 140, + "valid": 0, "data1": 1, "data2": 10007, "data3": 0, @@ -910,16 +1213,22 @@ }, { "id": 301, + "type_sp": 1, + "tasktxt": "通关主线章节1-1", "type": 61, + "valid": 0, "data1": 1100101, "data2": 0, "data3": 0, "data4": 0, - "data5": 0 + "data5": 29 }, { "id": 302, + "type_sp": 0, + "tasktxt": "", "type": 61, + "valid": 0, "data1": 104, "data2": 0, "data3": 0, @@ -928,7 +1237,10 @@ }, { "id": 303, + "type_sp": 0, + "tasktxt": "", "type": 61, + "valid": 0, "data1": 108, "data2": 0, "data3": 0, @@ -937,7 +1249,10 @@ }, { "id": 10001, + "type_sp": 0, + "tasktxt": "", "type": 24, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -946,7 +1261,10 @@ }, { "id": 10002, + "type_sp": 0, + "tasktxt": "", "type": 24, + "valid": 0, "data1": 5, "data2": 0, "data3": 0, @@ -955,7 +1273,10 @@ }, { "id": 10003, + "type_sp": 0, + "tasktxt": "", "type": 24, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -964,7 +1285,10 @@ }, { "id": 10004, + "type_sp": 0, + "tasktxt": "", "type": 24, + "valid": 0, "data1": 20, "data2": 0, "data3": 0, @@ -973,7 +1297,10 @@ }, { "id": 10005, + "type_sp": 0, + "tasktxt": "", "type": 24, + "valid": 0, "data1": 50, "data2": 0, "data3": 0, @@ -982,7 +1309,10 @@ }, { "id": 10006, + "type_sp": 0, + "tasktxt": "", "type": 24, + "valid": 0, "data1": 100, "data2": 0, "data3": 0, @@ -991,7 +1321,10 @@ }, { "id": 10007, + "type_sp": 0, + "tasktxt": "", "type": 24, + "valid": 0, "data1": 200, "data2": 0, "data3": 0, @@ -1000,7 +1333,10 @@ }, { "id": 10008, + "type_sp": 0, + "tasktxt": "", "type": 24, + "valid": 0, "data1": 300, "data2": 0, "data3": 0, @@ -1009,7 +1345,10 @@ }, { "id": 10009, + "type_sp": 0, + "tasktxt": "", "type": 24, + "valid": 0, "data1": 500, "data2": 0, "data3": 0, @@ -1018,7 +1357,10 @@ }, { "id": 10010, + "type_sp": 0, + "tasktxt": "", "type": 24, + "valid": 0, "data1": 1000, "data2": 0, "data3": 0, @@ -1027,7 +1369,10 @@ }, { "id": 10101, + "type_sp": 0, + "tasktxt": "", "type": 7, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -1036,7 +1381,10 @@ }, { "id": 10201, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -1045,7 +1393,10 @@ }, { "id": 10202, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 5, "data2": 0, "data3": 0, @@ -1054,7 +1405,10 @@ }, { "id": 10203, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -1063,7 +1417,10 @@ }, { "id": 10204, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 20, "data2": 0, "data3": 0, @@ -1072,7 +1429,10 @@ }, { "id": 10205, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 50, "data2": 0, "data3": 0, @@ -1081,7 +1441,10 @@ }, { "id": 10206, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 100, "data2": 0, "data3": 0, @@ -1090,7 +1453,10 @@ }, { "id": 10207, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 200, "data2": 0, "data3": 0, @@ -1099,7 +1465,10 @@ }, { "id": 10208, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 300, "data2": 0, "data3": 0, @@ -1108,7 +1477,10 @@ }, { "id": 10209, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 500, "data2": 0, "data3": 0, @@ -1117,7 +1489,10 @@ }, { "id": 10210, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 1000, "data2": 0, "data3": 0, @@ -1126,7 +1501,10 @@ }, { "id": 10301, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 1, "data2": 5, "data3": 0, @@ -1135,7 +1513,10 @@ }, { "id": 10302, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 5, "data2": 5, "data3": 0, @@ -1144,7 +1525,10 @@ }, { "id": 10303, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 10, "data2": 5, "data3": 0, @@ -1153,7 +1537,10 @@ }, { "id": 10304, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 20, "data2": 5, "data3": 0, @@ -1162,7 +1549,10 @@ }, { "id": 10305, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 50, "data2": 5, "data3": 0, @@ -1171,7 +1561,10 @@ }, { "id": 10306, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 100, "data2": 5, "data3": 0, @@ -1180,7 +1573,10 @@ }, { "id": 10307, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 200, "data2": 5, "data3": 0, @@ -1189,7 +1585,10 @@ }, { "id": 10308, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 300, "data2": 5, "data3": 0, @@ -1198,7 +1597,10 @@ }, { "id": 10309, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 500, "data2": 5, "data3": 0, @@ -1207,7 +1609,10 @@ }, { "id": 10310, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 1000, "data2": 5, "data3": 0, @@ -1216,7 +1621,10 @@ }, { "id": 10401, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 1, "data2": 6, "data3": 0, @@ -1225,7 +1633,10 @@ }, { "id": 10402, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 5, "data2": 6, "data3": 0, @@ -1234,7 +1645,10 @@ }, { "id": 10403, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 10, "data2": 6, "data3": 0, @@ -1243,7 +1657,10 @@ }, { "id": 10404, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 20, "data2": 6, "data3": 0, @@ -1252,7 +1669,10 @@ }, { "id": 10405, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 50, "data2": 6, "data3": 0, @@ -1261,7 +1681,10 @@ }, { "id": 10406, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 100, "data2": 6, "data3": 0, @@ -1270,7 +1693,10 @@ }, { "id": 10407, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 200, "data2": 6, "data3": 0, @@ -1279,7 +1705,10 @@ }, { "id": 10408, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 300, "data2": 6, "data3": 0, @@ -1288,7 +1717,10 @@ }, { "id": 10409, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 500, "data2": 6, "data3": 0, @@ -1297,7 +1729,10 @@ }, { "id": 10410, + "type_sp": 0, + "tasktxt": "", "type": 50, + "valid": 0, "data1": 1000, "data2": 6, "data3": 0, @@ -1306,7 +1741,10 @@ }, { "id": 10501, + "type_sp": 0, + "tasktxt": "", "type": 58, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -1315,7 +1753,10 @@ }, { "id": 10502, + "type_sp": 0, + "tasktxt": "", "type": 58, + "valid": 0, "data1": 5, "data2": 0, "data3": 0, @@ -1324,7 +1765,10 @@ }, { "id": 10503, + "type_sp": 0, + "tasktxt": "", "type": 58, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -1333,7 +1777,10 @@ }, { "id": 10504, + "type_sp": 0, + "tasktxt": "", "type": 58, + "valid": 0, "data1": 20, "data2": 0, "data3": 0, @@ -1342,7 +1789,10 @@ }, { "id": 10505, + "type_sp": 0, + "tasktxt": "", "type": 58, + "valid": 0, "data1": 30, "data2": 0, "data3": 0, @@ -1351,7 +1801,10 @@ }, { "id": 10506, + "type_sp": 0, + "tasktxt": "", "type": 58, + "valid": 0, "data1": 50, "data2": 0, "data3": 0, @@ -1360,7 +1813,10 @@ }, { "id": 10507, + "type_sp": 0, + "tasktxt": "", "type": 58, + "valid": 0, "data1": 70, "data2": 0, "data3": 0, @@ -1369,7 +1825,10 @@ }, { "id": 10508, + "type_sp": 0, + "tasktxt": "", "type": 58, + "valid": 0, "data1": 100, "data2": 0, "data3": 0, @@ -1378,7 +1837,10 @@ }, { "id": 10601, + "type_sp": 0, + "tasktxt": "", "type": 62, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -1387,7 +1849,10 @@ }, { "id": 10602, + "type_sp": 0, + "tasktxt": "", "type": 62, + "valid": 0, "data1": 5, "data2": 0, "data3": 0, @@ -1396,7 +1861,10 @@ }, { "id": 10603, + "type_sp": 0, + "tasktxt": "", "type": 62, + "valid": 0, "data1": 99, "data2": 0, "data3": 0, @@ -1405,7 +1873,10 @@ }, { "id": 10701, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -1414,7 +1885,10 @@ }, { "id": 10702, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 5, "data2": 0, "data3": 0, @@ -1423,7 +1897,10 @@ }, { "id": 10703, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -1432,7 +1909,10 @@ }, { "id": 10704, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 20, "data2": 0, "data3": 0, @@ -1441,7 +1921,10 @@ }, { "id": 10705, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 50, "data2": 0, "data3": 0, @@ -1450,7 +1933,10 @@ }, { "id": 10706, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 100, "data2": 0, "data3": 0, @@ -1459,7 +1945,10 @@ }, { "id": 10707, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 200, "data2": 0, "data3": 0, @@ -1468,7 +1957,10 @@ }, { "id": 10708, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 300, "data2": 0, "data3": 0, @@ -1477,7 +1969,10 @@ }, { "id": 10709, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 500, "data2": 0, "data3": 0, @@ -1486,7 +1981,10 @@ }, { "id": 10710, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 1000, "data2": 0, "data3": 0, @@ -1495,7 +1993,10 @@ }, { "id": 10801, + "type_sp": 0, + "tasktxt": "", "type": 8, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -1504,7 +2005,10 @@ }, { "id": 10802, + "type_sp": 0, + "tasktxt": "", "type": 8, + "valid": 0, "data1": 5, "data2": 0, "data3": 0, @@ -1513,7 +2017,10 @@ }, { "id": 10803, + "type_sp": 0, + "tasktxt": "", "type": 8, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -1522,7 +2029,10 @@ }, { "id": 10804, + "type_sp": 0, + "tasktxt": "", "type": 8, + "valid": 0, "data1": 20, "data2": 0, "data3": 0, @@ -1531,7 +2041,10 @@ }, { "id": 10805, + "type_sp": 0, + "tasktxt": "", "type": 8, + "valid": 0, "data1": 50, "data2": 0, "data3": 0, @@ -1540,7 +2053,10 @@ }, { "id": 10806, + "type_sp": 0, + "tasktxt": "", "type": 8, + "valid": 0, "data1": 100, "data2": 0, "data3": 0, @@ -1549,7 +2065,10 @@ }, { "id": 10807, + "type_sp": 0, + "tasktxt": "", "type": 8, + "valid": 0, "data1": 200, "data2": 0, "data3": 0, @@ -1558,7 +2077,10 @@ }, { "id": 10808, + "type_sp": 0, + "tasktxt": "", "type": 8, + "valid": 0, "data1": 300, "data2": 0, "data3": 0, @@ -1567,7 +2089,10 @@ }, { "id": 10809, + "type_sp": 0, + "tasktxt": "", "type": 8, + "valid": 0, "data1": 500, "data2": 0, "data3": 0, @@ -1576,7 +2101,10 @@ }, { "id": 10810, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 1000, "data2": 0, "data3": 0, @@ -1585,7 +2113,10 @@ }, { "id": 2008001, + "type_sp": 0, + "tasktxt": "", "type": 8, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -1594,7 +2125,10 @@ }, { "id": 2012001, + "type_sp": 0, + "tasktxt": "", "type": 12, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -1603,7 +2137,10 @@ }, { "id": 2018001, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -1612,7 +2149,10 @@ }, { "id": 2024001, + "type_sp": 0, + "tasktxt": "", "type": 24, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -1621,7 +2161,10 @@ }, { "id": 2047001, + "type_sp": 0, + "tasktxt": "", "type": 47, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -1630,7 +2173,10 @@ }, { "id": 2062001, + "type_sp": 0, + "tasktxt": "", "type": 62, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -1639,7 +2185,10 @@ }, { "id": 2064001, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -1648,7 +2197,10 @@ }, { "id": 2130001, + "type_sp": 0, + "tasktxt": "", "type": 130, + "valid": 0, "data1": 3, "data2": 0, "data3": 0, @@ -1657,7 +2209,10 @@ }, { "id": 3008001, + "type_sp": 0, + "tasktxt": "", "type": 8, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -1666,7 +2221,10 @@ }, { "id": 3012001, + "type_sp": 0, + "tasktxt": "", "type": 12, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -1675,7 +2233,10 @@ }, { "id": 3018001, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 5, "data2": 0, "data3": 0, @@ -1684,7 +2245,10 @@ }, { "id": 3024001, + "type_sp": 0, + "tasktxt": "", "type": 24, + "valid": 0, "data1": 5, "data2": 0, "data3": 0, @@ -1693,7 +2257,10 @@ }, { "id": 3047001, + "type_sp": 0, + "tasktxt": "", "type": 47, + "valid": 0, "data1": 7, "data2": 0, "data3": 0, @@ -1702,7 +2269,10 @@ }, { "id": 3061001, + "type_sp": 0, + "tasktxt": "", "type": 62, + "valid": 0, "data1": 7, "data2": 0, "data3": 0, @@ -1711,7 +2281,10 @@ }, { "id": 3064001, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 7, "data2": 0, "data3": 0, @@ -1720,7 +2293,10 @@ }, { "id": 3088001, + "type_sp": 0, + "tasktxt": "", "type": 88, + "valid": 0, "data1": 3, "data2": 0, "data3": 0, @@ -1729,7 +2305,10 @@ }, { "id": 3105001, + "type_sp": 0, + "tasktxt": "", "type": 105, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -1738,7 +2317,10 @@ }, { "id": 3104001, + "type_sp": 0, + "tasktxt": "", "type": 104, + "valid": 0, "data1": 1000, "data2": 0, "data3": 0, @@ -1747,7 +2329,10 @@ }, { "id": 3130001, + "type_sp": 0, + "tasktxt": "", "type": 130, + "valid": 0, "data1": 30, "data2": 0, "data3": 0, @@ -1756,7 +2341,10 @@ }, { "id": 4008001, + "type_sp": 0, + "tasktxt": "", "type": 8, + "valid": 0, "data1": 3, "data2": 0, "data3": 0, @@ -1765,7 +2353,10 @@ }, { "id": 4008002, + "type_sp": 0, + "tasktxt": "", "type": 8, + "valid": 0, "data1": 7, "data2": 0, "data3": 0, @@ -1774,7 +2365,10 @@ }, { "id": 4008003, + "type_sp": 0, + "tasktxt": "", "type": 8, + "valid": 0, "data1": 30, "data2": 0, "data3": 0, @@ -1783,7 +2377,10 @@ }, { "id": 4008004, + "type_sp": 0, + "tasktxt": "", "type": 8, + "valid": 0, "data1": 90, "data2": 0, "data3": 0, @@ -1792,7 +2389,10 @@ }, { "id": 4008005, + "type_sp": 0, + "tasktxt": "", "type": 8, + "valid": 0, "data1": 180, "data2": 0, "data3": 0, @@ -1801,7 +2401,10 @@ }, { "id": 4008006, + "type_sp": 0, + "tasktxt": "", "type": 8, + "valid": 0, "data1": 365, "data2": 0, "data3": 0, @@ -1810,7 +2413,10 @@ }, { "id": 4008007, + "type_sp": 0, + "tasktxt": "", "type": 9, + "valid": 0, "data1": 3, "data2": 0, "data3": 0, @@ -1819,7 +2425,10 @@ }, { "id": 4008008, + "type_sp": 0, + "tasktxt": "", "type": 9, + "valid": 0, "data1": 7, "data2": 0, "data3": 0, @@ -1828,7 +2437,10 @@ }, { "id": 4008009, + "type_sp": 0, + "tasktxt": "", "type": 9, + "valid": 0, "data1": 14, "data2": 0, "data3": 0, @@ -1837,7 +2449,10 @@ }, { "id": 4008010, + "type_sp": 0, + "tasktxt": "", "type": 9, + "valid": 0, "data1": 30, "data2": 0, "data3": 0, @@ -1846,7 +2461,10 @@ }, { "id": 4010001, + "type_sp": 0, + "tasktxt": "", "type": 10, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -1855,7 +2473,10 @@ }, { "id": 4010002, + "type_sp": 0, + "tasktxt": "", "type": 10, + "valid": 0, "data1": 5, "data2": 0, "data3": 0, @@ -1864,7 +2485,10 @@ }, { "id": 4010003, + "type_sp": 0, + "tasktxt": "", "type": 10, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -1873,7 +2497,10 @@ }, { "id": 4010004, + "type_sp": 0, + "tasktxt": "", "type": 10, + "valid": 0, "data1": 20, "data2": 0, "data3": 0, @@ -1882,7 +2509,10 @@ }, { "id": 4010005, + "type_sp": 0, + "tasktxt": "", "type": 10, + "valid": 0, "data1": 30, "data2": 0, "data3": 0, @@ -1891,7 +2521,10 @@ }, { "id": 4010006, + "type_sp": 0, + "tasktxt": "", "type": 10, + "valid": 0, "data1": 50, "data2": 0, "data3": 0, @@ -1900,7 +2533,10 @@ }, { "id": 4011001, + "type_sp": 0, + "tasktxt": "", "type": 11, + "valid": 0, "data1": 5, "data2": 0, "data3": 0, @@ -1909,7 +2545,10 @@ }, { "id": 4011002, + "type_sp": 0, + "tasktxt": "", "type": 11, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -1918,7 +2557,10 @@ }, { "id": 4011003, + "type_sp": 0, + "tasktxt": "", "type": 11, + "valid": 0, "data1": 30, "data2": 0, "data3": 0, @@ -1927,7 +2569,10 @@ }, { "id": 4011004, + "type_sp": 0, + "tasktxt": "", "type": 11, + "valid": 0, "data1": 50, "data2": 0, "data3": 0, @@ -1936,7 +2581,10 @@ }, { "id": 4011005, + "type_sp": 0, + "tasktxt": "", "type": 11, + "valid": 0, "data1": 100, "data2": 0, "data3": 0, @@ -1945,7 +2593,10 @@ }, { "id": 4011006, + "type_sp": 0, + "tasktxt": "", "type": 11, + "valid": 0, "data1": 300, "data2": 0, "data3": 0, @@ -1954,7 +2605,10 @@ }, { "id": 4011007, + "type_sp": 0, + "tasktxt": "", "type": 11, + "valid": 0, "data1": 500, "data2": 0, "data3": 0, @@ -1963,7 +2617,10 @@ }, { "id": 4011008, + "type_sp": 0, + "tasktxt": "", "type": 11, + "valid": 0, "data1": 1000, "data2": 0, "data3": 0, @@ -1972,7 +2629,10 @@ }, { "id": 4011009, + "type_sp": 0, + "tasktxt": "", "type": 11, + "valid": 0, "data1": 3000, "data2": 0, "data3": 0, @@ -1981,7 +2641,10 @@ }, { "id": 4011010, + "type_sp": 0, + "tasktxt": "", "type": 11, + "valid": 0, "data1": 5000, "data2": 0, "data3": 0, @@ -1990,7 +2653,10 @@ }, { "id": 4011011, + "type_sp": 0, + "tasktxt": "", "type": 11, + "valid": 0, "data1": 10000, "data2": 0, "data3": 0, @@ -1999,7 +2665,10 @@ }, { "id": 4012001, + "type_sp": 0, + "tasktxt": "", "type": 12, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -2008,7 +2677,10 @@ }, { "id": 4012002, + "type_sp": 0, + "tasktxt": "", "type": 12, + "valid": 0, "data1": 5, "data2": 0, "data3": 0, @@ -2017,7 +2689,10 @@ }, { "id": 4012003, + "type_sp": 0, + "tasktxt": "", "type": 12, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -2026,7 +2701,10 @@ }, { "id": 4012004, + "type_sp": 0, + "tasktxt": "", "type": 12, + "valid": 0, "data1": 30, "data2": 0, "data3": 0, @@ -2035,7 +2713,10 @@ }, { "id": 4012005, + "type_sp": 0, + "tasktxt": "", "type": 12, + "valid": 0, "data1": 50, "data2": 0, "data3": 0, @@ -2044,7 +2725,10 @@ }, { "id": 4012006, + "type_sp": 0, + "tasktxt": "", "type": 12, + "valid": 0, "data1": 100, "data2": 0, "data3": 0, @@ -2053,7 +2737,10 @@ }, { "id": 4012007, + "type_sp": 0, + "tasktxt": "", "type": 12, + "valid": 0, "data1": 300, "data2": 0, "data3": 0, @@ -2062,7 +2749,10 @@ }, { "id": 4012008, + "type_sp": 0, + "tasktxt": "", "type": 12, + "valid": 0, "data1": 500, "data2": 0, "data3": 0, @@ -2071,7 +2761,10 @@ }, { "id": 4012009, + "type_sp": 0, + "tasktxt": "", "type": 12, + "valid": 0, "data1": 1000, "data2": 0, "data3": 0, @@ -2080,7 +2773,10 @@ }, { "id": 4016001, + "type_sp": 0, + "tasktxt": "", "type": 16, + "valid": 0, "data1": 1, "data2": 5, "data3": 0, @@ -2089,7 +2785,10 @@ }, { "id": 4016002, + "type_sp": 0, + "tasktxt": "", "type": 16, + "valid": 0, "data1": 2, "data2": 5, "data3": 0, @@ -2098,7 +2797,10 @@ }, { "id": 4016003, + "type_sp": 0, + "tasktxt": "", "type": 16, + "valid": 0, "data1": 3, "data2": 5, "data3": 0, @@ -2107,7 +2809,10 @@ }, { "id": 4016004, + "type_sp": 0, + "tasktxt": "", "type": 16, + "valid": 0, "data1": 5, "data2": 5, "data3": 0, @@ -2116,7 +2821,10 @@ }, { "id": 4016005, + "type_sp": 0, + "tasktxt": "", "type": 16, + "valid": 0, "data1": 10, "data2": 5, "data3": 0, @@ -2125,7 +2833,10 @@ }, { "id": 4016006, + "type_sp": 0, + "tasktxt": "", "type": 16, + "valid": 0, "data1": 15, "data2": 5, "data3": 0, @@ -2134,7 +2845,10 @@ }, { "id": 4016007, + "type_sp": 0, + "tasktxt": "", "type": 16, + "valid": 0, "data1": 20, "data2": 5, "data3": 0, @@ -2143,7 +2857,10 @@ }, { "id": 4016008, + "type_sp": 0, + "tasktxt": "", "type": 16, + "valid": 0, "data1": 30, "data2": 5, "data3": 0, @@ -2152,7 +2869,10 @@ }, { "id": 4016009, + "type_sp": 0, + "tasktxt": "", "type": 16, + "valid": 0, "data1": 50, "data2": 5, "data3": 0, @@ -2161,7 +2881,10 @@ }, { "id": 4018001, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -2170,7 +2893,10 @@ }, { "id": 4018002, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 20, "data2": 0, "data3": 0, @@ -2179,7 +2905,10 @@ }, { "id": 4018003, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 30, "data2": 0, "data3": 0, @@ -2188,7 +2917,10 @@ }, { "id": 4018004, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 50, "data2": 0, "data3": 0, @@ -2197,7 +2929,10 @@ }, { "id": 4018005, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 100, "data2": 0, "data3": 0, @@ -2206,7 +2941,10 @@ }, { "id": 4018006, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 200, "data2": 0, "data3": 0, @@ -2215,7 +2953,10 @@ }, { "id": 4018007, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 300, "data2": 0, "data3": 0, @@ -2224,7 +2965,10 @@ }, { "id": 4018008, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 500, "data2": 0, "data3": 0, @@ -2233,7 +2977,10 @@ }, { "id": 4018009, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 1000, "data2": 0, "data3": 0, @@ -2242,7 +2989,10 @@ }, { "id": 4018010, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 2000, "data2": 0, "data3": 0, @@ -2251,7 +3001,10 @@ }, { "id": 4018011, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 5000, "data2": 0, "data3": 0, @@ -2260,7 +3013,10 @@ }, { "id": 4018012, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 10000, "data2": 0, "data3": 0, @@ -2269,7 +3025,10 @@ }, { "id": 4020001, + "type_sp": 0, + "tasktxt": "", "type": 20, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -2278,7 +3037,10 @@ }, { "id": 4020002, + "type_sp": 0, + "tasktxt": "", "type": 20, + "valid": 0, "data1": 20, "data2": 0, "data3": 0, @@ -2287,7 +3049,10 @@ }, { "id": 4020003, + "type_sp": 0, + "tasktxt": "", "type": 20, + "valid": 0, "data1": 30, "data2": 0, "data3": 0, @@ -2296,7 +3061,10 @@ }, { "id": 4020004, + "type_sp": 0, + "tasktxt": "", "type": 20, + "valid": 0, "data1": 40, "data2": 0, "data3": 0, @@ -2305,7 +3073,10 @@ }, { "id": 4020005, + "type_sp": 0, + "tasktxt": "", "type": 20, + "valid": 0, "data1": 50, "data2": 0, "data3": 0, @@ -2314,7 +3085,10 @@ }, { "id": 4020006, + "type_sp": 0, + "tasktxt": "", "type": 20, + "valid": 0, "data1": 60, "data2": 0, "data3": 0, @@ -2323,7 +3097,10 @@ }, { "id": 4043001, + "type_sp": 0, + "tasktxt": "", "type": 43, + "valid": 0, "data1": 1, "data2": 15, "data3": 0, @@ -2332,7 +3109,10 @@ }, { "id": 4043002, + "type_sp": 0, + "tasktxt": "", "type": 43, + "valid": 0, "data1": 2, "data2": 15, "data3": 0, @@ -2341,7 +3121,10 @@ }, { "id": 4043003, + "type_sp": 0, + "tasktxt": "", "type": 43, + "valid": 0, "data1": 4, "data2": 15, "data3": 0, @@ -2350,7 +3133,10 @@ }, { "id": 4043004, + "type_sp": 0, + "tasktxt": "", "type": 43, + "valid": 0, "data1": 6, "data2": 15, "data3": 0, @@ -2359,7 +3145,10 @@ }, { "id": 4043005, + "type_sp": 0, + "tasktxt": "", "type": 43, + "valid": 0, "data1": 12, "data2": 15, "data3": 0, @@ -2368,7 +3157,10 @@ }, { "id": 4043006, + "type_sp": 0, + "tasktxt": "", "type": 43, + "valid": 0, "data1": 18, "data2": 15, "data3": 0, @@ -2377,7 +3169,10 @@ }, { "id": 4043007, + "type_sp": 0, + "tasktxt": "", "type": 43, + "valid": 0, "data1": 24, "data2": 15, "data3": 0, @@ -2386,7 +3181,10 @@ }, { "id": 4043008, + "type_sp": 0, + "tasktxt": "", "type": 43, + "valid": 0, "data1": 30, "data2": 15, "data3": 0, @@ -2395,7 +3193,10 @@ }, { "id": 4043009, + "type_sp": 0, + "tasktxt": "", "type": 43, + "valid": 0, "data1": 60, "data2": 15, "data3": 0, @@ -2404,7 +3205,10 @@ }, { "id": 4043010, + "type_sp": 0, + "tasktxt": "", "type": 43, + "valid": 0, "data1": 120, "data2": 15, "data3": 0, @@ -2413,7 +3217,10 @@ }, { "id": 4047001, + "type_sp": 0, + "tasktxt": "", "type": 47, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -2422,7 +3229,10 @@ }, { "id": 4047002, + "type_sp": 0, + "tasktxt": "", "type": 47, + "valid": 0, "data1": 20, "data2": 0, "data3": 0, @@ -2431,7 +3241,10 @@ }, { "id": 4047003, + "type_sp": 0, + "tasktxt": "", "type": 47, + "valid": 0, "data1": 30, "data2": 0, "data3": 0, @@ -2440,7 +3253,10 @@ }, { "id": 4047004, + "type_sp": 0, + "tasktxt": "", "type": 47, + "valid": 0, "data1": 50, "data2": 0, "data3": 0, @@ -2449,7 +3265,10 @@ }, { "id": 4047005, + "type_sp": 0, + "tasktxt": "", "type": 47, + "valid": 0, "data1": 100, "data2": 0, "data3": 0, @@ -2458,7 +3277,10 @@ }, { "id": 4047006, + "type_sp": 0, + "tasktxt": "", "type": 47, + "valid": 0, "data1": 200, "data2": 0, "data3": 0, @@ -2467,7 +3289,10 @@ }, { "id": 4047007, + "type_sp": 0, + "tasktxt": "", "type": 47, + "valid": 0, "data1": 300, "data2": 0, "data3": 0, @@ -2476,7 +3301,10 @@ }, { "id": 4047008, + "type_sp": 0, + "tasktxt": "", "type": 47, + "valid": 0, "data1": 500, "data2": 0, "data3": 0, @@ -2485,7 +3313,10 @@ }, { "id": 4047009, + "type_sp": 0, + "tasktxt": "", "type": 47, + "valid": 0, "data1": 1000, "data2": 0, "data3": 0, @@ -2494,7 +3325,10 @@ }, { "id": 4047010, + "type_sp": 0, + "tasktxt": "", "type": 47, + "valid": 0, "data1": 2000, "data2": 0, "data3": 0, @@ -2503,7 +3337,10 @@ }, { "id": 4047011, + "type_sp": 0, + "tasktxt": "", "type": 47, + "valid": 0, "data1": 3000, "data2": 0, "data3": 0, @@ -2512,7 +3349,10 @@ }, { "id": 4047012, + "type_sp": 0, + "tasktxt": "", "type": 47, + "valid": 0, "data1": 5000, "data2": 0, "data3": 0, @@ -2521,7 +3361,10 @@ }, { "id": 4047013, + "type_sp": 0, + "tasktxt": "", "type": 47, + "valid": 0, "data1": 10000, "data2": 0, "data3": 0, @@ -2530,7 +3373,10 @@ }, { "id": 4064001, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 5, "data2": 0, "data3": 0, @@ -2539,7 +3385,10 @@ }, { "id": 4064002, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -2548,7 +3397,10 @@ }, { "id": 4064003, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 20, "data2": 0, "data3": 0, @@ -2557,7 +3409,10 @@ }, { "id": 4064004, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 50, "data2": 0, "data3": 0, @@ -2566,7 +3421,10 @@ }, { "id": 4064005, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 100, "data2": 0, "data3": 0, @@ -2575,7 +3433,10 @@ }, { "id": 4064006, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 200, "data2": 0, "data3": 0, @@ -2584,7 +3445,10 @@ }, { "id": 4064007, + "type_sp": 0, + "tasktxt": "", "type": 64, + "valid": 0, "data1": 500, "data2": 0, "data3": 0, @@ -2593,7 +3457,10 @@ }, { "id": 4068001, + "type_sp": 0, + "tasktxt": "", "type": 68, + "valid": 0, "data1": 50000, "data2": 0, "data3": 0, @@ -2602,7 +3469,10 @@ }, { "id": 4068002, + "type_sp": 0, + "tasktxt": "", "type": 68, + "valid": 0, "data1": 500000, "data2": 0, "data3": 0, @@ -2611,7 +3481,10 @@ }, { "id": 4068003, + "type_sp": 0, + "tasktxt": "", "type": 68, + "valid": 0, "data1": 5000000, "data2": 0, "data3": 0, @@ -2620,7 +3493,10 @@ }, { "id": 4068004, + "type_sp": 0, + "tasktxt": "", "type": 68, + "valid": 0, "data1": 50000000, "data2": 0, "data3": 0, @@ -2629,7 +3505,10 @@ }, { "id": 4084001, + "type_sp": 0, + "tasktxt": "", "type": 84, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -2638,7 +3517,10 @@ }, { "id": 4084002, + "type_sp": 0, + "tasktxt": "", "type": 84, + "valid": 0, "data1": 20, "data2": 0, "data3": 0, @@ -2647,7 +3529,10 @@ }, { "id": 4084003, + "type_sp": 0, + "tasktxt": "", "type": 84, + "valid": 0, "data1": 50, "data2": 0, "data3": 0, @@ -2656,7 +3541,10 @@ }, { "id": 4084004, + "type_sp": 0, + "tasktxt": "", "type": 84, + "valid": 0, "data1": 100, "data2": 0, "data3": 0, @@ -2665,7 +3553,10 @@ }, { "id": 4085001, + "type_sp": 0, + "tasktxt": "", "type": 85, + "valid": 0, "data1": 5, "data2": 0, "data3": 0, @@ -2674,7 +3565,10 @@ }, { "id": 4085002, + "type_sp": 0, + "tasktxt": "", "type": 85, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -2683,7 +3577,10 @@ }, { "id": 4085003, + "type_sp": 0, + "tasktxt": "", "type": 85, + "valid": 0, "data1": 20, "data2": 0, "data3": 0, @@ -2692,7 +3589,10 @@ }, { "id": 4085004, + "type_sp": 0, + "tasktxt": "", "type": 85, + "valid": 0, "data1": 30, "data2": 0, "data3": 0, @@ -2701,7 +3601,10 @@ }, { "id": 4085005, + "type_sp": 0, + "tasktxt": "", "type": 85, + "valid": 0, "data1": 50, "data2": 0, "data3": 0, @@ -2710,7 +3613,10 @@ }, { "id": 4096001, + "type_sp": 0, + "tasktxt": "", "type": 96, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -2719,7 +3625,10 @@ }, { "id": 4096002, + "type_sp": 0, + "tasktxt": "", "type": 96, + "valid": 0, "data1": 20, "data2": 0, "data3": 0, @@ -2728,7 +3637,10 @@ }, { "id": 4096003, + "type_sp": 0, + "tasktxt": "", "type": 96, + "valid": 0, "data1": 50, "data2": 0, "data3": 0, @@ -2737,7 +3649,10 @@ }, { "id": 4096004, + "type_sp": 0, + "tasktxt": "", "type": 96, + "valid": 0, "data1": 100, "data2": 0, "data3": 0, @@ -2746,7 +3661,10 @@ }, { "id": 4096005, + "type_sp": 0, + "tasktxt": "", "type": 96, + "valid": 0, "data1": 200, "data2": 0, "data3": 0, @@ -2755,7 +3673,10 @@ }, { "id": 4096006, + "type_sp": 0, + "tasktxt": "", "type": 96, + "valid": 0, "data1": 300, "data2": 0, "data3": 0, @@ -2764,7 +3685,10 @@ }, { "id": 4096007, + "type_sp": 0, + "tasktxt": "", "type": 96, + "valid": 0, "data1": 500, "data2": 0, "data3": 0, @@ -2773,7 +3697,10 @@ }, { "id": 4096008, + "type_sp": 0, + "tasktxt": "", "type": 96, + "valid": 0, "data1": 1000, "data2": 0, "data3": 0, @@ -2782,7 +3709,10 @@ }, { "id": 4096009, + "type_sp": 0, + "tasktxt": "", "type": 96, + "valid": 0, "data1": 2000, "data2": 0, "data3": 0, @@ -2791,7 +3721,10 @@ }, { "id": 4096010, + "type_sp": 0, + "tasktxt": "", "type": 96, + "valid": 0, "data1": 3000, "data2": 0, "data3": 0, @@ -2800,7 +3733,10 @@ }, { "id": 4096011, + "type_sp": 0, + "tasktxt": "", "type": 96, + "valid": 0, "data1": 5000, "data2": 0, "data3": 0, @@ -2809,7 +3745,10 @@ }, { "id": 4096012, + "type_sp": 0, + "tasktxt": "", "type": 96, + "valid": 0, "data1": 10000, "data2": 0, "data3": 0, @@ -2818,7 +3757,10 @@ }, { "id": 4104001, + "type_sp": 0, + "tasktxt": "", "type": 104, + "valid": 0, "data1": 500, "data2": 0, "data3": 0, @@ -2827,7 +3769,10 @@ }, { "id": 4104002, + "type_sp": 0, + "tasktxt": "", "type": 104, + "valid": 0, "data1": 1000, "data2": 0, "data3": 0, @@ -2836,7 +3781,10 @@ }, { "id": 4104003, + "type_sp": 0, + "tasktxt": "", "type": 104, + "valid": 0, "data1": 3000, "data2": 0, "data3": 0, @@ -2845,7 +3793,10 @@ }, { "id": 4104004, + "type_sp": 0, + "tasktxt": "", "type": 104, + "valid": 0, "data1": 5000, "data2": 0, "data3": 0, @@ -2854,7 +3805,10 @@ }, { "id": 4104005, + "type_sp": 0, + "tasktxt": "", "type": 104, + "valid": 0, "data1": 10000, "data2": 0, "data3": 0, @@ -2863,7 +3817,10 @@ }, { "id": 4104006, + "type_sp": 0, + "tasktxt": "", "type": 104, + "valid": 0, "data1": 20000, "data2": 0, "data3": 0, @@ -2872,7 +3829,10 @@ }, { "id": 4104007, + "type_sp": 0, + "tasktxt": "", "type": 104, + "valid": 0, "data1": 30000, "data2": 0, "data3": 0, @@ -2881,7 +3841,10 @@ }, { "id": 4104008, + "type_sp": 0, + "tasktxt": "", "type": 104, + "valid": 0, "data1": 50000, "data2": 0, "data3": 0, @@ -2890,7 +3853,10 @@ }, { "id": 4104009, + "type_sp": 0, + "tasktxt": "", "type": 104, + "valid": 0, "data1": 100000, "data2": 0, "data3": 0, @@ -2899,7 +3865,10 @@ }, { "id": 4104010, + "type_sp": 0, + "tasktxt": "", "type": 104, + "valid": 0, "data1": 200000, "data2": 0, "data3": 0, @@ -2908,7 +3877,10 @@ }, { "id": 4104011, + "type_sp": 0, + "tasktxt": "", "type": 104, + "valid": 0, "data1": 500000, "data2": 0, "data3": 0, @@ -2917,7 +3889,10 @@ }, { "id": 4128001, + "type_sp": 0, + "tasktxt": "", "type": 128, + "valid": 0, "data1": 1100, "data2": 0, "data3": 0, @@ -2926,7 +3901,10 @@ }, { "id": 4128002, + "type_sp": 0, + "tasktxt": "", "type": 128, + "valid": 0, "data1": 1200, "data2": 0, "data3": 0, @@ -2935,7 +3913,10 @@ }, { "id": 4128003, + "type_sp": 0, + "tasktxt": "", "type": 128, + "valid": 0, "data1": 1300, "data2": 0, "data3": 0, @@ -2944,7 +3925,10 @@ }, { "id": 4128004, + "type_sp": 0, + "tasktxt": "", "type": 128, + "valid": 0, "data1": 1400, "data2": 0, "data3": 0, @@ -2953,7 +3937,10 @@ }, { "id": 4128005, + "type_sp": 0, + "tasktxt": "", "type": 128, + "valid": 0, "data1": 1500, "data2": 0, "data3": 0, @@ -2962,7 +3949,10 @@ }, { "id": 4128006, + "type_sp": 0, + "tasktxt": "", "type": 128, + "valid": 0, "data1": 1600, "data2": 0, "data3": 0, @@ -2971,7 +3961,10 @@ }, { "id": 4128007, + "type_sp": 0, + "tasktxt": "", "type": 128, + "valid": 0, "data1": 1700, "data2": 0, "data3": 0, @@ -2980,7 +3973,10 @@ }, { "id": 4128008, + "type_sp": 0, + "tasktxt": "", "type": 128, + "valid": 0, "data1": 1800, "data2": 0, "data3": 0, @@ -2989,7 +3985,10 @@ }, { "id": 4128009, + "type_sp": 0, + "tasktxt": "", "type": 128, + "valid": 0, "data1": 1900, "data2": 0, "data3": 0, @@ -2998,7 +3997,10 @@ }, { "id": 4128010, + "type_sp": 0, + "tasktxt": "", "type": 128, + "valid": 0, "data1": 2000, "data2": 0, "data3": 0, @@ -3007,7 +4009,10 @@ }, { "id": 4131001, + "type_sp": 0, + "tasktxt": "", "type": 131, + "valid": 0, "data1": 5, "data2": 0, "data3": 0, @@ -3016,7 +4021,10 @@ }, { "id": 4131002, + "type_sp": 0, + "tasktxt": "", "type": 131, + "valid": 0, "data1": 10, "data2": 0, "data3": 0, @@ -3025,7 +4033,10 @@ }, { "id": 4131003, + "type_sp": 0, + "tasktxt": "", "type": 131, + "valid": 0, "data1": 20, "data2": 0, "data3": 0, @@ -3034,7 +4045,10 @@ }, { "id": 4131004, + "type_sp": 0, + "tasktxt": "", "type": 131, + "valid": 0, "data1": 30, "data2": 0, "data3": 0, @@ -3043,7 +4057,10 @@ }, { "id": 4131005, + "type_sp": 0, + "tasktxt": "", "type": 131, + "valid": 0, "data1": 50, "data2": 0, "data3": 0, @@ -3052,7 +4069,10 @@ }, { "id": 4131006, + "type_sp": 0, + "tasktxt": "", "type": 131, + "valid": 0, "data1": 100, "data2": 0, "data3": 0, @@ -3061,7 +4081,10 @@ }, { "id": 4131007, + "type_sp": 0, + "tasktxt": "", "type": 131, + "valid": 0, "data1": 200, "data2": 0, "data3": 0, @@ -3070,7 +4093,10 @@ }, { "id": 4131008, + "type_sp": 0, + "tasktxt": "", "type": 131, + "valid": 0, "data1": 300, "data2": 0, "data3": 0, @@ -3079,7 +4105,10 @@ }, { "id": 4131009, + "type_sp": 0, + "tasktxt": "", "type": 131, + "valid": 0, "data1": 500, "data2": 0, "data3": 0, @@ -3088,7 +4117,10 @@ }, { "id": 4131010, + "type_sp": 0, + "tasktxt": "", "type": 131, + "valid": 0, "data1": 1000, "data2": 0, "data3": 0, @@ -3097,7 +4129,10 @@ }, { "id": 5011001, + "type_sp": 0, + "tasktxt": "", "type": 11, + "valid": 0, "data1": 3, "data2": 0, "data3": 0, @@ -3106,7 +4141,10 @@ }, { "id": 5012001, + "type_sp": 0, + "tasktxt": "", "type": 12, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -3115,7 +4153,10 @@ }, { "id": 5018001, + "type_sp": 0, + "tasktxt": "", "type": 18, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -3124,7 +4165,10 @@ }, { "id": 5024001, + "type_sp": 0, + "tasktxt": "", "type": 24, + "valid": 0, "data1": 1, "data2": 0, "data3": 0, @@ -3133,7 +4177,10 @@ }, { "id": 5047001, + "type_sp": 0, + "tasktxt": "", "type": 47, + "valid": 0, "data1": 6, "data2": 0, "data3": 0, @@ -3142,7 +4189,10 @@ }, { "id": 5063001, + "type_sp": 0, + "tasktxt": "", "type": 63, + "valid": 0, "data1": 100, "data2": 0, "data3": 0, @@ -3151,7 +4201,10 @@ }, { "id": 5068001, + "type_sp": 0, + "tasktxt": "", "type": 68, + "valid": 0, "data1": 200000, "data2": 0, "data3": 0, @@ -3160,11 +4213,38 @@ }, { "id": 5104001, + "type_sp": 0, + "tasktxt": "", "type": 104, + "valid": 0, "data1": 100, "data2": 0, "data3": 0, "data4": 0, "data5": 0 + }, + { + "id": 20001, + "type_sp": 1, + "tasktxt": "与杰克进行交谈", + "type": 20001, + "valid": 1, + "data1": 1, + "data2": 500, + "data3": 0, + "data4": 0, + "data5": 1 + }, + { + "id": 20002, + "type_sp": 1, + "tasktxt": "前往商人购买任意道具", + "type": 64, + "valid": 0, + "data1": 1, + "data2": 0, + "data3": 0, + "data4": 0, + "data5": 26 } ] \ No newline at end of file diff --git a/bin/json/game_worldtask.json b/bin/json/game_worldtask.json index ddf35bce7..0ded356ba 100644 --- a/bin/json/game_worldtask.json +++ b/bin/json/game_worldtask.json @@ -19,23 +19,13 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" + "npc": 1, + "completetask": [ + 20001, + 20002 ], - "getafter_event": [ - 2, - 401 - ], - "receivenpc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" - ], - "completetask": 0, + "deliver_npc": 1, "auto_accept": 1, - "overtips": 1, "reword": [], "module": [ "practice" @@ -61,23 +51,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" + "npc": 2, + "completetask": [ + 0 ], - "getafter_event": [ - 2, - 402 - ], - "receivenpc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" - ], - "completetask": 0, + "deliver_npc": 2, "auto_accept": 0, - "overtips": 1, "reword": [], "module": [ "practice" @@ -103,23 +82,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "1.新手引导-花朵-中轴城", - "901" + "npc": 3, + "completetask": [ + 0 ], - "getafter_event": [ - 2, - 403 - ], - "receivenpc": [ - "bossfight_pt_02", - "1.新手引导-花朵-中轴城", - "901" - ], - "completetask": 0, - "auto_accept": 0, - "overtips": 1, + "deliver_npc": 3, + "auto_accept": 1, "reword": [], "module": [ "practice" @@ -145,23 +113,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "1.新手引导-花朵-中轴城", - "901" + "npc": 4, + "completetask": [ + 0 ], - "getafter_event": [ - 2, - 404 - ], - "receivenpc": [ - "bossfight_pt_02", - "1.新手引导-花朵-中轴城", - "901" - ], - "completetask": 0, + "deliver_npc": 4, "auto_accept": 1, - "overtips": 1, "reword": [], "module": [] }, @@ -185,23 +142,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" + "npc": 5, + "completetask": [ + 0 ], - "getafter_event": [ - 2, - 406 - ], - "receivenpc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" - ], - "completetask": 0, - "auto_accept": 0, - "overtips": 1, + "deliver_npc": 5, + "auto_accept": 1, "reword": [], "module": [] }, @@ -225,23 +171,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "3新手引导-波比-正常待机-中轴城", - "901" + "npc": 6, + "completetask": [ + 0 ], - "getafter_event": [ - 2, - 407 - ], - "receivenpc": [ - "bossfight_pt_02", - "3新手引导-波比-正常待机-中轴城", - "901" - ], - "completetask": 0, - "auto_accept": 0, - "overtips": 1, + "deliver_npc": 6, + "auto_accept": 1, "reword": [], "module": [] }, @@ -265,30 +200,13 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "2新手引导-邦尼兔-正常待机-中轴城", - "901" - ], - "getafter_event": [ - 2, - 408 - ], - "receivenpc": [ - "bossfight_pt_02", - "2新手引导-邦尼兔-正常待机-中轴城", - "901" - ], - "completetask": 0, - "auto_accept": 0, - "overtips": 1, - "reword": [ - { - "a": "hero", - "t": "14003", - "n": 1 - } + "npc": 7, + "completetask": [ + 0 ], + "deliver_npc": 7, + "auto_accept": 1, + "reword": [], "module": [] }, { @@ -311,23 +229,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "3新手引导-波比-正常待机-中轴城", - "901" + "npc": 8, + "completetask": [ + 0 ], - "getafter_event": [ - 2, - 410 - ], - "receivenpc": [ - "bossfight_pt_02", - "新手引导-波比-右屏圣树1", - "901" - ], - "completetask": 0, - "auto_accept": 0, - "overtips": 1, + "deliver_npc": 8, + "auto_accept": 1, "reword": [], "module": [] }, @@ -351,23 +258,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "3新手引导-波比-正常待机-中轴城", - "901" + "npc": 9, + "completetask": [ + 0 ], - "getafter_event": [ - 2, - 411 - ], - "receivenpc": [ - "bossfight_pt_02", - "新手引导-波比-右屏圣树2", - "901" - ], - "completetask": 0, - "auto_accept": 0, - "overtips": 1, + "deliver_npc": 9, + "auto_accept": 1, "reword": [], "module": [] }, @@ -391,23 +287,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "新手引导-豺狼人-右屏圣树", - "901" + "npc": 10, + "completetask": [ + 174 ], - "getafter_event": [ - 2, - 412 - ], - "receivenpc": [ - "bossfight_pt_02", - "新手引导-豺狼人-右屏圣树", - "901" - ], - "completetask": 174, - "auto_accept": 0, - "overtips": 1, + "deliver_npc": 10, + "auto_accept": 1, "reword": [ { "a": "hero", @@ -437,23 +322,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "新手引导-豺狼人-右屏圣树", - "901" + "npc": 11, + "completetask": [ + 0 ], - "getafter_event": [ - 2, - 413 - ], - "receivenpc": [ - "bossfight_pt_02", - "新手引导-豺狼人-右屏圣树", - "901" - ], - "completetask": 0, - "auto_accept": 0, - "overtips": 1, + "deliver_npc": 11, + "auto_accept": 1, "reword": [], "module": [] }, @@ -477,23 +351,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "新手引导-圣树下的黑洞", - "901" + "npc": 12, + "completetask": [ + 198 ], - "getafter_event": [ - 4, - 166 - ], - "receivenpc": [ - "bossfight_pt_02", - "新手引导-波比-犀牛守卫", - "901" - ], - "completetask": 301, - "auto_accept": 0, - "overtips": 1, + "deliver_npc": 12, + "auto_accept": 1, "reword": [ { "a": "item", @@ -523,23 +386,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "新手引导-波比-犀牛守卫", - "901" + "npc": 13, + "completetask": [ + 0 ], - "getafter_event": [ - 2, - 416 - ], - "receivenpc": [ - "bossfight_pt_02", - "新手引导-波比-犀牛守卫", - "901" - ], - "completetask": 0, - "auto_accept": 0, - "overtips": 1, + "deliver_npc": 13, + "auto_accept": 1, "reword": [], "module": [] }, @@ -563,23 +415,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "3新手引导-波比-正常待机-中轴城", - "901" + "npc": 14, + "completetask": [ + 0 ], - "getafter_event": [ - 9, - 1 - ], - "receivenpc": [ - "bossfight_pt_02", - "新手引导-波比-右屏圣树3", - "901" - ], - "completetask": 0, - "auto_accept": 0, - "overtips": 0, + "deliver_npc": 14, + "auto_accept": 1, "reword": [], "module": [] }, @@ -603,23 +444,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "3新手引导-波比-正常待机-中轴城", - "901" + "npc": 15, + "completetask": [ + 0 ], - "getafter_event": [ - 2, - 420 - ], - "receivenpc": [ - "bossfight_pt_02", - "新手引导-波比-右屏圣树3", - "901" - ], - "completetask": 0, - "auto_accept": 0, - "overtips": 1, + "deliver_npc": 15, + "auto_accept": 1, "reword": [], "module": [] }, @@ -643,23 +473,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" + "npc": 16, + "completetask": [ + 0 ], - "getafter_event": [ - 2, - 422 - ], - "receivenpc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" - ], - "completetask": 161, - "auto_accept": 0, - "overtips": 1, + "deliver_npc": 16, + "auto_accept": 1, "reword": [], "module": [] }, @@ -683,23 +502,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" + "npc": 17, + "completetask": [ + 0 ], - "getafter_event": [ - 2, - 423 - ], - "receivenpc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" - ], - "completetask": 0, + "deliver_npc": 17, "auto_accept": 1, - "overtips": 1, "reword": [], "module": [] }, @@ -723,23 +531,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" + "npc": 18, + "completetask": [ + 0 ], - "getafter_event": [ - 2, - 425 - ], - "receivenpc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" - ], - "completetask": 0, - "auto_accept": 0, - "overtips": 1, + "deliver_npc": 18, + "auto_accept": 1, "reword": [], "module": [] }, @@ -763,23 +560,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" + "npc": 19, + "completetask": [ + 0 ], - "getafter_event": [ - 2, - 426 - ], - "receivenpc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" - ], - "completetask": 0, + "deliver_npc": 19, "auto_accept": 1, - "overtips": 1, "reword": [ { "a": "item", @@ -809,23 +595,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "scenes_smithy_01", - "暴夫纳特铁匠铺", - "139" + "npc": 20, + "completetask": [ + 0 ], - "getafter_event": [ - 2, - 427 - ], - "receivenpc": [ - "scenes_smithy_01", - "暴夫纳特铁匠铺", - "901" - ], - "completetask": 0, - "auto_accept": 0, - "overtips": 1, + "deliver_npc": 20, + "auto_accept": 1, "reword": [], "module": [] }, @@ -849,23 +624,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "scenes_smithy_01", - "暴夫纳特铁匠铺", - "139" + "npc": 21, + "completetask": [ + 0 ], - "getafter_event": [ - 2, - 428 - ], - "receivenpc": [ - "scenes_smithy_01", - "暴夫纳特铁匠铺", - "901" - ], - "completetask": 0, - "auto_accept": 0, - "overtips": 1, + "deliver_npc": 21, + "auto_accept": 1, "reword": [], "module": [] }, @@ -889,23 +653,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" + "npc": 22, + "completetask": [ + 301 ], - "getafter_event": [ - 2, - 429 - ], - "receivenpc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" - ], - "completetask": 0, - "auto_accept": 0, - "overtips": 1, + "deliver_npc": 22, + "auto_accept": 1, "reword": [], "module": [] }, @@ -929,23 +682,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" + "npc": 23, + "completetask": [ + 302 ], - "getafter_event": [ - 2, - 430 - ], - "receivenpc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" - ], - "completetask": 302, - "auto_accept": 0, - "overtips": 1, + "deliver_npc": 23, + "auto_accept": 1, "reword": [], "module": [] }, @@ -969,23 +711,12 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" + "npc": 24, + "completetask": [ + 303 ], - "getafter_event": [ - 2, - 431 - ], - "receivenpc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" - ], - "completetask": 303, - "auto_accept": 0, - "overtips": 1, + "deliver_npc": 24, + "auto_accept": 1, "reword": [], "module": [] }, @@ -1009,23 +740,41 @@ "key": "story_80", "text": "新手引导" }, - "npc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" + "npc": 25, + "completetask": [ + 114 ], - "getafter_event": [ - 2, - 432 + "deliver_npc": 25, + "auto_accept": 1, + "reword": [], + "module": [] + }, + { + "key": 30001, + "lock": 1, + "ontxe": 20010, + "id_after": 30002, + "group": 3, + "des": 2, + "icon": "", + "task_Tname": { + "key": "story_80", + "text": "初来乍到" + }, + "task_name": { + "key": "story_80", + "text": "新手引导" + }, + "task_display": { + "key": "story_80", + "text": "新手引导" + }, + "npc": 27, + "completetask": [ + 301 ], - "receivenpc": [ - "bossfight_pt_02", - "0新手引导-杰克-中轴城常驻待机", - "901" - ], - "completetask": 114, + "deliver_npc": 28, "auto_accept": 0, - "overtips": 1, "reword": [], "module": [] } diff --git a/cmd/v2/ui/views/worldtask_mine.go b/cmd/v2/ui/views/worldtask_mine.go index ffc20cd81..c15462620 100644 --- a/cmd/v2/ui/views/worldtask_mine.go +++ b/cmd/v2/ui/views/worldtask_mine.go @@ -48,6 +48,37 @@ func (this *WorldtaskMineView) CreateView(t *model.TestCase) fyne.CanvasObject { this.mineReq() }) + //接取 + acceptBtn := widget.NewButton("接取", func() { + groupId := widget.NewEntry() + groupId.PlaceHolder = "分组ID" + taskIdEntry := widget.NewEntry() + taskIdEntry.PlaceHolder = "任务ID" + form := widget.NewForm( + widget.NewFormItem("组ID", groupId), + widget.NewFormItem("任务ID", taskIdEntry), + ) + + dconf := dialog.NewCustom("接取任务", "关闭", form, this.w) + + form.OnSubmit = func() { + if err := service.GetPttService().SendToClient( + t.MainType, + "accept", + &pb.WorldtaskAcceptReq{ + GroupId: cast.ToInt32(groupId.Text), + TaskId: cast.ToInt32(taskIdEntry.Text), + }); err != nil { + logrus.Error(err) + } + dconf.Hide() + this.mineReq() + } + form.SubmitText = "确定" + dconf.Resize(fyne.NewSize(400, 200)) + dconf.Show() + }) + // 完成任务 this.juqingBtn = widget.NewButton("完成任务", func() { groupId := widget.NewEntry() @@ -110,7 +141,7 @@ func (this *WorldtaskMineView) CreateView(t *model.TestCase) fyne.CanvasObject { dconf.Resize(fyne.NewSize(400, 200)) dconf.Show() }) - barBtn := container.NewHBox(refreshBtn, this.juqingBtn, battleBtn) + barBtn := container.NewHBox(refreshBtn, acceptBtn, this.juqingBtn, battleBtn) c := container.NewBorder(barBtn, nil, nil, nil, this.itemList.ItemList) this.mineData() diff --git a/comm/imodule.go b/comm/imodule.go index 22954a458..886a46248 100644 --- a/comm/imodule.go +++ b/comm/imodule.go @@ -369,7 +369,9 @@ type ( // 世界任务 IWorldtask interface { // 任务条件达成通知 + // Deprecated TaskcondNotify(session IUserSession, condId int32) error + TaskCondFinishNotify(session IUserSession, condId int32) error // bingo所有任务 BingoAllTask(session IUserSession) error // bingo任务 diff --git a/modules/gateway/agent.go b/modules/gateway/agent.go index 430b8c0d1..8fff94efc 100644 --- a/modules/gateway/agent.go +++ b/modules/gateway/agent.go @@ -330,7 +330,8 @@ func (this *Agent) messageDistribution(msg *pb.UserMessage) (err error) { } stime := time.Now() // this.gateway.Debugf("----------3 agent:%s uId:%s MainType:%s SubType:%s ", this.sessionId, this.uId, msg.MainType, msg.SubType) - ctx, _ := context.WithTimeout(context.Background(), time.Second*5) + // ctx, _ := context.WithTimeout(context.Background(), time.Second*5) + ctx:=context.Background() if len(serviceTag) == 0 { // this.gateway.Debugf("----------4 agent:%s uId:%s MainType:%s SubType:%s ", this.sessionId, this.uId, msg.MainType, msg.SubType) if err = this.gateway.Service().RpcCall(ctx, servicePath, string(comm.Rpc_GatewayRoute), req, reply); err != nil { diff --git a/modules/rtask/model_rtask.go b/modules/rtask/model_rtask.go index 91bb60c90..e7740cc2b 100644 --- a/modules/rtask/model_rtask.go +++ b/modules/rtask/model_rtask.go @@ -78,6 +78,18 @@ func (this *ModelRtask) checkCondi(uid string, condiId int32) (err error, ok boo if condiId <= 0 { return nil, true } + + conf, err := this.moduleRtask.configure.getRtaskTypeById(condiId) + if err != nil { + errors.Errorf("conf not found condiID: %v", condiId) + return + } + + if conf.Valid == 1 { + ok = true + return + } + //验证限定条件 var condi *rtaskCondi cond, ok := this.moduleRtask.handleMap.Load(condiId) @@ -95,14 +107,11 @@ func (this *ModelRtask) checkCondi(uid string, condiId int32) (err error, ok boo errors.Errorf("condiID: %v", condiId) return } - conf, err := this.moduleRtask.configure.getRtaskTypeById(condiId) - if err != nil { - errors.Errorf("conf not found condiID: %v", condiId) - return - } + if ok, err = condi.verify(uid, conf); !ok { err = errors.WithMessagef(err, "uid: %v do rtask [condiId:%v] condition not reach", uid, condiId) return } + return } diff --git a/modules/rtask/module.go b/modules/rtask/module.go index 922c9522e..d28fc2b2d 100644 --- a/modules/rtask/module.go +++ b/modules/rtask/module.go @@ -441,7 +441,7 @@ func (this *ModuleRtask) processOneTask(session comm.IUserSession, rtaskType com module, err := this.service.GetModule(comm.ModuleWorldtask) if err == nil { if worldtask, ok := module.(comm.IWorldtask); ok { - if err := worldtask.TaskcondNotify(session, conf.Id); err != nil { + if err := worldtask.TaskCondFinishNotify(session, conf.Id); err != nil { log.Error("任务条件达成通知", log.Field{Key: "uid", Value: uid}, log.Field{Key: "condId", Value: conf.Id}, diff --git a/modules/worldtask/api_accept.go b/modules/worldtask/api_accept.go new file mode 100644 index 000000000..f13c2ad31 --- /dev/null +++ b/modules/worldtask/api_accept.go @@ -0,0 +1,61 @@ +package worldtask + +import ( + "go_dreamfactory/comm" + "go_dreamfactory/lego/sys/log" + "go_dreamfactory/pb" + + "google.golang.org/protobuf/proto" +) + +func (a *apiComp) AcceptCheck(session comm.IUserSession, req *pb.WorldtaskAcceptReq) (code pb.ErrorCode) { + if req.TaskId <= 0 || req.GroupId <= 0 { + code = *pb.ErrorCode_ReqParameterError.Enum() + } + return +} + +func (a *apiComp) Accept(session comm.IUserSession, req *pb.WorldtaskAcceptReq) (code pb.ErrorCode, data proto.Message) { + if code = a.AcceptCheck(session, req); code != pb.ErrorCode_Success { + return + } + uid := session.GetUserId() + myWorldtask, err := a.module.modelWorldtask.getWorldtask(uid) + if err != nil { + a.module.Error("获取玩家世界任务失败", log.Field{Key: "uid", Value: uid}, log.Field{Key: "err", Value: err.Error()}) + code = pb.ErrorCode_DBError + return + } + + // 当前任务配置 + curTaskConf, err := a.module.configure.getWorldtaskById(req.TaskId) + if err != nil || curTaskConf == nil { + code = pb.ErrorCode_ConfigNoFound + return + } + + if myWorldtask.CurrentTaskIds == nil { + myWorldtask.CurrentTaskIds = make(map[int32]*pb.Worldtask) + } + myWorldtask.CurrentTaskIds[curTaskConf.Group] = &pb.Worldtask{ + TaskId: req.TaskId, + TaskType: 2, + } + + update := map[string]interface{}{ + "currentTaskIds": myWorldtask.CurrentTaskIds, + "npcStatus": 1, + } + if err := a.module.modelWorldtask.Change(uid, update); err != nil { + code = pb.ErrorCode_DBError + return + } + + rsp := &pb.WorldtaskAcceptResp{ + GroupId: req.GroupId, + TaskId: req.TaskId, + } + + session.SendMsg(string(a.module.GetType()), "accept", rsp) + return +} diff --git a/modules/worldtask/api_battlefinish.go b/modules/worldtask/api_battlefinish.go index 7a3f39140..b83cf8cb7 100644 --- a/modules/worldtask/api_battlefinish.go +++ b/modules/worldtask/api_battlefinish.go @@ -23,9 +23,6 @@ func (this *apiComp) BattlefinishCheck(session comm.IUserSession, req *pb.Worldt } func (this *apiComp) Battlefinish(session comm.IUserSession, req *pb.WorldtaskBattleFinishReq) (code pb.ErrorCode, data proto.Message) { - var ( - user *pb.DBUser - ) if code = this.BattlefinishCheck(session, req); code != pb.ErrorCode_Success { return @@ -44,14 +41,12 @@ func (this *apiComp) Battlefinish(session comm.IUserSession, req *pb.WorldtaskBa code = pb.ErrorCode_DBError return } - user = this.module.ModuleUser.GetUser(session.GetUserId()) + rsp := &pb.WorldtaskBattleFinishResp{ - TaskId: req.TaskId, - Newheros: make([]string, 0), - Olv: user.Lv, + TaskId: req.TaskId, } - if taskConf.Completetask == 0 { + if len(taskConf.Completetask) == 0 { if err := this.module.modelWorldtask.finishTask(taskConf.Group, req.TaskId, userTask); err != nil { code = pb.ErrorCode_DBError this.module.Error("世界任务战斗结果", diff --git a/modules/worldtask/api_completetask.go b/modules/worldtask/api_completetask.go new file mode 100644 index 000000000..72fb0b084 --- /dev/null +++ b/modules/worldtask/api_completetask.go @@ -0,0 +1,57 @@ +package worldtask + +import ( + "go_dreamfactory/comm" + "go_dreamfactory/lego/sys/log" + "go_dreamfactory/pb" + + "google.golang.org/protobuf/proto" +) + +// 任务完成条件 +func (this *apiComp) CompleteCondiCheck(session comm.IUserSession, req *pb.WorldtaskCompleteCondiReq) (code pb.ErrorCode) { + if req.GroupId != 2 || req.TaskId <= 0 || req.CondiId <= 0 { + code = *pb.ErrorCode_ReqParameterError.Enum() + } + return +} + +func (this *apiComp) CompleteCondi(session comm.IUserSession, req *pb.WorldtaskCompleteCondiReq) (code pb.ErrorCode, data proto.Message) { + if code = this.CompleteCondiCheck(session, req); code != pb.ErrorCode_Success { + return + } + uid := session.GetUserId() + myWorldtask, err := this.module.modelWorldtask.getWorldtask(uid) + if err != nil { + this.module.Error("获取玩家世界任务失败", log.Field{Key: "uid", Value: uid}, log.Field{Key: "err", Value: err.Error()}) + code = pb.ErrorCode_DBError + return + } + + if m, err := this.module.service.GetModule(comm.ModuleRtask); err == nil { + iwt, ok := m.(comm.IRtask) + if ok { + if code = iwt.CheckCondi(uid, req.CondiId); code != pb.ErrorCode_Success { + return + } + myWorldtask.CondiIds = append(myWorldtask.CondiIds, req.CondiId) + } + } + + update := map[string]interface{}{ + "condiIds": myWorldtask.CondiIds, + } + if err := this.module.modelWorldtask.Change(uid, update); err != nil { + code = pb.ErrorCode_DBError + return + } + + rsp := &pb.WorldtaskCompleteCondiResp{ + GroupId: req.GroupId, + TaskId: req.TaskId, + CondiId: req.CondiId, + } + + session.SendMsg(string(this.module.GetType()), "completecondi", rsp) + return +} diff --git a/modules/worldtask/api_finish.go b/modules/worldtask/api_finish.go index 4a8404864..caa25c6d3 100644 --- a/modules/worldtask/api_finish.go +++ b/modules/worldtask/api_finish.go @@ -37,7 +37,7 @@ func (this *apiComp) Finish(session comm.IUserSession, req *pb.WorldtaskFinishRe code = pb.ErrorCode_UserSessionNobeing return } - rsp.Olv = user.Lv + // 当前任务配置 curTaskConf, err := this.module.configure.getWorldtaskById(req.TaskId) if err != nil || curTaskConf == nil { @@ -75,11 +75,9 @@ func (this *apiComp) Finish(session comm.IUserSession, req *pb.WorldtaskFinishRe } } var ( - hero []string - newhero []string + hero []string ) hero = make([]string, 0) - newhero = make([]string, 0) var nextTaskId int32 finishRsp := func() { @@ -89,40 +87,67 @@ func (this *apiComp) Finish(session comm.IUserSession, req *pb.WorldtaskFinishRe } if curTaskConf.IdAfter != 0 { nextTaskId = curTaskConf.IdAfter + //检查下个任务的完成条件 + nextTaskConf, err := this.module.configure.getWorldtaskById(nextTaskId) + if err != nil || curTaskConf == nil { + code = pb.ErrorCode_ConfigNoFound + return + } + + if len(nextTaskConf.Completetask) == 1 && nextTaskConf.Completetask[0] == 0 { + userTask.CondiIds = []int32{} + } else { + for _, condiId := range nextTaskConf.Completetask { + if condiId == 0 { + continue + } + if m, err := this.module.service.GetModule(comm.ModuleRtask); err == nil { + iwt, ok := m.(comm.IRtask) + if ok { + if code = iwt.CheckCondi(uid, condiId); code != pb.ErrorCode_Success { + return + } + userTask.CondiIds = append(userTask.CondiIds, condiId) + } + } + } + } + //设置当前进行的任务 + userTask.CurrentTaskIds[curTaskConf.Group] = &pb.Worldtask{ + TaskId: nextTaskId, + TaskType: 2, + } + + update := map[string]interface{}{ + "condiIds": userTask.CondiIds, + "currentTaskIds": userTask.CurrentTaskIds, + } + + if err := this.module.modelWorldtask.Change(uid, update); err != nil { + code = pb.ErrorCode_DBError + return + } + // 任务完成推送 if err := session.SendMsg(string(this.module.GetType()), WorldtaskNexttaskPush, &pb.WorldtaskNexttaskPush{ NextTaskId: nextTaskId, + CondIds: userTask.CondiIds, }); err != nil { code = pb.ErrorCode_SystemError return } + } } finishCall := func() { - defer func() { - this.module.Debug("世界任务完成", - log.Field{Key: "uid", Value: uid}, - log.Field{Key: "params", Value: req}, - log.Field{Key: "nextTaskId", Value: nextTaskId}, - ) - }() for _, v := range curTaskConf.Reword { if v.A == comm.HeroType { hero = append(hero, v.T) } } - if len(hero) > 0 { - ishave := this.module.ModuleUser.CheckTujianHero(session, hero) - for i, v := range ishave { - if !v { - newhero = append(newhero, hero[i]) - } - } - } - rsp.Newheros = newhero // 完成任务 if err := this.module.modelWorldtask.finishTask(req.GroupId, req.TaskId, userTask); err != nil { @@ -155,12 +180,12 @@ func (this *apiComp) Finish(session comm.IUserSession, req *pb.WorldtaskFinishRe this.module.Errorln(err) continue } + if ic, ok := i.(comm.ITaskComplete); ok { ic.TaskComplete(session, req.TaskId) } } } - } //判断任务是否已完成 @@ -175,24 +200,7 @@ func (this *apiComp) Finish(session comm.IUserSession, req *pb.WorldtaskFinishRe } } - if curTaskConf.Completetask != 0 { - if c := this.module.ModuleRtask.CheckCondi(uid, curTaskConf.Completetask); c == pb.ErrorCode_Success { - finishCall() - } else { - this.module.Debug("任务完成条件未通过", - log.Field{Key: "uid", Value: uid}, - log.Field{Key: "condiId", Value: curTaskConf.Completetask}, - ) - code = pb.ErrorCode_TaskNoFinished - // if err := session.SendMsg(string(this.module.GetType()), WorldtaskSubtypeFinish, rsp); err != nil { - // code = pb.ErrorCode_SystemError - // return - // } - return - } - } else { - finishCall() - } + finishCall() finishRsp() diff --git a/modules/worldtask/api_mine.go b/modules/worldtask/api_mine.go index 7a62c3c33..9159ff1ff 100644 --- a/modules/worldtask/api_mine.go +++ b/modules/worldtask/api_mine.go @@ -35,7 +35,7 @@ func (this *apiComp) Mine(session comm.IUserSession, req *pb.WorldtaskMineReq) ( } } myWorldtask.LastTaskIds = wtMp - myWorldtask.TaskList = list + myWorldtask.TaskList = list rsp := &pb.WorldtaskMineResp{ Task: myWorldtask, } diff --git a/modules/worldtask/model_worldtask.go b/modules/worldtask/model_worldtask.go index 98d0a8e37..c86d39591 100644 --- a/modules/worldtask/model_worldtask.go +++ b/modules/worldtask/model_worldtask.go @@ -38,7 +38,7 @@ func (this *ModelWorldtask) getWorldtask(uid string) (*pb.DBWorldtask, error) { return d, nil } -//判断前置任务是否完成 +// 判断前置任务是否完成 // true 已完成 false未完成 func (this *ModelWorldtask) IsPreFinished(userTask *pb.DBWorldtask, curTaskConf *cfg.GameWorldTaskData) bool { var ( @@ -95,6 +95,10 @@ func (this *ModelWorldtask) finishTask(groupId, taskId int32, task *pb.DBWorldta update["taskList"] = task.TaskList update["lastTaskIds"] = task.LastTaskIds + update["deliverNpc"] = 1 + update["condiIds"] = []int32{} + update["npcStatus"] = 0 + update["deliverNpc"] = 0 if err := this.Change(task.Uid, update); err != nil { return err } diff --git a/modules/worldtask/module.go b/modules/worldtask/module.go index d825c681c..4a7868051 100644 --- a/modules/worldtask/module.go +++ b/modules/worldtask/module.go @@ -55,13 +55,59 @@ func (this *Worldtask) Start() (err error) { } // 任务条件达成通知 +func (this *Worldtask) TaskCondFinishNotify(session comm.IUserSession, condId int32) error { + uid := session.GetUserId() + // 玩家世界任务 + userTask, err := this.modelWorldtask.getWorldtask(uid) + if err != nil { + this.Error("获取玩家世界任务", log.Field{Key: "uid", Value: uid}, log.Field{Key: "condId", Value: condId}) + return err + } + + // 检索condId是否是世界任务的完成条件 + finishedTaskIds := make(map[int32]int32) //达成的任务条件 + for _, c := range this.worldtaskConf.GetDataList() { + for _, v := range c.Completetask { + if v == condId { + finishedTaskIds[c.Group] = c.Key + } + } + } + + if len(finishedTaskIds) == 0 { + return nil + } + + userTask.CondiIds = append(userTask.CondiIds, condId) + + update := map[string]interface{}{ + "condiIds": userTask.CondiIds, + } + this.modelWorldtask.Change(uid, update) + + for k, v := range userTask.CurrentTaskIds { + session.SendMsg(string(this.GetType()), "completecondis", &pb.WorldtaskCompletecondisPush{ + GroupId: k, + TaskId: v.TaskId, + CondiIds: userTask.CondiIds, + }) + this.Debug("推送完成条件",log.Field{Key: "condiIds",Value: v.TaskId}) + } + + return nil +} + +// 任务条件达成通知 +// Deprecated func (this *Worldtask) TaskcondNotify(session comm.IUserSession, condId int32) error { uid := session.GetUserId() finishedTaskIds := make(map[int32]int32) //达成的任务条件 for _, c := range this.worldtaskConf.GetDataList() { - if c.Completetask != 0 && c.Completetask == condId { - finishedTaskIds[c.Group] = c.Key + for _, v := range c.Completetask { + if v == condId { + finishedTaskIds[c.Group] = c.Key + } } } diff --git a/pb/worldtask_db.pb.go b/pb/worldtask_db.pb.go index 00b5df048..725b92508 100644 --- a/pb/worldtask_db.pb.go +++ b/pb/worldtask_db.pb.go @@ -25,9 +25,13 @@ type DBWorldtask struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid" bson:"uid"` //玩家ID - LastTaskIds map[int32]*Worldtask `protobuf:"bytes,2,rep,name=lastTaskIds,proto3" json:"lastTaskIds" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" bson:"lastTaskIds"` //上一次完成的任务 key:groupId val:任务ID - TaskList []*Worldtask `protobuf:"bytes,3,rep,name=taskList,proto3" json:"taskList" bson:"taskList"` // 任务列表 + Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid" bson:"uid"` //玩家ID + LastTaskIds map[int32]*Worldtask `protobuf:"bytes,2,rep,name=lastTaskIds,proto3" json:"lastTaskIds" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" bson:"lastTaskIds"` //上一次完成的任务 key:groupId val:任务ID + TaskList []*Worldtask `protobuf:"bytes,3,rep,name=taskList,proto3" json:"taskList" bson:"taskList"` // 任务列表 + CurrentTaskIds map[int32]*Worldtask `protobuf:"bytes,4,rep,name=currentTaskIds,proto3" json:"currentTaskIds" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" bson:"currentTaskIds"` //正在进行的任务 + NpcStatus int32 `protobuf:"varint,5,opt,name=npcStatus,proto3" json:"npcStatus" bson:"npcStatus"` //NPC任务完成状态0未完成 1完成 + CondiIds []int32 `protobuf:"varint,6,rep,packed,name=condiIds,proto3" json:"condiIds" bson:"condiIds"` //任务完成条件 + DeliverNpc int32 `protobuf:"varint,7,opt,name=deliverNpc,proto3" json:"deliverNpc" bson:"deliverNpc"` //交付NPC完成状态0未完成 1完成 } func (x *DBWorldtask) Reset() { @@ -83,6 +87,34 @@ func (x *DBWorldtask) GetTaskList() []*Worldtask { return nil } +func (x *DBWorldtask) GetCurrentTaskIds() map[int32]*Worldtask { + if x != nil { + return x.CurrentTaskIds + } + return nil +} + +func (x *DBWorldtask) GetNpcStatus() int32 { + if x != nil { + return x.NpcStatus + } + return 0 +} + +func (x *DBWorldtask) GetCondiIds() []int32 { + if x != nil { + return x.CondiIds + } + return nil +} + +func (x *DBWorldtask) GetDeliverNpc() int32 { + if x != nil { + return x.DeliverNpc + } + return 0 +} + type Worldtask struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -142,8 +174,8 @@ var File_worldtask_worldtask_db_proto protoreflect.FileDescriptor var file_worldtask_worldtask_db_proto_rawDesc = []byte{ 0x0a, 0x1c, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x2f, 0x77, 0x6f, 0x72, 0x6c, - 0x64, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd4, - 0x01, 0x0a, 0x0b, 0x44, 0x42, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x10, + 0x64, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc7, + 0x03, 0x0a, 0x0b, 0x44, 0x42, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x3f, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x44, 0x42, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, @@ -151,17 +183,32 @@ var file_worldtask_worldtask_db_proto_rawDesc = []byte{ 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x12, 0x26, 0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x52, - 0x08, 0x74, 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x4a, 0x0a, 0x10, 0x4c, 0x61, 0x73, - 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x20, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, - 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3f, 0x0a, 0x09, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, - 0x73, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x61, - 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x74, 0x61, - 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x08, 0x74, 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x0e, 0x63, 0x75, 0x72, + 0x72, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x44, 0x42, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x2e, + 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x73, 0x6b, + 0x49, 0x64, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x70, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6e, 0x70, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x49, 0x64, 0x73, 0x18, 0x06, 0x20, + 0x03, 0x28, 0x05, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x49, 0x64, 0x73, 0x12, 0x1e, 0x0a, + 0x0a, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x4e, 0x70, 0x63, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0a, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x4e, 0x70, 0x63, 0x1a, 0x4a, 0x0a, + 0x10, 0x4c, 0x61, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4d, 0x0a, 0x13, 0x43, 0x75, 0x72, + 0x72, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x20, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0a, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3f, 0x0a, 0x09, 0x57, 0x6f, 0x72, 0x6c, + 0x64, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x1a, 0x0a, + 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, + 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -176,21 +223,24 @@ func file_worldtask_worldtask_db_proto_rawDescGZIP() []byte { return file_worldtask_worldtask_db_proto_rawDescData } -var file_worldtask_worldtask_db_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_worldtask_worldtask_db_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_worldtask_worldtask_db_proto_goTypes = []interface{}{ (*DBWorldtask)(nil), // 0: DBWorldtask (*Worldtask)(nil), // 1: Worldtask nil, // 2: DBWorldtask.LastTaskIdsEntry + nil, // 3: DBWorldtask.CurrentTaskIdsEntry } var file_worldtask_worldtask_db_proto_depIdxs = []int32{ 2, // 0: DBWorldtask.lastTaskIds:type_name -> DBWorldtask.LastTaskIdsEntry 1, // 1: DBWorldtask.taskList:type_name -> Worldtask - 1, // 2: DBWorldtask.LastTaskIdsEntry.value:type_name -> Worldtask - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name + 3, // 2: DBWorldtask.currentTaskIds:type_name -> DBWorldtask.CurrentTaskIdsEntry + 1, // 3: DBWorldtask.LastTaskIdsEntry.value:type_name -> Worldtask + 1, // 4: DBWorldtask.CurrentTaskIdsEntry.value:type_name -> Worldtask + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name } func init() { file_worldtask_worldtask_db_proto_init() } @@ -230,7 +280,7 @@ func file_worldtask_worldtask_db_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_worldtask_worldtask_db_proto_rawDesc, NumEnums: 0, - NumMessages: 3, + NumMessages: 4, NumExtensions: 0, NumServices: 0, }, diff --git a/pb/worldtask_msg.pb.go b/pb/worldtask_msg.pb.go index 5e42c8e30..886063bf7 100644 --- a/pb/worldtask_msg.pb.go +++ b/pb/worldtask_msg.pb.go @@ -106,6 +106,308 @@ func (x *WorldtaskMineResp) GetTask() *DBWorldtask { return nil } +//接受任务 +type WorldtaskAcceptReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId int32 `protobuf:"varint,1,opt,name=groupId,proto3" json:"groupId"` + TaskId int32 `protobuf:"varint,2,opt,name=taskId,proto3" json:"taskId"` +} + +func (x *WorldtaskAcceptReq) Reset() { + *x = WorldtaskAcceptReq{} + if protoimpl.UnsafeEnabled { + mi := &file_worldtask_worldtask_msg_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldtaskAcceptReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldtaskAcceptReq) ProtoMessage() {} + +func (x *WorldtaskAcceptReq) ProtoReflect() protoreflect.Message { + mi := &file_worldtask_worldtask_msg_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldtaskAcceptReq.ProtoReflect.Descriptor instead. +func (*WorldtaskAcceptReq) Descriptor() ([]byte, []int) { + return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{2} +} + +func (x *WorldtaskAcceptReq) GetGroupId() int32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *WorldtaskAcceptReq) GetTaskId() int32 { + if x != nil { + return x.TaskId + } + return 0 +} + +type WorldtaskAcceptResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId int32 `protobuf:"varint,1,opt,name=groupId,proto3" json:"groupId"` + TaskId int32 `protobuf:"varint,2,opt,name=taskId,proto3" json:"taskId"` +} + +func (x *WorldtaskAcceptResp) Reset() { + *x = WorldtaskAcceptResp{} + if protoimpl.UnsafeEnabled { + mi := &file_worldtask_worldtask_msg_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldtaskAcceptResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldtaskAcceptResp) ProtoMessage() {} + +func (x *WorldtaskAcceptResp) ProtoReflect() protoreflect.Message { + mi := &file_worldtask_worldtask_msg_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldtaskAcceptResp.ProtoReflect.Descriptor instead. +func (*WorldtaskAcceptResp) Descriptor() ([]byte, []int) { + return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{3} +} + +func (x *WorldtaskAcceptResp) GetGroupId() int32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *WorldtaskAcceptResp) GetTaskId() int32 { + if x != nil { + return x.TaskId + } + return 0 +} + +//任务完成条件推送 +type WorldtaskCompletecondisPush struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId int32 `protobuf:"varint,1,opt,name=groupId,proto3" json:"groupId"` + TaskId int32 `protobuf:"varint,2,opt,name=taskId,proto3" json:"taskId"` + CondiIds []int32 `protobuf:"varint,3,rep,packed,name=condiIds,proto3" json:"condiIds"` +} + +func (x *WorldtaskCompletecondisPush) Reset() { + *x = WorldtaskCompletecondisPush{} + if protoimpl.UnsafeEnabled { + mi := &file_worldtask_worldtask_msg_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldtaskCompletecondisPush) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldtaskCompletecondisPush) ProtoMessage() {} + +func (x *WorldtaskCompletecondisPush) ProtoReflect() protoreflect.Message { + mi := &file_worldtask_worldtask_msg_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldtaskCompletecondisPush.ProtoReflect.Descriptor instead. +func (*WorldtaskCompletecondisPush) Descriptor() ([]byte, []int) { + return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{4} +} + +func (x *WorldtaskCompletecondisPush) GetGroupId() int32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *WorldtaskCompletecondisPush) GetTaskId() int32 { + if x != nil { + return x.TaskId + } + return 0 +} + +func (x *WorldtaskCompletecondisPush) GetCondiIds() []int32 { + if x != nil { + return x.CondiIds + } + return nil +} + +//校验任务完成条件 +type WorldtaskCompleteCondiReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId int32 `protobuf:"varint,1,opt,name=groupId,proto3" json:"groupId"` + TaskId int32 `protobuf:"varint,2,opt,name=taskId,proto3" json:"taskId"` + CondiId int32 `protobuf:"varint,3,opt,name=condiId,proto3" json:"condiId"` +} + +func (x *WorldtaskCompleteCondiReq) Reset() { + *x = WorldtaskCompleteCondiReq{} + if protoimpl.UnsafeEnabled { + mi := &file_worldtask_worldtask_msg_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldtaskCompleteCondiReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldtaskCompleteCondiReq) ProtoMessage() {} + +func (x *WorldtaskCompleteCondiReq) ProtoReflect() protoreflect.Message { + mi := &file_worldtask_worldtask_msg_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldtaskCompleteCondiReq.ProtoReflect.Descriptor instead. +func (*WorldtaskCompleteCondiReq) Descriptor() ([]byte, []int) { + return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{5} +} + +func (x *WorldtaskCompleteCondiReq) GetGroupId() int32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *WorldtaskCompleteCondiReq) GetTaskId() int32 { + if x != nil { + return x.TaskId + } + return 0 +} + +func (x *WorldtaskCompleteCondiReq) GetCondiId() int32 { + if x != nil { + return x.CondiId + } + return 0 +} + +type WorldtaskCompleteCondiResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupId int32 `protobuf:"varint,1,opt,name=groupId,proto3" json:"groupId"` + TaskId int32 `protobuf:"varint,2,opt,name=taskId,proto3" json:"taskId"` + CondiId int32 `protobuf:"varint,3,opt,name=condiId,proto3" json:"condiId"` +} + +func (x *WorldtaskCompleteCondiResp) Reset() { + *x = WorldtaskCompleteCondiResp{} + if protoimpl.UnsafeEnabled { + mi := &file_worldtask_worldtask_msg_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorldtaskCompleteCondiResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorldtaskCompleteCondiResp) ProtoMessage() {} + +func (x *WorldtaskCompleteCondiResp) ProtoReflect() protoreflect.Message { + mi := &file_worldtask_worldtask_msg_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorldtaskCompleteCondiResp.ProtoReflect.Descriptor instead. +func (*WorldtaskCompleteCondiResp) Descriptor() ([]byte, []int) { + return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{6} +} + +func (x *WorldtaskCompleteCondiResp) GetGroupId() int32 { + if x != nil { + return x.GroupId + } + return 0 +} + +func (x *WorldtaskCompleteCondiResp) GetTaskId() int32 { + if x != nil { + return x.TaskId + } + return 0 +} + +func (x *WorldtaskCompleteCondiResp) GetCondiId() int32 { + if x != nil { + return x.CondiId + } + return 0 +} + // 完成任务 type WorldtaskFinishReq struct { state protoimpl.MessageState @@ -119,7 +421,7 @@ type WorldtaskFinishReq struct { func (x *WorldtaskFinishReq) Reset() { *x = WorldtaskFinishReq{} if protoimpl.UnsafeEnabled { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[2] + mi := &file_worldtask_worldtask_msg_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -132,7 +434,7 @@ func (x *WorldtaskFinishReq) String() string { func (*WorldtaskFinishReq) ProtoMessage() {} func (x *WorldtaskFinishReq) ProtoReflect() protoreflect.Message { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[2] + mi := &file_worldtask_worldtask_msg_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -145,7 +447,7 @@ func (x *WorldtaskFinishReq) ProtoReflect() protoreflect.Message { // Deprecated: Use WorldtaskFinishReq.ProtoReflect.Descriptor instead. func (*WorldtaskFinishReq) Descriptor() ([]byte, []int) { - return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{2} + return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{7} } func (x *WorldtaskFinishReq) GetGroupId() int32 { @@ -167,16 +469,14 @@ type WorldtaskFinishResp struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - GroupId int32 `protobuf:"varint,1,opt,name=groupId,proto3" json:"groupId"` - TaskId int32 `protobuf:"varint,2,opt,name=taskId,proto3" json:"taskId"` - Newheros []string `protobuf:"bytes,3,rep,name=newheros,proto3" json:"newheros"` //获得的新英雄 - Olv int32 `protobuf:"varint,4,opt,name=olv,proto3" json:"olv"` //以前的等级 + GroupId int32 `protobuf:"varint,1,opt,name=groupId,proto3" json:"groupId"` + TaskId int32 `protobuf:"varint,2,opt,name=taskId,proto3" json:"taskId"` } func (x *WorldtaskFinishResp) Reset() { *x = WorldtaskFinishResp{} if protoimpl.UnsafeEnabled { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[3] + mi := &file_worldtask_worldtask_msg_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -189,7 +489,7 @@ func (x *WorldtaskFinishResp) String() string { func (*WorldtaskFinishResp) ProtoMessage() {} func (x *WorldtaskFinishResp) ProtoReflect() protoreflect.Message { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[3] + mi := &file_worldtask_worldtask_msg_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -202,7 +502,7 @@ func (x *WorldtaskFinishResp) ProtoReflect() protoreflect.Message { // Deprecated: Use WorldtaskFinishResp.ProtoReflect.Descriptor instead. func (*WorldtaskFinishResp) Descriptor() ([]byte, []int) { - return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{3} + return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{8} } func (x *WorldtaskFinishResp) GetGroupId() int32 { @@ -219,33 +519,20 @@ func (x *WorldtaskFinishResp) GetTaskId() int32 { return 0 } -func (x *WorldtaskFinishResp) GetNewheros() []string { - if x != nil { - return x.Newheros - } - return nil -} - -func (x *WorldtaskFinishResp) GetOlv() int32 { - if x != nil { - return x.Olv - } - return 0 -} - //任务完成条件达成的推送 type WorldtaskNexttaskPush struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - NextTaskId int32 `protobuf:"varint,1,opt,name=nextTaskId,proto3" json:"nextTaskId"` //下一个任务ID + NextTaskId int32 `protobuf:"varint,1,opt,name=nextTaskId,proto3" json:"nextTaskId"` //下一个任务ID + CondIds []int32 `protobuf:"varint,2,rep,packed,name=condIds,proto3" json:"condIds"` // 条件ID } func (x *WorldtaskNexttaskPush) Reset() { *x = WorldtaskNexttaskPush{} if protoimpl.UnsafeEnabled { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[4] + mi := &file_worldtask_worldtask_msg_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -258,7 +545,7 @@ func (x *WorldtaskNexttaskPush) String() string { func (*WorldtaskNexttaskPush) ProtoMessage() {} func (x *WorldtaskNexttaskPush) ProtoReflect() protoreflect.Message { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[4] + mi := &file_worldtask_worldtask_msg_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -271,7 +558,7 @@ func (x *WorldtaskNexttaskPush) ProtoReflect() protoreflect.Message { // Deprecated: Use WorldtaskNexttaskPush.ProtoReflect.Descriptor instead. func (*WorldtaskNexttaskPush) Descriptor() ([]byte, []int) { - return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{4} + return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{9} } func (x *WorldtaskNexttaskPush) GetNextTaskId() int32 { @@ -281,6 +568,13 @@ func (x *WorldtaskNexttaskPush) GetNextTaskId() int32 { return 0 } +func (x *WorldtaskNexttaskPush) GetCondIds() []int32 { + if x != nil { + return x.CondIds + } + return nil +} + // 开始战斗 type WorldtaskBattleStartReq struct { state protoimpl.MessageState @@ -294,7 +588,7 @@ type WorldtaskBattleStartReq struct { func (x *WorldtaskBattleStartReq) Reset() { *x = WorldtaskBattleStartReq{} if protoimpl.UnsafeEnabled { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[5] + mi := &file_worldtask_worldtask_msg_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -307,7 +601,7 @@ func (x *WorldtaskBattleStartReq) String() string { func (*WorldtaskBattleStartReq) ProtoMessage() {} func (x *WorldtaskBattleStartReq) ProtoReflect() protoreflect.Message { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[5] + mi := &file_worldtask_worldtask_msg_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -320,7 +614,7 @@ func (x *WorldtaskBattleStartReq) ProtoReflect() protoreflect.Message { // Deprecated: Use WorldtaskBattleStartReq.ProtoReflect.Descriptor instead. func (*WorldtaskBattleStartReq) Descriptor() ([]byte, []int) { - return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{5} + return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{10} } func (x *WorldtaskBattleStartReq) GetBattleConfId() int32 { @@ -348,7 +642,7 @@ type WorldtaskBattleStartResp struct { func (x *WorldtaskBattleStartResp) Reset() { *x = WorldtaskBattleStartResp{} if protoimpl.UnsafeEnabled { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[6] + mi := &file_worldtask_worldtask_msg_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -361,7 +655,7 @@ func (x *WorldtaskBattleStartResp) String() string { func (*WorldtaskBattleStartResp) ProtoMessage() {} func (x *WorldtaskBattleStartResp) ProtoReflect() protoreflect.Message { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[6] + mi := &file_worldtask_worldtask_msg_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -374,7 +668,7 @@ func (x *WorldtaskBattleStartResp) ProtoReflect() protoreflect.Message { // Deprecated: Use WorldtaskBattleStartResp.ProtoReflect.Descriptor instead. func (*WorldtaskBattleStartResp) Descriptor() ([]byte, []int) { - return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{6} + return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{11} } func (x *WorldtaskBattleStartResp) GetInfo() *BattleInfo { @@ -398,7 +692,7 @@ type WorldtaskBattleFinishReq struct { func (x *WorldtaskBattleFinishReq) Reset() { *x = WorldtaskBattleFinishReq{} if protoimpl.UnsafeEnabled { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[7] + mi := &file_worldtask_worldtask_msg_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -411,7 +705,7 @@ func (x *WorldtaskBattleFinishReq) String() string { func (*WorldtaskBattleFinishReq) ProtoMessage() {} func (x *WorldtaskBattleFinishReq) ProtoReflect() protoreflect.Message { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[7] + mi := &file_worldtask_worldtask_msg_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -424,7 +718,7 @@ func (x *WorldtaskBattleFinishReq) ProtoReflect() protoreflect.Message { // Deprecated: Use WorldtaskBattleFinishReq.ProtoReflect.Descriptor instead. func (*WorldtaskBattleFinishReq) Descriptor() ([]byte, []int) { - return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{7} + return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{12} } func (x *WorldtaskBattleFinishReq) GetTaskId() int32 { @@ -453,15 +747,13 @@ type WorldtaskBattleFinishResp struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TaskId int32 `protobuf:"varint,1,opt,name=taskId,proto3" json:"taskId"` //任务ID - Newheros []string `protobuf:"bytes,2,rep,name=newheros,proto3" json:"newheros"` //获得的新英雄 - Olv int32 `protobuf:"varint,3,opt,name=olv,proto3" json:"olv"` //以前的等级 + TaskId int32 `protobuf:"varint,1,opt,name=taskId,proto3" json:"taskId"` //任务ID } func (x *WorldtaskBattleFinishResp) Reset() { *x = WorldtaskBattleFinishResp{} if protoimpl.UnsafeEnabled { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[8] + mi := &file_worldtask_worldtask_msg_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -474,7 +766,7 @@ func (x *WorldtaskBattleFinishResp) String() string { func (*WorldtaskBattleFinishResp) ProtoMessage() {} func (x *WorldtaskBattleFinishResp) ProtoReflect() protoreflect.Message { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[8] + mi := &file_worldtask_worldtask_msg_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -487,7 +779,7 @@ func (x *WorldtaskBattleFinishResp) ProtoReflect() protoreflect.Message { // Deprecated: Use WorldtaskBattleFinishResp.ProtoReflect.Descriptor instead. func (*WorldtaskBattleFinishResp) Descriptor() ([]byte, []int) { - return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{8} + return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{13} } func (x *WorldtaskBattleFinishResp) GetTaskId() int32 { @@ -497,20 +789,6 @@ func (x *WorldtaskBattleFinishResp) GetTaskId() int32 { return 0 } -func (x *WorldtaskBattleFinishResp) GetNewheros() []string { - if x != nil { - return x.Newheros - } - return nil -} - -func (x *WorldtaskBattleFinishResp) GetOlv() int32 { - if x != nil { - return x.Olv - } - return 0 -} - // 当前完成的任务列表推送 type WorldtaskFinishIdsPush struct { state protoimpl.MessageState @@ -523,7 +801,7 @@ type WorldtaskFinishIdsPush struct { func (x *WorldtaskFinishIdsPush) Reset() { *x = WorldtaskFinishIdsPush{} if protoimpl.UnsafeEnabled { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[9] + mi := &file_worldtask_worldtask_msg_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -536,7 +814,7 @@ func (x *WorldtaskFinishIdsPush) String() string { func (*WorldtaskFinishIdsPush) ProtoMessage() {} func (x *WorldtaskFinishIdsPush) ProtoReflect() protoreflect.Message { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[9] + mi := &file_worldtask_worldtask_msg_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -549,7 +827,7 @@ func (x *WorldtaskFinishIdsPush) ProtoReflect() protoreflect.Message { // Deprecated: Use WorldtaskFinishIdsPush.ProtoReflect.Descriptor instead. func (*WorldtaskFinishIdsPush) Descriptor() ([]byte, []int) { - return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{9} + return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{14} } func (x *WorldtaskFinishIdsPush) GetTaskList() []*Worldtask { @@ -559,109 +837,6 @@ func (x *WorldtaskFinishIdsPush) GetTaskList() []*Worldtask { return nil } -// 前置任务是否完成 -type WorldtaskPreReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupId int32 `protobuf:"varint,1,opt,name=groupId,proto3" json:"groupId"` //分组ID - TaskId int32 `protobuf:"varint,2,opt,name=taskId,proto3" json:"taskId"` //任务ID -} - -func (x *WorldtaskPreReq) Reset() { - *x = WorldtaskPreReq{} - if protoimpl.UnsafeEnabled { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WorldtaskPreReq) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorldtaskPreReq) ProtoMessage() {} - -func (x *WorldtaskPreReq) ProtoReflect() protoreflect.Message { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorldtaskPreReq.ProtoReflect.Descriptor instead. -func (*WorldtaskPreReq) Descriptor() ([]byte, []int) { - return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{10} -} - -func (x *WorldtaskPreReq) GetGroupId() int32 { - if x != nil { - return x.GroupId - } - return 0 -} - -func (x *WorldtaskPreReq) GetTaskId() int32 { - if x != nil { - return x.TaskId - } - return 0 -} - -type WorldtaskPreResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IsSucc bool `protobuf:"varint,1,opt,name=isSucc,proto3" json:"isSucc"` // 前置是否完成 -} - -func (x *WorldtaskPreResp) Reset() { - *x = WorldtaskPreResp{} - if protoimpl.UnsafeEnabled { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WorldtaskPreResp) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WorldtaskPreResp) ProtoMessage() {} - -func (x *WorldtaskPreResp) ProtoReflect() protoreflect.Message { - mi := &file_worldtask_worldtask_msg_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WorldtaskPreResp.ProtoReflect.Descriptor instead. -func (*WorldtaskPreResp) Descriptor() ([]byte, []int) { - return file_worldtask_worldtask_msg_proto_rawDescGZIP(), []int{11} -} - -func (x *WorldtaskPreResp) GetIsSucc() bool { - if x != nil { - return x.IsSucc - } - return false -} - var File_worldtask_worldtask_msg_proto protoreflect.FileDescriptor var file_worldtask_worldtask_msg_proto_rawDesc = []byte{ @@ -675,59 +850,77 @@ var file_worldtask_worldtask_msg_proto_rawDesc = []byte{ 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x4d, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x04, 0x74, 0x61, 0x73, - 0x6b, 0x22, 0x46, 0x0a, 0x12, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x46, 0x69, - 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x6b, 0x22, 0x46, 0x0a, 0x12, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x41, 0x63, + 0x63, 0x65, 0x70, 0x74, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x75, 0x0a, 0x13, 0x57, 0x6f, 0x72, - 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, + 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x47, 0x0a, 0x13, 0x57, 0x6f, 0x72, + 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, - 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x12, 0x10, - 0x0a, 0x03, 0x6f, 0x6c, 0x76, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6f, 0x6c, 0x76, - 0x22, 0x37, 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x4e, 0x65, 0x78, - 0x74, 0x74, 0x61, 0x73, 0x6b, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x65, 0x78, - 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6e, - 0x65, 0x78, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x67, 0x0a, 0x17, 0x57, 0x6f, 0x72, - 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x72, - 0x74, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, - 0x6e, 0x66, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x74, 0x74, - 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x06, 0x62, 0x61, 0x74, 0x74, - 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, - 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x62, 0x61, 0x74, 0x74, - 0x6c, 0x65, 0x22, 0x3b, 0x0a, 0x18, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x42, - 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, - 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, - 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, - 0x7d, 0x0a, 0x18, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, - 0x6c, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, - 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, - 0x6b, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, - 0x66, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, - 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, - 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, - 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x61, - 0x0a, 0x19, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, - 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x74, - 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, - 0x6b, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x12, - 0x10, 0x0a, 0x03, 0x6f, 0x6c, 0x76, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6f, 0x6c, - 0x76, 0x22, 0x40, 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x46, 0x69, - 0x6e, 0x69, 0x73, 0x68, 0x49, 0x64, 0x73, 0x50, 0x75, 0x73, 0x68, 0x12, 0x26, 0x0a, 0x08, 0x74, - 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, - 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x4c, - 0x69, 0x73, 0x74, 0x22, 0x43, 0x0a, 0x0f, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, - 0x50, 0x72, 0x65, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, + 0x49, 0x64, 0x22, 0x6b, 0x0a, 0x1b, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x43, + 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x73, 0x50, 0x75, 0x73, + 0x68, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, + 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, + 0x6b, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x49, 0x64, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x49, 0x64, 0x73, 0x22, + 0x67, 0x0a, 0x19, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x6d, 0x70, + 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x18, + 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x49, 0x64, 0x22, 0x68, 0x0a, 0x1a, 0x57, 0x6f, 0x72, 0x6c, + 0x64, 0x74, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x64, 0x69, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x2a, 0x0a, 0x10, 0x57, 0x6f, 0x72, 0x6c, - 0x64, 0x74, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, - 0x69, 0x73, 0x53, 0x75, 0x63, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, - 0x53, 0x75, 0x63, 0x63, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x64, + 0x69, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x64, 0x69, + 0x49, 0x64, 0x22, 0x46, 0x0a, 0x12, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x46, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x47, 0x0a, 0x13, 0x57, 0x6f, + 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, + 0x70, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, + 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, + 0x6b, 0x49, 0x64, 0x22, 0x51, 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, + 0x4e, 0x65, 0x78, 0x74, 0x74, 0x61, 0x73, 0x6b, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1e, 0x0a, 0x0a, + 0x6e, 0x65, 0x78, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x0a, 0x6e, 0x65, 0x78, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, + 0x63, 0x6f, 0x6e, 0x64, 0x49, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x07, 0x63, + 0x6f, 0x6e, 0x64, 0x49, 0x64, 0x73, 0x22, 0x67, 0x0a, 0x17, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, + 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, + 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, + 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x22, + 0x3b, 0x0a, 0x18, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, + 0x6c, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x04, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, + 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x7d, 0x0a, 0x18, + 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, + 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, + 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, + 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, + 0x6e, 0x66, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x70, + 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x33, 0x0a, 0x19, 0x57, + 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x69, + 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, + 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, + 0x22, 0x40, 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x46, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x49, 0x64, 0x73, 0x50, 0x75, 0x73, 0x68, 0x12, 0x26, 0x0a, 0x08, 0x74, 0x61, + 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x57, + 0x6f, 0x72, 0x6c, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x4c, 0x69, + 0x73, 0x74, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( @@ -742,32 +935,35 @@ func file_worldtask_worldtask_msg_proto_rawDescGZIP() []byte { return file_worldtask_worldtask_msg_proto_rawDescData } -var file_worldtask_worldtask_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_worldtask_worldtask_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 15) var file_worldtask_worldtask_msg_proto_goTypes = []interface{}{ - (*WorldtaskMineReq)(nil), // 0: WorldtaskMineReq - (*WorldtaskMineResp)(nil), // 1: WorldtaskMineResp - (*WorldtaskFinishReq)(nil), // 2: WorldtaskFinishReq - (*WorldtaskFinishResp)(nil), // 3: WorldtaskFinishResp - (*WorldtaskNexttaskPush)(nil), // 4: WorldtaskNexttaskPush - (*WorldtaskBattleStartReq)(nil), // 5: WorldtaskBattleStartReq - (*WorldtaskBattleStartResp)(nil), // 6: WorldtaskBattleStartResp - (*WorldtaskBattleFinishReq)(nil), // 7: WorldtaskBattleFinishReq - (*WorldtaskBattleFinishResp)(nil), // 8: WorldtaskBattleFinishResp - (*WorldtaskFinishIdsPush)(nil), // 9: WorldtaskFinishIdsPush - (*WorldtaskPreReq)(nil), // 10: WorldtaskPreReq - (*WorldtaskPreResp)(nil), // 11: WorldtaskPreResp - (*DBWorldtask)(nil), // 12: DBWorldtask - (*BattleFormation)(nil), // 13: BattleFormation - (*BattleInfo)(nil), // 14: BattleInfo - (*BattleReport)(nil), // 15: BattleReport - (*Worldtask)(nil), // 16: Worldtask + (*WorldtaskMineReq)(nil), // 0: WorldtaskMineReq + (*WorldtaskMineResp)(nil), // 1: WorldtaskMineResp + (*WorldtaskAcceptReq)(nil), // 2: WorldtaskAcceptReq + (*WorldtaskAcceptResp)(nil), // 3: WorldtaskAcceptResp + (*WorldtaskCompletecondisPush)(nil), // 4: WorldtaskCompletecondisPush + (*WorldtaskCompleteCondiReq)(nil), // 5: WorldtaskCompleteCondiReq + (*WorldtaskCompleteCondiResp)(nil), // 6: WorldtaskCompleteCondiResp + (*WorldtaskFinishReq)(nil), // 7: WorldtaskFinishReq + (*WorldtaskFinishResp)(nil), // 8: WorldtaskFinishResp + (*WorldtaskNexttaskPush)(nil), // 9: WorldtaskNexttaskPush + (*WorldtaskBattleStartReq)(nil), // 10: WorldtaskBattleStartReq + (*WorldtaskBattleStartResp)(nil), // 11: WorldtaskBattleStartResp + (*WorldtaskBattleFinishReq)(nil), // 12: WorldtaskBattleFinishReq + (*WorldtaskBattleFinishResp)(nil), // 13: WorldtaskBattleFinishResp + (*WorldtaskFinishIdsPush)(nil), // 14: WorldtaskFinishIdsPush + (*DBWorldtask)(nil), // 15: DBWorldtask + (*BattleFormation)(nil), // 16: BattleFormation + (*BattleInfo)(nil), // 17: BattleInfo + (*BattleReport)(nil), // 18: BattleReport + (*Worldtask)(nil), // 19: Worldtask } var file_worldtask_worldtask_msg_proto_depIdxs = []int32{ - 12, // 0: WorldtaskMineResp.task:type_name -> DBWorldtask - 13, // 1: WorldtaskBattleStartReq.battle:type_name -> BattleFormation - 14, // 2: WorldtaskBattleStartResp.info:type_name -> BattleInfo - 15, // 3: WorldtaskBattleFinishReq.report:type_name -> BattleReport - 16, // 4: WorldtaskFinishIdsPush.taskList:type_name -> Worldtask + 15, // 0: WorldtaskMineResp.task:type_name -> DBWorldtask + 16, // 1: WorldtaskBattleStartReq.battle:type_name -> BattleFormation + 17, // 2: WorldtaskBattleStartResp.info:type_name -> BattleInfo + 18, // 3: WorldtaskBattleFinishReq.report:type_name -> BattleReport + 19, // 4: WorldtaskFinishIdsPush.taskList:type_name -> Worldtask 5, // [5:5] is the sub-list for method output_type 5, // [5:5] is the sub-list for method input_type 5, // [5:5] is the sub-list for extension type_name @@ -808,7 +1004,7 @@ func file_worldtask_worldtask_msg_proto_init() { } } file_worldtask_worldtask_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldtaskFinishReq); i { + switch v := v.(*WorldtaskAcceptReq); i { case 0: return &v.state case 1: @@ -820,7 +1016,7 @@ func file_worldtask_worldtask_msg_proto_init() { } } file_worldtask_worldtask_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldtaskFinishResp); i { + switch v := v.(*WorldtaskAcceptResp); i { case 0: return &v.state case 1: @@ -832,7 +1028,7 @@ func file_worldtask_worldtask_msg_proto_init() { } } file_worldtask_worldtask_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldtaskNexttaskPush); i { + switch v := v.(*WorldtaskCompletecondisPush); i { case 0: return &v.state case 1: @@ -844,7 +1040,7 @@ func file_worldtask_worldtask_msg_proto_init() { } } file_worldtask_worldtask_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldtaskBattleStartReq); i { + switch v := v.(*WorldtaskCompleteCondiReq); i { case 0: return &v.state case 1: @@ -856,7 +1052,7 @@ func file_worldtask_worldtask_msg_proto_init() { } } file_worldtask_worldtask_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldtaskBattleStartResp); i { + switch v := v.(*WorldtaskCompleteCondiResp); i { case 0: return &v.state case 1: @@ -868,7 +1064,7 @@ func file_worldtask_worldtask_msg_proto_init() { } } file_worldtask_worldtask_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldtaskBattleFinishReq); i { + switch v := v.(*WorldtaskFinishReq); i { case 0: return &v.state case 1: @@ -880,7 +1076,7 @@ func file_worldtask_worldtask_msg_proto_init() { } } file_worldtask_worldtask_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldtaskBattleFinishResp); i { + switch v := v.(*WorldtaskFinishResp); i { case 0: return &v.state case 1: @@ -892,7 +1088,7 @@ func file_worldtask_worldtask_msg_proto_init() { } } file_worldtask_worldtask_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldtaskFinishIdsPush); i { + switch v := v.(*WorldtaskNexttaskPush); i { case 0: return &v.state case 1: @@ -904,7 +1100,7 @@ func file_worldtask_worldtask_msg_proto_init() { } } file_worldtask_worldtask_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldtaskPreReq); i { + switch v := v.(*WorldtaskBattleStartReq); i { case 0: return &v.state case 1: @@ -916,7 +1112,43 @@ func file_worldtask_worldtask_msg_proto_init() { } } file_worldtask_worldtask_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldtaskPreResp); i { + switch v := v.(*WorldtaskBattleStartResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_worldtask_worldtask_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldtaskBattleFinishReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_worldtask_worldtask_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldtaskBattleFinishResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_worldtask_worldtask_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldtaskFinishIdsPush); i { case 0: return &v.state case 1: @@ -934,7 +1166,7 @@ func file_worldtask_worldtask_msg_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_worldtask_worldtask_msg_proto_rawDesc, NumEnums: 0, - NumMessages: 12, + NumMessages: 15, NumExtensions: 0, NumServices: 0, }, diff --git a/sys/configure/structs/Game.RdtaskCondiData.go b/sys/configure/structs/Game.RdtaskCondiData.go index 6f32eeb5c..9322f9c18 100644 --- a/sys/configure/structs/Game.RdtaskCondiData.go +++ b/sys/configure/structs/Game.RdtaskCondiData.go @@ -12,7 +12,10 @@ import "errors" type GameRdtaskCondiData struct { Id int32 + TypeSp int32 + Tasktxt string Type int32 + Valid int32 Data1 int32 Data2 int32 Data3 int32 @@ -28,7 +31,10 @@ func (*GameRdtaskCondiData) GetTypeId() int32 { func (_v *GameRdtaskCondiData)Deserialize(_buf map[string]interface{}) (err error) { { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["id"].(float64); !_ok_ { err = errors.New("id error"); return }; _v.Id = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["type_sp"].(float64); !_ok_ { err = errors.New("type_sp error"); return }; _v.TypeSp = int32(_tempNum_) } + { var _ok_ bool; if _v.Tasktxt, _ok_ = _buf["tasktxt"].(string); !_ok_ { err = errors.New("tasktxt error"); return } } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["type"].(float64); !_ok_ { err = errors.New("type error"); return }; _v.Type = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["valid"].(float64); !_ok_ { err = errors.New("valid error"); return }; _v.Valid = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["data1"].(float64); !_ok_ { err = errors.New("data1 error"); return }; _v.Data1 = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["data2"].(float64); !_ok_ { err = errors.New("data2 error"); return }; _v.Data2 = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["data3"].(float64); !_ok_ { err = errors.New("data3 error"); return }; _v.Data3 = int32(_tempNum_) } diff --git a/sys/configure/structs/Game.WorldTaskData.go b/sys/configure/structs/Game.WorldTaskData.go index 92f0daca6..7c1c9ba28 100644 --- a/sys/configure/structs/Game.WorldTaskData.go +++ b/sys/configure/structs/Game.WorldTaskData.go @@ -21,12 +21,10 @@ type GameWorldTaskData struct { TaskTname string TaskName string TaskDisplay string - Npc []string - GetafterEvent []int32 - Receivenpc []string - Completetask int32 + Npc int32 + Completetask []int32 + DeliverNpc int32 AutoAccept int32 - Overtips int32 Reword []*Gameatn Module []string } @@ -48,51 +46,23 @@ func (_v *GameWorldTaskData)Deserialize(_buf map[string]interface{}) (err error) {var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["task_Tname"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TaskTname error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TaskTname, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } } {var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["task_name"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TaskName error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TaskName, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } } {var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["task_display"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TaskDisplay error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TaskDisplay, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["npc"].(float64); !_ok_ { err = errors.New("npc error"); return }; _v.Npc = int32(_tempNum_) } { var _arr_ []interface{} var _ok_ bool - if _arr_, _ok_ = _buf["npc"].([]interface{}); !_ok_ { err = errors.New("npc error"); return } + if _arr_, _ok_ = _buf["completetask"].([]interface{}); !_ok_ { err = errors.New("completetask error"); return } - _v.Npc = make([]string, 0, len(_arr_)) - - for _, _e_ := range _arr_ { - var _list_v_ string - { if _list_v_, _ok_ = _e_.(string); !_ok_ { err = errors.New("_list_v_ error"); return } } - _v.Npc = append(_v.Npc, _list_v_) - } - } - - { - var _arr_ []interface{} - var _ok_ bool - if _arr_, _ok_ = _buf["getafter_event"].([]interface{}); !_ok_ { err = errors.New("getafter_event error"); return } - - _v.GetafterEvent = make([]int32, 0, len(_arr_)) + _v.Completetask = make([]int32, 0, len(_arr_)) for _, _e_ := range _arr_ { var _list_v_ int32 { var _ok_ bool; var _x_ float64; if _x_, _ok_ = _e_.(float64); !_ok_ { err = errors.New("_list_v_ error"); return }; _list_v_ = int32(_x_) } - _v.GetafterEvent = append(_v.GetafterEvent, _list_v_) + _v.Completetask = append(_v.Completetask, _list_v_) } } - { - var _arr_ []interface{} - var _ok_ bool - if _arr_, _ok_ = _buf["receivenpc"].([]interface{}); !_ok_ { err = errors.New("receivenpc error"); return } - - _v.Receivenpc = make([]string, 0, len(_arr_)) - - for _, _e_ := range _arr_ { - var _list_v_ string - { if _list_v_, _ok_ = _e_.(string); !_ok_ { err = errors.New("_list_v_ error"); return } } - _v.Receivenpc = append(_v.Receivenpc, _list_v_) - } - } - - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["completetask"].(float64); !_ok_ { err = errors.New("completetask error"); return }; _v.Completetask = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["deliver_npc"].(float64); !_ok_ { err = errors.New("deliver_npc error"); return }; _v.DeliverNpc = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["auto_accept"].(float64); !_ok_ { err = errors.New("auto_accept error"); return }; _v.AutoAccept = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["overtips"].(float64); !_ok_ { err = errors.New("overtips error"); return }; _v.Overtips = int32(_tempNum_) } { var _arr_ []interface{} var _ok_ bool