From f27130c3b4f2367b106a165ac20e41c61e067d7d Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Mon, 17 Apr 2023 18:55:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/json/game_dispatch_task.json | 148 +- bin/json/game_itinerant_city.json | 71 + bin/json/game_itinerant_lv.json | 139 + bin/json/game_itinerant_reward.json | 32 + bin/json/game_itinerant_thing.json | 230 ++ bin/json/game_newreddot.json | 342 +++ bin/json/game_pandamastjjl.json | 32 +- bin/json/game_potions.json | 130 +- bin/json/game_show.json | 24 +- bin/json/game_skillafteratk.json | 181 +- bin/json/game_skillatk.json | 6 +- bin/json/game_skillbuff.json | 198 +- bin/json/game_skillpassive.json | 4 +- comm/const.go | 5 + modules/parkour/api.go | 29 + modules/parkour/api_invite.go | 45 + modules/parkour/configure.go | 22 + modules/parkour/model_parkour.go | 28 + modules/parkour/model_team.go | 58 + modules/parkour/module.go | 15 +- pb/parkour_db.pb.go | 614 +++++ pb/parkour_msg.pb.go | 1209 +++++++++ pb/troll_db.pb.go | 271 +- sys/configure/structs/Game.NewRedDot.go | 42 + sys/configure/structs/Game.NewRedDotData.go | 49 + sys/configure/structs/Game.itinerant_city.go | 42 + .../structs/Game.itinerant_cityData.go | 100 + sys/configure/structs/Game.itinerant_lv.go | 42 + .../structs/Game.itinerant_lvData.go | 52 + .../structs/Game.itinerant_reward.go | 42 + .../structs/Game.itinerant_rewardData.go | 50 + sys/configure/structs/Game.itinerant_thing.go | 42 + .../structs/Game.itinerant_thingData.go | 126 + sys/configure/structs/Tables.go | 2417 +++++++++-------- 34 files changed, 5084 insertions(+), 1753 deletions(-) create mode 100644 bin/json/game_itinerant_city.json create mode 100644 bin/json/game_itinerant_lv.json create mode 100644 bin/json/game_itinerant_reward.json create mode 100644 bin/json/game_itinerant_thing.json create mode 100644 bin/json/game_newreddot.json create mode 100644 modules/parkour/api.go create mode 100644 modules/parkour/api_invite.go create mode 100644 modules/parkour/configure.go create mode 100644 modules/parkour/model_parkour.go create mode 100644 modules/parkour/model_team.go create mode 100644 pb/parkour_db.pb.go create mode 100644 pb/parkour_msg.pb.go create mode 100644 sys/configure/structs/Game.NewRedDot.go create mode 100644 sys/configure/structs/Game.NewRedDotData.go create mode 100644 sys/configure/structs/Game.itinerant_city.go create mode 100644 sys/configure/structs/Game.itinerant_cityData.go create mode 100644 sys/configure/structs/Game.itinerant_lv.go create mode 100644 sys/configure/structs/Game.itinerant_lvData.go create mode 100644 sys/configure/structs/Game.itinerant_reward.go create mode 100644 sys/configure/structs/Game.itinerant_rewardData.go create mode 100644 sys/configure/structs/Game.itinerant_thing.go create mode 100644 sys/configure/structs/Game.itinerant_thingData.go diff --git a/bin/json/game_dispatch_task.json b/bin/json/game_dispatch_task.json index 066aa7242..9d07473b1 100644 --- a/bin/json/game_dispatch_task.json +++ b/bin/json/game_dispatch_task.json @@ -8,7 +8,7 @@ }, "icon": "xmwg_rw_pt1", "taskcd": 200, - "tasktime": 111, + "tasktime": 170, "tasktxt": { "key": "Entrustment details of Po", "text": "这是属于阿宝的专属委托" @@ -56,7 +56,7 @@ }, "icon": "xmwg_rw_pt2", "taskcd": 200, - "tasktime": 174, + "tasktime": 176, "tasktxt": { "key": "Entrustment details of Bobi", "text": "这是属于波比的专属委托" @@ -104,7 +104,7 @@ }, "icon": "xmwg_rw_pt3", "taskcd": 200, - "tasktime": 100, + "tasktime": 149, "tasktxt": { "key": "Entrustment details of Tiger", "text": "这是属于悍娇虎的专属委托" @@ -152,7 +152,7 @@ }, "icon": "xmwg_rw_pt4", "taskcd": 200, - "tasktime": 140, + "tasktime": 104, "tasktxt": { "key": "Entrustment details of Shifu", "text": "这是属于师父的专属委托" @@ -200,7 +200,7 @@ }, "icon": "xmwg_rw_pt5", "taskcd": 200, - "tasktime": 176, + "tasktime": 79, "tasktxt": { "key": "Entrustment details of Po", "text": "这是属于阿宝的专属委托" @@ -248,7 +248,7 @@ }, "icon": "xmwg_rw_pt6", "taskcd": 200, - "tasktime": 65, + "tasktime": 158, "tasktxt": { "key": "Entrustment details of Bobi", "text": "这是属于波比的专属委托" @@ -296,7 +296,7 @@ }, "icon": "xmwg_rw_pt7", "taskcd": 200, - "tasktime": 124, + "tasktime": 69, "tasktxt": { "key": "Entrustment details of Tiger", "text": "这是属于悍娇虎的专属委托" @@ -344,7 +344,7 @@ }, "icon": "xmwg_rw_pt1", "taskcd": 200, - "tasktime": 96, + "tasktime": 165, "tasktxt": { "key": "Entrustment details of Shifu", "text": "这是属于师父的专属委托" @@ -392,7 +392,7 @@ }, "icon": "xmwg_rw_pt2", "taskcd": 200, - "tasktime": 114, + "tasktime": 162, "tasktxt": { "key": "Entrustment details of Po", "text": "这是属于阿宝的专属委托" @@ -440,7 +440,7 @@ }, "icon": "xmwg_rw_pt3", "taskcd": 200, - "tasktime": 109, + "tasktime": 78, "tasktxt": { "key": "Entrustment details of Bobi", "text": "这是属于波比的专属委托" @@ -488,7 +488,7 @@ }, "icon": "xmwg_rw_pt4", "taskcd": 200, - "tasktime": 92, + "tasktime": 173, "tasktxt": { "key": "Entrustment details of Tiger", "text": "这是属于悍娇虎的专属委托" @@ -536,7 +536,7 @@ }, "icon": "xmwg_rw_pt5", "taskcd": 200, - "tasktime": 137, + "tasktime": 120, "tasktxt": { "key": "Entrustment details of Shifu", "text": "这是属于师父的专属委托" @@ -584,7 +584,7 @@ }, "icon": "xmwg_rw_pt6", "taskcd": 200, - "tasktime": 109, + "tasktime": 139, "tasktxt": { "key": "Entrustment details of Po", "text": "这是属于阿宝的专属委托" @@ -632,7 +632,7 @@ }, "icon": "xmwg_rw_pt7", "taskcd": 200, - "tasktime": 109, + "tasktime": 60, "tasktxt": { "key": "Entrustment details of Bobi", "text": "这是属于波比的专属委托" @@ -680,7 +680,7 @@ }, "icon": "xmwg_rw_pt1", "taskcd": 200, - "tasktime": 107, + "tasktime": 167, "tasktxt": { "key": "Entrustment details of Tiger", "text": "这是属于悍娇虎的专属委托" @@ -728,7 +728,7 @@ }, "icon": "xmwg_rw_pt2", "taskcd": 200, - "tasktime": 175, + "tasktime": 130, "tasktxt": { "key": "Entrustment details of Shifu", "text": "这是属于师父的专属委托" @@ -776,7 +776,7 @@ }, "icon": "xmwg_rw_pt3", "taskcd": 200, - "tasktime": 142, + "tasktime": 132, "tasktxt": { "key": "Entrustment details of Po", "text": "这是属于阿宝的专属委托" @@ -824,7 +824,7 @@ }, "icon": "xmwg_rw_pt4", "taskcd": 200, - "tasktime": 109, + "tasktime": 61, "tasktxt": { "key": "Entrustment details of Bobi", "text": "这是属于波比的专属委托" @@ -872,7 +872,7 @@ }, "icon": "xmwg_rw_pt5", "taskcd": 200, - "tasktime": 61, + "tasktime": 90, "tasktxt": { "key": "Entrustment details of Tiger", "text": "这是属于悍娇虎的专属委托" @@ -920,7 +920,7 @@ }, "icon": "xmwg_rw_pt6", "taskcd": 200, - "tasktime": 172, + "tasktime": 146, "tasktxt": { "key": "Entrustment details of Shifu", "text": "这是属于师父的专属委托" @@ -968,7 +968,7 @@ }, "icon": "xmwg_rw_pt7", "taskcd": 200, - "tasktime": 120, + "tasktime": 77, "tasktxt": { "key": "Entrustment details of Po", "text": "这是属于阿宝的专属委托" @@ -1016,7 +1016,7 @@ }, "icon": "xmwg_rw_pt1", "taskcd": 200, - "tasktime": 64, + "tasktime": 90, "tasktxt": { "key": "Entrustment details of Bobi", "text": "这是属于波比的专属委托" @@ -1064,7 +1064,7 @@ }, "icon": "xmwg_rw_pt2", "taskcd": 200, - "tasktime": 103, + "tasktime": 67, "tasktxt": { "key": "Entrustment details of Tiger", "text": "这是属于悍娇虎的专属委托" @@ -1112,7 +1112,7 @@ }, "icon": "xmwg_rw_pt3", "taskcd": 200, - "tasktime": 140, + "tasktime": 175, "tasktxt": { "key": "Entrustment details of Shifu", "text": "这是属于师父的专属委托" @@ -1160,7 +1160,7 @@ }, "icon": "xmwg_rw_pt4", "taskcd": 200, - "tasktime": 124, + "tasktime": 156, "tasktxt": { "key": "Entrustment details of Po", "text": "这是属于阿宝的专属委托" @@ -1208,7 +1208,7 @@ }, "icon": "xmwg_rw_pt5", "taskcd": 200, - "tasktime": 147, + "tasktime": 152, "tasktxt": { "key": "Entrustment details of Bobi", "text": "这是属于波比的专属委托" @@ -1256,7 +1256,7 @@ }, "icon": "xmwg_rw_pt6", "taskcd": 200, - "tasktime": 120, + "tasktime": 149, "tasktxt": { "key": "Entrustment details of Tiger", "text": "这是属于悍娇虎的专属委托" @@ -1304,7 +1304,7 @@ }, "icon": "xmwg_rw_pt7", "taskcd": 200, - "tasktime": 137, + "tasktime": 156, "tasktxt": { "key": "Entrustment details of Shifu", "text": "这是属于师父的专属委托" @@ -1352,7 +1352,7 @@ }, "icon": "xmwg_rw_pt1", "taskcd": 200, - "tasktime": 90, + "tasktime": 91, "tasktxt": { "key": "Entrustment details of Po", "text": "这是属于阿宝的专属委托" @@ -1400,7 +1400,7 @@ }, "icon": "xmwg_rw_pt2", "taskcd": 200, - "tasktime": 158, + "tasktime": 110, "tasktxt": { "key": "Entrustment details of Bobi", "text": "这是属于波比的专属委托" @@ -1448,7 +1448,7 @@ }, "icon": "xmwg_rw_pt3", "taskcd": 200, - "tasktime": 104, + "tasktime": 89, "tasktxt": { "key": "Entrustment details of Tiger", "text": "这是属于悍娇虎的专属委托" @@ -1496,7 +1496,7 @@ }, "icon": "xmwg_rw_pt4", "taskcd": 200, - "tasktime": 158, + "tasktime": 169, "tasktxt": { "key": "Entrustment details of Shifu", "text": "这是属于师父的专属委托" @@ -1544,7 +1544,7 @@ }, "icon": "xmwg_rw_pt5", "taskcd": 200, - "tasktime": 92, + "tasktime": 90, "tasktxt": { "key": "Entrustment details of Po", "text": "这是属于阿宝的专属委托" @@ -1592,7 +1592,7 @@ }, "icon": "xmwg_rw_pt6", "taskcd": 200, - "tasktime": 83, + "tasktime": 117, "tasktxt": { "key": "Entrustment details of Bobi", "text": "这是属于波比的专属委托" @@ -1640,7 +1640,7 @@ }, "icon": "xmwg_rw_pt7", "taskcd": 200, - "tasktime": 60, + "tasktime": 73, "tasktxt": { "key": "Entrustment details of Tiger", "text": "这是属于悍娇虎的专属委托" @@ -1688,7 +1688,7 @@ }, "icon": "xmwg_rw_pt1", "taskcd": 200, - "tasktime": 152, + "tasktime": 179, "tasktxt": { "key": "Entrustment details of Shifu", "text": "这是属于师父的专属委托" @@ -1736,7 +1736,7 @@ }, "icon": "xmwg_rw_pt2", "taskcd": 200, - "tasktime": 88, + "tasktime": 142, "tasktxt": { "key": "Entrustment details of Po", "text": "这是属于阿宝的专属委托" @@ -1784,7 +1784,7 @@ }, "icon": "xmwg_rw_pt3", "taskcd": 200, - "tasktime": 156, + "tasktime": 178, "tasktxt": { "key": "Entrustment details of Bobi", "text": "这是属于波比的专属委托" @@ -1832,7 +1832,7 @@ }, "icon": "xmwg_rw_pt4", "taskcd": 200, - "tasktime": 153, + "tasktime": 150, "tasktxt": { "key": "Entrustment details of Tiger", "text": "这是属于悍娇虎的专属委托" @@ -1880,7 +1880,7 @@ }, "icon": "xmwg_rw_pt5", "taskcd": 200, - "tasktime": 110, + "tasktime": 175, "tasktxt": { "key": "Entrustment details of Shifu", "text": "这是属于师父的专属委托" @@ -1928,7 +1928,7 @@ }, "icon": "xmwg_rw_pt6", "taskcd": 200, - "tasktime": 127, + "tasktime": 139, "tasktxt": { "key": "Entrustment details of Po", "text": "这是属于阿宝的专属委托" @@ -1976,7 +1976,7 @@ }, "icon": "xmwg_rw_pt7", "taskcd": 200, - "tasktime": 115, + "tasktime": 105, "tasktxt": { "key": "Entrustment details of Bobi", "text": "这是属于波比的专属委托" @@ -2024,7 +2024,7 @@ }, "icon": "xmwg_rw_pt1", "taskcd": 200, - "tasktime": 109, + "tasktime": 125, "tasktxt": { "key": "Entrustment details of Tiger", "text": "这是属于悍娇虎的专属委托" @@ -2072,7 +2072,7 @@ }, "icon": "xmwg_rw_pt2", "taskcd": 200, - "tasktime": 174, + "tasktime": 175, "tasktxt": { "key": "Entrustment details of Shifu", "text": "这是属于师父的专属委托" @@ -2120,7 +2120,7 @@ }, "icon": "xmwg_rw_pt3", "taskcd": 200, - "tasktime": 79, + "tasktime": 166, "tasktxt": { "key": "Entrustment details of Po", "text": "这是属于阿宝的专属委托" @@ -2168,7 +2168,7 @@ }, "icon": "xmwg_rw_pt4", "taskcd": 200, - "tasktime": 70, + "tasktime": 62, "tasktxt": { "key": "Entrustment details of Bobi", "text": "这是属于波比的专属委托" @@ -2216,7 +2216,7 @@ }, "icon": "xmwg_rw_pt5", "taskcd": 200, - "tasktime": 103, + "tasktime": 167, "tasktxt": { "key": "Entrustment details of Tiger", "text": "这是属于悍娇虎的专属委托" @@ -2264,7 +2264,7 @@ }, "icon": "xmwg_rw_pt6", "taskcd": 200, - "tasktime": 143, + "tasktime": 94, "tasktxt": { "key": "Entrustment details of Shifu", "text": "这是属于师父的专属委托" @@ -2312,7 +2312,7 @@ }, "icon": "xmwg_rw_pt7", "taskcd": 200, - "tasktime": 123, + "tasktime": 81, "tasktxt": { "key": "Entrustment details of Po", "text": "这是属于阿宝的专属委托" @@ -2360,7 +2360,7 @@ }, "icon": "xmwg_rw_pt1", "taskcd": 200, - "tasktime": 65, + "tasktime": 104, "tasktxt": { "key": "Entrustment details of Bobi", "text": "这是属于波比的专属委托" @@ -2408,7 +2408,7 @@ }, "icon": "xmwg_rw_pt2", "taskcd": 200, - "tasktime": 171, + "tasktime": 164, "tasktxt": { "key": "Entrustment details of Tiger", "text": "这是属于悍娇虎的专属委托" @@ -2456,7 +2456,7 @@ }, "icon": "xmwg_rw_pt3", "taskcd": 200, - "tasktime": 150, + "tasktime": 92, "tasktxt": { "key": "Entrustment details of Shifu", "text": "这是属于师父的专属委托" @@ -2504,7 +2504,7 @@ }, "icon": "xmwg_rw_pt4", "taskcd": 200, - "tasktime": 90, + "tasktime": 151, "tasktxt": { "key": "Entrustment details of Po", "text": "这是属于阿宝的专属委托" @@ -2552,7 +2552,7 @@ }, "icon": "xmwg_rw_pt5", "taskcd": 200, - "tasktime": 163, + "tasktime": 89, "tasktxt": { "key": "Entrustment details of Bobi", "text": "这是属于波比的专属委托" @@ -2600,7 +2600,7 @@ }, "icon": "xmwg_rw_pt6", "taskcd": 200, - "tasktime": 87, + "tasktime": 124, "tasktxt": { "key": "Entrustment details of Tiger", "text": "这是属于悍娇虎的专属委托" @@ -2648,7 +2648,7 @@ }, "icon": "xmwg_rw_pt7", "taskcd": 200, - "tasktime": 100, + "tasktime": 162, "tasktxt": { "key": "Entrustment details of Shifu", "text": "这是属于师父的专属委托" @@ -2696,7 +2696,7 @@ }, "icon": "xmwg_rw_pt1", "taskcd": 200, - "tasktime": 154, + "tasktime": 92, "tasktxt": { "key": "Entrustment details of Po", "text": "这是属于阿宝的专属委托" @@ -2744,7 +2744,7 @@ }, "icon": "xmwg_rw_pt2", "taskcd": 200, - "tasktime": 167, + "tasktime": 63, "tasktxt": { "key": "Entrustment details of Bobi", "text": "这是属于波比的专属委托" @@ -2792,7 +2792,7 @@ }, "icon": "xmwg_rw_pt3", "taskcd": 200, - "tasktime": 114, + "tasktime": 82, "tasktxt": { "key": "Entrustment details of Tiger", "text": "这是属于悍娇虎的专属委托" @@ -2840,7 +2840,7 @@ }, "icon": "xmwg_rw_pt4", "taskcd": 200, - "tasktime": 64, + "tasktime": 116, "tasktxt": { "key": "Entrustment details of Shifu", "text": "这是属于师父的专属委托" @@ -2888,7 +2888,7 @@ }, "icon": "xmwg_rw_pt5", "taskcd": 200, - "tasktime": 157, + "tasktime": 128, "tasktxt": { "key": "Entrustment details of Po", "text": "这是属于阿宝的专属委托" @@ -2936,7 +2936,7 @@ }, "icon": "xmwg_rw_pt6", "taskcd": 200, - "tasktime": 129, + "tasktime": 67, "tasktxt": { "key": "Entrustment details of Bobi", "text": "这是属于波比的专属委托" @@ -2984,7 +2984,7 @@ }, "icon": "xmwg_rw_pt7", "taskcd": 200, - "tasktime": 166, + "tasktime": 141, "tasktxt": { "key": "Entrustment details of Tiger", "text": "这是属于悍娇虎的专属委托" @@ -3032,7 +3032,7 @@ }, "icon": "xmwg_rw_pt1", "taskcd": 200, - "tasktime": 100, + "tasktime": 81, "tasktxt": { "key": "Entrustment details of Shifu", "text": "这是属于师父的专属委托" @@ -3080,7 +3080,7 @@ }, "icon": "xmwg_rw_pt2", "taskcd": 200, - "tasktime": 63, + "tasktime": 175, "tasktxt": { "key": "Entrustment details of Po", "text": "这是属于阿宝的专属委托" @@ -3128,7 +3128,7 @@ }, "icon": "xmwg_rw_pt3", "taskcd": 200, - "tasktime": 137, + "tasktime": 169, "tasktxt": { "key": "Entrustment details of Bobi", "text": "这是属于波比的专属委托" @@ -3176,7 +3176,7 @@ }, "icon": "xmwg_rw_pt4", "taskcd": 200, - "tasktime": 70, + "tasktime": 90, "tasktxt": { "key": "Entrustment details of Tiger", "text": "这是属于悍娇虎的专属委托" @@ -3224,7 +3224,7 @@ }, "icon": "xmwg_rw_pt5", "taskcd": 200, - "tasktime": 63, + "tasktime": 131, "tasktxt": { "key": "Entrustment details of Shifu", "text": "这是属于师父的专属委托" @@ -3272,7 +3272,7 @@ }, "icon": "xmwg_rw_pt6", "taskcd": 200, - "tasktime": 83, + "tasktime": 160, "tasktxt": { "key": "Entrustment details of Po", "text": "这是属于阿宝的专属委托" @@ -3320,7 +3320,7 @@ }, "icon": "xmwg_rw_pt7", "taskcd": 200, - "tasktime": 163, + "tasktime": 69, "tasktxt": { "key": "Entrustment details of Bobi", "text": "这是属于波比的专属委托" @@ -3368,7 +3368,7 @@ }, "icon": "xmwg_rw_pt1", "taskcd": 200, - "tasktime": 91, + "tasktime": 102, "tasktxt": { "key": "Entrustment details of Tiger", "text": "这是属于悍娇虎的专属委托" @@ -3416,7 +3416,7 @@ }, "icon": "xmwg_rw_pt2", "taskcd": 200, - "tasktime": 73, + "tasktime": 168, "tasktxt": { "key": "Entrustment details of Shifu", "text": "这是属于师父的专属委托" @@ -3464,7 +3464,7 @@ }, "icon": "xmwg_rw_pt3", "taskcd": 200, - "tasktime": 151, + "tasktime": 119, "tasktxt": { "key": "Entrustment details of Po", "text": "这是属于阿宝的专属委托" @@ -3512,7 +3512,7 @@ }, "icon": "xmwg_rw_pt4", "taskcd": 200, - "tasktime": 115, + "tasktime": 110, "tasktxt": { "key": "Entrustment details of Bobi", "text": "这是属于波比的专属委托" diff --git a/bin/json/game_itinerant_city.json b/bin/json/game_itinerant_city.json new file mode 100644 index 000000000..86646b9da --- /dev/null +++ b/bin/json/game_itinerant_city.json @@ -0,0 +1,71 @@ +[ + { + "id": 101, + "cityticket": 1, + "citylvlock": 0, + "citymainlock": [ + 11001 + ], + "cityname": { + "key": "shopname1", + "text": "功夫熊猫城市" + }, + "cityinformation": { + "key": "shopname1", + "text": "常年游荡在哀伤山脉的商人,这一区域或许只有他才敢在这里做生意。" + }, + "citytxt": { + "key": "shopname1", + "text": "哀伤山脉长年被一股胀气笼罩,这里的人们长年吸入这些气息,不知不觉已经产生了异变,他们自己称之为兽化病,年长的居民,会随着兽化病的加重,变成熊猫的模样,他们的人性会逐渐的被兽性所代替,最后彻底沦为一只只知道吃包子的直立行走的熊猫。\n\n山脉的长者为了避免失去理智的自己误伤后代,会在晚年独自一人前往山脉深处。\n\n当旅行者在山脉的深处看到那些整日吃包子的熊猫,大概率就是有山脉的居民演化而来。\n\n也正因如此,这里的居民对于包子,竹子等熊猫喜爱的食物需求量很大,也很乐意高价收购外来的那些优秀的竹笋和上好的白面。\n\n不仅仅是对于那些已经彻底兽化的长辈,在时间的流逝下,熊猫的本性已经遗留在当地居民的血脉,新生孩子以及那些山脉之中的年轻人,也会对这些食物有着近乎病态的追求。" + }, + "citytype": 1, + "citytypenum": 2, + "special": [ + 1, + 2 + ], + "specialnum": 5000, + "exspecial": [ + 3, + 4, + 6 + ], + "exspecialnum": 2000000, + "Orspecial": 100000 + }, + { + "id": 102, + "cityticket": 1, + "citylvlock": 0, + "citymainlock": [ + 11001 + ], + "cityname": { + "key": "shopname2", + "text": "圣桃树山脉" + }, + "cityinformation": { + "key": "shopname2", + "text": "常年游荡在哀伤山脉的商人,这一区域或许只有他才敢在这里做生意。" + }, + "citytxt": { + "key": "shopname2", + "text": "哀伤山脉长年被一股胀气笼罩,这里的人们长年吸入这些气息,不知不觉已经产生了异变,他们自己称之为兽化病,年长的居民,会随着兽化病的加重,变成熊猫的模样,他们的人性会逐渐的被兽性所代替,最后彻底沦为一只只知道吃包子的直立行走的熊猫。\n\n山脉的长者为了避免失去理智的自己误伤后代,会在晚年独自一人前往山脉深处。\n\n当旅行者在山脉的深处看到那些整日吃包子的熊猫,大概率就是有山脉的居民演化而来。\n\n也正因如此,这里的居民对于包子,竹子等熊猫喜爱的食物需求量很大,也很乐意高价收购外来的那些优秀的竹笋和上好的白面。\n\n不仅仅是对于那些已经彻底兽化的长辈,在时间的流逝下,熊猫的本性已经遗留在当地居民的血脉,新生孩子以及那些山脉之中的年轻人,也会对这些食物有着近乎病态的追求。" + }, + "citytype": 2, + "citytypenum": 3, + "special": [ + 3, + 4, + 5, + 6 + ], + "specialnum": 5000, + "exspecial": [ + 1, + 2 + ], + "exspecialnum": 2000000, + "Orspecial": 100000 + } +] \ No newline at end of file diff --git a/bin/json/game_itinerant_lv.json b/bin/json/game_itinerant_lv.json new file mode 100644 index 000000000..7b7a0d7c4 --- /dev/null +++ b/bin/json/game_itinerant_lv.json @@ -0,0 +1,139 @@ +[ + { + "lv": 0, + "newmoneyexp": 0, + "reward": [] + }, + { + "lv": 1, + "newmoneyexp": 100000, + "reward": [ + { + "a": "attr", + "t": "gold", + "n": 1000 + } + ] + }, + { + "lv": 2, + "newmoneyexp": 200000, + "reward": [ + { + "a": "attr", + "t": "gold", + "n": 2000 + } + ] + }, + { + "lv": 3, + "newmoneyexp": 300000, + "reward": [ + { + "a": "attr", + "t": "gold", + "n": 3000 + } + ] + }, + { + "lv": 4, + "newmoneyexp": 400000, + "reward": [ + { + "a": "attr", + "t": "gold", + "n": 4000 + } + ] + }, + { + "lv": 5, + "newmoneyexp": 500000, + "reward": [ + { + "a": "attr", + "t": "gold", + "n": 5000 + } + ] + }, + { + "lv": 6, + "newmoneyexp": 600000, + "reward": [ + { + "a": "attr", + "t": "gold", + "n": 6000 + } + ] + }, + { + "lv": 7, + "newmoneyexp": 700000, + "reward": [ + { + "a": "attr", + "t": "gold", + "n": 7000 + } + ] + }, + { + "lv": 8, + "newmoneyexp": 800000, + "reward": [ + { + "a": "attr", + "t": "gold", + "n": 8000 + } + ] + }, + { + "lv": 9, + "newmoneyexp": 900000, + "reward": [ + { + "a": "attr", + "t": "gold", + "n": 9000 + } + ] + }, + { + "lv": 10, + "newmoneyexp": 1000000, + "reward": [ + { + "a": "attr", + "t": "gold", + "n": 10000 + } + ] + }, + { + "lv": 11, + "newmoneyexp": 1100000, + "reward": [ + { + "a": "attr", + "t": "gold", + "n": 11000 + } + ] + }, + { + "lv": 12, + "newmoneyexp": 1200000, + "reward": [ + { + "a": "attr", + "t": "gold", + "n": 12000 + } + ] + } +] \ No newline at end of file diff --git a/bin/json/game_itinerant_reward.json b/bin/json/game_itinerant_reward.json new file mode 100644 index 000000000..4ddf83cb1 --- /dev/null +++ b/bin/json/game_itinerant_reward.json @@ -0,0 +1,32 @@ +[ + { + "num": 10000, + "reward": [ + { + "a": "attr", + "t": "gold", + "n": 1000 + } + ] + }, + { + "num": 20000, + "reward": [ + { + "a": "attr", + "t": "gold", + "n": 2000 + } + ] + }, + { + "num": 30000, + "reward": [ + { + "a": "attr", + "t": "gold", + "n": 3000 + } + ] + } +] \ No newline at end of file diff --git a/bin/json/game_itinerant_thing.json b/bin/json/game_itinerant_thing.json new file mode 100644 index 000000000..5b951183e --- /dev/null +++ b/bin/json/game_itinerant_thing.json @@ -0,0 +1,230 @@ +[ + { + "id": 1, + "goodsname": { + "key": "name", + "text": "番茄" + }, + "goodsinfor": { + "key": "txt", + "text": "这是一个番茄" + }, + "goodsicon": "fanqie_c", + "goodsprice": 1000, + "changeperiod": [ + 5, + 15 + ], + "changetime": 60, + "PriceChangeWeight": [ + 40, + 20, + 40 + ], + "PriceChangeWeight_one": [ + 80, + 20 + ], + "PriceChangeWeight_two": [ + 50, + 50 + ], + "PriceChangeWeight_three": [ + 20, + 80 + ], + "FluctuationRange": 500, + "pricemin": 200, + "pricemax": 3000 + }, + { + "id": 2, + "goodsname": { + "key": "name", + "text": "苹果" + }, + "goodsinfor": { + "key": "txt", + "text": "这是一个苹果" + }, + "goodsicon": "fanqie_c", + "goodsprice": 1000, + "changeperiod": [ + 5, + 15 + ], + "changetime": 60, + "PriceChangeWeight": [ + 40, + 20, + 40 + ], + "PriceChangeWeight_one": [ + 80, + 20 + ], + "PriceChangeWeight_two": [ + 50, + 50 + ], + "PriceChangeWeight_three": [ + 20, + 80 + ], + "FluctuationRange": 500, + "pricemin": 200, + "pricemax": 3000 + }, + { + "id": 3, + "goodsname": { + "key": "name", + "text": "手机" + }, + "goodsinfor": { + "key": "txt", + "text": "这是一个手机" + }, + "goodsicon": "fanqie_c", + "goodsprice": 1000, + "changeperiod": [ + 5, + 15 + ], + "changetime": 60, + "PriceChangeWeight": [ + 40, + 20, + 40 + ], + "PriceChangeWeight_one": [ + 80, + 20 + ], + "PriceChangeWeight_two": [ + 50, + 50 + ], + "PriceChangeWeight_three": [ + 20, + 80 + ], + "FluctuationRange": 500, + "pricemin": 200, + "pricemax": 3000 + }, + { + "id": 4, + "goodsname": { + "key": "name", + "text": "干果" + }, + "goodsinfor": { + "key": "txt", + "text": "这是一个干果" + }, + "goodsicon": "fanqie_c", + "goodsprice": 1000, + "changeperiod": [ + 5, + 15 + ], + "changetime": 60, + "PriceChangeWeight": [ + 40, + 20, + 40 + ], + "PriceChangeWeight_one": [ + 80, + 20 + ], + "PriceChangeWeight_two": [ + 50, + 50 + ], + "PriceChangeWeight_three": [ + 20, + 80 + ], + "FluctuationRange": 500, + "pricemin": 200, + "pricemax": 3000 + }, + { + "id": 5, + "goodsname": { + "key": "name", + "text": "干果" + }, + "goodsinfor": { + "key": "txt", + "text": "这是一个干果" + }, + "goodsicon": "fanqie_c", + "goodsprice": 1000, + "changeperiod": [ + 5, + 15 + ], + "changetime": 60, + "PriceChangeWeight": [ + 40, + 20, + 40 + ], + "PriceChangeWeight_one": [ + 80, + 20 + ], + "PriceChangeWeight_two": [ + 50, + 50 + ], + "PriceChangeWeight_three": [ + 20, + 80 + ], + "FluctuationRange": 500, + "pricemin": 200, + "pricemax": 3000 + }, + { + "id": 6, + "goodsname": { + "key": "name", + "text": "干果" + }, + "goodsinfor": { + "key": "txt", + "text": "这是一个干果" + }, + "goodsicon": "fanqie_c", + "goodsprice": 1000, + "changeperiod": [ + 5, + 15 + ], + "changetime": 60, + "PriceChangeWeight": [ + 40, + 20, + 40 + ], + "PriceChangeWeight_one": [ + 80, + 20 + ], + "PriceChangeWeight_two": [ + 50, + 50 + ], + "PriceChangeWeight_three": [ + 20, + 80 + ], + "FluctuationRange": 500, + "pricemin": 200, + "pricemax": 3000 + } +] \ No newline at end of file diff --git a/bin/json/game_newreddot.json b/bin/json/game_newreddot.json new file mode 100644 index 000000000..8a820b664 --- /dev/null +++ b/bin/json/game_newreddot.json @@ -0,0 +1,342 @@ +[ + { + "id": 10100, + "msg_type": 0, + "tree_type": 0, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Task", + "header": "" + }, + { + "id": 10101, + "msg_type": 1, + "tree_type": 1, + "show_type": 0, + "count_type": 0, + "group": "task", + "path": "Root|Task|Daily", + "header": "赵长远" + }, + { + "id": 10102, + "msg_type": 1, + "tree_type": 1, + "show_type": 0, + "count_type": 0, + "group": "task", + "path": "Root|Task|Week", + "header": "赵长远" + }, + { + "id": 10103, + "msg_type": 1, + "tree_type": 1, + "show_type": 0, + "count_type": 0, + "group": "task", + "path": "Root|Task|Achievement", + "header": "赵长远" + }, + { + "id": 10200, + "msg_type": 0, + "tree_type": 0, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Task|Daily", + "header": "" + }, + { + "id": 10201, + "msg_type": 1, + "tree_type": 1, + "show_type": 0, + "count_type": 0, + "group": "task", + "path": "Root|Task|Daily|Active", + "header": "" + }, + { + "id": 10300, + "msg_type": 0, + "tree_type": 0, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Task|Week", + "header": "" + }, + { + "id": 10301, + "msg_type": 1, + "tree_type": 1, + "show_type": 0, + "count_type": 0, + "group": "task", + "path": "Root|Task|Week|Active", + "header": "" + }, + { + "id": 11100, + "msg_type": 1, + "tree_type": 1, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|MainLine", + "header": "梅雄风" + }, + { + "id": 12100, + "msg_type": 0, + "tree_type": 0, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Email", + "header": "" + }, + { + "id": 12101, + "msg_type": 2, + "tree_type": 1, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Email|Btn", + "header": "" + }, + { + "id": 12102, + "msg_type": 2, + "tree_type": 1, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Email|UnreadBtn", + "header": "" + }, + { + "id": 13100, + "msg_type": 0, + "tree_type": 0, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|ViKingExpedition", + "header": "" + }, + { + "id": 13101, + "msg_type": 0, + "tree_type": 0, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|ViKingExpedition|MainPage", + "header": "" + }, + { + "id": 13102, + "msg_type": 1, + "tree_type": 1, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|ViKingExpedition|MainPage|Btn", + "header": "" + }, + { + "id": 14100, + "msg_type": 0, + "tree_type": 0, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Hunting", + "header": "" + }, + { + "id": 14101, + "msg_type": 0, + "tree_type": 0, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Hunting|MainPage", + "header": "" + }, + { + "id": 14102, + "msg_type": 1, + "tree_type": 1, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Hunting|MainPage|Btn", + "header": "" + }, + { + "id": 20100, + "msg_type": 0, + "tree_type": 0, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Hero", + "header": "" + }, + { + "id": 20101, + "msg_type": 0, + "tree_type": 0, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Hero|Heroup", + "header": "" + }, + { + "id": 20102, + "msg_type": 2, + "tree_type": 1, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Hero|Heroup|Btn", + "header": "" + }, + { + "id": 20200, + "msg_type": 0, + "tree_type": 0, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Hero|Awake", + "header": "" + }, + { + "id": 20201, + "msg_type": 2, + "tree_type": 1, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Hero|Awake|Btn", + "header": "" + }, + { + "id": 20300, + "msg_type": 0, + "tree_type": 0, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Hero|Heroup", + "header": "" + }, + { + "id": 20301, + "msg_type": 2, + "tree_type": 1, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Hero|Heroup|Btn", + "header": "" + }, + { + "id": 15100, + "msg_type": 0, + "tree_type": 0, + "show_type": 0, + "count_type": 0, + "group": "sociaty", + "path": "Root|Guild", + "header": "赵长远" + }, + { + "id": 15101, + "msg_type": 0, + "tree_type": 0, + "show_type": 0, + "count_type": 0, + "group": "sociaty", + "path": "Root|Guild|MBtn", + "header": "赵长远" + }, + { + "id": 15102, + "msg_type": 1, + "tree_type": 1, + "show_type": 0, + "count_type": 0, + "group": "sociaty", + "path": "Root|Guild|MBtn|Btn", + "header": "赵长远" + }, + { + "id": 15200, + "msg_type": 0, + "tree_type": 0, + "show_type": 0, + "count_type": 0, + "group": "sociaty", + "path": "Root|Guild|Apply", + "header": "" + }, + { + "id": 15201, + "msg_type": 1, + "tree_type": 1, + "show_type": 0, + "count_type": 0, + "group": "sociaty", + "path": "Root|Guild|Apply|Btn", + "header": "" + }, + { + "id": 16100, + "msg_type": 0, + "tree_type": 0, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Bag", + "header": "赵长远" + }, + { + "id": 16101, + "msg_type": 2, + "tree_type": 1, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Bag|Item", + "header": "赵长远" + }, + { + "id": 16102, + "msg_type": 2, + "tree_type": 1, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Bag|Equip", + "header": "赵长远" + }, + { + "id": 16103, + "msg_type": 2, + "tree_type": 1, + "show_type": 0, + "count_type": 0, + "group": "", + "path": "Root|Bag|Shard", + "header": "赵长远" + } +] \ No newline at end of file diff --git a/bin/json/game_pandamastjjl.json b/bin/json/game_pandamastjjl.json index b72b4c5a8..2936cac55 100644 --- a/bin/json/game_pandamastjjl.json +++ b/bin/json/game_pandamastjjl.json @@ -5,7 +5,7 @@ "item_id": [ { "a": "item", - "t": "10002", + "t": "100101", "n": 1 } ] @@ -16,7 +16,7 @@ "item_id": [ { "a": "item", - "t": "10002", + "t": "100101", "n": 1 } ] @@ -27,7 +27,7 @@ "item_id": [ { "a": "item", - "t": "10002", + "t": "100101", "n": 1 } ] @@ -38,7 +38,7 @@ "item_id": [ { "a": "item", - "t": "10002", + "t": "100101", "n": 1 } ] @@ -49,7 +49,7 @@ "item_id": [ { "a": "item", - "t": "10002", + "t": "100101", "n": 1 } ] @@ -60,7 +60,7 @@ "item_id": [ { "a": "item", - "t": "10002", + "t": "100101", "n": 1 } ] @@ -71,7 +71,7 @@ "item_id": [ { "a": "item", - "t": "10002", + "t": "100101", "n": 1 } ] @@ -82,7 +82,7 @@ "item_id": [ { "a": "item", - "t": "10002", + "t": "100101", "n": 1 } ] @@ -93,7 +93,7 @@ "item_id": [ { "a": "item", - "t": "10002", + "t": "100101", "n": 1 } ] @@ -104,7 +104,7 @@ "item_id": [ { "a": "item", - "t": "10002", + "t": "100101", "n": 1 } ] @@ -115,7 +115,7 @@ "item_id": [ { "a": "item", - "t": "10002", + "t": "100101", "n": 1 } ] @@ -126,7 +126,7 @@ "item_id": [ { "a": "item", - "t": "10002", + "t": "100101", "n": 1 } ] @@ -137,7 +137,7 @@ "item_id": [ { "a": "item", - "t": "10002", + "t": "100101", "n": 1 } ] @@ -148,7 +148,7 @@ "item_id": [ { "a": "item", - "t": "10002", + "t": "100101", "n": 1 } ] @@ -159,7 +159,7 @@ "item_id": [ { "a": "item", - "t": "10002", + "t": "100101", "n": 1 } ] @@ -170,7 +170,7 @@ "item_id": [ { "a": "item", - "t": "10002", + "t": "100101", "n": 1 } ] diff --git a/bin/json/game_potions.json b/bin/json/game_potions.json index 22f482a13..253447572 100644 --- a/bin/json/game_potions.json +++ b/bin/json/game_potions.json @@ -12,7 +12,14 @@ "countdown": [ 30, 35, - 40 + 40, + 45, + 50, + 55, + 60, + 65, + 70, + 75 ], "generateInterval": [ 300 @@ -85,7 +92,16 @@ "normalScore": 10, "highScore": 30, "countdown": [ - 30 + 30, + 35, + 40, + 45, + 50, + 55, + 60, + 65, + 70, + 75 ], "generateInterval": [ 300 @@ -158,7 +174,16 @@ "normalScore": 10, "highScore": 30, "countdown": [ - 30 + 30, + 35, + 40, + 45, + 50, + 55, + 60, + 65, + 70, + 75 ], "generateInterval": [ 300 @@ -231,7 +256,16 @@ "normalScore": 10, "highScore": 30, "countdown": [ - 30 + 30, + 35, + 40, + 45, + 50, + 55, + 60, + 65, + 70, + 75 ], "generateInterval": [ 300 @@ -304,7 +338,16 @@ "normalScore": 20, "highScore": 40, "countdown": [ - 40 + 30, + 35, + 40, + 45, + 50, + 55, + 60, + 65, + 70, + 75 ], "generateInterval": [ 300 @@ -377,7 +420,16 @@ "normalScore": 20, "highScore": 40, "countdown": [ - 40 + 30, + 35, + 40, + 45, + 50, + 55, + 60, + 65, + 70, + 75 ], "generateInterval": [ 300 @@ -450,7 +502,16 @@ "normalScore": 20, "highScore": 40, "countdown": [ - 40 + 30, + 35, + 40, + 45, + 50, + 55, + 60, + 65, + 70, + 75 ], "generateInterval": [ 300 @@ -523,7 +584,16 @@ "normalScore": 20, "highScore": 40, "countdown": [ - 40 + 30, + 35, + 40, + 45, + 50, + 55, + 60, + 65, + 70, + 75 ], "generateInterval": [ 300 @@ -596,7 +666,16 @@ "normalScore": 30, "highScore": 50, "countdown": [ - 50 + 30, + 35, + 40, + 45, + 50, + 55, + 60, + 65, + 70, + 75 ], "generateInterval": [ 300 @@ -669,7 +748,16 @@ "normalScore": 30, "highScore": 50, "countdown": [ - 50 + 30, + 35, + 40, + 45, + 50, + 55, + 60, + 65, + 70, + 75 ], "generateInterval": [ 300 @@ -742,7 +830,16 @@ "normalScore": 30, "highScore": 50, "countdown": [ - 50 + 30, + 35, + 40, + 45, + 50, + 55, + 60, + 65, + 70, + 75 ], "generateInterval": [ 300 @@ -815,7 +912,16 @@ "normalScore": 30, "highScore": 50, "countdown": [ - 50 + 30, + 35, + 40, + 45, + 50, + 55, + 60, + 65, + 70, + 75 ], "generateInterval": [ 300 diff --git a/bin/json/game_show.json b/bin/json/game_show.json index dc0960968..d9d731114 100644 --- a/bin/json/game_show.json +++ b/bin/json/game_show.json @@ -8,8 +8,8 @@ "access": 0, "position": "", "sex": 1, - "resources": "Person/10000/10000M.prefab", - "vague": "Person/10000/10000M.prefab" + "resources": "Person/10000/10000_Mexplore.prefab", + "vague": "Person/10000/10000_Mexplore.prefab" }, { "id": 100002, @@ -20,8 +20,8 @@ "access": 0, "position": "", "sex": 1, - "resources": "Person/10000/10000M.prefab", - "vague": "Person/10000/10000M.prefab" + "resources": "Person/10000/10000_Mexplore.prefab", + "vague": "Person/10000/10000_Mexplore.prefab" }, { "id": 100003, @@ -32,8 +32,8 @@ "access": 0, "position": "", "sex": 1, - "resources": "Person/10000/10000M.prefab", - "vague": "Person/10000/10000M.prefab" + "resources": "Person/10000/10000_Mexplore.prefab", + "vague": "Person/10000/10000_Mexplore.prefab" }, { "id": 200001, @@ -44,8 +44,8 @@ "access": 0, "position": "", "sex": 2, - "resources": "Person/10000/10000M.prefab", - "vague": "Person/10000/10000M.prefab" + "resources": "Person/10000/10000_Mexplore.prefab", + "vague": "Person/10000/10000_Mexplore.prefab" }, { "id": 200002, @@ -56,8 +56,8 @@ "access": 0, "position": "", "sex": 2, - "resources": "Person/10000/10000M.prefab", - "vague": "Person/10000/10000M.prefab" + "resources": "Person/10000/10000_Mexplore.prefab", + "vague": "Person/10000/10000_Mexplore.prefab" }, { "id": 200003, @@ -68,7 +68,7 @@ "access": 0, "position": "", "sex": 2, - "resources": "Person/10000/10000M.prefab", - "vague": "Person/10000/10000M.prefab" + "resources": "Person/10000/10000_Mexplore.prefab", + "vague": "Person/10000/10000_Mexplore.prefab" } ] \ No newline at end of file diff --git a/bin/json/game_skillafteratk.json b/bin/json/game_skillafteratk.json index 40b3d9ece..7dabc58bf 100644 --- a/bin/json/game_skillafteratk.json +++ b/bin/json/game_skillafteratk.json @@ -13552,10 +13552,10 @@ 5, 650 ], - "FollowSK": [], - "SucFollowSK": [ + "FollowSK": [ 214001112 ], + "SucFollowSK": [], "FailFollowSK": [], "MustHit": false, "DpsRevisiType": 0, @@ -13601,7 +13601,9 @@ -1, -1 ], - "FollowSK": [], + "FollowSK": [ + 214001212 + ], "SucFollowSK": [], "FailFollowSK": [], "MustHit": false, @@ -13622,7 +13624,7 @@ "Argu": [ 390001202, 1000, - 10, + 1, -1 ], "FollowSK": [], @@ -13648,10 +13650,10 @@ -1, -1 ], - "FollowSK": [], - "SucFollowSK": [ + "FollowSK": [ 214001214 ], + "SucFollowSK": [], "FailFollowSK": [], "MustHit": false, "DpsRevisiType": 0, @@ -13681,80 +13683,6 @@ { "Id": 214001311, "EmitPR": 1000, - "From": 4, - "Where": [], - "Order": "", - "Limit": 1, - "ExecuteCnt": 1, - "Type": 1, - "Argu": [ - 1, - 4, - 800 - ], - "FollowSK": [], - "SucFollowSK": [ - 214001312 - ], - "FailFollowSK": [], - "MustHit": false, - "DpsRevisiType": 0, - "DpsCondition": "", - "RevisiCondition": "", - "RevisiParams": [] - }, - { - "Id": 214001312, - "EmitPR": 1000, - "From": 4, - "Where": [], - "Order": "", - "Limit": 1, - "ExecuteCnt": 1, - "Type": 21, - "Argu": [ - 1, - 5, - 1200 - ], - "FollowSK": [], - "SucFollowSK": [ - 214001313 - ], - "FailFollowSK": [], - "MustHit": false, - "DpsRevisiType": 0, - "DpsCondition": "", - "RevisiCondition": "", - "RevisiParams": [] - }, - { - "Id": 214001313, - "EmitPR": 1000, - "From": 4, - "Where": [], - "Order": "", - "Limit": 1, - "ExecuteCnt": 1, - "Type": 3, - "Argu": [ - 390001110, - 1000, - 1, - 2 - ], - "FollowSK": [], - "SucFollowSK": [], - "FailFollowSK": [], - "MustHit": false, - "DpsRevisiType": 0, - "DpsCondition": "", - "RevisiCondition": "", - "RevisiParams": [] - }, - { - "Id": 214001314, - "EmitPR": 1000, "From": 3, "Where": [], "Order": "", @@ -13766,7 +13694,10 @@ -1, -1 ], - "FollowSK": [], + "FollowSK": [ + 214001312, + 214001313 + ], "SucFollowSK": [], "FailFollowSK": [], "MustHit": false, @@ -13776,7 +13707,7 @@ "RevisiParams": [] }, { - "Id": 214001315, + "Id": 214001312, "EmitPR": 1000, "From": 3, "Where": [], @@ -13800,18 +13731,96 @@ "RevisiParams": [] }, { - "Id": 214001316, + "Id": 214001313, "EmitPR": 1000, "From": 3, "Where": [], "Order": "", "Limit": 1, "ExecuteCnt": 1, - "Type": 5, + "Type": 28, + "Argu": [ + 390001202, + 1000, + 10 + ], + "FollowSK": [ + 214001314 + ], + "SucFollowSK": [], + "FailFollowSK": [], + "MustHit": false, + "DpsRevisiType": 0, + "DpsCondition": "", + "RevisiCondition": "", + "RevisiParams": [] + }, + { + "Id": 214001314, + "EmitPR": 1000, + "From": 3, + "Where": [], + "Order": "", + "Limit": 1, + "ExecuteCnt": 1, + "Type": 8, "Argu": [ 1, - 2, - 40 + 390001202, + -1, + 1000 + ], + "FollowSK": [], + "SucFollowSK": [], + "FailFollowSK": [], + "MustHit": false, + "DpsRevisiType": 0, + "DpsCondition": "", + "RevisiCondition": "", + "RevisiParams": [] + }, + { + "Id": 214001315, + "EmitPR": 1000, + "From": 4, + "Where": [], + "Order": "", + "Limit": 1, + "ExecuteCnt": 1, + "Type": 1, + "Argu": [ + 1, + 4, + 800, + 1, + 5, + 1200 + ], + "FollowSK": [ + 214001316 + ], + "SucFollowSK": [], + "FailFollowSK": [], + "MustHit": false, + "DpsRevisiType": 0, + "DpsCondition": "", + "RevisiCondition": "", + "RevisiParams": [] + }, + { + "Id": 214001316, + "EmitPR": 1000, + "From": 4, + "Where": [], + "Order": "", + "Limit": 1, + "ExecuteCnt": 1, + "Type": 3, + "Argu": [ + 390001110, + 1000, + 1, + 2 ], "FollowSK": [], "SucFollowSK": [], diff --git a/bin/json/game_skillatk.json b/bin/json/game_skillatk.json index c8d0c4995..12697d76b 100644 --- a/bin/json/game_skillatk.json +++ b/bin/json/game_skillatk.json @@ -8442,7 +8442,8 @@ "Target": 1, "ChildSkill": { "Id": [ - 214001211 + 214001211, + 214001213 ] }, "Desc": { @@ -8471,8 +8472,7 @@ "ChildSkill": { "Id": [ 214001311, - 214001315, - 214001316 + 214001315 ] }, "Desc": { diff --git a/bin/json/game_skillbuff.json b/bin/json/game_skillbuff.json index bab91e10f..1dced6dff 100644 --- a/bin/json/game_skillbuff.json +++ b/bin/json/game_skillbuff.json @@ -23,7 +23,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z009", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001002, @@ -49,7 +49,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z003", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001003, @@ -75,7 +75,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z011", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001004, @@ -101,7 +101,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z006", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001005, @@ -127,7 +127,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z008", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001006, @@ -153,7 +153,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_j016", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001007, @@ -179,7 +179,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_j001", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001008, @@ -205,7 +205,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_j006", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001009, @@ -231,7 +231,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001010, @@ -257,7 +257,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001011, @@ -283,7 +283,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001012, @@ -309,7 +309,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001101, @@ -335,7 +335,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_j009", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001102, @@ -361,7 +361,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_j005", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001103, @@ -385,7 +385,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z007", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001104, @@ -411,7 +411,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z002", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001105, @@ -435,7 +435,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_j007", "buffeffect": "effect_debuff_yun", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001106, @@ -483,7 +483,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_j012", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001108, @@ -507,7 +507,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_j015", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001109, @@ -531,7 +531,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_j004", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001110, @@ -555,7 +555,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_j010", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001111, @@ -579,7 +579,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z005", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001112, @@ -607,7 +607,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z010", "buffeffect": "effect_hudun_1", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001113, @@ -631,7 +631,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001114, @@ -655,7 +655,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001115, @@ -679,7 +679,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_j013", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001116, @@ -703,7 +703,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001117, @@ -727,7 +727,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001118, @@ -751,7 +751,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_j014", "buffeffect": "effect_debuff_sleep", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001119, @@ -775,7 +775,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_ts003", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001120, @@ -799,7 +799,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_ts004", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001121, @@ -823,7 +823,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_ts005", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001122, @@ -851,7 +851,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z010", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001123, @@ -879,7 +879,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z010", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001124, @@ -903,7 +903,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001125, @@ -931,7 +931,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z010", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001126, @@ -955,7 +955,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001127, @@ -1003,7 +1003,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z001", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001129, @@ -1031,7 +1031,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z010", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001130, @@ -1059,7 +1059,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z010", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001201, @@ -1081,9 +1081,9 @@ "RemoveType": false, "OverlayTimes": 10, "SameID": false, - "buffIcon": "", + "buffIcon": "ty_zd_buff_ts003", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001202, @@ -1095,11 +1095,9 @@ "key": "skill_buffdes_390001202", "text": "每层使自身基础防御提升10%,效果抵抗提升5%,最多可叠加10层。" }, - "BuffType": 0, + "BuffType": 46, "EffectArgu": [ - 5, 100, - 10, 50 ], "BufParNum": 1, @@ -1110,9 +1108,9 @@ "RemoveType": false, "OverlayTimes": 10, "SameID": false, - "buffIcon": "", - "buffeffect": "", - "buffpos": "infopos" + "buffIcon": "ty_zd_buff_ts004", + "buffeffect": "effect_14001_skill_2", + "buffpos": "根节点" }, { "Id": 390001204, @@ -1134,9 +1132,9 @@ "RemoveType": false, "OverlayTimes": 1, "SameID": false, - "buffIcon": "", + "buffIcon": "ty_zd_buff_ts005", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001205, @@ -1160,7 +1158,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001206, @@ -1184,7 +1182,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001207, @@ -1208,7 +1206,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_ts007", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001208, @@ -1234,7 +1232,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_ts007", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001209, @@ -1258,7 +1256,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_ts001", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001210, @@ -1284,7 +1282,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_ts002", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001211, @@ -1308,7 +1306,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001212, @@ -1335,7 +1333,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_ts008", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001213, @@ -1361,7 +1359,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_j002", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001214, @@ -1411,7 +1409,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z011", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001216, @@ -1511,7 +1509,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001302, @@ -1537,7 +1535,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001303, @@ -1563,7 +1561,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001304, @@ -1589,7 +1587,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001305, @@ -1615,7 +1613,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001306, @@ -1641,7 +1639,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001307, @@ -1667,7 +1665,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001311, @@ -1693,7 +1691,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001312, @@ -1719,7 +1717,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001313, @@ -1745,7 +1743,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001314, @@ -1771,7 +1769,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001315, @@ -1797,7 +1795,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001316, @@ -1823,7 +1821,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001317, @@ -1849,7 +1847,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001321, @@ -1875,7 +1873,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001322, @@ -1901,7 +1899,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001323, @@ -1927,7 +1925,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001324, @@ -1953,7 +1951,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001325, @@ -1979,7 +1977,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001326, @@ -2005,7 +2003,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001327, @@ -2031,7 +2029,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001328, @@ -2057,7 +2055,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001329, @@ -2239,7 +2237,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001403, @@ -2265,7 +2263,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001404, @@ -2289,7 +2287,7 @@ "SameID": true, "buffIcon": "ty_zd_buff_j011", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001405, @@ -2679,7 +2677,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z010", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001421, @@ -2755,7 +2753,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001424, @@ -2929,7 +2927,7 @@ "SameID": true, "buffIcon": "ty_zd_buff_j011", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001431, @@ -2955,7 +2953,7 @@ "SameID": true, "buffIcon": "ty_zd_buff_z006", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001432, @@ -2979,7 +2977,7 @@ "SameID": true, "buffIcon": "ty_zd_buff_j011", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001433, @@ -3003,7 +3001,7 @@ "SameID": true, "buffIcon": "ty_zd_buff_j011", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001434, @@ -3031,7 +3029,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z010", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001435, @@ -3055,7 +3053,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z010", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001436, @@ -3081,7 +3079,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z010", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001437, @@ -3107,7 +3105,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001438, @@ -3133,7 +3131,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z003", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001439, @@ -3159,7 +3157,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z006", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001440, @@ -3185,7 +3183,7 @@ "SameID": false, "buffIcon": "ty_zd_buff_z008", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001441, @@ -3211,7 +3209,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001442, @@ -3237,7 +3235,7 @@ "SameID": false, "buffIcon": "", "buffeffect": "", - "buffpos": "infopos" + "buffpos": "根节点" }, { "Id": 390001443, diff --git a/bin/json/game_skillpassive.json b/bin/json/game_skillpassive.json index d14fa6449..4675915ba 100644 --- a/bin/json/game_skillpassive.json +++ b/bin/json/game_skillpassive.json @@ -759,7 +759,7 @@ }, { "Id": 414001212, - "When": 19, + "When": 2, "FromCheck": "Target=3,HasBuff=390001202,OverlayNum=10", "TargetCheck": "Target=3", "MainSkillCheck": "", @@ -775,7 +775,7 @@ }, { "Id": 414001311, - "When": 19, + "When": 2, "FromCheck": "Target=3,HasBuff=390001202,OverlayNum=10", "TargetCheck": "Target=3", "MainSkillCheck": "", diff --git a/comm/const.go b/comm/const.go index 23144ceda..776795e1a 100644 --- a/comm/const.go +++ b/comm/const.go @@ -242,6 +242,11 @@ const ( // 美食馆 图鉴 TableGourmetAtlas = "gourmetatlas" + + ///捕羊大赛 + TableParkour = "parkour" + ///捕羊大赛 队伍表 + TableParkourTeam = "parkourteam" ) // RPC服务接口定义处 diff --git a/modules/parkour/api.go b/modules/parkour/api.go new file mode 100644 index 000000000..4683ddbb3 --- /dev/null +++ b/modules/parkour/api.go @@ -0,0 +1,29 @@ +package parkour + +import ( + "go_dreamfactory/modules" + + "go_dreamfactory/lego/core" +) + +/* +API +*/ +type apiComp struct { + modules.MCompGate + service core.IService + module *Parkour +} + +//组件初始化接口 +func (this *apiComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) { + this.MCompGate.Init(service, module, comp, options) + this.module = module.(*Parkour) + this.service = service + return +} + +func (this *apiComp) Start() (err error) { + err = this.MCompGate.Start() + return +} diff --git a/modules/parkour/api_invite.go b/modules/parkour/api_invite.go new file mode 100644 index 000000000..04abc5506 --- /dev/null +++ b/modules/parkour/api_invite.go @@ -0,0 +1,45 @@ +package parkour + +import ( + "go_dreamfactory/comm" + "go_dreamfactory/pb" +) + +//参数校验 +func (this *apiComp) InviteCheck(session comm.IUserSession, req *pb.ParkourInviteReq) (code pb.ErrorCode) { + return +} + +///邀请组队 +func (this *apiComp) Invite(session comm.IUserSession, req *pb.ParkourInviteReq) (code pb.ErrorCode, data *pb.ErrorData) { + var ( + tean *pb.DBRaceTeam + tuser *pb.DBUser + err error + ) + if code = this.InviteCheck(session, req); code != pb.ErrorCode_Success { + return + } + if tean, err = this.module.teamComp.queryteam(session.GetUserId()); err != nil { + code = pb.ErrorCode_DBError + return + } + if len(tean.Member) > 3 { + code = pb.ErrorCode_ReqParameterError + return + } + + if tuser = this.module.ModuleUser.GetUser(req.Uid); tuser == nil { + code = pb.ErrorCode_SystemError + return + } + //目标是否在线 + if !this.module.ModuleUser.IsOnline(req.Uid) { + tean.Member = append(tean.Member, &pb.DBMember{Uid: tean.Uid, Name: tuser.Name, Isai: true}) + } else { + this.module.SendMsgToUser(string(this.module.GetType()), "invitenotice", + &pb.ParkourInviteNoticePush{Team: tean, State: 1}, req.Uid) + } + session.SendMsg(string(this.module.GetType()), "invite", &pb.ParkourInviteResp{Issucc: true}) + return +} diff --git a/modules/parkour/configure.go b/modules/parkour/configure.go new file mode 100644 index 000000000..919f2ef97 --- /dev/null +++ b/modules/parkour/configure.go @@ -0,0 +1,22 @@ +package parkour + +import ( + "go_dreamfactory/lego/core" + "go_dreamfactory/modules" +) + +const () + +///背包配置管理组件 +type configureComp struct { + modules.MCompConfigure + module *Parkour +} + +//组件初始化接口 +func (this *configureComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) { + this.MCompConfigure.Init(service, module, comp, options) + this.module = module.(*Parkour) + + return +} diff --git a/modules/parkour/model_parkour.go b/modules/parkour/model_parkour.go new file mode 100644 index 000000000..4450b5cb7 --- /dev/null +++ b/modules/parkour/model_parkour.go @@ -0,0 +1,28 @@ +package parkour + +import ( + "go_dreamfactory/comm" + "go_dreamfactory/lego/core" + "go_dreamfactory/modules" + + "go.mongodb.org/mongo-driver/mongo" + "go.mongodb.org/mongo-driver/x/bsonx" +) + +///竞速数据模块 +type ModelParkourComp struct { + modules.MCompModel + module *Parkour +} + +//组件初始化接口 +func (this *ModelParkourComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, opt core.IModuleOptions) (err error) { + this.TableName = comm.TableParkour + this.MCompModel.Init(service, module, comp, opt) + this.module = module.(*Parkour) + //创建uid索引 + this.DB.CreateIndex(core.SqlTable(this.TableName), mongo.IndexModel{ + Keys: bsonx.Doc{{Key: "uid", Value: bsonx.Int32(1)}}, + }) + return +} diff --git a/modules/parkour/model_team.go b/modules/parkour/model_team.go new file mode 100644 index 000000000..5fdabbe8e --- /dev/null +++ b/modules/parkour/model_team.go @@ -0,0 +1,58 @@ +package parkour + +import ( + "fmt" + "go_dreamfactory/comm" + "go_dreamfactory/lego/core" + "go_dreamfactory/lego/sys/mgo" + "go_dreamfactory/modules" + "go_dreamfactory/pb" + + "go.mongodb.org/mongo-driver/bson/primitive" + "go.mongodb.org/mongo-driver/mongo" + "go.mongodb.org/mongo-driver/x/bsonx" +) + +///竞速数据模块 +type ModelTeamComp struct { + modules.MCompModel + module *Parkour +} + +//组件初始化接口 +func (this *ModelTeamComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, opt core.IModuleOptions) (err error) { + this.TableName = comm.TableParkourTeam + this.MCompModel.Init(service, module, comp, opt) + this.module = module.(*Parkour) + //创建uid索引 + this.DB.CreateIndex(core.SqlTable(this.TableName), mongo.IndexModel{ + Keys: bsonx.Doc{{Key: "uid", Value: bsonx.Int32(1)}}, + }) + return +} + +func (this *ModelTeamComp) queryteam(uid string) (result *pb.DBRaceTeam, err error) { + result = &pb.DBRaceTeam{} + if err = this.Get(uid, result); err != nil && err != mgo.MongodbNil { + this.module.Errorln(err) + return + } + if err == mgo.MongodbNil { + var tuser *pb.DBUser + if tuser = this.module.ModuleUser.GetUser(uid); tuser == nil { + err = fmt.Errorf("no found udata:%s", uid) + return + } + result = &pb.DBRaceTeam{ + Id: primitive.NewObjectID().Hex(), + Uid: uid, + Member: []*pb.DBMember{{Uid: tuser.Uid, Name: tuser.Name}}, + } + if err = this.Add(uid, result); err != nil { + this.module.Errorln(err) + return + } + } + err = nil + return +} diff --git a/modules/parkour/module.go b/modules/parkour/module.go index ec8ab6f76..1c96460b2 100644 --- a/modules/parkour/module.go +++ b/modules/parkour/module.go @@ -19,7 +19,11 @@ func NewModule() core.IModule { type Parkour struct { modules.ModuleBase - service base.IRPCXService + service base.IRPCXService + api *apiComp + configure *configureComp + teamComp *ModelTeamComp + parkourComp *ModelParkourComp } //模块名 @@ -39,3 +43,12 @@ func (this *Parkour) Start() (err error) { return } + +//装备组件 +func (this *Parkour) OnInstallComp() { + this.ModuleBase.OnInstallComp() + this.api = this.RegisterComp(new(apiComp)).(*apiComp) + this.configure = this.RegisterComp(new(configureComp)).(*configureComp) + this.teamComp = this.RegisterComp(new(ModelTeamComp)).(*ModelTeamComp) + this.parkourComp = this.RegisterComp(new(ModelParkourComp)).(*ModelParkourComp) +} diff --git a/pb/parkour_db.pb.go b/pb/parkour_db.pb.go new file mode 100644 index 000000000..446edc7dd --- /dev/null +++ b/pb/parkour_db.pb.go @@ -0,0 +1,614 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.0 +// protoc v3.20.0 +// source: parkour/parkour_db.proto + +package pb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RaceType int32 + +const ( + RaceType_ordinary RaceType = 0 + RaceType_prop RaceType = 1 +) + +// Enum value maps for RaceType. +var ( + RaceType_name = map[int32]string{ + 0: "ordinary", + 1: "prop", + } + RaceType_value = map[string]int32{ + "ordinary": 0, + "prop": 1, + } +) + +func (x RaceType) Enum() *RaceType { + p := new(RaceType) + *p = x + return p +} + +func (x RaceType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (RaceType) Descriptor() protoreflect.EnumDescriptor { + return file_parkour_parkour_db_proto_enumTypes[0].Descriptor() +} + +func (RaceType) Type() protoreflect.EnumType { + return &file_parkour_parkour_db_proto_enumTypes[0] +} + +func (x RaceType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use RaceType.Descriptor instead. +func (RaceType) EnumDescriptor() ([]byte, []int) { + return file_parkour_parkour_db_proto_rawDescGZIP(), []int{0} +} + +//坐骑 +type DBMounts struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` //坐骑id + Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid"` //配置id +} + +func (x *DBMounts) Reset() { + *x = DBMounts{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_db_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DBMounts) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DBMounts) ProtoMessage() {} + +func (x *DBMounts) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_db_proto_msgTypes[0] + 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 DBMounts.ProtoReflect.Descriptor instead. +func (*DBMounts) Descriptor() ([]byte, []int) { + return file_parkour_parkour_db_proto_rawDescGZIP(), []int{0} +} + +func (x *DBMounts) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *DBMounts) GetCid() string { + if x != nil { + return x.Cid + } + return "" +} + +//队员信息 +type DBRaceMember struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` //用户id + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` //用户名称 + Mount *DBMounts `protobuf:"bytes,3,opt,name=mount,proto3" json:"mount"` //上阵坐骑 + Hp int32 `protobuf:"varint,4,opt,name=hp,proto3" json:"hp"` //初始血量 + Innermost int32 `protobuf:"varint,5,opt,name=innermost,proto3" json:"innermost"` //里程数 + Isai bool `protobuf:"varint,6,opt,name=isai,proto3" json:"isai"` //是否是ai + Isoff bool `protobuf:"varint,7,opt,name=isoff,proto3" json:"isoff"` //是否离线 +} + +func (x *DBRaceMember) Reset() { + *x = DBRaceMember{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_db_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DBRaceMember) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DBRaceMember) ProtoMessage() {} + +func (x *DBRaceMember) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_db_proto_msgTypes[1] + 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 DBRaceMember.ProtoReflect.Descriptor instead. +func (*DBRaceMember) Descriptor() ([]byte, []int) { + return file_parkour_parkour_db_proto_rawDescGZIP(), []int{1} +} + +func (x *DBRaceMember) GetUid() string { + if x != nil { + return x.Uid + } + return "" +} + +func (x *DBRaceMember) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *DBRaceMember) GetMount() *DBMounts { + if x != nil { + return x.Mount + } + return nil +} + +func (x *DBRaceMember) GetHp() int32 { + if x != nil { + return x.Hp + } + return 0 +} + +func (x *DBRaceMember) GetInnermost() int32 { + if x != nil { + return x.Innermost + } + return 0 +} + +func (x *DBRaceMember) GetIsai() bool { + if x != nil { + return x.Isai + } + return false +} + +func (x *DBRaceMember) GetIsoff() bool { + if x != nil { + return x.Isoff + } + return false +} + +type DBRaceInvite struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` //用户id + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` //用户名称 + Expired int64 `protobuf:"varint,3,opt,name=expired,proto3" json:"expired"` //过期时间 +} + +func (x *DBRaceInvite) Reset() { + *x = DBRaceInvite{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_db_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DBRaceInvite) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DBRaceInvite) ProtoMessage() {} + +func (x *DBRaceInvite) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_db_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 DBRaceInvite.ProtoReflect.Descriptor instead. +func (*DBRaceInvite) Descriptor() ([]byte, []int) { + return file_parkour_parkour_db_proto_rawDescGZIP(), []int{2} +} + +func (x *DBRaceInvite) GetUid() string { + if x != nil { + return x.Uid + } + return "" +} + +func (x *DBRaceInvite) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *DBRaceInvite) GetExpired() int64 { + if x != nil { + return x.Expired + } + return 0 +} + +type DBRaceTeam struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` // 队伍id + Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"` //队长id + Invite []*DBRaceInvite `protobuf:"bytes,3,rep,name=invite,proto3" json:"invite"` //邀请列表 + Member []*DBRaceMember `protobuf:"bytes,4,rep,name=member,proto3" json:"member"` //成员列表 +} + +func (x *DBRaceTeam) Reset() { + *x = DBRaceTeam{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_db_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DBRaceTeam) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DBRaceTeam) ProtoMessage() {} + +func (x *DBRaceTeam) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_db_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 DBRaceTeam.ProtoReflect.Descriptor instead. +func (*DBRaceTeam) Descriptor() ([]byte, []int) { + return file_parkour_parkour_db_proto_rawDescGZIP(), []int{3} +} + +func (x *DBRaceTeam) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *DBRaceTeam) GetUid() string { + if x != nil { + return x.Uid + } + return "" +} + +func (x *DBRaceTeam) GetInvite() []*DBRaceInvite { + if x != nil { + return x.Invite + } + return nil +} + +func (x *DBRaceTeam) GetMember() []*DBRaceMember { + if x != nil { + return x.Member + } + return nil +} + +//比赛数据 +type DBRace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` // 比赛唯一id + Rtype RaceType `protobuf:"varint,2,opt,name=rtype,proto3,enum=RaceType" json:"rtype"` //比赛类型 + Trackid int32 `protobuf:"varint,3,opt,name=trackid,proto3" json:"trackid"` //赛道id + Innermost int32 `protobuf:"varint,4,opt,name=innermost,proto3" json:"innermost"` //里程数 + Redteam *DBRaceTeam `protobuf:"bytes,5,opt,name=redteam,proto3" json:"redteam"` //红方队伍 + Buleteam *DBRaceTeam `protobuf:"bytes,6,opt,name=buleteam,proto3" json:"buleteam"` //蓝方队伍 +} + +func (x *DBRace) Reset() { + *x = DBRace{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_db_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DBRace) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DBRace) ProtoMessage() {} + +func (x *DBRace) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_db_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 DBRace.ProtoReflect.Descriptor instead. +func (*DBRace) Descriptor() ([]byte, []int) { + return file_parkour_parkour_db_proto_rawDescGZIP(), []int{4} +} + +func (x *DBRace) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *DBRace) GetRtype() RaceType { + if x != nil { + return x.Rtype + } + return RaceType_ordinary +} + +func (x *DBRace) GetTrackid() int32 { + if x != nil { + return x.Trackid + } + return 0 +} + +func (x *DBRace) GetInnermost() int32 { + if x != nil { + return x.Innermost + } + return 0 +} + +func (x *DBRace) GetRedteam() *DBRaceTeam { + if x != nil { + return x.Redteam + } + return nil +} + +func (x *DBRace) GetBuleteam() *DBRaceTeam { + if x != nil { + return x.Buleteam + } + return nil +} + +var File_parkour_parkour_db_proto protoreflect.FileDescriptor + +var file_parkour_parkour_db_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x70, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x2f, 0x70, 0x61, 0x72, 0x6b, 0x6f, 0x75, + 0x72, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2c, 0x0a, 0x08, 0x44, 0x42, + 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0xad, 0x01, 0x0a, 0x0c, 0x44, 0x42, 0x52, + 0x61, 0x63, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x1f, 0x0a, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, + 0x2e, 0x44, 0x42, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x0e, 0x0a, 0x02, 0x68, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x68, 0x70, + 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x09, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x12, 0x12, + 0x0a, 0x04, 0x69, 0x73, 0x61, 0x69, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, + 0x61, 0x69, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x6f, 0x66, 0x66, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x05, 0x69, 0x73, 0x6f, 0x66, 0x66, 0x22, 0x4e, 0x0a, 0x0c, 0x44, 0x42, 0x52, 0x61, + 0x63, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x07, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x22, 0x7c, 0x0a, 0x0a, 0x44, 0x42, 0x52, 0x61, + 0x63, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x69, 0x6e, 0x76, 0x69, + 0x74, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x52, 0x61, 0x63, + 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x06, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, + 0x25, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0d, 0x2e, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x06, + 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x22, 0xc1, 0x01, 0x0a, 0x06, 0x44, 0x42, 0x52, 0x61, 0x63, + 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x1f, 0x0a, 0x05, 0x72, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x09, 0x2e, 0x52, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x72, 0x74, 0x79, + 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, + 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x09, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x07, 0x72, 0x65, + 0x64, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, + 0x52, 0x61, 0x63, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x07, 0x72, 0x65, 0x64, 0x74, 0x65, 0x61, + 0x6d, 0x12, 0x27, 0x0a, 0x08, 0x62, 0x75, 0x6c, 0x65, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65, 0x54, 0x65, 0x61, 0x6d, + 0x52, 0x08, 0x62, 0x75, 0x6c, 0x65, 0x74, 0x65, 0x61, 0x6d, 0x2a, 0x22, 0x0a, 0x08, 0x52, 0x61, + 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, + 0x72, 0x79, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x70, 0x72, 0x6f, 0x70, 0x10, 0x01, 0x42, 0x06, + 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_parkour_parkour_db_proto_rawDescOnce sync.Once + file_parkour_parkour_db_proto_rawDescData = file_parkour_parkour_db_proto_rawDesc +) + +func file_parkour_parkour_db_proto_rawDescGZIP() []byte { + file_parkour_parkour_db_proto_rawDescOnce.Do(func() { + file_parkour_parkour_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_parkour_parkour_db_proto_rawDescData) + }) + return file_parkour_parkour_db_proto_rawDescData +} + +var file_parkour_parkour_db_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_parkour_parkour_db_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_parkour_parkour_db_proto_goTypes = []interface{}{ + (RaceType)(0), // 0: RaceType + (*DBMounts)(nil), // 1: DBMounts + (*DBRaceMember)(nil), // 2: DBRaceMember + (*DBRaceInvite)(nil), // 3: DBRaceInvite + (*DBRaceTeam)(nil), // 4: DBRaceTeam + (*DBRace)(nil), // 5: DBRace +} +var file_parkour_parkour_db_proto_depIdxs = []int32{ + 1, // 0: DBRaceMember.mount:type_name -> DBMounts + 3, // 1: DBRaceTeam.invite:type_name -> DBRaceInvite + 2, // 2: DBRaceTeam.member:type_name -> DBRaceMember + 0, // 3: DBRace.rtype:type_name -> RaceType + 4, // 4: DBRace.redteam:type_name -> DBRaceTeam + 4, // 5: DBRace.buleteam:type_name -> DBRaceTeam + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_parkour_parkour_db_proto_init() } +func file_parkour_parkour_db_proto_init() { + if File_parkour_parkour_db_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_parkour_parkour_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DBMounts); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DBRaceMember); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DBRaceInvite); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DBRaceTeam); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DBRace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_parkour_parkour_db_proto_rawDesc, + NumEnums: 1, + NumMessages: 5, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_parkour_parkour_db_proto_goTypes, + DependencyIndexes: file_parkour_parkour_db_proto_depIdxs, + EnumInfos: file_parkour_parkour_db_proto_enumTypes, + MessageInfos: file_parkour_parkour_db_proto_msgTypes, + }.Build() + File_parkour_parkour_db_proto = out.File + file_parkour_parkour_db_proto_rawDesc = nil + file_parkour_parkour_db_proto_goTypes = nil + file_parkour_parkour_db_proto_depIdxs = nil +} diff --git a/pb/parkour_msg.pb.go b/pb/parkour_msg.pb.go new file mode 100644 index 000000000..279580ec6 --- /dev/null +++ b/pb/parkour_msg.pb.go @@ -0,0 +1,1209 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.0 +// protoc v3.20.0 +// source: parkour/parkour_msg.proto + +package pb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +//组队邀请请求 +type ParkourInviteReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` //邀请队友 +} + +func (x *ParkourInviteReq) Reset() { + *x = ParkourInviteReq{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_msg_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourInviteReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourInviteReq) ProtoMessage() {} + +func (x *ParkourInviteReq) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_msg_proto_msgTypes[0] + 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 ParkourInviteReq.ProtoReflect.Descriptor instead. +func (*ParkourInviteReq) Descriptor() ([]byte, []int) { + return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{0} +} + +func (x *ParkourInviteReq) GetUid() string { + if x != nil { + return x.Uid + } + return "" +} + +//组队邀请回应 +type ParkourInviteResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"` +} + +func (x *ParkourInviteResp) Reset() { + *x = ParkourInviteResp{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_msg_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourInviteResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourInviteResp) ProtoMessage() {} + +func (x *ParkourInviteResp) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_msg_proto_msgTypes[1] + 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 ParkourInviteResp.ProtoReflect.Descriptor instead. +func (*ParkourInviteResp) Descriptor() ([]byte, []int) { + return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{1} +} + +func (x *ParkourInviteResp) GetIssucc() bool { + if x != nil { + return x.Issucc + } + return false +} + +//组队邀请通知推送 +type ParkourInviteNoticePush struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Team *DBRaceTeam `protobuf:"bytes,1,opt,name=team,proto3" json:"team"` + State int32 `protobuf:"varint,2,opt,name=state,proto3" json:"state"` //1 发起请求 2拒绝请求 3接收请求 +} + +func (x *ParkourInviteNoticePush) Reset() { + *x = ParkourInviteNoticePush{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_msg_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourInviteNoticePush) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourInviteNoticePush) ProtoMessage() {} + +func (x *ParkourInviteNoticePush) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_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 ParkourInviteNoticePush.ProtoReflect.Descriptor instead. +func (*ParkourInviteNoticePush) Descriptor() ([]byte, []int) { + return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{2} +} + +func (x *ParkourInviteNoticePush) GetTeam() *DBRaceTeam { + if x != nil { + return x.Team + } + return nil +} + +func (x *ParkourInviteNoticePush) GetState() int32 { + if x != nil { + return x.State + } + return 0 +} + +//队伍解散通知推送 +type ParkourTeamDisbandNoticePush struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ParkourTeamDisbandNoticePush) Reset() { + *x = ParkourTeamDisbandNoticePush{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_msg_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourTeamDisbandNoticePush) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourTeamDisbandNoticePush) ProtoMessage() {} + +func (x *ParkourTeamDisbandNoticePush) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_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 ParkourTeamDisbandNoticePush.ProtoReflect.Descriptor instead. +func (*ParkourTeamDisbandNoticePush) Descriptor() ([]byte, []int) { + return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{3} +} + +//退出 请求 +type ParkourQuitReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ParkourQuitReq) Reset() { + *x = ParkourQuitReq{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_msg_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourQuitReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourQuitReq) ProtoMessage() {} + +func (x *ParkourQuitReq) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_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 ParkourQuitReq.ProtoReflect.Descriptor instead. +func (*ParkourQuitReq) Descriptor() ([]byte, []int) { + return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{4} +} + +//退出 回应 +type ParkourQuitResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ParkourQuitResp) Reset() { + *x = ParkourQuitResp{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_msg_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourQuitResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourQuitResp) ProtoMessage() {} + +func (x *ParkourQuitResp) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_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 ParkourQuitResp.ProtoReflect.Descriptor instead. +func (*ParkourQuitResp) Descriptor() ([]byte, []int) { + return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{5} +} + +//队伍成员退出推送 +type ParkourQuitNoticePush struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Team *DBRaceTeam `protobuf:"bytes,1,opt,name=team,proto3" json:"team"` +} + +func (x *ParkourQuitNoticePush) Reset() { + *x = ParkourQuitNoticePush{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_msg_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourQuitNoticePush) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourQuitNoticePush) ProtoMessage() {} + +func (x *ParkourQuitNoticePush) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_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 ParkourQuitNoticePush.ProtoReflect.Descriptor instead. +func (*ParkourQuitNoticePush) Descriptor() ([]byte, []int) { + return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{6} +} + +func (x *ParkourQuitNoticePush) GetTeam() *DBRaceTeam { + if x != nil { + return x.Team + } + return nil +} + +//匹配请求 +type ParkourMatchReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ParkourMatchReq) Reset() { + *x = ParkourMatchReq{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_msg_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourMatchReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourMatchReq) ProtoMessage() {} + +func (x *ParkourMatchReq) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_msg_proto_msgTypes[7] + 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 ParkourMatchReq.ProtoReflect.Descriptor instead. +func (*ParkourMatchReq) Descriptor() ([]byte, []int) { + return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{7} +} + +//匹配请求 +type ParkourMatchResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ParkourMatchResp) Reset() { + *x = ParkourMatchResp{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_msg_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourMatchResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourMatchResp) ProtoMessage() {} + +func (x *ParkourMatchResp) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_msg_proto_msgTypes[8] + 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 ParkourMatchResp.ProtoReflect.Descriptor instead. +func (*ParkourMatchResp) Descriptor() ([]byte, []int) { + return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{8} +} + +//匹配成功 +type ParkourMatchSuccPush struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Race *DBRace `protobuf:"bytes,1,opt,name=race,proto3" json:"race"` +} + +func (x *ParkourMatchSuccPush) Reset() { + *x = ParkourMatchSuccPush{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_msg_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourMatchSuccPush) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourMatchSuccPush) ProtoMessage() {} + +func (x *ParkourMatchSuccPush) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_msg_proto_msgTypes[9] + 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 ParkourMatchSuccPush.ProtoReflect.Descriptor instead. +func (*ParkourMatchSuccPush) Descriptor() ([]byte, []int) { + return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{9} +} + +func (x *ParkourMatchSuccPush) GetRace() *DBRace { + if x != nil { + return x.Race + } + return nil +} + +//准备完毕 +type ParkourReadyReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ParkourReadyReq) Reset() { + *x = ParkourReadyReq{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_msg_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourReadyReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourReadyReq) ProtoMessage() {} + +func (x *ParkourReadyReq) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_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 ParkourReadyReq.ProtoReflect.Descriptor instead. +func (*ParkourReadyReq) Descriptor() ([]byte, []int) { + return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{10} +} + +//准备完毕 +type ParkourReadyResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ParkourReadyResp) Reset() { + *x = ParkourReadyResp{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_msg_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourReadyResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourReadyResp) ProtoMessage() {} + +func (x *ParkourReadyResp) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_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 ParkourReadyResp.ProtoReflect.Descriptor instead. +func (*ParkourReadyResp) Descriptor() ([]byte, []int) { + return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{11} +} + +//竞速开始推送 +type ParkourRaceStartPush struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Countdown int32 `protobuf:"varint,1,opt,name=countdown,proto3" json:"countdown"` //倒计时 +} + +func (x *ParkourRaceStartPush) Reset() { + *x = ParkourRaceStartPush{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_msg_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourRaceStartPush) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourRaceStartPush) ProtoMessage() {} + +func (x *ParkourRaceStartPush) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_msg_proto_msgTypes[12] + 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 ParkourRaceStartPush.ProtoReflect.Descriptor instead. +func (*ParkourRaceStartPush) Descriptor() ([]byte, []int) { + return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{12} +} + +func (x *ParkourRaceStartPush) GetCountdown() int32 { + if x != nil { + return x.Countdown + } + return 0 +} + +//射门请求 +type ParkourShotReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ParkourShotReq) Reset() { + *x = ParkourShotReq{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_msg_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourShotReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourShotReq) ProtoMessage() {} + +func (x *ParkourShotReq) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_msg_proto_msgTypes[13] + 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 ParkourShotReq.ProtoReflect.Descriptor instead. +func (*ParkourShotReq) Descriptor() ([]byte, []int) { + return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{13} +} + +//射门请求 +type ParkourShotResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ParkourShotResp) Reset() { + *x = ParkourShotResp{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_msg_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourShotResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourShotResp) ProtoMessage() {} + +func (x *ParkourShotResp) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_msg_proto_msgTypes[14] + 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 ParkourShotResp.ProtoReflect.Descriptor instead. +func (*ParkourShotResp) Descriptor() ([]byte, []int) { + return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{14} +} + +//躲避障碍请求 +type ParkourAvoidReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Distance int32 `protobuf:"varint,1,opt,name=distance,proto3" json:"distance"` +} + +func (x *ParkourAvoidReq) Reset() { + *x = ParkourAvoidReq{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_msg_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourAvoidReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourAvoidReq) ProtoMessage() {} + +func (x *ParkourAvoidReq) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_msg_proto_msgTypes[15] + 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 ParkourAvoidReq.ProtoReflect.Descriptor instead. +func (*ParkourAvoidReq) Descriptor() ([]byte, []int) { + return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{15} +} + +func (x *ParkourAvoidReq) GetDistance() int32 { + if x != nil { + return x.Distance + } + return 0 +} + +//躲避障碍请求 回应 +type ParkourAvoidResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ParkourAvoidResp) Reset() { + *x = ParkourAvoidResp{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_msg_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourAvoidResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourAvoidResp) ProtoMessage() {} + +func (x *ParkourAvoidResp) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_msg_proto_msgTypes[16] + 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 ParkourAvoidResp.ProtoReflect.Descriptor instead. +func (*ParkourAvoidResp) Descriptor() ([]byte, []int) { + return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{16} +} + +//比赛数值变化推送 +type ParkourRaceChanagePush struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Race *DBRace `protobuf:"bytes,1,opt,name=race,proto3" json:"race"` +} + +func (x *ParkourRaceChanagePush) Reset() { + *x = ParkourRaceChanagePush{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_msg_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourRaceChanagePush) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourRaceChanagePush) ProtoMessage() {} + +func (x *ParkourRaceChanagePush) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_msg_proto_msgTypes[17] + 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 ParkourRaceChanagePush.ProtoReflect.Descriptor instead. +func (*ParkourRaceChanagePush) Descriptor() ([]byte, []int) { + return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{17} +} + +func (x *ParkourRaceChanagePush) GetRace() *DBRace { + if x != nil { + return x.Race + } + return nil +} + +//比赛 +type ParkourRaceOverPush struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Race *DBRace `protobuf:"bytes,1,opt,name=race,proto3" json:"race"` +} + +func (x *ParkourRaceOverPush) Reset() { + *x = ParkourRaceOverPush{} + if protoimpl.UnsafeEnabled { + mi := &file_parkour_parkour_msg_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParkourRaceOverPush) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParkourRaceOverPush) ProtoMessage() {} + +func (x *ParkourRaceOverPush) ProtoReflect() protoreflect.Message { + mi := &file_parkour_parkour_msg_proto_msgTypes[18] + 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 ParkourRaceOverPush.ProtoReflect.Descriptor instead. +func (*ParkourRaceOverPush) Descriptor() ([]byte, []int) { + return file_parkour_parkour_msg_proto_rawDescGZIP(), []int{18} +} + +func (x *ParkourRaceOverPush) GetRace() *DBRace { + if x != nil { + return x.Race + } + return nil +} + +var File_parkour_parkour_msg_proto protoreflect.FileDescriptor + +var file_parkour_parkour_msg_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x70, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x2f, 0x70, 0x61, 0x72, 0x6b, 0x6f, 0x75, + 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x70, 0x61, 0x72, + 0x6b, 0x6f, 0x75, 0x72, 0x2f, 0x70, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x5f, 0x64, 0x62, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x24, 0x0a, 0x10, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0x2b, 0x0a, 0x11, 0x50, + 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x22, 0x50, 0x0a, 0x17, 0x50, 0x61, 0x72, 0x6b, + 0x6f, 0x75, 0x72, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x50, + 0x75, 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x04, + 0x74, 0x65, 0x61, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x1e, 0x0a, 0x1c, 0x50, 0x61, + 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x54, 0x65, 0x61, 0x6d, 0x44, 0x69, 0x73, 0x62, 0x61, 0x6e, 0x64, + 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x50, 0x75, 0x73, 0x68, 0x22, 0x10, 0x0a, 0x0e, 0x50, 0x61, + 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x51, 0x75, 0x69, 0x74, 0x52, 0x65, 0x71, 0x22, 0x11, 0x0a, 0x0f, + 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x51, 0x75, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x22, + 0x38, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x51, 0x75, 0x69, 0x74, 0x4e, 0x6f, + 0x74, 0x69, 0x63, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x04, 0x74, 0x65, 0x61, 0x6d, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65, 0x54, + 0x65, 0x61, 0x6d, 0x52, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x61, 0x72, + 0x6b, 0x6f, 0x75, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x22, 0x12, 0x0a, 0x10, + 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, + 0x22, 0x33, 0x0a, 0x14, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, + 0x53, 0x75, 0x63, 0x63, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1b, 0x0a, 0x04, 0x72, 0x61, 0x63, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65, 0x52, + 0x04, 0x72, 0x61, 0x63, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, + 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x71, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x61, 0x72, 0x6b, + 0x6f, 0x75, 0x72, 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x73, 0x70, 0x22, 0x34, 0x0a, 0x14, + 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x52, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x50, 0x75, 0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x64, 0x6f, 0x77, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x64, 0x6f, + 0x77, 0x6e, 0x22, 0x10, 0x0a, 0x0e, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x53, 0x68, 0x6f, + 0x74, 0x52, 0x65, 0x71, 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x53, + 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x22, 0x2d, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x6b, 0x6f, + 0x75, 0x72, 0x41, 0x76, 0x6f, 0x69, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, 0x69, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, + 0x72, 0x41, 0x76, 0x6f, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x22, 0x35, 0x0a, 0x16, 0x50, 0x61, + 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x52, 0x61, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x50, 0x75, 0x73, 0x68, 0x12, 0x1b, 0x0a, 0x04, 0x72, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65, 0x52, 0x04, 0x72, 0x61, 0x63, + 0x65, 0x22, 0x32, 0x0a, 0x13, 0x50, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x52, 0x61, 0x63, 0x65, + 0x4f, 0x76, 0x65, 0x72, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1b, 0x0a, 0x04, 0x72, 0x61, 0x63, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65, 0x52, + 0x04, 0x72, 0x61, 0x63, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_parkour_parkour_msg_proto_rawDescOnce sync.Once + file_parkour_parkour_msg_proto_rawDescData = file_parkour_parkour_msg_proto_rawDesc +) + +func file_parkour_parkour_msg_proto_rawDescGZIP() []byte { + file_parkour_parkour_msg_proto_rawDescOnce.Do(func() { + file_parkour_parkour_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_parkour_parkour_msg_proto_rawDescData) + }) + return file_parkour_parkour_msg_proto_rawDescData +} + +var file_parkour_parkour_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 19) +var file_parkour_parkour_msg_proto_goTypes = []interface{}{ + (*ParkourInviteReq)(nil), // 0: ParkourInviteReq + (*ParkourInviteResp)(nil), // 1: ParkourInviteResp + (*ParkourInviteNoticePush)(nil), // 2: ParkourInviteNoticePush + (*ParkourTeamDisbandNoticePush)(nil), // 3: ParkourTeamDisbandNoticePush + (*ParkourQuitReq)(nil), // 4: ParkourQuitReq + (*ParkourQuitResp)(nil), // 5: ParkourQuitResp + (*ParkourQuitNoticePush)(nil), // 6: ParkourQuitNoticePush + (*ParkourMatchReq)(nil), // 7: ParkourMatchReq + (*ParkourMatchResp)(nil), // 8: ParkourMatchResp + (*ParkourMatchSuccPush)(nil), // 9: ParkourMatchSuccPush + (*ParkourReadyReq)(nil), // 10: ParkourReadyReq + (*ParkourReadyResp)(nil), // 11: ParkourReadyResp + (*ParkourRaceStartPush)(nil), // 12: ParkourRaceStartPush + (*ParkourShotReq)(nil), // 13: ParkourShotReq + (*ParkourShotResp)(nil), // 14: ParkourShotResp + (*ParkourAvoidReq)(nil), // 15: ParkourAvoidReq + (*ParkourAvoidResp)(nil), // 16: ParkourAvoidResp + (*ParkourRaceChanagePush)(nil), // 17: ParkourRaceChanagePush + (*ParkourRaceOverPush)(nil), // 18: ParkourRaceOverPush + (*DBRaceTeam)(nil), // 19: DBRaceTeam + (*DBRace)(nil), // 20: DBRace +} +var file_parkour_parkour_msg_proto_depIdxs = []int32{ + 19, // 0: ParkourInviteNoticePush.team:type_name -> DBRaceTeam + 19, // 1: ParkourQuitNoticePush.team:type_name -> DBRaceTeam + 20, // 2: ParkourMatchSuccPush.race:type_name -> DBRace + 20, // 3: ParkourRaceChanagePush.race:type_name -> DBRace + 20, // 4: ParkourRaceOverPush.race:type_name -> DBRace + 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_parkour_parkour_msg_proto_init() } +func file_parkour_parkour_msg_proto_init() { + if File_parkour_parkour_msg_proto != nil { + return + } + file_parkour_parkour_db_proto_init() + if !protoimpl.UnsafeEnabled { + file_parkour_parkour_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourInviteReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourInviteResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourInviteNoticePush); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourTeamDisbandNoticePush); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourQuitReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourQuitResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourQuitNoticePush); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourMatchReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourMatchResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourMatchSuccPush); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourReadyReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourReadyResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourRaceStartPush); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourShotReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourShotResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourAvoidReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourAvoidResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_msg_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourRaceChanagePush); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_parkour_parkour_msg_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParkourRaceOverPush); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_parkour_parkour_msg_proto_rawDesc, + NumEnums: 0, + NumMessages: 19, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_parkour_parkour_msg_proto_goTypes, + DependencyIndexes: file_parkour_parkour_msg_proto_depIdxs, + MessageInfos: file_parkour_parkour_msg_proto_msgTypes, + }.Build() + File_parkour_parkour_msg_proto = out.File + file_parkour_parkour_msg_proto_rawDesc = nil + file_parkour_parkour_msg_proto_goTypes = nil + file_parkour_parkour_msg_proto_depIdxs = nil +} diff --git a/pb/troll_db.pb.go b/pb/troll_db.pb.go index ce75ec07c..6670f630d 100644 --- a/pb/troll_db.pb.go +++ b/pb/troll_db.pb.go @@ -300,180 +300,6 @@ func (x *DBTrollRecord) GetTime() int64 { return 0 } -type DBGoods struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID - Period int32 `protobuf:"varint,2,opt,name=period,proto3" json:"period"` // 变动周期 - CurPeriod int32 `protobuf:"varint,3,opt,name=curPeriod,proto3" json:"curPeriod"` // 当前变动周期 - Weight int32 `protobuf:"varint,4,opt,name=weight,proto3" json:"weight"` // 周期权重 - Price int32 `protobuf:"varint,5,opt,name=price,proto3" json:"price"` // 当前价格 - Time int32 `protobuf:"varint,6,opt,name=time,proto3" json:"time"` // 刷新时间 -} - -func (x *DBGoods) Reset() { - *x = DBGoods{} - if protoimpl.UnsafeEnabled { - mi := &file_troll_troll_db_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DBGoods) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DBGoods) ProtoMessage() {} - -func (x *DBGoods) ProtoReflect() protoreflect.Message { - mi := &file_troll_troll_db_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 DBGoods.ProtoReflect.Descriptor instead. -func (*DBGoods) Descriptor() ([]byte, []int) { - return file_troll_troll_db_proto_rawDescGZIP(), []int{2} -} - -func (x *DBGoods) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *DBGoods) GetPeriod() int32 { - if x != nil { - return x.Period - } - return 0 -} - -func (x *DBGoods) GetCurPeriod() int32 { - if x != nil { - return x.CurPeriod - } - return 0 -} - -func (x *DBGoods) GetWeight() int32 { - if x != nil { - return x.Weight - } - return 0 -} - -func (x *DBGoods) GetPrice() int32 { - if x != nil { - return x.Price - } - return 0 -} - -func (x *DBGoods) GetTime() int32 { - if x != nil { - return x.Time - } - return 0 -} - -type DBTroll struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID - Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid" bson:"uid"` //用户ID - UseCount int32 `protobuf:"varint,3,opt,name=useCount,proto3" json:"useCount"` // 当前背包使用的数量 - Items map[int32]int32 `protobuf:"bytes,4,rep,name=items,proto3" json:"items" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 背包数据 - Goods map[int32]*DBGoods `protobuf:"bytes,5,rep,name=goods,proto3" json:"goods" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 货物 key 货物ID - Lv int32 `protobuf:"varint,6,opt,name=lv,proto3" json:"lv"` // 商队等级 -} - -func (x *DBTroll) Reset() { - *x = DBTroll{} - if protoimpl.UnsafeEnabled { - mi := &file_troll_troll_db_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DBTroll) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DBTroll) ProtoMessage() {} - -func (x *DBTroll) ProtoReflect() protoreflect.Message { - mi := &file_troll_troll_db_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 DBTroll.ProtoReflect.Descriptor instead. -func (*DBTroll) Descriptor() ([]byte, []int) { - return file_troll_troll_db_proto_rawDescGZIP(), []int{3} -} - -func (x *DBTroll) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *DBTroll) GetUid() string { - if x != nil { - return x.Uid - } - return "" -} - -func (x *DBTroll) GetUseCount() int32 { - if x != nil { - return x.UseCount - } - return 0 -} - -func (x *DBTroll) GetItems() map[int32]int32 { - if x != nil { - return x.Items - } - return nil -} - -func (x *DBTroll) GetGoods() map[int32]*DBGoods { - if x != nil { - return x.Goods - } - return nil -} - -func (x *DBTroll) GetLv() int32 { - if x != nil { - return x.Lv - } - return 0 -} - var File_troll_troll_db_proto protoreflect.FileDescriptor var file_troll_troll_db_proto_rawDesc = []byte{ @@ -544,36 +370,8 @@ var file_troll_troll_db_proto_rawDesc = []byte{ 0x0a, 0x04, 0x67, 0x6f, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x67, 0x6f, 0x6c, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x07, 0x44, 0x42, 0x47, - 0x6f, 0x6f, 0x64, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x1c, 0x0a, 0x09, - 0x63, 0x75, 0x72, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x09, 0x63, 0x75, 0x72, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, - 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, - 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xab, 0x02, 0x0a, - 0x07, 0x44, 0x42, 0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, - 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x75, 0x73, - 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, - 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x44, 0x42, 0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, - 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, - 0x73, 0x12, 0x29, 0x0a, 0x05, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x13, 0x2e, 0x44, 0x42, 0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x47, 0x6f, 0x6f, 0x64, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x12, 0x0e, 0x0a, 0x02, - 0x6c, 0x76, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x1a, 0x38, 0x0a, 0x0a, - 0x49, 0x74, 0x65, 0x6d, 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, 0x14, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x0a, 0x47, 0x6f, 0x6f, 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, 0x1e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x44, 0x42, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, - 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x28, 0x03, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -588,34 +386,27 @@ func file_troll_troll_db_proto_rawDescGZIP() []byte { return file_troll_troll_db_proto_rawDescData } -var file_troll_troll_db_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_troll_troll_db_proto_msgTypes = make([]protoimpl.MessageInfo, 7) var file_troll_troll_db_proto_goTypes = []interface{}{ (*DBTrollTrain)(nil), // 0: DBTrollTrain (*DBTrollRecord)(nil), // 1: DBTrollRecord - (*DBGoods)(nil), // 2: DBGoods - (*DBTroll)(nil), // 3: DBTroll - nil, // 4: DBTrollTrain.ItemsEntry - nil, // 5: DBTrollTrain.PriceEntry - nil, // 6: DBTrollTrain.NpcRewardEntry - nil, // 7: DBTrollTrain.ShopEntry - nil, // 8: DBTrollTrain.SurpriseIDEntry - nil, // 9: DBTroll.ItemsEntry - nil, // 10: DBTroll.GoodsEntry + nil, // 2: DBTrollTrain.ItemsEntry + nil, // 3: DBTrollTrain.PriceEntry + nil, // 4: DBTrollTrain.NpcRewardEntry + nil, // 5: DBTrollTrain.ShopEntry + nil, // 6: DBTrollTrain.SurpriseIDEntry } var file_troll_troll_db_proto_depIdxs = []int32{ - 4, // 0: DBTrollTrain.items:type_name -> DBTrollTrain.ItemsEntry - 5, // 1: DBTrollTrain.price:type_name -> DBTrollTrain.PriceEntry - 6, // 2: DBTrollTrain.npcReward:type_name -> DBTrollTrain.NpcRewardEntry - 7, // 3: DBTrollTrain.shop:type_name -> DBTrollTrain.ShopEntry - 8, // 4: DBTrollTrain.surpriseID:type_name -> DBTrollTrain.SurpriseIDEntry - 9, // 5: DBTroll.items:type_name -> DBTroll.ItemsEntry - 10, // 6: DBTroll.goods:type_name -> DBTroll.GoodsEntry - 2, // 7: DBTroll.GoodsEntry.value:type_name -> DBGoods - 8, // [8:8] is the sub-list for method output_type - 8, // [8:8] is the sub-list for method input_type - 8, // [8:8] is the sub-list for extension type_name - 8, // [8:8] is the sub-list for extension extendee - 0, // [0:8] is the sub-list for field type_name + 2, // 0: DBTrollTrain.items:type_name -> DBTrollTrain.ItemsEntry + 3, // 1: DBTrollTrain.price:type_name -> DBTrollTrain.PriceEntry + 4, // 2: DBTrollTrain.npcReward:type_name -> DBTrollTrain.NpcRewardEntry + 5, // 3: DBTrollTrain.shop:type_name -> DBTrollTrain.ShopEntry + 6, // 4: DBTrollTrain.surpriseID:type_name -> DBTrollTrain.SurpriseIDEntry + 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_troll_troll_db_proto_init() } @@ -648,30 +439,6 @@ func file_troll_troll_db_proto_init() { return nil } } - file_troll_troll_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DBGoods); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_troll_troll_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DBTroll); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } } type x struct{} out := protoimpl.TypeBuilder{ @@ -679,7 +446,7 @@ func file_troll_troll_db_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_troll_troll_db_proto_rawDesc, NumEnums: 0, - NumMessages: 11, + NumMessages: 7, NumExtensions: 0, NumServices: 0, }, diff --git a/sys/configure/structs/Game.NewRedDot.go b/sys/configure/structs/Game.NewRedDot.go new file mode 100644 index 000000000..f6bc57b87 --- /dev/null +++ b/sys/configure/structs/Game.NewRedDot.go @@ -0,0 +1,42 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +package cfg + +type GameNewRedDot struct { + _dataMap map[int32]*GameNewRedDotData + _dataList []*GameNewRedDotData +} + +func NewGameNewRedDot(_buf []map[string]interface{}) (*GameNewRedDot, error) { + _dataList := make([]*GameNewRedDotData, 0, len(_buf)) + dataMap := make(map[int32]*GameNewRedDotData) + for _, _ele_ := range _buf { + if _v, err2 := DeserializeGameNewRedDotData(_ele_); err2 != nil { + return nil, err2 + } else { + _dataList = append(_dataList, _v) + dataMap[_v.Id] = _v + } + } + return &GameNewRedDot{_dataList:_dataList, _dataMap:dataMap}, nil +} + +func (table *GameNewRedDot) GetDataMap() map[int32]*GameNewRedDotData { + return table._dataMap +} + +func (table *GameNewRedDot) GetDataList() []*GameNewRedDotData { + return table._dataList +} + +func (table *GameNewRedDot) Get(key int32) *GameNewRedDotData { + return table._dataMap[key] +} + + diff --git a/sys/configure/structs/Game.NewRedDotData.go b/sys/configure/structs/Game.NewRedDotData.go new file mode 100644 index 000000000..6b7d9b5f9 --- /dev/null +++ b/sys/configure/structs/Game.NewRedDotData.go @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +package cfg + +import "errors" + +type GameNewRedDotData struct { + Id int32 + MsgType int32 + TreeType int32 + ShowType int32 + CountType int32 + Group string + Path string + Header string +} + +const TypeId_GameNewRedDotData = 943392646 + +func (*GameNewRedDotData) GetTypeId() int32 { + return 943392646 +} + +func (_v *GameNewRedDotData)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["msg_type"].(float64); !_ok_ { err = errors.New("msg_type error"); return }; _v.MsgType = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["tree_type"].(float64); !_ok_ { err = errors.New("tree_type error"); return }; _v.TreeType = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["show_type"].(float64); !_ok_ { err = errors.New("show_type error"); return }; _v.ShowType = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["count_type"].(float64); !_ok_ { err = errors.New("count_type error"); return }; _v.CountType = int32(_tempNum_) } + { var _ok_ bool; if _v.Group, _ok_ = _buf["group"].(string); !_ok_ { err = errors.New("group error"); return } } + { var _ok_ bool; if _v.Path, _ok_ = _buf["path"].(string); !_ok_ { err = errors.New("path error"); return } } + { var _ok_ bool; if _v.Header, _ok_ = _buf["header"].(string); !_ok_ { err = errors.New("header error"); return } } + return +} + +func DeserializeGameNewRedDotData(_buf map[string]interface{}) (*GameNewRedDotData, error) { + v := &GameNewRedDotData{} + if err := v.Deserialize(_buf); err == nil { + return v, nil + } else { + return nil, err + } +} diff --git a/sys/configure/structs/Game.itinerant_city.go b/sys/configure/structs/Game.itinerant_city.go new file mode 100644 index 000000000..1199d73c1 --- /dev/null +++ b/sys/configure/structs/Game.itinerant_city.go @@ -0,0 +1,42 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +package cfg + +type Gameitinerant_city struct { + _dataMap map[int32]*Gameitinerant_cityData + _dataList []*Gameitinerant_cityData +} + +func NewGameitinerant_city(_buf []map[string]interface{}) (*Gameitinerant_city, error) { + _dataList := make([]*Gameitinerant_cityData, 0, len(_buf)) + dataMap := make(map[int32]*Gameitinerant_cityData) + for _, _ele_ := range _buf { + if _v, err2 := DeserializeGameitinerant_cityData(_ele_); err2 != nil { + return nil, err2 + } else { + _dataList = append(_dataList, _v) + dataMap[_v.Id] = _v + } + } + return &Gameitinerant_city{_dataList:_dataList, _dataMap:dataMap}, nil +} + +func (table *Gameitinerant_city) GetDataMap() map[int32]*Gameitinerant_cityData { + return table._dataMap +} + +func (table *Gameitinerant_city) GetDataList() []*Gameitinerant_cityData { + return table._dataList +} + +func (table *Gameitinerant_city) Get(key int32) *Gameitinerant_cityData { + return table._dataMap[key] +} + + diff --git a/sys/configure/structs/Game.itinerant_cityData.go b/sys/configure/structs/Game.itinerant_cityData.go new file mode 100644 index 000000000..153633687 --- /dev/null +++ b/sys/configure/structs/Game.itinerant_cityData.go @@ -0,0 +1,100 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +package cfg + +import "errors" + +type Gameitinerant_cityData struct { + Id int32 + Cityticket int32 + Citylvlock int32 + Citymainlock []int32 + Cityname string + Cityinformation string + Citytxt string + Citytype int32 + Citytypenum int32 + Special []int32 + Specialnum int32 + Exspecial []int32 + Exspecialnum int32 + Orspecial int32 +} + +const TypeId_Gameitinerant_cityData = 675778342 + +func (*Gameitinerant_cityData) GetTypeId() int32 { + return 675778342 +} + +func (_v *Gameitinerant_cityData)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["cityticket"].(float64); !_ok_ { err = errors.New("cityticket error"); return }; _v.Cityticket = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["citylvlock"].(float64); !_ok_ { err = errors.New("citylvlock error"); return }; _v.Citylvlock = int32(_tempNum_) } + { + var _arr_ []interface{} + var _ok_ bool + if _arr_, _ok_ = _buf["citymainlock"].([]interface{}); !_ok_ { err = errors.New("citymainlock error"); return } + + _v.Citymainlock = 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.Citymainlock = append(_v.Citymainlock, _list_v_) + } + } + + {var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["cityname"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Cityname error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Cityname, _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["cityinformation"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Cityinformation error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Cityinformation, _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["citytxt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Citytxt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Citytxt, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["citytype"].(float64); !_ok_ { err = errors.New("citytype error"); return }; _v.Citytype = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["citytypenum"].(float64); !_ok_ { err = errors.New("citytypenum error"); return }; _v.Citytypenum = int32(_tempNum_) } + { + var _arr_ []interface{} + var _ok_ bool + if _arr_, _ok_ = _buf["special"].([]interface{}); !_ok_ { err = errors.New("special error"); return } + + _v.Special = 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.Special = append(_v.Special, _list_v_) + } + } + + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["specialnum"].(float64); !_ok_ { err = errors.New("specialnum error"); return }; _v.Specialnum = int32(_tempNum_) } + { + var _arr_ []interface{} + var _ok_ bool + if _arr_, _ok_ = _buf["exspecial"].([]interface{}); !_ok_ { err = errors.New("exspecial error"); return } + + _v.Exspecial = 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.Exspecial = append(_v.Exspecial, _list_v_) + } + } + + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["exspecialnum"].(float64); !_ok_ { err = errors.New("exspecialnum error"); return }; _v.Exspecialnum = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["Orspecial"].(float64); !_ok_ { err = errors.New("Orspecial error"); return }; _v.Orspecial = int32(_tempNum_) } + return +} + +func DeserializeGameitinerant_cityData(_buf map[string]interface{}) (*Gameitinerant_cityData, error) { + v := &Gameitinerant_cityData{} + if err := v.Deserialize(_buf); err == nil { + return v, nil + } else { + return nil, err + } +} diff --git a/sys/configure/structs/Game.itinerant_lv.go b/sys/configure/structs/Game.itinerant_lv.go new file mode 100644 index 000000000..9c815f652 --- /dev/null +++ b/sys/configure/structs/Game.itinerant_lv.go @@ -0,0 +1,42 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +package cfg + +type Gameitinerant_lv struct { + _dataMap map[int32]*Gameitinerant_lvData + _dataList []*Gameitinerant_lvData +} + +func NewGameitinerant_lv(_buf []map[string]interface{}) (*Gameitinerant_lv, error) { + _dataList := make([]*Gameitinerant_lvData, 0, len(_buf)) + dataMap := make(map[int32]*Gameitinerant_lvData) + for _, _ele_ := range _buf { + if _v, err2 := DeserializeGameitinerant_lvData(_ele_); err2 != nil { + return nil, err2 + } else { + _dataList = append(_dataList, _v) + dataMap[_v.Lv] = _v + } + } + return &Gameitinerant_lv{_dataList:_dataList, _dataMap:dataMap}, nil +} + +func (table *Gameitinerant_lv) GetDataMap() map[int32]*Gameitinerant_lvData { + return table._dataMap +} + +func (table *Gameitinerant_lv) GetDataList() []*Gameitinerant_lvData { + return table._dataList +} + +func (table *Gameitinerant_lv) Get(key int32) *Gameitinerant_lvData { + return table._dataMap[key] +} + + diff --git a/sys/configure/structs/Game.itinerant_lvData.go b/sys/configure/structs/Game.itinerant_lvData.go new file mode 100644 index 000000000..e2edeac67 --- /dev/null +++ b/sys/configure/structs/Game.itinerant_lvData.go @@ -0,0 +1,52 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +package cfg + +import "errors" + +type Gameitinerant_lvData struct { + Lv int32 + Newmoneyexp int32 + Reward []*Gameatn +} + +const TypeId_Gameitinerant_lvData = 1265566725 + +func (*Gameitinerant_lvData) GetTypeId() int32 { + return 1265566725 +} + +func (_v *Gameitinerant_lvData)Deserialize(_buf map[string]interface{}) (err error) { + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["lv"].(float64); !_ok_ { err = errors.New("lv error"); return }; _v.Lv = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["newmoneyexp"].(float64); !_ok_ { err = errors.New("newmoneyexp error"); return }; _v.Newmoneyexp = int32(_tempNum_) } + { + var _arr_ []interface{} + var _ok_ bool + if _arr_, _ok_ = _buf["reward"].([]interface{}); !_ok_ { err = errors.New("reward error"); return } + + _v.Reward = make([]*Gameatn, 0, len(_arr_)) + + for _, _e_ := range _arr_ { + var _list_v_ *Gameatn + { var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _e_.(map[string]interface{}); !_ok_ { err = errors.New("_list_v_ error"); return }; if _list_v_, err = DeserializeGameatn(_x_); err != nil { return } } + _v.Reward = append(_v.Reward, _list_v_) + } + } + + return +} + +func DeserializeGameitinerant_lvData(_buf map[string]interface{}) (*Gameitinerant_lvData, error) { + v := &Gameitinerant_lvData{} + if err := v.Deserialize(_buf); err == nil { + return v, nil + } else { + return nil, err + } +} diff --git a/sys/configure/structs/Game.itinerant_reward.go b/sys/configure/structs/Game.itinerant_reward.go new file mode 100644 index 000000000..e8e57a17d --- /dev/null +++ b/sys/configure/structs/Game.itinerant_reward.go @@ -0,0 +1,42 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +package cfg + +type Gameitinerant_reward struct { + _dataMap map[int32]*Gameitinerant_rewardData + _dataList []*Gameitinerant_rewardData +} + +func NewGameitinerant_reward(_buf []map[string]interface{}) (*Gameitinerant_reward, error) { + _dataList := make([]*Gameitinerant_rewardData, 0, len(_buf)) + dataMap := make(map[int32]*Gameitinerant_rewardData) + for _, _ele_ := range _buf { + if _v, err2 := DeserializeGameitinerant_rewardData(_ele_); err2 != nil { + return nil, err2 + } else { + _dataList = append(_dataList, _v) + dataMap[_v.Num] = _v + } + } + return &Gameitinerant_reward{_dataList:_dataList, _dataMap:dataMap}, nil +} + +func (table *Gameitinerant_reward) GetDataMap() map[int32]*Gameitinerant_rewardData { + return table._dataMap +} + +func (table *Gameitinerant_reward) GetDataList() []*Gameitinerant_rewardData { + return table._dataList +} + +func (table *Gameitinerant_reward) Get(key int32) *Gameitinerant_rewardData { + return table._dataMap[key] +} + + diff --git a/sys/configure/structs/Game.itinerant_rewardData.go b/sys/configure/structs/Game.itinerant_rewardData.go new file mode 100644 index 000000000..91c28fdb4 --- /dev/null +++ b/sys/configure/structs/Game.itinerant_rewardData.go @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +package cfg + +import "errors" + +type Gameitinerant_rewardData struct { + Num int32 + Reward []*Gameatn +} + +const TypeId_Gameitinerant_rewardData = -998397270 + +func (*Gameitinerant_rewardData) GetTypeId() int32 { + return -998397270 +} + +func (_v *Gameitinerant_rewardData)Deserialize(_buf map[string]interface{}) (err error) { + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["num"].(float64); !_ok_ { err = errors.New("num error"); return }; _v.Num = int32(_tempNum_) } + { + var _arr_ []interface{} + var _ok_ bool + if _arr_, _ok_ = _buf["reward"].([]interface{}); !_ok_ { err = errors.New("reward error"); return } + + _v.Reward = make([]*Gameatn, 0, len(_arr_)) + + for _, _e_ := range _arr_ { + var _list_v_ *Gameatn + { var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _e_.(map[string]interface{}); !_ok_ { err = errors.New("_list_v_ error"); return }; if _list_v_, err = DeserializeGameatn(_x_); err != nil { return } } + _v.Reward = append(_v.Reward, _list_v_) + } + } + + return +} + +func DeserializeGameitinerant_rewardData(_buf map[string]interface{}) (*Gameitinerant_rewardData, error) { + v := &Gameitinerant_rewardData{} + if err := v.Deserialize(_buf); err == nil { + return v, nil + } else { + return nil, err + } +} diff --git a/sys/configure/structs/Game.itinerant_thing.go b/sys/configure/structs/Game.itinerant_thing.go new file mode 100644 index 000000000..34e0cb37a --- /dev/null +++ b/sys/configure/structs/Game.itinerant_thing.go @@ -0,0 +1,42 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +package cfg + +type Gameitinerant_thing struct { + _dataMap map[int32]*Gameitinerant_thingData + _dataList []*Gameitinerant_thingData +} + +func NewGameitinerant_thing(_buf []map[string]interface{}) (*Gameitinerant_thing, error) { + _dataList := make([]*Gameitinerant_thingData, 0, len(_buf)) + dataMap := make(map[int32]*Gameitinerant_thingData) + for _, _ele_ := range _buf { + if _v, err2 := DeserializeGameitinerant_thingData(_ele_); err2 != nil { + return nil, err2 + } else { + _dataList = append(_dataList, _v) + dataMap[_v.Id] = _v + } + } + return &Gameitinerant_thing{_dataList:_dataList, _dataMap:dataMap}, nil +} + +func (table *Gameitinerant_thing) GetDataMap() map[int32]*Gameitinerant_thingData { + return table._dataMap +} + +func (table *Gameitinerant_thing) GetDataList() []*Gameitinerant_thingData { + return table._dataList +} + +func (table *Gameitinerant_thing) Get(key int32) *Gameitinerant_thingData { + return table._dataMap[key] +} + + diff --git a/sys/configure/structs/Game.itinerant_thingData.go b/sys/configure/structs/Game.itinerant_thingData.go new file mode 100644 index 000000000..d4294228a --- /dev/null +++ b/sys/configure/structs/Game.itinerant_thingData.go @@ -0,0 +1,126 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +package cfg + +import "errors" + +type Gameitinerant_thingData struct { + Id int32 + Goodsname string + Goodsinfor string + Goodsicon string + Goodsprice int32 + Changeperiod []int32 + Changetime int32 + PriceChangeWeight []int32 + PriceChangeWeightOne []int32 + PriceChangeWeightTwo []int32 + PriceChangeWeightThree []int32 + FluctuationRange int32 + Pricemin int32 + Pricemax int32 +} + +const TypeId_Gameitinerant_thingData = -91590553 + +func (*Gameitinerant_thingData) GetTypeId() int32 { + return -91590553 +} + +func (_v *Gameitinerant_thingData)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 __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["goodsname"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Goodsname error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Goodsname, _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["goodsinfor"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Goodsinfor error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Goodsinfor, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } } + { var _ok_ bool; if _v.Goodsicon, _ok_ = _buf["goodsicon"].(string); !_ok_ { err = errors.New("goodsicon error"); return } } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["goodsprice"].(float64); !_ok_ { err = errors.New("goodsprice error"); return }; _v.Goodsprice = int32(_tempNum_) } + { + var _arr_ []interface{} + var _ok_ bool + if _arr_, _ok_ = _buf["changeperiod"].([]interface{}); !_ok_ { err = errors.New("changeperiod error"); return } + + _v.Changeperiod = 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.Changeperiod = append(_v.Changeperiod, _list_v_) + } + } + + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["changetime"].(float64); !_ok_ { err = errors.New("changetime error"); return }; _v.Changetime = int32(_tempNum_) } + { + var _arr_ []interface{} + var _ok_ bool + if _arr_, _ok_ = _buf["PriceChangeWeight"].([]interface{}); !_ok_ { err = errors.New("PriceChangeWeight error"); return } + + _v.PriceChangeWeight = 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.PriceChangeWeight = append(_v.PriceChangeWeight, _list_v_) + } + } + + { + var _arr_ []interface{} + var _ok_ bool + if _arr_, _ok_ = _buf["PriceChangeWeight_one"].([]interface{}); !_ok_ { err = errors.New("PriceChangeWeight_one error"); return } + + _v.PriceChangeWeightOne = 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.PriceChangeWeightOne = append(_v.PriceChangeWeightOne, _list_v_) + } + } + + { + var _arr_ []interface{} + var _ok_ bool + if _arr_, _ok_ = _buf["PriceChangeWeight_two"].([]interface{}); !_ok_ { err = errors.New("PriceChangeWeight_two error"); return } + + _v.PriceChangeWeightTwo = 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.PriceChangeWeightTwo = append(_v.PriceChangeWeightTwo, _list_v_) + } + } + + { + var _arr_ []interface{} + var _ok_ bool + if _arr_, _ok_ = _buf["PriceChangeWeight_three"].([]interface{}); !_ok_ { err = errors.New("PriceChangeWeight_three error"); return } + + _v.PriceChangeWeightThree = 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.PriceChangeWeightThree = append(_v.PriceChangeWeightThree, _list_v_) + } + } + + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["FluctuationRange"].(float64); !_ok_ { err = errors.New("FluctuationRange error"); return }; _v.FluctuationRange = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["pricemin"].(float64); !_ok_ { err = errors.New("pricemin error"); return }; _v.Pricemin = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["pricemax"].(float64); !_ok_ { err = errors.New("pricemax error"); return }; _v.Pricemax = int32(_tempNum_) } + return +} + +func DeserializeGameitinerant_thingData(_buf map[string]interface{}) (*Gameitinerant_thingData, error) { + v := &Gameitinerant_thingData{} + if err := v.Deserialize(_buf); err == nil { + return v, nil + } else { + return nil, err + } +} diff --git a/sys/configure/structs/Tables.go b/sys/configure/structs/Tables.go index 3c5fa9e24..c1754915a 100644 --- a/sys/configure/structs/Tables.go +++ b/sys/configure/structs/Tables.go @@ -11,1203 +11,1230 @@ package cfg type JsonLoader func(string) ([]map[string]interface{}, error) type Tables struct { - Global *GameGlobal - Extservers *GameExtservers - SkillAtk *GameSkillAtk - SkillAfteratk *GameSkillAfteratk - SkillBuff *GameSkillBuff - SkillPassive *GameSkillPassive - Hero *GameHero - HeroStargrow *GameHeroStargrow - HeroLevelgrow *GameHeroLevelgrow - HeroStarup *GameHeroStarup - HeroSkill *GameHeroSkill - HeroExp *GameHeroExp - HeroLevelup *GameHeroLevelup - Equip *GameEquip - EquipAttrlibrary *GameEquipAttrlibrary - EquipSuit *GameEquipSuit - EquipColor *GameEquipColor - EquipIntensify *GameEquipIntensify - EquipSCompose *GameEquipSCompose - EquipAttribute *GameEquipAttribute - EquipEnchanting *GameEquipEnchanting - Item *GameItem - HeroSkillLevel *GameHeroSkillLevel - HeroAwaken *GameHeroAwaken - HeroMethod *GameHeroMethod - HeroMethodComment *GameHeroMethodComment - Shop *GameShop - Shopitem *GameShopitem - ActiveReward *GameActiveReward - Model *GameModel - DrawCard *GameDrawCard - ChatChannel *GameChatChannel - ChatSystem *GameChatSystem - ChatServerGroup *GameChatServerGroup - ChatChannelCom *GameChatChannelCom - ChatExpression *GameChatExpression - TaskRound *GameTaskRound - TaskActiveReward *GameTaskActiveReward - Coin *GameCoin - Initial *GameInitial - Monster *GameMonster - EquipPos *GameEquipPos - Playerlv *GamePlayerlv - Facemod *GameFacemod - Msgdistrib *GameMsgdistrib - Opencond *GameOpencond - Pagoda *GamePagoda - PagodaTaskReward *GamePagodaTaskReward - RdtaskCondi *GameRdtaskCondi - RdtaskNpc *GameRdtaskNpc - Gourmet *GameGourmet - Drop *GameDrop - VikingBoss *GameVikingBoss - VikingChallenge *GameVikingChallenge - VikingLineup *GameVikingLineup - VikingEntrance *GameVikingEntrance - DreamlandBoos *GameDreamlandBoos - DreamlandChallenge *GameDreamlandChallenge - DreamlandTrigger *GameDreamlandTrigger - HuntingBoss *GameHuntingBoss - HuntingChallenge *GameHuntingChallenge - HuntingOpenTime *GameHuntingOpenTime - HuntingLineup *GameHuntingLineup - MonsterFormat *GameMonsterFormat - GetResource *GameGetResource - VikingBossSkill *GameVikingBossSkill - LibraryFetter *GameLibraryFetter - LibraryStory *GameLibraryStory - LibraryHero *GameLibraryHero - LibraryHistory *GameLibraryHistory - LibraryComplot *GameLibraryComplot - LibraryFavor *GameLibraryFavor - LibraryFavorlv *GameLibraryFavorlv - LibraryBubble *GameLibraryBubble - LibraryPlayBack *GameLibraryPlayBack - Robot *GameRobot - NameLibrary *GameNameLibrary - HeroConvertdata *GameHeroConvertdata - LinestoryTimeLine *GameLinestoryTimeLine - LinestoryMainTask *GameLinestoryMainTask - Herofusion *GameHerofusion - PlayerInfor *GamePlayerInfor - HeroTalent *GameHeroTalent - TalentSkill *GameTalentSkill - ArenaBuyChallenge *GameArenaBuyChallenge - ArenaActiveReward *GameArenaActiveReward - ArenaRobot *GameArenaRobot - ArenaRankReward *GameArenaRankReward - ArenaChallengeNpc *GameArenaChallengeNpc - ItemBox *GameItemBox - Show *GameShow - GuildLv *GameGuildLv - GuildPng *GameGuildPng - GuildActivity *GameGuildActivity - GuildSign *GameGuildSign - GuildTask *GameGuildTask - GuildBossTask *GameGuildBossTask - TrollRule *GameTrollRule - TrollGoods *GameTrollGoods - TrollTrain *GameTrollTrain - TrollLv *GameTrollLv - TrollCoefficient *GameTrollCoefficient - Horoscope *GameHoroscope - Sign *GameSign - SignReset *GameSignReset - SignExtra *GameSignExtra - GrowTask *GameGrowTask - GrowReward *GameGrowReward - Recharge *GameRecharge - PrivilegeCard *GamePrivilegeCard - Privilege *GamePrivilege - WorldTask *GameWorldTask - WorldAll *GameWorldAll - Teaching *GameTeaching - HeroStrategy *GameHeroStrategy - FightGlobalEvent *GameFightGlobalEvent - PayPackage *GamePayPackage - WorldBattle *GameWorldBattle - RedDot *GameRedDot - RedDotTalkid *GameRedDotTalkid - RedDotGroup *GameRedDotGroup - PassCheck *GamePassCheck - Mail *GameMail - CombatLevel *GameCombatLevel - CombatManster *GameCombatManster - CombatBox *GameCombatBox - Help *GameHelp - GM *GameGM - Guide *GameGuide - Vip *GameVip - EnchantShop *GameEnchantShop - EnchantBoss *GameEnchantBoss - EnchantLineup *GameEnchantLineup - MainChapter *GameMainChapter - MainStage *GameMainStage - MainStarreward *GameMainStarreward - MainStartype *GameMainStartype - Battletasktesting *GameBattletasktesting - BattleReady *GameBattleReady - Battleready_capskill *GameBattleready_capskill - NewSmithy *GameNewSmithy - SmithyProficiency *GameSmithyProficiency - SmithyStoveV1 *GameSmithyStoveV1 - SmithyTool *GameSmithyTool - SmithyIdTool *GameSmithyIdTool - SmithyCustomer *GameSmithyCustomer - SmithyModelPool *GameSmithyModelPool - SmithyAtlas *GameSmithyAtlas - SmithyAtlasLv *GameSmithyAtlasLv - SmithyAtlasScore *GameSmithyAtlasScore - SmithyMake *GameSmithyMake - SmithyTask *GameSmithyTask - Dispatch_Task *GameDispatch_Task - Dispatch_Lv *GameDispatch_Lv - Dispatch_Battle *GameDispatch_Battle - PandamasMz *GamePandamasMz - PandamasJs *GamePandamasJs - PandamasJx *GamePandamasJx - PandamasMryl *GamePandamasMryl - PandamasBuff *GamePandamasBuff - PandamasTj *GamePandamasTj - PandamasTjjl *GamePandamasTjjl - PandamasYxjx *GamePandamasYxjx - BubbleGroup *GameBubbleGroup - Breakingbad *GameBreakingbad - BreakingbadTag *GameBreakingbadTag - Potions *GamePotions - SellCoefficient *GameSellCoefficient - Lottery *GameLottery - Pricegroup *GamePricegroup + Global *GameGlobal + Extservers *GameExtservers + SkillAtk *GameSkillAtk + SkillAfteratk *GameSkillAfteratk + SkillBuff *GameSkillBuff + SkillPassive *GameSkillPassive + Hero *GameHero + HeroStargrow *GameHeroStargrow + HeroLevelgrow *GameHeroLevelgrow + HeroStarup *GameHeroStarup + HeroSkill *GameHeroSkill + HeroExp *GameHeroExp + HeroLevelup *GameHeroLevelup + Equip *GameEquip + EquipAttrlibrary *GameEquipAttrlibrary + EquipSuit *GameEquipSuit + EquipColor *GameEquipColor + EquipIntensify *GameEquipIntensify + EquipSCompose *GameEquipSCompose + EquipAttribute *GameEquipAttribute + EquipEnchanting *GameEquipEnchanting + Item *GameItem + HeroSkillLevel *GameHeroSkillLevel + HeroAwaken *GameHeroAwaken + HeroMethod *GameHeroMethod + HeroMethodComment *GameHeroMethodComment + Shop *GameShop + Shopitem *GameShopitem + ActiveReward *GameActiveReward + Model *GameModel + DrawCard *GameDrawCard + ChatChannel *GameChatChannel + ChatSystem *GameChatSystem + ChatServerGroup *GameChatServerGroup + ChatChannelCom *GameChatChannelCom + ChatExpression *GameChatExpression + TaskRound *GameTaskRound + TaskActiveReward *GameTaskActiveReward + Coin *GameCoin + Initial *GameInitial + Monster *GameMonster + EquipPos *GameEquipPos + Playerlv *GamePlayerlv + Facemod *GameFacemod + Msgdistrib *GameMsgdistrib + Opencond *GameOpencond + Pagoda *GamePagoda + PagodaTaskReward *GamePagodaTaskReward + RdtaskCondi *GameRdtaskCondi + RdtaskNpc *GameRdtaskNpc + Gourmet *GameGourmet + Drop *GameDrop + VikingBoss *GameVikingBoss + VikingChallenge *GameVikingChallenge + VikingLineup *GameVikingLineup + VikingEntrance *GameVikingEntrance + DreamlandBoos *GameDreamlandBoos + DreamlandChallenge *GameDreamlandChallenge + DreamlandTrigger *GameDreamlandTrigger + HuntingBoss *GameHuntingBoss + HuntingChallenge *GameHuntingChallenge + HuntingOpenTime *GameHuntingOpenTime + HuntingLineup *GameHuntingLineup + MonsterFormat *GameMonsterFormat + GetResource *GameGetResource + VikingBossSkill *GameVikingBossSkill + LibraryFetter *GameLibraryFetter + LibraryStory *GameLibraryStory + LibraryHero *GameLibraryHero + LibraryHistory *GameLibraryHistory + LibraryComplot *GameLibraryComplot + LibraryFavor *GameLibraryFavor + LibraryFavorlv *GameLibraryFavorlv + LibraryBubble *GameLibraryBubble + LibraryPlayBack *GameLibraryPlayBack + Robot *GameRobot + NameLibrary *GameNameLibrary + HeroConvertdata *GameHeroConvertdata + LinestoryTimeLine *GameLinestoryTimeLine + LinestoryMainTask *GameLinestoryMainTask + Herofusion *GameHerofusion + PlayerInfor *GamePlayerInfor + HeroTalent *GameHeroTalent + TalentSkill *GameTalentSkill + ArenaBuyChallenge *GameArenaBuyChallenge + ArenaActiveReward *GameArenaActiveReward + ArenaRobot *GameArenaRobot + ArenaRankReward *GameArenaRankReward + ArenaChallengeNpc *GameArenaChallengeNpc + ItemBox *GameItemBox + Show *GameShow + GuildLv *GameGuildLv + GuildPng *GameGuildPng + GuildActivity *GameGuildActivity + GuildSign *GameGuildSign + GuildTask *GameGuildTask + GuildBossTask *GameGuildBossTask + TrollRule *GameTrollRule + TrollGoods *GameTrollGoods + TrollTrain *GameTrollTrain + TrollLv *GameTrollLv + TrollCoefficient *GameTrollCoefficient + Horoscope *GameHoroscope + Sign *GameSign + SignReset *GameSignReset + SignExtra *GameSignExtra + GrowTask *GameGrowTask + GrowReward *GameGrowReward + Recharge *GameRecharge + PrivilegeCard *GamePrivilegeCard + Privilege *GamePrivilege + WorldTask *GameWorldTask + WorldAll *GameWorldAll + Teaching *GameTeaching + HeroStrategy *GameHeroStrategy + FightGlobalEvent *GameFightGlobalEvent + PayPackage *GamePayPackage + WorldBattle *GameWorldBattle + RedDot *GameRedDot + RedDotTalkid *GameRedDotTalkid + RedDotGroup *GameRedDotGroup + PassCheck *GamePassCheck + Mail *GameMail + CombatLevel *GameCombatLevel + CombatManster *GameCombatManster + CombatBox *GameCombatBox + Help *GameHelp + GM *GameGM + Guide *GameGuide + Vip *GameVip + EnchantShop *GameEnchantShop + EnchantBoss *GameEnchantBoss + EnchantLineup *GameEnchantLineup + MainChapter *GameMainChapter + MainStage *GameMainStage + MainStarreward *GameMainStarreward + MainStartype *GameMainStartype + Battletasktesting *GameBattletasktesting + BattleReady *GameBattleReady + Battleready_capskill *GameBattleready_capskill + NewSmithy *GameNewSmithy + SmithyProficiency *GameSmithyProficiency + SmithyStoveV1 *GameSmithyStoveV1 + SmithyTool *GameSmithyTool + SmithyIdTool *GameSmithyIdTool + SmithyCustomer *GameSmithyCustomer + SmithyModelPool *GameSmithyModelPool + SmithyAtlas *GameSmithyAtlas + SmithyAtlasLv *GameSmithyAtlasLv + SmithyAtlasScore *GameSmithyAtlasScore + SmithyMake *GameSmithyMake + SmithyTask *GameSmithyTask + Dispatch_Task *GameDispatch_Task + Dispatch_Lv *GameDispatch_Lv + Dispatch_Battle *GameDispatch_Battle + PandamasMz *GamePandamasMz + PandamasJs *GamePandamasJs + PandamasJx *GamePandamasJx + PandamasMryl *GamePandamasMryl + PandamasBuff *GamePandamasBuff + PandamasTj *GamePandamasTj + PandamasTjjl *GamePandamasTjjl + PandamasYxjx *GamePandamasYxjx + BubbleGroup *GameBubbleGroup + Breakingbad *GameBreakingbad + BreakingbadTag *GameBreakingbadTag + Potions *GamePotions + SellCoefficient *GameSellCoefficient + Lottery *GameLottery + itinerant_city *Gameitinerant_city + itinerant_thing *Gameitinerant_thing + itinerant_lv *Gameitinerant_lv + itinerant_reward *Gameitinerant_reward + NewRedDot *GameNewRedDot } func NewTables(loader JsonLoader) (*Tables, error) { - var err error - var buf []map[string]interface{} + var err error + var buf []map[string]interface{} - tables := &Tables{} - if buf, err = loader("game_global"); err != nil { - return nil, err - } - if tables.Global, err = NewGameGlobal(buf); err != nil { - return nil, err - } - if buf, err = loader("game_extservers"); err != nil { - return nil, err - } - if tables.Extservers, err = NewGameExtservers(buf); err != nil { - return nil, err - } - if buf, err = loader("game_skillatk"); err != nil { - return nil, err - } - if tables.SkillAtk, err = NewGameSkillAtk(buf); err != nil { - return nil, err - } - if buf, err = loader("game_skillafteratk"); err != nil { - return nil, err - } - if tables.SkillAfteratk, err = NewGameSkillAfteratk(buf); err != nil { - return nil, err - } - if buf, err = loader("game_skillbuff"); err != nil { - return nil, err - } - if tables.SkillBuff, err = NewGameSkillBuff(buf); err != nil { - return nil, err - } - if buf, err = loader("game_skillpassive"); err != nil { - return nil, err - } - if tables.SkillPassive, err = NewGameSkillPassive(buf); err != nil { - return nil, err - } - if buf, err = loader("game_hero"); err != nil { - return nil, err - } - if tables.Hero, err = NewGameHero(buf); err != nil { - return nil, err - } - if buf, err = loader("game_herostargrow"); err != nil { - return nil, err - } - if tables.HeroStargrow, err = NewGameHeroStargrow(buf); err != nil { - return nil, err - } - if buf, err = loader("game_herolevelgrow"); err != nil { - return nil, err - } - if tables.HeroLevelgrow, err = NewGameHeroLevelgrow(buf); err != nil { - return nil, err - } - if buf, err = loader("game_herostarup"); err != nil { - return nil, err - } - if tables.HeroStarup, err = NewGameHeroStarup(buf); err != nil { - return nil, err - } - if buf, err = loader("game_heroskill"); err != nil { - return nil, err - } - if tables.HeroSkill, err = NewGameHeroSkill(buf); err != nil { - return nil, err - } - if buf, err = loader("game_heroexp"); err != nil { - return nil, err - } - if tables.HeroExp, err = NewGameHeroExp(buf); err != nil { - return nil, err - } - if buf, err = loader("game_herolevelup"); err != nil { - return nil, err - } - if tables.HeroLevelup, err = NewGameHeroLevelup(buf); err != nil { - return nil, err - } - if buf, err = loader("game_equip"); err != nil { - return nil, err - } - if tables.Equip, err = NewGameEquip(buf); err != nil { - return nil, err - } - if buf, err = loader("game_equipattrlibrary"); err != nil { - return nil, err - } - if tables.EquipAttrlibrary, err = NewGameEquipAttrlibrary(buf); err != nil { - return nil, err - } - if buf, err = loader("game_equipsuit"); err != nil { - return nil, err - } - if tables.EquipSuit, err = NewGameEquipSuit(buf); err != nil { - return nil, err - } - if buf, err = loader("game_equipcolor"); err != nil { - return nil, err - } - if tables.EquipColor, err = NewGameEquipColor(buf); err != nil { - return nil, err - } - if buf, err = loader("game_equipintensify"); err != nil { - return nil, err - } - if tables.EquipIntensify, err = NewGameEquipIntensify(buf); err != nil { - return nil, err - } - if buf, err = loader("game_equipscompose"); err != nil { - return nil, err - } - if tables.EquipSCompose, err = NewGameEquipSCompose(buf); err != nil { - return nil, err - } - if buf, err = loader("game_equipattribute"); err != nil { - return nil, err - } - if tables.EquipAttribute, err = NewGameEquipAttribute(buf); err != nil { - return nil, err - } - if buf, err = loader("game_equipenchanting"); err != nil { - return nil, err - } - if tables.EquipEnchanting, err = NewGameEquipEnchanting(buf); err != nil { - return nil, err - } - if buf, err = loader("game_item"); err != nil { - return nil, err - } - if tables.Item, err = NewGameItem(buf); err != nil { - return nil, err - } - if buf, err = loader("game_heroskilllevel"); err != nil { - return nil, err - } - if tables.HeroSkillLevel, err = NewGameHeroSkillLevel(buf); err != nil { - return nil, err - } - if buf, err = loader("game_heroawaken"); err != nil { - return nil, err - } - if tables.HeroAwaken, err = NewGameHeroAwaken(buf); err != nil { - return nil, err - } - if buf, err = loader("game_heromethod"); err != nil { - return nil, err - } - if tables.HeroMethod, err = NewGameHeroMethod(buf); err != nil { - return nil, err - } - if buf, err = loader("game_heromethodcomment"); err != nil { - return nil, err - } - if tables.HeroMethodComment, err = NewGameHeroMethodComment(buf); err != nil { - return nil, err - } - if buf, err = loader("game_shop"); err != nil { - return nil, err - } - if tables.Shop, err = NewGameShop(buf); err != nil { - return nil, err - } - if buf, err = loader("game_shopitem"); err != nil { - return nil, err - } - if tables.Shopitem, err = NewGameShopitem(buf); err != nil { - return nil, err - } - if buf, err = loader("game_activereward"); err != nil { - return nil, err - } - if tables.ActiveReward, err = NewGameActiveReward(buf); err != nil { - return nil, err - } - if buf, err = loader("game_model"); err != nil { - return nil, err - } - if tables.Model, err = NewGameModel(buf); err != nil { - return nil, err - } - if buf, err = loader("game_drawcard"); err != nil { - return nil, err - } - if tables.DrawCard, err = NewGameDrawCard(buf); err != nil { - return nil, err - } - if buf, err = loader("game_chatchannel"); err != nil { - return nil, err - } - if tables.ChatChannel, err = NewGameChatChannel(buf); err != nil { - return nil, err - } - if buf, err = loader("game_chatsystem"); err != nil { - return nil, err - } - if tables.ChatSystem, err = NewGameChatSystem(buf); err != nil { - return nil, err - } - if buf, err = loader("game_chatservergroup"); err != nil { - return nil, err - } - if tables.ChatServerGroup, err = NewGameChatServerGroup(buf); err != nil { - return nil, err - } - if buf, err = loader("game_chatchannelcom"); err != nil { - return nil, err - } - if tables.ChatChannelCom, err = NewGameChatChannelCom(buf); err != nil { - return nil, err - } - if buf, err = loader("game_chatexpression"); err != nil { - return nil, err - } - if tables.ChatExpression, err = NewGameChatExpression(buf); err != nil { - return nil, err - } - if buf, err = loader("game_taskround"); err != nil { - return nil, err - } - if tables.TaskRound, err = NewGameTaskRound(buf); err != nil { - return nil, err - } - if buf, err = loader("game_taskactivereward"); err != nil { - return nil, err - } - if tables.TaskActiveReward, err = NewGameTaskActiveReward(buf); err != nil { - return nil, err - } - if buf, err = loader("game_coin"); err != nil { - return nil, err - } - if tables.Coin, err = NewGameCoin(buf); err != nil { - return nil, err - } - if buf, err = loader("game_initial"); err != nil { - return nil, err - } - if tables.Initial, err = NewGameInitial(buf); err != nil { - return nil, err - } - if buf, err = loader("game_monster"); err != nil { - return nil, err - } - if tables.Monster, err = NewGameMonster(buf); err != nil { - return nil, err - } - if buf, err = loader("game_equippos"); err != nil { - return nil, err - } - if tables.EquipPos, err = NewGameEquipPos(buf); err != nil { - return nil, err - } - if buf, err = loader("game_playerlv"); err != nil { - return nil, err - } - if tables.Playerlv, err = NewGamePlayerlv(buf); err != nil { - return nil, err - } - if buf, err = loader("game_facemod"); err != nil { - return nil, err - } - if tables.Facemod, err = NewGameFacemod(buf); err != nil { - return nil, err - } - if buf, err = loader("game_msgdistrib"); err != nil { - return nil, err - } - if tables.Msgdistrib, err = NewGameMsgdistrib(buf); err != nil { - return nil, err - } - if buf, err = loader("game_opencond"); err != nil { - return nil, err - } - if tables.Opencond, err = NewGameOpencond(buf); err != nil { - return nil, err - } - if buf, err = loader("game_pagoda"); err != nil { - return nil, err - } - if tables.Pagoda, err = NewGamePagoda(buf); err != nil { - return nil, err - } - if buf, err = loader("game_pagodataskreward"); err != nil { - return nil, err - } - if tables.PagodaTaskReward, err = NewGamePagodaTaskReward(buf); err != nil { - return nil, err - } - if buf, err = loader("game_rdtaskcondi"); err != nil { - return nil, err - } - if tables.RdtaskCondi, err = NewGameRdtaskCondi(buf); err != nil { - return nil, err - } - if buf, err = loader("game_rdtasknpc"); err != nil { - return nil, err - } - if tables.RdtaskNpc, err = NewGameRdtaskNpc(buf); err != nil { - return nil, err - } - if buf, err = loader("game_gourmet"); err != nil { - return nil, err - } - if tables.Gourmet, err = NewGameGourmet(buf); err != nil { - return nil, err - } - if buf, err = loader("game_drop"); err != nil { - return nil, err - } - if tables.Drop, err = NewGameDrop(buf); err != nil { - return nil, err - } - if buf, err = loader("game_vikingboss"); err != nil { - return nil, err - } - if tables.VikingBoss, err = NewGameVikingBoss(buf); err != nil { - return nil, err - } - if buf, err = loader("game_vikingchallenge"); err != nil { - return nil, err - } - if tables.VikingChallenge, err = NewGameVikingChallenge(buf); err != nil { - return nil, err - } - if buf, err = loader("game_vikinglineup"); err != nil { - return nil, err - } - if tables.VikingLineup, err = NewGameVikingLineup(buf); err != nil { - return nil, err - } - if buf, err = loader("game_vikingentrance"); err != nil { - return nil, err - } - if tables.VikingEntrance, err = NewGameVikingEntrance(buf); err != nil { - return nil, err - } - if buf, err = loader("game_dreamlandboos"); err != nil { - return nil, err - } - if tables.DreamlandBoos, err = NewGameDreamlandBoos(buf); err != nil { - return nil, err - } - if buf, err = loader("game_dreamlandchallenge"); err != nil { - return nil, err - } - if tables.DreamlandChallenge, err = NewGameDreamlandChallenge(buf); err != nil { - return nil, err - } - if buf, err = loader("game_dreamlandtrigger"); err != nil { - return nil, err - } - if tables.DreamlandTrigger, err = NewGameDreamlandTrigger(buf); err != nil { - return nil, err - } - if buf, err = loader("game_huntingboss"); err != nil { - return nil, err - } - if tables.HuntingBoss, err = NewGameHuntingBoss(buf); err != nil { - return nil, err - } - if buf, err = loader("game_huntingchallenge"); err != nil { - return nil, err - } - if tables.HuntingChallenge, err = NewGameHuntingChallenge(buf); err != nil { - return nil, err - } - if buf, err = loader("game_huntingopentime"); err != nil { - return nil, err - } - if tables.HuntingOpenTime, err = NewGameHuntingOpenTime(buf); err != nil { - return nil, err - } - if buf, err = loader("game_huntinglineup"); err != nil { - return nil, err - } - if tables.HuntingLineup, err = NewGameHuntingLineup(buf); err != nil { - return nil, err - } - if buf, err = loader("game_monsterformat"); err != nil { - return nil, err - } - if tables.MonsterFormat, err = NewGameMonsterFormat(buf); err != nil { - return nil, err - } - if buf, err = loader("game_getresource"); err != nil { - return nil, err - } - if tables.GetResource, err = NewGameGetResource(buf); err != nil { - return nil, err - } - if buf, err = loader("game_vikingbossskill"); err != nil { - return nil, err - } - if tables.VikingBossSkill, err = NewGameVikingBossSkill(buf); err != nil { - return nil, err - } - if buf, err = loader("game_libraryfetter"); err != nil { - return nil, err - } - if tables.LibraryFetter, err = NewGameLibraryFetter(buf); err != nil { - return nil, err - } - if buf, err = loader("game_librarystory"); err != nil { - return nil, err - } - if tables.LibraryStory, err = NewGameLibraryStory(buf); err != nil { - return nil, err - } - if buf, err = loader("game_libraryhero"); err != nil { - return nil, err - } - if tables.LibraryHero, err = NewGameLibraryHero(buf); err != nil { - return nil, err - } - if buf, err = loader("game_libraryhistory"); err != nil { - return nil, err - } - if tables.LibraryHistory, err = NewGameLibraryHistory(buf); err != nil { - return nil, err - } - if buf, err = loader("game_librarycomplot"); err != nil { - return nil, err - } - if tables.LibraryComplot, err = NewGameLibraryComplot(buf); err != nil { - return nil, err - } - if buf, err = loader("game_libraryfavor"); err != nil { - return nil, err - } - if tables.LibraryFavor, err = NewGameLibraryFavor(buf); err != nil { - return nil, err - } - if buf, err = loader("game_libraryfavorlv"); err != nil { - return nil, err - } - if tables.LibraryFavorlv, err = NewGameLibraryFavorlv(buf); err != nil { - return nil, err - } - if buf, err = loader("game_librarybubble"); err != nil { - return nil, err - } - if tables.LibraryBubble, err = NewGameLibraryBubble(buf); err != nil { - return nil, err - } - if buf, err = loader("game_libraryplayback"); err != nil { - return nil, err - } - if tables.LibraryPlayBack, err = NewGameLibraryPlayBack(buf); err != nil { - return nil, err - } - if buf, err = loader("game_robot"); err != nil { - return nil, err - } - if tables.Robot, err = NewGameRobot(buf); err != nil { - return nil, err - } - if buf, err = loader("game_namelibrary"); err != nil { - return nil, err - } - if tables.NameLibrary, err = NewGameNameLibrary(buf); err != nil { - return nil, err - } - if buf, err = loader("game_heroconvertdata"); err != nil { - return nil, err - } - if tables.HeroConvertdata, err = NewGameHeroConvertdata(buf); err != nil { - return nil, err - } - if buf, err = loader("game_linestorytimeline"); err != nil { - return nil, err - } - if tables.LinestoryTimeLine, err = NewGameLinestoryTimeLine(buf); err != nil { - return nil, err - } - if buf, err = loader("game_linestorymaintask"); err != nil { - return nil, err - } - if tables.LinestoryMainTask, err = NewGameLinestoryMainTask(buf); err != nil { - return nil, err - } - if buf, err = loader("game_herofusion"); err != nil { - return nil, err - } - if tables.Herofusion, err = NewGameHerofusion(buf); err != nil { - return nil, err - } - if buf, err = loader("game_playerinfor"); err != nil { - return nil, err - } - if tables.PlayerInfor, err = NewGamePlayerInfor(buf); err != nil { - return nil, err - } - if buf, err = loader("game_herotalent"); err != nil { - return nil, err - } - if tables.HeroTalent, err = NewGameHeroTalent(buf); err != nil { - return nil, err - } - if buf, err = loader("game_talentskill"); err != nil { - return nil, err - } - if tables.TalentSkill, err = NewGameTalentSkill(buf); err != nil { - return nil, err - } - if buf, err = loader("game_arenabuychallenge"); err != nil { - return nil, err - } - if tables.ArenaBuyChallenge, err = NewGameArenaBuyChallenge(buf); err != nil { - return nil, err - } - if buf, err = loader("game_arenaactivereward"); err != nil { - return nil, err - } - if tables.ArenaActiveReward, err = NewGameArenaActiveReward(buf); err != nil { - return nil, err - } - if buf, err = loader("game_arenarobot"); err != nil { - return nil, err - } - if tables.ArenaRobot, err = NewGameArenaRobot(buf); err != nil { - return nil, err - } - if buf, err = loader("game_arenarankreward"); err != nil { - return nil, err - } - if tables.ArenaRankReward, err = NewGameArenaRankReward(buf); err != nil { - return nil, err - } - if buf, err = loader("game_arenachallengenpc"); err != nil { - return nil, err - } - if tables.ArenaChallengeNpc, err = NewGameArenaChallengeNpc(buf); err != nil { - return nil, err - } - if buf, err = loader("game_itembox"); err != nil { - return nil, err - } - if tables.ItemBox, err = NewGameItemBox(buf); err != nil { - return nil, err - } - if buf, err = loader("game_show"); err != nil { - return nil, err - } - if tables.Show, err = NewGameShow(buf); err != nil { - return nil, err - } - if buf, err = loader("game_guildlv"); err != nil { - return nil, err - } - if tables.GuildLv, err = NewGameGuildLv(buf); err != nil { - return nil, err - } - if buf, err = loader("game_guildpng"); err != nil { - return nil, err - } - if tables.GuildPng, err = NewGameGuildPng(buf); err != nil { - return nil, err - } - if buf, err = loader("game_guildactivity"); err != nil { - return nil, err - } - if tables.GuildActivity, err = NewGameGuildActivity(buf); err != nil { - return nil, err - } - if buf, err = loader("game_guildsign"); err != nil { - return nil, err - } - if tables.GuildSign, err = NewGameGuildSign(buf); err != nil { - return nil, err - } - if buf, err = loader("game_guildtask"); err != nil { - return nil, err - } - if tables.GuildTask, err = NewGameGuildTask(buf); err != nil { - return nil, err - } - if buf, err = loader("game_guildbosstask"); err != nil { - return nil, err - } - if tables.GuildBossTask, err = NewGameGuildBossTask(buf); err != nil { - return nil, err - } - if buf, err = loader("game_trollrule"); err != nil { - return nil, err - } - if tables.TrollRule, err = NewGameTrollRule(buf); err != nil { - return nil, err - } - if buf, err = loader("game_trollgoods"); err != nil { - return nil, err - } - if tables.TrollGoods, err = NewGameTrollGoods(buf); err != nil { - return nil, err - } - if buf, err = loader("game_trolltrain"); err != nil { - return nil, err - } - if tables.TrollTrain, err = NewGameTrollTrain(buf); err != nil { - return nil, err - } - if buf, err = loader("game_trolllv"); err != nil { - return nil, err - } - if tables.TrollLv, err = NewGameTrollLv(buf); err != nil { - return nil, err - } - if buf, err = loader("game_trollcoefficient"); err != nil { - return nil, err - } - if tables.TrollCoefficient, err = NewGameTrollCoefficient(buf); err != nil { - return nil, err - } - if buf, err = loader("game_horoscope"); err != nil { - return nil, err - } - if tables.Horoscope, err = NewGameHoroscope(buf); err != nil { - return nil, err - } - if buf, err = loader("game_sign"); err != nil { - return nil, err - } - if tables.Sign, err = NewGameSign(buf); err != nil { - return nil, err - } - if buf, err = loader("game_signreset"); err != nil { - return nil, err - } - if tables.SignReset, err = NewGameSignReset(buf); err != nil { - return nil, err - } - if buf, err = loader("game_signextra"); err != nil { - return nil, err - } - if tables.SignExtra, err = NewGameSignExtra(buf); err != nil { - return nil, err - } - if buf, err = loader("game_growtask"); err != nil { - return nil, err - } - if tables.GrowTask, err = NewGameGrowTask(buf); err != nil { - return nil, err - } - if buf, err = loader("game_growreward"); err != nil { - return nil, err - } - if tables.GrowReward, err = NewGameGrowReward(buf); err != nil { - return nil, err - } - if buf, err = loader("game_recharge"); err != nil { - return nil, err - } - if tables.Recharge, err = NewGameRecharge(buf); err != nil { - return nil, err - } - if buf, err = loader("game_privilegecard"); err != nil { - return nil, err - } - if tables.PrivilegeCard, err = NewGamePrivilegeCard(buf); err != nil { - return nil, err - } - if buf, err = loader("game_privilege"); err != nil { - return nil, err - } - if tables.Privilege, err = NewGamePrivilege(buf); err != nil { - return nil, err - } - if buf, err = loader("game_worldtask"); err != nil { - return nil, err - } - if tables.WorldTask, err = NewGameWorldTask(buf); err != nil { - return nil, err - } - if buf, err = loader("game_worldall"); err != nil { - return nil, err - } - if tables.WorldAll, err = NewGameWorldAll(buf); err != nil { - return nil, err - } - if buf, err = loader("game_teaching"); err != nil { - return nil, err - } - if tables.Teaching, err = NewGameTeaching(buf); err != nil { - return nil, err - } - if buf, err = loader("game_herostrategy"); err != nil { - return nil, err - } - if tables.HeroStrategy, err = NewGameHeroStrategy(buf); err != nil { - return nil, err - } - if buf, err = loader("game_fightglobalevent"); err != nil { - return nil, err - } - if tables.FightGlobalEvent, err = NewGameFightGlobalEvent(buf); err != nil { - return nil, err - } - if buf, err = loader("game_paypackage"); err != nil { - return nil, err - } - if tables.PayPackage, err = NewGamePayPackage(buf); err != nil { - return nil, err - } - if buf, err = loader("game_worldbattle"); err != nil { - return nil, err - } - if tables.WorldBattle, err = NewGameWorldBattle(buf); err != nil { - return nil, err - } - if buf, err = loader("game_reddot"); err != nil { - return nil, err - } - if tables.RedDot, err = NewGameRedDot(buf); err != nil { - return nil, err - } - if buf, err = loader("game_reddottalkid"); err != nil { - return nil, err - } - if tables.RedDotTalkid, err = NewGameRedDotTalkid(buf); err != nil { - return nil, err - } - if buf, err = loader("game_reddotgroup"); err != nil { - return nil, err - } - if tables.RedDotGroup, err = NewGameRedDotGroup(buf); err != nil { - return nil, err - } - if buf, err = loader("game_passcheck"); err != nil { - return nil, err - } - if tables.PassCheck, err = NewGamePassCheck(buf); err != nil { - return nil, err - } - if buf, err = loader("game_mail"); err != nil { - return nil, err - } - if tables.Mail, err = NewGameMail(buf); err != nil { - return nil, err - } - if buf, err = loader("game_combatlevel"); err != nil { - return nil, err - } - if tables.CombatLevel, err = NewGameCombatLevel(buf); err != nil { - return nil, err - } - if buf, err = loader("game_combatmanster"); err != nil { - return nil, err - } - if tables.CombatManster, err = NewGameCombatManster(buf); err != nil { - return nil, err - } - if buf, err = loader("game_combatbox"); err != nil { - return nil, err - } - if tables.CombatBox, err = NewGameCombatBox(buf); err != nil { - return nil, err - } - if buf, err = loader("game_help"); err != nil { - return nil, err - } - if tables.Help, err = NewGameHelp(buf); err != nil { - return nil, err - } - if buf, err = loader("game_gm"); err != nil { - return nil, err - } - if tables.GM, err = NewGameGM(buf); err != nil { - return nil, err - } - if buf, err = loader("game_guide"); err != nil { - return nil, err - } - if tables.Guide, err = NewGameGuide(buf); err != nil { - return nil, err - } - if buf, err = loader("game_vip"); err != nil { - return nil, err - } - if tables.Vip, err = NewGameVip(buf); err != nil { - return nil, err - } - if buf, err = loader("game_enchantshop"); err != nil { - return nil, err - } - if tables.EnchantShop, err = NewGameEnchantShop(buf); err != nil { - return nil, err - } - if buf, err = loader("game_enchantboss"); err != nil { - return nil, err - } - if tables.EnchantBoss, err = NewGameEnchantBoss(buf); err != nil { - return nil, err - } - if buf, err = loader("game_enchantlineup"); err != nil { - return nil, err - } - if tables.EnchantLineup, err = NewGameEnchantLineup(buf); err != nil { - return nil, err - } - if buf, err = loader("game_mainchapter"); err != nil { - return nil, err - } - if tables.MainChapter, err = NewGameMainChapter(buf); err != nil { - return nil, err - } - if buf, err = loader("game_mainstage"); err != nil { - return nil, err - } - if tables.MainStage, err = NewGameMainStage(buf); err != nil { - return nil, err - } - if buf, err = loader("game_mainstarreward"); err != nil { - return nil, err - } - if tables.MainStarreward, err = NewGameMainStarreward(buf); err != nil { - return nil, err - } - if buf, err = loader("game_mainstartype"); err != nil { - return nil, err - } - if tables.MainStartype, err = NewGameMainStartype(buf); err != nil { - return nil, err - } - if buf, err = loader("game_battletasktesting"); err != nil { - return nil, err - } - if tables.Battletasktesting, err = NewGameBattletasktesting(buf); err != nil { - return nil, err - } - if buf, err = loader("game_battleready"); err != nil { - return nil, err - } - if tables.BattleReady, err = NewGameBattleReady(buf); err != nil { - return nil, err - } - if buf, err = loader("game_battleready_capskill"); err != nil { - return nil, err - } - if tables.Battleready_capskill, err = NewGameBattleready_capskill(buf); err != nil { - return nil, err - } - if buf, err = loader("game_newsmithy"); err != nil { - return nil, err - } - if tables.NewSmithy, err = NewGameNewSmithy(buf); err != nil { - return nil, err - } - if buf, err = loader("game_smithyproficiency"); err != nil { - return nil, err - } - if tables.SmithyProficiency, err = NewGameSmithyProficiency(buf); err != nil { - return nil, err - } - if buf, err = loader("game_smithystovev1"); err != nil { - return nil, err - } - if tables.SmithyStoveV1, err = NewGameSmithyStoveV1(buf); err != nil { - return nil, err - } - if buf, err = loader("game_smithytool"); err != nil { - return nil, err - } - if tables.SmithyTool, err = NewGameSmithyTool(buf); err != nil { - return nil, err - } - if buf, err = loader("game_smithyidtool"); err != nil { - return nil, err - } - if tables.SmithyIdTool, err = NewGameSmithyIdTool(buf); err != nil { - return nil, err - } - if buf, err = loader("game_smithycustomer"); err != nil { - return nil, err - } - if tables.SmithyCustomer, err = NewGameSmithyCustomer(buf); err != nil { - return nil, err - } - if buf, err = loader("game_smithymodelpool"); err != nil { - return nil, err - } - if tables.SmithyModelPool, err = NewGameSmithyModelPool(buf); err != nil { - return nil, err - } - if buf, err = loader("game_smithyatlas"); err != nil { - return nil, err - } - if tables.SmithyAtlas, err = NewGameSmithyAtlas(buf); err != nil { - return nil, err - } - if buf, err = loader("game_smithyatlaslv"); err != nil { - return nil, err - } - if tables.SmithyAtlasLv, err = NewGameSmithyAtlasLv(buf); err != nil { - return nil, err - } - if buf, err = loader("game_smithyatlasscore"); err != nil { - return nil, err - } - if tables.SmithyAtlasScore, err = NewGameSmithyAtlasScore(buf); err != nil { - return nil, err - } - if buf, err = loader("game_smithymake"); err != nil { - return nil, err - } - if tables.SmithyMake, err = NewGameSmithyMake(buf); err != nil { - return nil, err - } - if buf, err = loader("game_smithytask"); err != nil { - return nil, err - } - if tables.SmithyTask, err = NewGameSmithyTask(buf); err != nil { - return nil, err - } - if buf, err = loader("game_dispatch_task"); err != nil { - return nil, err - } - if tables.Dispatch_Task, err = NewGameDispatch_Task(buf); err != nil { - return nil, err - } - if buf, err = loader("game_dispatch_lv"); err != nil { - return nil, err - } - if tables.Dispatch_Lv, err = NewGameDispatch_Lv(buf); err != nil { - return nil, err - } - if buf, err = loader("game_dispatch_battle"); err != nil { - return nil, err - } - if tables.Dispatch_Battle, err = NewGameDispatch_Battle(buf); err != nil { - return nil, err - } - if buf, err = loader("game_pandamasmz"); err != nil { - return nil, err - } - if tables.PandamasMz, err = NewGamePandamasMz(buf); err != nil { - return nil, err - } - if buf, err = loader("game_pandamasjs"); err != nil { - return nil, err - } - if tables.PandamasJs, err = NewGamePandamasJs(buf); err != nil { - return nil, err - } - if buf, err = loader("game_pandamasjx"); err != nil { - return nil, err - } - if tables.PandamasJx, err = NewGamePandamasJx(buf); err != nil { - return nil, err - } - if buf, err = loader("game_pandamasmryl"); err != nil { - return nil, err - } - if tables.PandamasMryl, err = NewGamePandamasMryl(buf); err != nil { - return nil, err - } - if buf, err = loader("game_pandamasbuff"); err != nil { - return nil, err - } - if tables.PandamasBuff, err = NewGamePandamasBuff(buf); err != nil { - return nil, err - } - if buf, err = loader("game_pandamastj"); err != nil { - return nil, err - } - if tables.PandamasTj, err = NewGamePandamasTj(buf); err != nil { - return nil, err - } - if buf, err = loader("game_pandamastjjl"); err != nil { - return nil, err - } - if tables.PandamasTjjl, err = NewGamePandamasTjjl(buf); err != nil { - return nil, err - } - if buf, err = loader("game_pandamasyxjx"); err != nil { - return nil, err - } - if tables.PandamasYxjx, err = NewGamePandamasYxjx(buf); err != nil { - return nil, err - } - if buf, err = loader("game_bubblegroup"); err != nil { - return nil, err - } - if tables.BubbleGroup, err = NewGameBubbleGroup(buf); err != nil { - return nil, err - } - if buf, err = loader("game_breakingbad"); err != nil { - return nil, err - } - if tables.Breakingbad, err = NewGameBreakingbad(buf); err != nil { - return nil, err - } - if buf, err = loader("game_breakingbadtag"); err != nil { - return nil, err - } - if tables.BreakingbadTag, err = NewGameBreakingbadTag(buf); err != nil { - return nil, err - } - if buf, err = loader("game_potions"); err != nil { - return nil, err - } - if tables.Potions, err = NewGamePotions(buf); err != nil { - return nil, err - } - if buf, err = loader("game_sellcoefficient"); err != nil { - return nil, err - } - if tables.SellCoefficient, err = NewGameSellCoefficient(buf); err != nil { - return nil, err - } - if buf, err = loader("game_lottery"); err != nil { - return nil, err - } - if tables.Lottery, err = NewGameLottery(buf); err != nil { - return nil, err - } - - if buf, err = loader("game_pricegroup"); err != nil { - return nil, err - } - if tables.Pricegroup, err = NewGamePricegroup(buf); err != nil { - return nil, err - } - return tables, nil + tables := &Tables{} + if buf, err = loader("game_global") ; err != nil { + return nil, err + } + if tables.Global, err = NewGameGlobal(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_extservers") ; err != nil { + return nil, err + } + if tables.Extservers, err = NewGameExtservers(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_skillatk") ; err != nil { + return nil, err + } + if tables.SkillAtk, err = NewGameSkillAtk(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_skillafteratk") ; err != nil { + return nil, err + } + if tables.SkillAfteratk, err = NewGameSkillAfteratk(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_skillbuff") ; err != nil { + return nil, err + } + if tables.SkillBuff, err = NewGameSkillBuff(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_skillpassive") ; err != nil { + return nil, err + } + if tables.SkillPassive, err = NewGameSkillPassive(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_hero") ; err != nil { + return nil, err + } + if tables.Hero, err = NewGameHero(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_herostargrow") ; err != nil { + return nil, err + } + if tables.HeroStargrow, err = NewGameHeroStargrow(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_herolevelgrow") ; err != nil { + return nil, err + } + if tables.HeroLevelgrow, err = NewGameHeroLevelgrow(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_herostarup") ; err != nil { + return nil, err + } + if tables.HeroStarup, err = NewGameHeroStarup(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_heroskill") ; err != nil { + return nil, err + } + if tables.HeroSkill, err = NewGameHeroSkill(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_heroexp") ; err != nil { + return nil, err + } + if tables.HeroExp, err = NewGameHeroExp(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_herolevelup") ; err != nil { + return nil, err + } + if tables.HeroLevelup, err = NewGameHeroLevelup(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_equip") ; err != nil { + return nil, err + } + if tables.Equip, err = NewGameEquip(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_equipattrlibrary") ; err != nil { + return nil, err + } + if tables.EquipAttrlibrary, err = NewGameEquipAttrlibrary(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_equipsuit") ; err != nil { + return nil, err + } + if tables.EquipSuit, err = NewGameEquipSuit(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_equipcolor") ; err != nil { + return nil, err + } + if tables.EquipColor, err = NewGameEquipColor(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_equipintensify") ; err != nil { + return nil, err + } + if tables.EquipIntensify, err = NewGameEquipIntensify(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_equipscompose") ; err != nil { + return nil, err + } + if tables.EquipSCompose, err = NewGameEquipSCompose(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_equipattribute") ; err != nil { + return nil, err + } + if tables.EquipAttribute, err = NewGameEquipAttribute(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_equipenchanting") ; err != nil { + return nil, err + } + if tables.EquipEnchanting, err = NewGameEquipEnchanting(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_item") ; err != nil { + return nil, err + } + if tables.Item, err = NewGameItem(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_heroskilllevel") ; err != nil { + return nil, err + } + if tables.HeroSkillLevel, err = NewGameHeroSkillLevel(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_heroawaken") ; err != nil { + return nil, err + } + if tables.HeroAwaken, err = NewGameHeroAwaken(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_heromethod") ; err != nil { + return nil, err + } + if tables.HeroMethod, err = NewGameHeroMethod(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_heromethodcomment") ; err != nil { + return nil, err + } + if tables.HeroMethodComment, err = NewGameHeroMethodComment(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_shop") ; err != nil { + return nil, err + } + if tables.Shop, err = NewGameShop(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_shopitem") ; err != nil { + return nil, err + } + if tables.Shopitem, err = NewGameShopitem(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_activereward") ; err != nil { + return nil, err + } + if tables.ActiveReward, err = NewGameActiveReward(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_model") ; err != nil { + return nil, err + } + if tables.Model, err = NewGameModel(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_drawcard") ; err != nil { + return nil, err + } + if tables.DrawCard, err = NewGameDrawCard(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_chatchannel") ; err != nil { + return nil, err + } + if tables.ChatChannel, err = NewGameChatChannel(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_chatsystem") ; err != nil { + return nil, err + } + if tables.ChatSystem, err = NewGameChatSystem(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_chatservergroup") ; err != nil { + return nil, err + } + if tables.ChatServerGroup, err = NewGameChatServerGroup(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_chatchannelcom") ; err != nil { + return nil, err + } + if tables.ChatChannelCom, err = NewGameChatChannelCom(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_chatexpression") ; err != nil { + return nil, err + } + if tables.ChatExpression, err = NewGameChatExpression(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_taskround") ; err != nil { + return nil, err + } + if tables.TaskRound, err = NewGameTaskRound(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_taskactivereward") ; err != nil { + return nil, err + } + if tables.TaskActiveReward, err = NewGameTaskActiveReward(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_coin") ; err != nil { + return nil, err + } + if tables.Coin, err = NewGameCoin(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_initial") ; err != nil { + return nil, err + } + if tables.Initial, err = NewGameInitial(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_monster") ; err != nil { + return nil, err + } + if tables.Monster, err = NewGameMonster(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_equippos") ; err != nil { + return nil, err + } + if tables.EquipPos, err = NewGameEquipPos(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_playerlv") ; err != nil { + return nil, err + } + if tables.Playerlv, err = NewGamePlayerlv(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_facemod") ; err != nil { + return nil, err + } + if tables.Facemod, err = NewGameFacemod(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_msgdistrib") ; err != nil { + return nil, err + } + if tables.Msgdistrib, err = NewGameMsgdistrib(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_opencond") ; err != nil { + return nil, err + } + if tables.Opencond, err = NewGameOpencond(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_pagoda") ; err != nil { + return nil, err + } + if tables.Pagoda, err = NewGamePagoda(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_pagodataskreward") ; err != nil { + return nil, err + } + if tables.PagodaTaskReward, err = NewGamePagodaTaskReward(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_rdtaskcondi") ; err != nil { + return nil, err + } + if tables.RdtaskCondi, err = NewGameRdtaskCondi(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_rdtasknpc") ; err != nil { + return nil, err + } + if tables.RdtaskNpc, err = NewGameRdtaskNpc(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_gourmet") ; err != nil { + return nil, err + } + if tables.Gourmet, err = NewGameGourmet(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_drop") ; err != nil { + return nil, err + } + if tables.Drop, err = NewGameDrop(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_vikingboss") ; err != nil { + return nil, err + } + if tables.VikingBoss, err = NewGameVikingBoss(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_vikingchallenge") ; err != nil { + return nil, err + } + if tables.VikingChallenge, err = NewGameVikingChallenge(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_vikinglineup") ; err != nil { + return nil, err + } + if tables.VikingLineup, err = NewGameVikingLineup(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_vikingentrance") ; err != nil { + return nil, err + } + if tables.VikingEntrance, err = NewGameVikingEntrance(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_dreamlandboos") ; err != nil { + return nil, err + } + if tables.DreamlandBoos, err = NewGameDreamlandBoos(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_dreamlandchallenge") ; err != nil { + return nil, err + } + if tables.DreamlandChallenge, err = NewGameDreamlandChallenge(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_dreamlandtrigger") ; err != nil { + return nil, err + } + if tables.DreamlandTrigger, err = NewGameDreamlandTrigger(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_huntingboss") ; err != nil { + return nil, err + } + if tables.HuntingBoss, err = NewGameHuntingBoss(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_huntingchallenge") ; err != nil { + return nil, err + } + if tables.HuntingChallenge, err = NewGameHuntingChallenge(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_huntingopentime") ; err != nil { + return nil, err + } + if tables.HuntingOpenTime, err = NewGameHuntingOpenTime(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_huntinglineup") ; err != nil { + return nil, err + } + if tables.HuntingLineup, err = NewGameHuntingLineup(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_monsterformat") ; err != nil { + return nil, err + } + if tables.MonsterFormat, err = NewGameMonsterFormat(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_getresource") ; err != nil { + return nil, err + } + if tables.GetResource, err = NewGameGetResource(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_vikingbossskill") ; err != nil { + return nil, err + } + if tables.VikingBossSkill, err = NewGameVikingBossSkill(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_libraryfetter") ; err != nil { + return nil, err + } + if tables.LibraryFetter, err = NewGameLibraryFetter(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_librarystory") ; err != nil { + return nil, err + } + if tables.LibraryStory, err = NewGameLibraryStory(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_libraryhero") ; err != nil { + return nil, err + } + if tables.LibraryHero, err = NewGameLibraryHero(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_libraryhistory") ; err != nil { + return nil, err + } + if tables.LibraryHistory, err = NewGameLibraryHistory(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_librarycomplot") ; err != nil { + return nil, err + } + if tables.LibraryComplot, err = NewGameLibraryComplot(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_libraryfavor") ; err != nil { + return nil, err + } + if tables.LibraryFavor, err = NewGameLibraryFavor(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_libraryfavorlv") ; err != nil { + return nil, err + } + if tables.LibraryFavorlv, err = NewGameLibraryFavorlv(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_librarybubble") ; err != nil { + return nil, err + } + if tables.LibraryBubble, err = NewGameLibraryBubble(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_libraryplayback") ; err != nil { + return nil, err + } + if tables.LibraryPlayBack, err = NewGameLibraryPlayBack(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_robot") ; err != nil { + return nil, err + } + if tables.Robot, err = NewGameRobot(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_namelibrary") ; err != nil { + return nil, err + } + if tables.NameLibrary, err = NewGameNameLibrary(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_heroconvertdata") ; err != nil { + return nil, err + } + if tables.HeroConvertdata, err = NewGameHeroConvertdata(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_linestorytimeline") ; err != nil { + return nil, err + } + if tables.LinestoryTimeLine, err = NewGameLinestoryTimeLine(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_linestorymaintask") ; err != nil { + return nil, err + } + if tables.LinestoryMainTask, err = NewGameLinestoryMainTask(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_herofusion") ; err != nil { + return nil, err + } + if tables.Herofusion, err = NewGameHerofusion(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_playerinfor") ; err != nil { + return nil, err + } + if tables.PlayerInfor, err = NewGamePlayerInfor(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_herotalent") ; err != nil { + return nil, err + } + if tables.HeroTalent, err = NewGameHeroTalent(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_talentskill") ; err != nil { + return nil, err + } + if tables.TalentSkill, err = NewGameTalentSkill(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_arenabuychallenge") ; err != nil { + return nil, err + } + if tables.ArenaBuyChallenge, err = NewGameArenaBuyChallenge(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_arenaactivereward") ; err != nil { + return nil, err + } + if tables.ArenaActiveReward, err = NewGameArenaActiveReward(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_arenarobot") ; err != nil { + return nil, err + } + if tables.ArenaRobot, err = NewGameArenaRobot(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_arenarankreward") ; err != nil { + return nil, err + } + if tables.ArenaRankReward, err = NewGameArenaRankReward(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_arenachallengenpc") ; err != nil { + return nil, err + } + if tables.ArenaChallengeNpc, err = NewGameArenaChallengeNpc(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_itembox") ; err != nil { + return nil, err + } + if tables.ItemBox, err = NewGameItemBox(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_show") ; err != nil { + return nil, err + } + if tables.Show, err = NewGameShow(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_guildlv") ; err != nil { + return nil, err + } + if tables.GuildLv, err = NewGameGuildLv(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_guildpng") ; err != nil { + return nil, err + } + if tables.GuildPng, err = NewGameGuildPng(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_guildactivity") ; err != nil { + return nil, err + } + if tables.GuildActivity, err = NewGameGuildActivity(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_guildsign") ; err != nil { + return nil, err + } + if tables.GuildSign, err = NewGameGuildSign(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_guildtask") ; err != nil { + return nil, err + } + if tables.GuildTask, err = NewGameGuildTask(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_guildbosstask") ; err != nil { + return nil, err + } + if tables.GuildBossTask, err = NewGameGuildBossTask(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_trollrule") ; err != nil { + return nil, err + } + if tables.TrollRule, err = NewGameTrollRule(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_trollgoods") ; err != nil { + return nil, err + } + if tables.TrollGoods, err = NewGameTrollGoods(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_trolltrain") ; err != nil { + return nil, err + } + if tables.TrollTrain, err = NewGameTrollTrain(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_trolllv") ; err != nil { + return nil, err + } + if tables.TrollLv, err = NewGameTrollLv(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_trollcoefficient") ; err != nil { + return nil, err + } + if tables.TrollCoefficient, err = NewGameTrollCoefficient(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_horoscope") ; err != nil { + return nil, err + } + if tables.Horoscope, err = NewGameHoroscope(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_sign") ; err != nil { + return nil, err + } + if tables.Sign, err = NewGameSign(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_signreset") ; err != nil { + return nil, err + } + if tables.SignReset, err = NewGameSignReset(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_signextra") ; err != nil { + return nil, err + } + if tables.SignExtra, err = NewGameSignExtra(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_growtask") ; err != nil { + return nil, err + } + if tables.GrowTask, err = NewGameGrowTask(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_growreward") ; err != nil { + return nil, err + } + if tables.GrowReward, err = NewGameGrowReward(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_recharge") ; err != nil { + return nil, err + } + if tables.Recharge, err = NewGameRecharge(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_privilegecard") ; err != nil { + return nil, err + } + if tables.PrivilegeCard, err = NewGamePrivilegeCard(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_privilege") ; err != nil { + return nil, err + } + if tables.Privilege, err = NewGamePrivilege(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_worldtask") ; err != nil { + return nil, err + } + if tables.WorldTask, err = NewGameWorldTask(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_worldall") ; err != nil { + return nil, err + } + if tables.WorldAll, err = NewGameWorldAll(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_teaching") ; err != nil { + return nil, err + } + if tables.Teaching, err = NewGameTeaching(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_herostrategy") ; err != nil { + return nil, err + } + if tables.HeroStrategy, err = NewGameHeroStrategy(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_fightglobalevent") ; err != nil { + return nil, err + } + if tables.FightGlobalEvent, err = NewGameFightGlobalEvent(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_paypackage") ; err != nil { + return nil, err + } + if tables.PayPackage, err = NewGamePayPackage(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_worldbattle") ; err != nil { + return nil, err + } + if tables.WorldBattle, err = NewGameWorldBattle(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_reddot") ; err != nil { + return nil, err + } + if tables.RedDot, err = NewGameRedDot(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_reddottalkid") ; err != nil { + return nil, err + } + if tables.RedDotTalkid, err = NewGameRedDotTalkid(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_reddotgroup") ; err != nil { + return nil, err + } + if tables.RedDotGroup, err = NewGameRedDotGroup(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_passcheck") ; err != nil { + return nil, err + } + if tables.PassCheck, err = NewGamePassCheck(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_mail") ; err != nil { + return nil, err + } + if tables.Mail, err = NewGameMail(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_combatlevel") ; err != nil { + return nil, err + } + if tables.CombatLevel, err = NewGameCombatLevel(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_combatmanster") ; err != nil { + return nil, err + } + if tables.CombatManster, err = NewGameCombatManster(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_combatbox") ; err != nil { + return nil, err + } + if tables.CombatBox, err = NewGameCombatBox(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_help") ; err != nil { + return nil, err + } + if tables.Help, err = NewGameHelp(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_gm") ; err != nil { + return nil, err + } + if tables.GM, err = NewGameGM(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_guide") ; err != nil { + return nil, err + } + if tables.Guide, err = NewGameGuide(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_vip") ; err != nil { + return nil, err + } + if tables.Vip, err = NewGameVip(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_enchantshop") ; err != nil { + return nil, err + } + if tables.EnchantShop, err = NewGameEnchantShop(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_enchantboss") ; err != nil { + return nil, err + } + if tables.EnchantBoss, err = NewGameEnchantBoss(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_enchantlineup") ; err != nil { + return nil, err + } + if tables.EnchantLineup, err = NewGameEnchantLineup(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_mainchapter") ; err != nil { + return nil, err + } + if tables.MainChapter, err = NewGameMainChapter(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_mainstage") ; err != nil { + return nil, err + } + if tables.MainStage, err = NewGameMainStage(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_mainstarreward") ; err != nil { + return nil, err + } + if tables.MainStarreward, err = NewGameMainStarreward(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_mainstartype") ; err != nil { + return nil, err + } + if tables.MainStartype, err = NewGameMainStartype(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_battletasktesting") ; err != nil { + return nil, err + } + if tables.Battletasktesting, err = NewGameBattletasktesting(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_battleready") ; err != nil { + return nil, err + } + if tables.BattleReady, err = NewGameBattleReady(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_battleready_capskill") ; err != nil { + return nil, err + } + if tables.Battleready_capskill, err = NewGameBattleready_capskill(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_newsmithy") ; err != nil { + return nil, err + } + if tables.NewSmithy, err = NewGameNewSmithy(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_smithyproficiency") ; err != nil { + return nil, err + } + if tables.SmithyProficiency, err = NewGameSmithyProficiency(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_smithystovev1") ; err != nil { + return nil, err + } + if tables.SmithyStoveV1, err = NewGameSmithyStoveV1(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_smithytool") ; err != nil { + return nil, err + } + if tables.SmithyTool, err = NewGameSmithyTool(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_smithyidtool") ; err != nil { + return nil, err + } + if tables.SmithyIdTool, err = NewGameSmithyIdTool(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_smithycustomer") ; err != nil { + return nil, err + } + if tables.SmithyCustomer, err = NewGameSmithyCustomer(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_smithymodelpool") ; err != nil { + return nil, err + } + if tables.SmithyModelPool, err = NewGameSmithyModelPool(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_smithyatlas") ; err != nil { + return nil, err + } + if tables.SmithyAtlas, err = NewGameSmithyAtlas(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_smithyatlaslv") ; err != nil { + return nil, err + } + if tables.SmithyAtlasLv, err = NewGameSmithyAtlasLv(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_smithyatlasscore") ; err != nil { + return nil, err + } + if tables.SmithyAtlasScore, err = NewGameSmithyAtlasScore(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_smithymake") ; err != nil { + return nil, err + } + if tables.SmithyMake, err = NewGameSmithyMake(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_smithytask") ; err != nil { + return nil, err + } + if tables.SmithyTask, err = NewGameSmithyTask(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_dispatch_task") ; err != nil { + return nil, err + } + if tables.Dispatch_Task, err = NewGameDispatch_Task(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_dispatch_lv") ; err != nil { + return nil, err + } + if tables.Dispatch_Lv, err = NewGameDispatch_Lv(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_dispatch_battle") ; err != nil { + return nil, err + } + if tables.Dispatch_Battle, err = NewGameDispatch_Battle(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_pandamasmz") ; err != nil { + return nil, err + } + if tables.PandamasMz, err = NewGamePandamasMz(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_pandamasjs") ; err != nil { + return nil, err + } + if tables.PandamasJs, err = NewGamePandamasJs(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_pandamasjx") ; err != nil { + return nil, err + } + if tables.PandamasJx, err = NewGamePandamasJx(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_pandamasmryl") ; err != nil { + return nil, err + } + if tables.PandamasMryl, err = NewGamePandamasMryl(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_pandamasbuff") ; err != nil { + return nil, err + } + if tables.PandamasBuff, err = NewGamePandamasBuff(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_pandamastj") ; err != nil { + return nil, err + } + if tables.PandamasTj, err = NewGamePandamasTj(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_pandamastjjl") ; err != nil { + return nil, err + } + if tables.PandamasTjjl, err = NewGamePandamasTjjl(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_pandamasyxjx") ; err != nil { + return nil, err + } + if tables.PandamasYxjx, err = NewGamePandamasYxjx(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_bubblegroup") ; err != nil { + return nil, err + } + if tables.BubbleGroup, err = NewGameBubbleGroup(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_breakingbad") ; err != nil { + return nil, err + } + if tables.Breakingbad, err = NewGameBreakingbad(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_breakingbadtag") ; err != nil { + return nil, err + } + if tables.BreakingbadTag, err = NewGameBreakingbadTag(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_potions") ; err != nil { + return nil, err + } + if tables.Potions, err = NewGamePotions(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_sellcoefficient") ; err != nil { + return nil, err + } + if tables.SellCoefficient, err = NewGameSellCoefficient(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_lottery") ; err != nil { + return nil, err + } + if tables.Lottery, err = NewGameLottery(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_itinerant_city") ; err != nil { + return nil, err + } + if tables.itinerant_city, err = NewGameitinerant_city(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_itinerant_thing") ; err != nil { + return nil, err + } + if tables.itinerant_thing, err = NewGameitinerant_thing(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_itinerant_lv") ; err != nil { + return nil, err + } + if tables.itinerant_lv, err = NewGameitinerant_lv(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_itinerant_reward") ; err != nil { + return nil, err + } + if tables.itinerant_reward, err = NewGameitinerant_reward(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_newreddot") ; err != nil { + return nil, err + } + if tables.NewRedDot, err = NewGameNewRedDot(buf) ; err != nil { + return nil, err + } + return tables, nil }