diff --git a/bin/json/game_com.json b/bin/json/game_com.json deleted file mode 100644 index 93dac2336..000000000 --- a/bin/json/game_com.json +++ /dev/null @@ -1,146 +0,0 @@ -[ - { - "max_char": 100, - "task_reset": 8, - "init_gold": 100000, - "init_hero": [ - 15001, - 25001 - ], - "cameramin": [ - 0, - 0, - 0 - ], - "max_getreward": [ - 10002, - 99 - ], - "cameramax": [ - -1.53, - 1.1, - -8 - ], - "heroshownum": 2, - "equipsuitsum": [ - 4, - 4, - 4, - 4, - 2, - 2 - ], - "friend_maxnum": 50, - "friend_minnum": 0, - "friend_maxgetnum": 20, - "friend_maxsendnum": 50, - "friend_date": 7, - "friend_recordtime": 7, - "friend_black": 50, - "channel_cd_world": 5, - "channel_cd_guild": 3, - "channel_cd_private": 3, - "channel_cd_public": 15, - "channel_lock_icon": 200, - "max_word": 200, - "max_chat": 99, - "max_object": 50, - "load_chat": 10, - "channel_allocation_max": 2000, - "channel_switching_max": 3000, - "draw_toplimit": 9999, - "draw10_star4_max": 8, - "draw10_star5_max": 2, - "draw_floor_star4": 20, - "draw_floor_star5": 100, - "duplicate_removal": 1, - "base_pool_cost": { - "a": "item", - "t": "10018", - "n": 1 - }, - "camp1_pool_cost": { - "a": "item", - "t": "10017", - "n": 1 - }, - "camp2_pool_cost": { - "a": "item", - "t": "10017", - "n": 1 - }, - "camp3_pool_cost": { - "a": "item", - "t": "10017", - "n": 1 - }, - "camp4_pool_cost": { - "a": "item", - "t": "10017", - "n": 1 - }, - "base_pool_10cost": { - "a": "item", - "t": "10018", - "n": 10 - }, - "camp1_pool_10cost": { - "a": "item", - "t": "10017", - "n": 10 - }, - "camp2_pool_10cost": { - "a": "item", - "t": "10017", - "n": 10 - }, - "camp3_pool_10cost": { - "a": "item", - "t": "10017", - "n": 10 - }, - "camp4_pool_10cost": { - "a": "item", - "t": "10017", - "n": 10 - }, - "camp1_pool1": "camp1_pool", - "camp2_pool1": "camp2_pool", - "camp3_pool1": "camp3_pool", - "camp4_pool1": "camp4_pool", - "base_pool1": { - "s": 1, - "e": 60, - "p": "base_pool1" - }, - "base_pool2": { - "s": 61, - "e": 200, - "p": "base_pool2" - }, - "base_pool3": { - "s": 201, - "e": 1000, - "p": "base_pool3" - }, - "base_pool4": { - "s": 1000, - "e": 99999999, - "p": "base_pool4" - }, - "base_pool_star3": 9000, - "base_pool_star4": 900, - "base_pool_star5": 100, - "camp_pool_star3": 9000, - "camp_pool_star4": 900, - "camp_pool_star5": 100, - "gourmet": 3600, - "smithy_maxplayer": 20, - "smithy_maxtime": 36000, - "chat_expression_small": [ - "lt_bq_icon001,lt_bq_icon002,lt_bq_icon003,lt_bq_icon004,lt_bq_icon005,lt_bq_icon006,lt_bq_icon007,lt_bq_icon008,lt_bq_icon009,lt_bq_icon010,lt_bq_icon011,lt_bq_icon012" - ], - "viking_num": 10, - "kungfu_time": 30 - } -] \ No newline at end of file diff --git a/bin/json/game_hero.json b/bin/json/game_hero.json index 483952857..5f0c7a0b6 100644 --- a/bin/json/game_hero.json +++ b/bin/json/game_hero.json @@ -3153,7 +3153,7 @@ "hid": "51001", "name": { "key": "hero_51001", - "text": "啵啵星人(新增)" + "text": "啵啵星人 " }, "star": 2, "color": 1, @@ -3195,7 +3195,7 @@ "hid": "51002", "name": { "key": "hero_51002", - "text": "埃雷特手下1号(新增)" + "text": "埃雷特手下1号 " }, "star": 2, "color": 1, @@ -3237,7 +3237,7 @@ "hid": "51003", "name": { "key": "hero_51003", - "text": "埃雷特手下2号(新增)" + "text": "埃雷特手下2号 " }, "star": 2, "color": 1, @@ -3279,7 +3279,7 @@ "hid": "51004", "name": { "key": "hero_51004", - "text": "豺狼小怪(新增)" + "text": "豺狼小怪 " }, "star": 2, "color": 1, @@ -3321,7 +3321,7 @@ "hid": "51005", "name": { "key": "hero_51005", - "text": "犀牛守卫(新增)" + "text": "犀牛守卫 " }, "star": 2, "color": 1, @@ -3363,7 +3363,7 @@ "hid": "51006", "name": { "key": "hero_51006", - "text": "香塔尔 杜布瓦队长手下1号(新增)" + "text": "香塔尔 杜布瓦队长手下1号 " }, "star": 2, "color": 1, @@ -3405,7 +3405,7 @@ "hid": "51007", "name": { "key": "hero_51007", - "text": "香塔尔 杜布瓦队长手下2号(新增)" + "text": "香塔尔 杜布瓦队长手下2号 " }, "star": 2, "color": 1, @@ -3447,7 +3447,7 @@ "hid": "51008", "name": { "key": "hero_51008", - "text": "香塔尔 杜布瓦队长手下3号(新增)" + "text": "香塔尔 杜布瓦队长手下3号 " }, "star": 2, "color": 1, @@ -3489,7 +3489,7 @@ "hid": "51009", "name": { "key": "hero_51009", - "text": "香塔尔 杜布瓦队长手下4号(新增)" + "text": "香塔尔 杜布瓦队长手下4号 " }, "star": 2, "color": 1, @@ -3531,7 +3531,7 @@ "hid": "51010", "name": { "key": "hero_51010", - "text": "警卫1号(新增)" + "text": "警卫1号 " }, "star": 2, "color": 1, @@ -3573,7 +3573,7 @@ "hid": "51011", "name": { "key": "hero_51011", - "text": "警卫2号(新增)" + "text": "警卫2号 " }, "star": 2, "color": 1, @@ -3615,7 +3615,7 @@ "hid": "51012", "name": { "key": "hero_51012", - "text": "小猴子(新增)" + "text": "小猴子 " }, "star": 2, "color": 1, @@ -3657,7 +3657,7 @@ "hid": "51013", "name": { "key": "hero_51013", - "text": "巨怪啰啰(新增)" + "text": "巨怪啰啰 " }, "star": 2, "color": 1, @@ -3699,7 +3699,7 @@ "hid": "51014", "name": { "key": "hero_51014", - "text": "博啃族宫廷守卫(新增)" + "text": "博啃族宫廷守卫 " }, "star": 2, "color": 1, @@ -3737,11 +3737,53 @@ "enteranivalue": 0, "camerainterval": 0 }, + { + "hid": "54001", + "name": { + "key": "hero_52001", + "text": "致命纳得" + }, + "star": 4, + "color": 1, + "race": 4, + "job": 1, + "type": 5, + "handbook": 0, + "prefab": 54001, + "rotation": "0|0|0", + "icon": 54001, + "vocal": "54001", + "tujing": [ + 1 + ], + "intr": { + "key": "", + "text": "" + }, + "events": "hero_54001", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "hero_55100", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, { "hid": "53001", "name": { "key": "hero_53001", - "text": "埃雷特(新增)" + "text": "埃雷特 " }, "star": 3, "color": 2, @@ -3783,7 +3825,7 @@ "hid": "53002", "name": { "key": "hero_53002", - "text": "豺狼头领(新增)" + "text": "豺狼头领 " }, "star": 3, "color": 2, @@ -3825,7 +3867,7 @@ "hid": "53003", "name": { "key": "hero_53003", - "text": "豪猪大师(翡翠僵尸)(新增)" + "text": "豪猪大师(翡翠僵尸) " }, "star": 3, "color": 2, @@ -3867,7 +3909,7 @@ "hid": "53004", "name": { "key": "hero_53004", - "text": "双獾大师(翡翠僵尸)(新增)" + "text": "双獾大师(翡翠僵尸) " }, "star": 3, "color": 2, @@ -3909,7 +3951,7 @@ "hid": "53005", "name": { "key": "hero_53005", - "text": "小猴子首领(新增)" + "text": "小猴子首领 " }, "star": 3, "color": 2, @@ -3951,7 +3993,7 @@ "hid": "53006", "name": { "key": "hero_53006", - "text": "巨怪首领(新增)" + "text": "巨怪首领 " }, "star": 3, "color": 2, @@ -3993,7 +4035,7 @@ "hid": "55001", "name": { "key": "hero_55001", - "text": "香塔尔 杜布瓦队长" + "text": "火龙" }, "star": 5, "color": 4, @@ -4035,7 +4077,7 @@ "hid": "55002", "name": { "key": "hero_55002", - "text": "亨得利克斯(新增)" + "text": "巨型猩猩怪兽" }, "star": 5, "color": 4, @@ -4077,7 +4119,7 @@ "hid": "55003", "name": { "key": "hero_55003", - "text": "巨型猩猩怪兽(新增)" + "text": "黑龙王" }, "star": 5, "color": 4, @@ -4119,7 +4161,7 @@ "hid": "55004", "name": { "key": "hero_55004", - "text": "白龙王" + "text": "大厨" }, "star": 5, "color": 4, @@ -4161,7 +4203,7 @@ "hid": "55005", "name": { "key": "hero_55005", - "text": "大厨(新增)" + "text": "火焰泰坦" }, "star": 5, "color": 4, @@ -4203,7 +4245,7 @@ "hid": "55006", "name": { "key": "hero_55006", - "text": "德雷格(新增)" + "text": "森林泰坦" }, "star": 5, "color": 4, @@ -4245,7 +4287,7 @@ "hid": "55007", "name": { "key": "hero_55007", - "text": "莫甘娜巨怪" + "text": "冰霜泰坦" }, "star": 5, "color": 4, @@ -4283,48 +4325,6 @@ "enteranivalue": 0, "camerainterval": 0 }, - { - "hid": "55008", - "name": { - "key": "hero_55008", - "text": "莫甘娜二阶" - }, - "star": 5, - "color": 4, - "race": 4, - "job": 2, - "type": 5, - "handbook": -1, - "prefab": 55008, - "rotation": "0|0|0", - "icon": 55008, - "vocal": "55008", - "tujing": [ - 1 - ], - "intr": { - "key": "", - "text": "" - }, - "events": "hero_55008", - "cite": "", - "effectstay": [], - "hpspace": { - "x": 0, - "y": 0, - "z": 0 - }, - "skill": 190011000, - "skill1": 190012000, - "skill2": 190013000, - "skill3": 190014000, - "txt": { - "key": "hero_55114", - "text": "" - }, - "enteranivalue": 0, - "camerainterval": 0 - }, { "hid": "11001", "name": { @@ -5092,7 +5092,7 @@ "hid": "12003", "name": { "key": "hero_24003", - "text": "睡神沙人" + "text": "黑化波比" }, "star": 5, "color": 4, @@ -5385,5 +5385,2725 @@ }, "enteranivalue": 0, "camerainterval": 0.6 + }, + { + "hid": "63001", + "name": { + "key": "hero_63001", + "text": "黑化闪闪" + }, + "star": 3, + "color": 2, + "race": 1, + "job": 2, + "type": 1, + "handbook": 0, + "prefab": 63001, + "rotation": "", + "icon": 63001, + "vocal": "63001", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "63002", + "name": { + "key": "hero_63002", + "text": "黑化食人鱼先生" + }, + "star": 3, + "color": 2, + "race": 1, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 63002, + "rotation": "", + "icon": 63002, + "vocal": "63002", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "63003", + "name": { + "key": "hero_63003", + "text": "黑化啊啊" + }, + "star": 3, + "color": 2, + "race": 1, + "job": 2, + "type": 1, + "handbook": 0, + "prefab": 63003, + "rotation": "", + "icon": 63003, + "vocal": "63003", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "63004", + "name": { + "key": "hero_63004", + "text": "黑化法夸德勋爵" + }, + "star": 3, + "color": 2, + "race": 1, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 63004, + "rotation": "", + "icon": 63004, + "vocal": "63004", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "63005", + "name": { + "key": "hero_63005", + "text": "黑化大大" + }, + "star": 3, + "color": 2, + "race": 1, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 63005, + "rotation": "", + "icon": 63005, + "vocal": "63005", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "64001", + "name": { + "key": "hero_64001", + "text": "黑化史图依克" + }, + "star": 4, + "color": 3, + "race": 1, + "job": 2, + "type": 1, + "handbook": 0, + "prefab": 64001, + "rotation": "", + "icon": 64001, + "vocal": "64001", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "64002", + "name": { + "key": "hero_64002", + "text": "黑化大龙" + }, + "star": 4, + "color": 3, + "race": 1, + "job": 2, + "type": 1, + "handbook": 0, + "prefab": 64002, + "rotation": "", + "icon": 64002, + "vocal": "64002", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "64003", + "name": { + "key": "hero_64003", + "text": "黑化亚丝翠" + }, + "star": 4, + "color": 3, + "race": 1, + "job": 4, + "type": 1, + "handbook": 0, + "prefab": 64003, + "rotation": "", + "icon": 64003, + "vocal": "64003", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "64004", + "name": { + "key": "hero_64004", + "text": "黑化克莱尔·努涅斯" + }, + "star": 4, + "color": 3, + "race": 1, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 64004, + "rotation": "", + "icon": 64004, + "vocal": "64004", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "64005", + "name": { + "key": "hero_64005", + "text": "黑化鹤大师" + }, + "star": 4, + "color": 3, + "race": 1, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 64005, + "rotation": "", + "icon": 64005, + "vocal": "64005", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "64006", + "name": { + "key": "hero_64006", + "text": "黑化布兰奇" + }, + "star": 4, + "color": 3, + "race": 1, + "job": 4, + "type": 1, + "handbook": 0, + "prefab": 64006, + "rotation": "", + "icon": 64006, + "vocal": "64006", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "64007", + "name": { + "key": "hero_64007", + "text": "黑化格里斯特王子" + }, + "star": 4, + "color": 3, + "race": 1, + "job": 2, + "type": 1, + "handbook": 0, + "prefab": 64007, + "rotation": "", + "icon": 64007, + "vocal": "64007", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "65001", + "name": { + "key": "hero_65001", + "text": "黑化吉姆·莱克" + }, + "star": 5, + "color": 4, + "race": 1, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 65001, + "rotation": "", + "icon": 65001, + "vocal": "65001", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "65002", + "name": { + "key": "hero_65002", + "text": "黑化船长" + }, + "star": 5, + "color": 4, + "race": 1, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 65002, + "rotation": "", + "icon": 65002, + "vocal": "65002", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "65003", + "name": { + "key": "hero_65003", + "text": "黑化希沙窦斯" + }, + "star": 5, + "color": 4, + "race": 1, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 65003, + "rotation": "", + "icon": 65003, + "vocal": "65003", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "65004", + "name": { + "key": "hero_65004", + "text": "黑化小欧" + }, + "star": 5, + "color": 4, + "race": 1, + "job": 4, + "type": 1, + "handbook": 0, + "prefab": 65004, + "rotation": "", + "icon": 65004, + "vocal": "65004", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "73001", + "name": { + "key": "hero_73001", + "text": "黑化斯梅克船长" + }, + "star": 3, + "color": 2, + "race": 2, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 73001, + "rotation": "", + "icon": 73001, + "vocal": "73001", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "73002", + "name": { + "key": "hero_73002", + "text": "黑化警卫队长" + }, + "star": 3, + "color": 2, + "race": 2, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 73002, + "rotation": "", + "icon": 73002, + "vocal": "73002", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "73003", + "name": { + "key": "hero_73003", + "text": "黑化泰德·邓普顿" + }, + "star": 3, + "color": 2, + "race": 2, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 73003, + "rotation": "", + "icon": 73003, + "vocal": "73003", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "73004", + "name": { + "key": "hero_73004", + "text": "黑化吉姆·普雷斯科特" + }, + "star": 3, + "color": 2, + "race": 2, + "job": 4, + "type": 1, + "handbook": 0, + "prefab": 73004, + "rotation": "", + "icon": 73004, + "vocal": "73004", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "74001", + "name": { + "key": "hero_74001", + "text": "黑化警长" + }, + "star": 4, + "color": 3, + "race": 2, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 74001, + "rotation": "", + "icon": 74001, + "vocal": "74001", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "74002", + "name": { + "key": "hero_74002", + "text": "黑化牙仙" + }, + "star": 4, + "color": 3, + "race": 2, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 74002, + "rotation": "", + "icon": 74002, + "vocal": "74002", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "74003", + "name": { + "key": "hero_74003", + "text": "黑化睡神沙人" + }, + "star": 4, + "color": 3, + "race": 2, + "job": 4, + "type": 1, + "handbook": 0, + "prefab": 74003, + "rotation": "", + "icon": 74003, + "vocal": "74003", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "74004", + "name": { + "key": "hero_74004", + "text": "黑化邦尼兔" + }, + "star": 4, + "color": 3, + "race": 2, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 74004, + "rotation": "", + "icon": 74004, + "vocal": "74004", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "74005", + "name": { + "key": "hero_74005", + "text": "黑化金猴" + }, + "star": 4, + "color": 3, + "race": 2, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 74005, + "rotation": "", + "icon": 74005, + "vocal": "74005", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "74006", + "name": { + "key": "hero_74006", + "text": "黑化凯尔" + }, + "star": 4, + "color": 3, + "race": 2, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 74006, + "rotation": "", + "icon": 74006, + "vocal": "74006", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "74007", + "name": { + "key": "hero_74007", + "text": "黑化小钱" + }, + "star": 4, + "color": 3, + "race": 2, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 74007, + "rotation": "", + "icon": 74007, + "vocal": "74007", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "74008", + "name": { + "key": "hero_74008", + "text": "黑化暴芙那特" + }, + "star": 4, + "color": 3, + "race": 2, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 74008, + "rotation": "", + "icon": 74008, + "vocal": "74008", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "74009", + "name": { + "key": "hero_74009", + "text": "黑化云朵先生" + }, + "star": 4, + "color": 3, + "race": 2, + "job": 4, + "type": 1, + "handbook": 0, + "prefab": 74009, + "rotation": "", + "icon": 74009, + "vocal": "74009", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "75001", + "name": { + "key": "hero_75001", + "text": "黑化阿宝" + }, + "star": 5, + "color": 4, + "race": 2, + "job": 2, + "type": 1, + "handbook": 0, + "prefab": 75001, + "rotation": "", + "icon": 75001, + "vocal": "75001", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "75002", + "name": { + "key": "hero_75002", + "text": "黑化沃尔夫先生" + }, + "star": 5, + "color": 4, + "race": 2, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 75002, + "rotation": "", + "icon": 75002, + "vocal": "75002", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "75003", + "name": { + "key": "hero_75003", + "text": "黑化无牙仔" + }, + "star": 5, + "color": 4, + "race": 2, + "job": 4, + "type": 1, + "handbook": 0, + "prefab": 75003, + "rotation": "", + "icon": 75003, + "vocal": "75003", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "75004", + "name": { + "key": "hero_75004", + "text": "黑化波比" + }, + "star": 5, + "color": 4, + "race": 2, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 75004, + "rotation": "", + "icon": 75004, + "vocal": "75004", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "83001", + "name": { + "key": "hero_83001", + "text": "黑化巫嘎" + }, + "star": 3, + "color": 2, + "race": 3, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 83001, + "rotation": "", + "icon": 83001, + "vocal": "83001", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "83002", + "name": { + "key": "hero_83002", + "text": "黑化坦克" + }, + "star": 3, + "color": 2, + "race": 3, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 83002, + "rotation": "", + "icon": 83002, + "vocal": "83002", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "83003", + "name": { + "key": "hero_83003", + "text": "黑化胡德先生" + }, + "star": 3, + "color": 2, + "race": 3, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 83003, + "rotation": "", + "icon": 83003, + "vocal": "83003", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "83004", + "name": { + "key": "hero_83004", + "text": "黑化普鲁格兰杰" + }, + "star": 3, + "color": 2, + "race": 3, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 83004, + "rotation": "", + "icon": 83004, + "vocal": "83004", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "83005", + "name": { + "key": "hero_83005", + "text": "黑化鼻涕粗" + }, + "star": 3, + "color": 2, + "race": 3, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 83005, + "rotation": "", + "icon": 83005, + "vocal": "83005", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "83006", + "name": { + "key": "hero_83006", + "text": "黑化珍妮丝·邓普顿" + }, + "star": 3, + "color": 2, + "race": 3, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 83006, + "rotation": "", + "icon": 83006, + "vocal": "83006", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "84001", + "name": { + "key": "hero_84001", + "text": "黑化贫嘴驴" + }, + "star": 4, + "color": 3, + "race": 3, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 84001, + "rotation": "", + "icon": 84001, + "vocal": "84001", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "84002", + "name": { + "key": "hero_84002", + "text": "黑化蒂姆·邓普顿" + }, + "star": 4, + "color": 3, + "race": 3, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 84002, + "rotation": "", + "icon": 84002, + "vocal": "84002", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "84003", + "name": { + "key": "hero_84003", + "text": "黑化圣诞老人" + }, + "star": 4, + "color": 3, + "race": 3, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 84003, + "rotation": "", + "icon": 84003, + "vocal": "84003", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "84004", + "name": { + "key": "hero_84004", + "text": "黑化瓜哥" + }, + "star": 4, + "color": 3, + "race": 3, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 84004, + "rotation": "", + "icon": 84004, + "vocal": "84004", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "84005", + "name": { + "key": "hero_84005", + "text": "黑化沃尔特·史翠克勒" + }, + "star": 4, + "color": 3, + "race": 3, + "job": 4, + "type": 1, + "handbook": 0, + "prefab": 84005, + "rotation": "", + "icon": 84005, + "vocal": "84005", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "84006", + "name": { + "key": "hero_84006", + "text": "黑化冰霜杰克" + }, + "star": 4, + "color": 3, + "race": 3, + "job": 4, + "type": 1, + "handbook": 0, + "prefab": 84006, + "rotation": "", + "icon": 84006, + "vocal": "84006", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "84007", + "name": { + "key": "hero_84007", + "text": "黑化菲奥娜" + }, + "star": 4, + "color": 3, + "race": 3, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 84007, + "rotation": "", + "icon": 84007, + "vocal": "84007", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "84008", + "name": { + "key": "hero_84008", + "text": "黑化悍夫那特" + }, + "star": 4, + "color": 3, + "race": 3, + "job": 4, + "type": 1, + "handbook": 0, + "prefab": 84008, + "rotation": "", + "icon": 84008, + "vocal": "84008", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "85002", + "name": { + "key": "hero_85002", + "text": "黑化希卡普" + }, + "star": 5, + "color": 4, + "race": 3, + "job": 4, + "type": 1, + "handbook": 0, + "prefab": 85002, + "rotation": "", + "icon": 85002, + "vocal": "85002", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "85003", + "name": { + "key": "hero_85003", + "text": "黑化漆黑" + }, + "star": 5, + "color": 4, + "race": 3, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 85003, + "rotation": "", + "icon": 85003, + "vocal": "85003", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "85004", + "name": { + "key": "hero_85004", + "text": "黑化黛安·福克斯顿" + }, + "star": 5, + "color": 4, + "race": 3, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 85004, + "rotation": "", + "icon": 85004, + "vocal": "85004", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "85005", + "name": { + "key": "hero_85005", + "text": "黑化幸运·普雷斯科特" + }, + "star": 5, + "color": 4, + "race": 3, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 85005, + "rotation": "", + "icon": 85005, + "vocal": "85005", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "85006", + "name": { + "key": "hero_85006", + "text": "黑化平先生" + }, + "star": 5, + "color": 4, + "race": 3, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 85006, + "rotation": "", + "icon": 85006, + "vocal": "85006", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "93001", + "name": { + "key": "hero_93001", + "text": "黑化阿比盖尔·斯通" + }, + "star": 3, + "color": 2, + "race": 4, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 93001, + "rotation": "", + "icon": 93001, + "vocal": "93001", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "93002", + "name": { + "key": "hero_93002", + "text": "黑化果酱教授" + }, + "star": 3, + "color": 2, + "race": 4, + "job": 4, + "type": 1, + "handbook": 0, + "prefab": 93002, + "rotation": "", + "icon": 93002, + "vocal": "93002", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "93003", + "name": { + "key": "hero_93003", + "text": "黑化史蒂夫·帕丘克" + }, + "star": 3, + "color": 2, + "race": 4, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 93003, + "rotation": "", + "icon": 93003, + "vocal": "93003", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "93004", + "name": { + "key": "hero_93004", + "text": "黑化姜饼人" + }, + "star": 3, + "color": 2, + "race": 4, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 93004, + "rotation": "", + "icon": 93004, + "vocal": "93004", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "93005", + "name": { + "key": "hero_93005", + "text": "黑化瓦希尔指挥官" + }, + "star": 3, + "color": 2, + "race": 4, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 93005, + "rotation": "", + "icon": 93005, + "vocal": "93005", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "93006", + "name": { + "key": "hero_93006", + "text": "黑化布里奇特" + }, + "star": 3, + "color": 2, + "race": 4, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 93006, + "rotation": "", + "icon": 93006, + "vocal": "93006", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "93007", + "name": { + "key": "hero_93007", + "text": "黑化戈伯" + }, + "star": 3, + "color": 2, + "race": 4, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 93007, + "rotation": "", + "icon": 93007, + "vocal": "93007", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "94001", + "name": { + "key": "hero_94001", + "text": "黑化美肚鲨" + }, + "star": 4, + "color": 3, + "race": 4, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 94001, + "rotation": "", + "icon": 94001, + "vocal": "94001", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "94002", + "name": { + "key": "hero_94002", + "text": "黑化蛇先生" + }, + "star": 4, + "color": 3, + "race": 4, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 94002, + "rotation": "", + "icon": 94002, + "vocal": "94002", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "94003", + "name": { + "key": "hero_94003", + "text": "黑化匹诺曹" + }, + "star": 4, + "color": 3, + "race": 4, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 94003, + "rotation": "", + "icon": 94003, + "vocal": "94003", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "94004", + "name": { + "key": "hero_94004", + "text": "黑化艾札塔伦" + }, + "star": 4, + "color": 3, + "race": 4, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 94004, + "rotation": "", + "icon": 94004, + "vocal": "94004", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "94006", + "name": { + "key": "hero_94006", + "text": "黑化悍娇虎" + }, + "star": 4, + "color": 3, + "race": 4, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 94006, + "rotation": "", + "icon": 94006, + "vocal": "94006", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "95001", + "name": { + "key": "hero_95001", + "text": "黑化乌龟大师" + }, + "star": 5, + "color": 4, + "race": 4, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 95001, + "rotation": "", + "icon": 95001, + "vocal": "95001", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "95002", + "name": { + "key": "hero_95002", + "text": "黑化梅林" + }, + "star": 5, + "color": 4, + "race": 4, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 95002, + "rotation": "", + "icon": 95002, + "vocal": "95002", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "95003", + "name": { + "key": "hero_95003", + "text": "黑化盖" + }, + "star": 5, + "color": 4, + "race": 4, + "job": 3, + "type": 1, + "handbook": 0, + "prefab": 95003, + "rotation": "", + "icon": 95003, + "vocal": "95003", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 + }, + { + "hid": "95004", + "name": { + "key": "hero_95004", + "text": "黑化穿靴子的猫" + }, + "star": 5, + "color": 4, + "race": 4, + "job": 1, + "type": 1, + "handbook": 0, + "prefab": 95004, + "rotation": "", + "icon": 95004, + "vocal": "95004", + "tujing": [], + "intr": { + "key": "", + "text": "" + }, + "events": "", + "cite": "", + "effectstay": [], + "hpspace": { + "x": 0, + "y": 0, + "z": 0 + }, + "skill": 0, + "skill1": 0, + "skill2": 0, + "skill3": 0, + "txt": { + "key": "", + "text": "" + }, + "enteranivalue": 0, + "camerainterval": 0 } ] \ No newline at end of file diff --git a/bin/json/game_msgdistrib.json b/bin/json/game_msgdistrib.json index 12cc107fa..b8f2453ec 100644 --- a/bin/json/game_msgdistrib.json +++ b/bin/json/game_msgdistrib.json @@ -38,10 +38,5 @@ "msgid": "chat.send", "routrules": "~/worker", "describe": "聊天消息发送" - }, - { - "msgid": "forum.like", - "routrules": "~/worker", - "describe": "论坛点赞入口" } ] \ No newline at end of file diff --git a/bin/json/game_rdtaskall.json b/bin/json/game_rdtask.json similarity index 59% rename from bin/json/game_rdtaskall.json rename to bin/json/game_rdtask.json index d5ce93913..a434e09ea 100644 --- a/bin/json/game_rdtaskall.json +++ b/bin/json/game_rdtask.json @@ -2,21 +2,21 @@ { "id": 1001, "type": 2, - "lasttask": 0, - "rdtasknum": [ + "preTid": 0, + "condition": [ 101 ], - "aftertask": 1002, - "taskcd": 0, - "tag": 1, - "story": 3, - "completetask": 0, - "chooseid": [ + "nextTid": 1002, + "CD": 0, + "objType": 1, + "storyBegin": 3, + "storyEnd": 0, + "chooseId": [ 10001, 1002, 1003 ], - "reword": [ + "reward": [ { "a": "attr", "t": "diamond", @@ -32,22 +32,22 @@ { "id": 1002, "type": 2, - "lasttask": 1001, - "rdtasknum": [ + "preTid": 1001, + "condition": [ 101, 102 ], - "aftertask": 1003, - "taskcd": 0, - "tag": 2, - "story": 3, - "completetask": 0, - "chooseid": [ + "nextTid": 1003, + "CD": 0, + "objType": 2, + "storyBegin": 3, + "storyEnd": 0, + "chooseId": [ 10011, 10012, 10013 ], - "reword": [ + "reward": [ { "a": "attr", "t": "diamond", @@ -63,18 +63,18 @@ { "id": 1003, "type": 2, - "lasttask": 1002, - "rdtasknum": [ + "preTid": 1002, + "condition": [ 101, 103 ], - "aftertask": 1004, - "taskcd": 0, - "tag": 1, - "story": 3, - "completetask": 0, - "chooseid": [], - "reword": [ + "nextTid": 1004, + "CD": 0, + "objType": 1, + "storyBegin": 3, + "storyEnd": 0, + "chooseId": [], + "reward": [ { "a": "attr", "t": "diamond", @@ -90,18 +90,18 @@ { "id": 1004, "type": 2, - "lasttask": 1003, - "rdtasknum": [ + "preTid": 1003, + "condition": [ 101, 103 ], - "aftertask": 1005, - "taskcd": 0, - "tag": 1, - "story": 3, - "completetask": 0, - "chooseid": [], - "reword": [ + "nextTid": 1005, + "CD": 0, + "objType": 1, + "storyBegin": 3, + "storyEnd": 0, + "chooseId": [], + "reward": [ { "a": "attr", "t": "diamond", @@ -117,18 +117,18 @@ { "id": 1005, "type": 2, - "lasttask": 1004, - "rdtasknum": [ + "preTid": 1004, + "condition": [ 104, 105 ], - "aftertask": 1006, - "taskcd": 0, - "tag": 1, - "story": 3, - "completetask": 0, - "chooseid": [], - "reword": [ + "nextTid": 1006, + "CD": 0, + "objType": 1, + "storyBegin": 3, + "storyEnd": 0, + "chooseId": [], + "reward": [ { "a": "attr", "t": "diamond", @@ -144,20 +144,20 @@ { "id": 1006, "type": 2, - "lasttask": 1005, - "rdtasknum": [ + "preTid": 1005, + "condition": [ 106 ], - "aftertask": 0, - "taskcd": 0, - "tag": 1, - "story": 3, - "completetask": 0, - "chooseid": [ + "nextTid": 0, + "CD": 0, + "objType": 1, + "storyBegin": 3, + "storyEnd": 0, + "chooseId": [ 10021, 10022 ], - "reword": [ + "reward": [ { "a": "attr", "t": "diamond", @@ -173,17 +173,17 @@ { "id": 1007, "type": 1, - "lasttask": 0, - "rdtasknum": [ + "preTid": 0, + "condition": [ 107 ], - "aftertask": 1002, - "taskcd": 1, - "tag": 1, - "story": 3, - "completetask": 0, - "chooseid": [], - "reword": [ + "nextTid": 1002, + "CD": 1, + "objType": 1, + "storyBegin": 3, + "storyEnd": 0, + "chooseId": [], + "reward": [ { "a": "attr", "t": "diamond", @@ -199,20 +199,20 @@ { "id": 1008, "type": 1, - "lasttask": 0, - "rdtasknum": [ + "preTid": 0, + "condition": [ 108 ], - "aftertask": 1002, - "taskcd": -1, - "tag": 1, - "story": 3, - "completetask": 0, - "chooseid": [ + "nextTid": 1002, + "CD": -1, + "objType": 1, + "storyBegin": 3, + "storyEnd": 0, + "chooseId": [ 10041, 10042 ], - "reword": [ + "reward": [ { "a": "attr", "t": "diamond", diff --git a/bin/json/game_rdtaskchoose.json b/bin/json/game_rdtaskchoose.json index 19887bb52..821b47d46 100644 --- a/bin/json/game_rdtaskchoose.json +++ b/bin/json/game_rdtaskchoose.json @@ -1,97 +1,97 @@ [ { - "chooseid": 10001, + "id": 10001, "num": 1, - "rdtaksnum": 101, - "need": [ + "preTid": 101, + "needItem": [ 0 ] }, { - "chooseid": 10002, + "id": 10002, "num": 2, - "rdtaksnum": 107, - "need": [ + "preTid": 107, + "needItem": [ 0 ] }, { - "chooseid": 10003, + "id": 10003, "num": 3, - "rdtaksnum": 101, - "need": [ + "preTid": 101, + "needItem": [ 0 ] }, { - "chooseid": 10011, + "id": 10011, "num": 1, - "rdtaksnum": 101, - "need": [ + "preTid": 101, + "needItem": [ 0 ] }, { - "chooseid": 10012, + "id": 10012, "num": 2, - "rdtaksnum": 101, - "need": [ + "preTid": 101, + "needItem": [ 0 ] }, { - "chooseid": 10013, + "id": 10013, "num": 3, - "rdtaksnum": 101, - "need": [ + "preTid": 101, + "needItem": [ 0 ] }, { - "chooseid": 10021, + "id": 10021, "num": 1, - "rdtaksnum": 101, - "need": [ + "preTid": 101, + "needItem": [ 0 ] }, { - "chooseid": 10022, + "id": 10022, "num": 2, - "rdtaksnum": 101, - "need": [ + "preTid": 101, + "needItem": [ 0 ] }, { - "chooseid": 10031, + "id": 10031, "num": 1, - "rdtaksnum": 0, - "need": [ + "preTid": 0, + "needItem": [ 10012 ] }, { - "chooseid": 10032, + "id": 10032, "num": 2, - "rdtaksnum": 0, - "need": [ + "preTid": 0, + "needItem": [ 0 ] }, { - "chooseid": 10041, + "id": 10041, "num": 1, - "rdtaksnum": 0, - "need": [ + "preTid": 0, + "needItem": [ 10010 ] }, { - "chooseid": 10042, + "id": 10042, "num": 2, - "rdtaksnum": 0, - "need": [ + "preTid": 0, + "needItem": [ 0 ] } diff --git a/bin/json/game_rdtaskcondi.json b/bin/json/game_rdtaskcondi.json new file mode 100644 index 000000000..68c73802f --- /dev/null +++ b/bin/json/game_rdtaskcondi.json @@ -0,0 +1,58 @@ +[ + { + "id": 101, + "type": 1, + "data1": 90001, + "data2": 0, + "data3": 0 + }, + { + "id": 102, + "type": 2, + "data1": 3, + "data2": 0, + "data3": 0 + }, + { + "id": 103, + "type": 3, + "data1": 2, + "data2": 0, + "data3": 0 + }, + { + "id": 104, + "type": 4, + "data1": 90001, + "data2": 15, + "data3": 0 + }, + { + "id": 105, + "type": 4, + "data1": 25001, + "data2": 10, + "data3": 0 + }, + { + "id": 106, + "type": 5, + "data1": 90001, + "data2": 2, + "data3": 0 + }, + { + "id": 107, + "type": 4, + "data1": 25001, + "data2": 20, + "data3": 0 + }, + { + "id": 108, + "type": 6, + "data1": 90001, + "data2": 5, + "data3": 0 + } +] \ No newline at end of file diff --git a/bin/json/game_rdtasktype.json b/bin/json/game_rdtasktype.json deleted file mode 100644 index ba552fccf..000000000 --- a/bin/json/game_rdtasktype.json +++ /dev/null @@ -1,74 +0,0 @@ -[ - { - "rdtaksnum": 101, - "typdes": 2, - "datatime": 1, - "typtaskid": 1, - "data1": 90001, - "data2": 0, - "data3": 0 - }, - { - "rdtaksnum": 102, - "typdes": 2, - "datatime": 1, - "typtaskid": 2, - "data1": 3, - "data2": 0, - "data3": 0 - }, - { - "rdtaksnum": 103, - "typdes": 2, - "datatime": 1, - "typtaskid": 3, - "data1": 2, - "data2": 0, - "data3": 0 - }, - { - "rdtaksnum": 104, - "typdes": 2, - "datatime": 1, - "typtaskid": 4, - "data1": 90001, - "data2": 15, - "data3": 0 - }, - { - "rdtaksnum": 105, - "typdes": 2, - "datatime": 1, - "typtaskid": 4, - "data1": 25001, - "data2": 10, - "data3": 0 - }, - { - "rdtaksnum": 106, - "typdes": 2, - "datatime": 1, - "typtaskid": 5, - "data1": 90001, - "data2": 2, - "data3": 0 - }, - { - "rdtaksnum": 107, - "typdes": 2, - "datatime": 1, - "typtaskid": 4, - "data1": 25001, - "data2": 20, - "data3": 0 - }, - { - "rdtaksnum": 108, - "typdes": 2, - "datatime": 1, - "typtaskid": 6, - "data1": 90001, - "data2": 5, - "data3": 0 - } -] \ No newline at end of file diff --git a/bin/json/game_smithy.json b/bin/json/game_smithy.json index 0a070eda6..df730af29 100644 --- a/bin/json/game_smithy.json +++ b/bin/json/game_smithy.json @@ -20,7 +20,7 @@ "n": 1 } ], - "sucess": "1", + "probability": 100, "floors": 1, "dropshow": [ { @@ -44,6 +44,7 @@ "n": 1 } ], + "using": 1, "drop": 1001, "orderneed": [ { @@ -81,7 +82,7 @@ "n": 1 } ], - "sucess": "1", + "probability": 100, "floors": 1, "dropshow": [ { @@ -105,6 +106,7 @@ "n": 1 } ], + "using": 1, "drop": 1002, "orderneed": [ { @@ -142,7 +144,7 @@ "n": 1 } ], - "sucess": "1", + "probability": 80, "floors": 1, "dropshow": [ { @@ -166,6 +168,7 @@ "n": 1 } ], + "using": 1, "drop": 1003, "orderneed": [ { @@ -203,7 +206,7 @@ "n": 1 } ], - "sucess": "0.8", + "probability": 80, "floors": 2, "dropshow": [ { @@ -227,6 +230,7 @@ "n": 1 } ], + "using": 1, "drop": 1004, "orderneed": [ { @@ -264,7 +268,7 @@ "n": 1 } ], - "sucess": "0.7", + "probability": 80, "floors": 3, "dropshow": [ { @@ -288,6 +292,7 @@ "n": 1 } ], + "using": 1, "drop": 1005, "orderneed": [ { @@ -325,7 +330,7 @@ "n": 1 } ], - "sucess": "0.6", + "probability": 80, "floors": 4, "dropshow": [ { @@ -349,6 +354,7 @@ "n": 1 } ], + "using": 1, "drop": 1006, "orderneed": [ { @@ -386,7 +392,7 @@ "n": 1 } ], - "sucess": "0.5", + "probability": 80, "floors": 5, "dropshow": [ { @@ -410,6 +416,7 @@ "n": 1 } ], + "using": 1, "drop": 1007, "orderneed": [ { @@ -447,7 +454,7 @@ "n": 1 } ], - "sucess": "0.4", + "probability": 80, "floors": 5, "dropshow": [ { @@ -471,6 +478,7 @@ "n": 1 } ], + "using": 1, "drop": 1008, "orderneed": [ { @@ -508,7 +516,7 @@ "n": 1 } ], - "sucess": "0.3", + "probability": 80, "floors": 5, "dropshow": [ { @@ -532,6 +540,7 @@ "n": 1 } ], + "using": 1, "drop": 1009, "orderneed": [ { @@ -558,8 +567,8 @@ }, "before": 9, "starupneed": [], - "sucess": "-1", - "floors": -1, + "probability": 80, + "floors": 5, "dropshow": [ { "a": "item", @@ -582,6 +591,7 @@ "n": 1 } ], + "using": 1, "drop": 1010, "orderneed": [ { @@ -619,8 +629,8 @@ "n": 1 } ], - "sucess": "1", - "floors": 1, + "probability": 80, + "floors": 5, "dropshow": [ { "a": "item", @@ -643,6 +653,7 @@ "n": 1 } ], + "using": 1, "drop": 1011, "orderneed": [ { @@ -680,8 +691,8 @@ "n": 1 } ], - "sucess": "1", - "floors": 1, + "probability": 80, + "floors": 5, "dropshow": [ { "a": "item", @@ -704,6 +715,7 @@ "n": 1 } ], + "using": 1, "drop": 1012, "orderneed": [ { @@ -741,8 +753,8 @@ "n": 1 } ], - "sucess": "1", - "floors": 1, + "probability": 80, + "floors": 5, "dropshow": [ { "a": "item", @@ -765,6 +777,7 @@ "n": 1 } ], + "using": 1, "drop": 1013, "orderneed": [ { @@ -802,8 +815,8 @@ "n": 1 } ], - "sucess": "0.8", - "floors": 2, + "probability": 80, + "floors": 5, "dropshow": [ { "a": "item", @@ -826,6 +839,7 @@ "n": 1 } ], + "using": 1, "drop": 1014, "orderneed": [ { @@ -863,8 +877,8 @@ "n": 1 } ], - "sucess": "0.7", - "floors": 3, + "probability": 80, + "floors": 5, "dropshow": [ { "a": "item", @@ -887,6 +901,7 @@ "n": 1 } ], + "using": 1, "drop": 1015, "orderneed": [ { @@ -924,8 +939,8 @@ "n": 1 } ], - "sucess": "0.6", - "floors": 4, + "probability": 80, + "floors": 5, "dropshow": [ { "a": "item", @@ -948,6 +963,7 @@ "n": 1 } ], + "using": 1, "drop": 1016, "orderneed": [ { @@ -985,7 +1001,7 @@ "n": 1 } ], - "sucess": "0.5", + "probability": 80, "floors": 5, "dropshow": [ { @@ -1009,6 +1025,7 @@ "n": 1 } ], + "using": 1, "drop": 1017, "orderneed": [ { @@ -1046,7 +1063,7 @@ "n": 1 } ], - "sucess": "0.4", + "probability": 80, "floors": 5, "dropshow": [ { @@ -1070,6 +1087,7 @@ "n": 1 } ], + "using": 1, "drop": 1018, "orderneed": [ { @@ -1107,7 +1125,7 @@ "n": 1 } ], - "sucess": "0.3", + "probability": 80, "floors": 5, "dropshow": [ { @@ -1131,6 +1149,7 @@ "n": 1 } ], + "using": 1, "drop": 1019, "orderneed": [ { @@ -1157,8 +1176,8 @@ }, "before": 9, "starupneed": [], - "sucess": "-1", - "floors": -1, + "probability": 80, + "floors": 5, "dropshow": [ { "a": "item", @@ -1181,6 +1200,7 @@ "n": 1 } ], + "using": 1, "drop": 1020, "orderneed": [ { @@ -1218,8 +1238,8 @@ "n": 1 } ], - "sucess": "1", - "floors": 1, + "probability": 80, + "floors": 5, "dropshow": [ { "a": "item", @@ -1242,6 +1262,7 @@ "n": 1 } ], + "using": 1, "drop": 1021, "orderneed": [ { @@ -1279,8 +1300,8 @@ "n": 1 } ], - "sucess": "1", - "floors": 1, + "probability": 80, + "floors": 5, "dropshow": [ { "a": "item", @@ -1303,6 +1324,7 @@ "n": 1 } ], + "using": 1, "drop": 1022, "orderneed": [ { @@ -1340,8 +1362,8 @@ "n": 1 } ], - "sucess": "1", - "floors": 1, + "probability": 80, + "floors": 5, "dropshow": [ { "a": "item", @@ -1364,6 +1386,7 @@ "n": 1 } ], + "using": 1, "drop": 1023, "orderneed": [ { @@ -1401,8 +1424,8 @@ "n": 1 } ], - "sucess": "0.8", - "floors": 2, + "probability": 80, + "floors": 5, "dropshow": [ { "a": "item", @@ -1425,6 +1448,7 @@ "n": 1 } ], + "using": 1, "drop": 1024, "orderneed": [ { @@ -1462,8 +1486,8 @@ "n": 1 } ], - "sucess": "0.7", - "floors": 3, + "probability": 80, + "floors": 5, "dropshow": [ { "a": "item", @@ -1486,6 +1510,7 @@ "n": 1 } ], + "using": 1, "drop": 1025, "orderneed": [ { @@ -1523,8 +1548,8 @@ "n": 1 } ], - "sucess": "0.6", - "floors": 4, + "probability": 80, + "floors": 5, "dropshow": [ { "a": "item", @@ -1547,6 +1572,7 @@ "n": 1 } ], + "using": 1, "drop": 1026, "orderneed": [ { @@ -1584,7 +1610,7 @@ "n": 1 } ], - "sucess": "0.5", + "probability": 80, "floors": 5, "dropshow": [ { @@ -1608,6 +1634,7 @@ "n": 1 } ], + "using": 1, "drop": 1027, "orderneed": [ { @@ -1645,7 +1672,7 @@ "n": 1 } ], - "sucess": "0.4", + "probability": 80, "floors": 5, "dropshow": [ { @@ -1669,6 +1696,7 @@ "n": 1 } ], + "using": 1, "drop": 1028, "orderneed": [ { @@ -1706,7 +1734,7 @@ "n": 1 } ], - "sucess": "0.3", + "probability": 80, "floors": 5, "dropshow": [ { @@ -1730,6 +1758,7 @@ "n": 1 } ], + "using": 1, "drop": 1029, "orderneed": [ { @@ -1756,8 +1785,8 @@ }, "before": 9, "starupneed": [], - "sucess": "-1", - "floors": -1, + "probability": 80, + "floors": 5, "dropshow": [ { "a": "item", @@ -1780,6 +1809,7 @@ "n": 1 } ], + "using": 1, "drop": 1030, "orderneed": [ { diff --git a/bin/json/game_smithystove.json b/bin/json/game_smithystove.json index adbf9a946..dfb91fd95 100644 --- a/bin/json/game_smithystove.json +++ b/bin/json/game_smithystove.json @@ -1,6 +1,6 @@ [ { - "id": 1001, + "id": 1, "star": 1, "starshow": { "key": "smithy_name_1001", @@ -19,13 +19,13 @@ "n": 1 } ], - "sucess": "1", + "probability": 100, "floors": 1, "time": 300, "desk": "" }, { - "id": 1002, + "id": 2, "star": 2, "starshow": { "key": "smithy_name_1002", @@ -44,13 +44,13 @@ "n": 1 } ], - "sucess": "1", + "probability": 100, "floors": 1, "time": 300, "desk": "" }, { - "id": 1003, + "id": 3, "star": 3, "starshow": { "key": "smithy_name_1003", @@ -69,13 +69,13 @@ "n": 1 } ], - "sucess": "1", + "probability": 100, "floors": 1, "time": 300, "desk": "" }, { - "id": 1004, + "id": 4, "star": 4, "starshow": { "key": "smithy_name_1004", @@ -94,13 +94,13 @@ "n": 1 } ], - "sucess": "0.8", + "probability": 100, "floors": 2, "time": 300, "desk": "" }, { - "id": 1005, + "id": 5, "star": 5, "starshow": { "key": "smithy_name_1005", @@ -119,13 +119,13 @@ "n": 1 } ], - "sucess": "0.7", + "probability": 100, "floors": 3, "time": 300, "desk": "" }, { - "id": 1006, + "id": 6, "star": 6, "starshow": { "key": "smithy_name_1006", @@ -144,13 +144,13 @@ "n": 1 } ], - "sucess": "0.6", + "probability": 100, "floors": 4, "time": 300, "desk": "" }, { - "id": 1007, + "id": 7, "star": 7, "starshow": { "key": "smithy_name_1007", @@ -169,13 +169,13 @@ "n": 1 } ], - "sucess": "0.5", + "probability": 100, "floors": 5, "time": 300, "desk": "" }, { - "id": 1008, + "id": 8, "star": 8, "starshow": { "key": "smithy_name_1008", @@ -194,13 +194,13 @@ "n": 1 } ], - "sucess": "0.4", + "probability": 100, "floors": 5, "time": 300, "desk": "" }, { - "id": 1009, + "id": 9, "star": 9, "starshow": { "key": "smithy_name_1009", @@ -219,13 +219,13 @@ "n": 1 } ], - "sucess": "0.3", + "probability": 100, "floors": 5, "time": 300, "desk": "" }, { - "id": 1010, + "id": 10, "star": 10, "starshow": { "key": "smithy_name_1010", @@ -233,13 +233,13 @@ }, "before": 9, "starupneed": [], - "sucess": "-1", + "probability": 100, "floors": -1, "time": 300, "desk": "" }, { - "id": 1011, + "id": 11, "star": 11, "starshow": { "key": "smithy_name_1001", @@ -258,13 +258,13 @@ "n": 1 } ], - "sucess": "1", + "probability": 100, "floors": 1, "time": 500, "desk": "" }, { - "id": 1012, + "id": 12, "star": 12, "starshow": { "key": "smithy_name_1002", @@ -283,13 +283,13 @@ "n": 1 } ], - "sucess": "1", + "probability": 100, "floors": 1, "time": 500, "desk": "" }, { - "id": 1013, + "id": 13, "star": 13, "starshow": { "key": "smithy_name_1003", @@ -308,13 +308,13 @@ "n": 1 } ], - "sucess": "1", + "probability": 100, "floors": 1, "time": 500, "desk": "" }, { - "id": 1014, + "id": 14, "star": 14, "starshow": { "key": "smithy_name_1004", @@ -333,13 +333,13 @@ "n": 1 } ], - "sucess": "0.8", + "probability": 100, "floors": 2, "time": 500, "desk": "" }, { - "id": 1015, + "id": 15, "star": 15, "starshow": { "key": "smithy_name_1005", @@ -358,13 +358,13 @@ "n": 1 } ], - "sucess": "0.7", + "probability": 100, "floors": 3, "time": 500, "desk": "" }, { - "id": 1016, + "id": 16, "star": 16, "starshow": { "key": "smithy_name_1006", @@ -383,13 +383,13 @@ "n": 1 } ], - "sucess": "0.6", + "probability": 100, "floors": 4, "time": 500, "desk": "" }, { - "id": 1017, + "id": 17, "star": 17, "starshow": { "key": "smithy_name_1007", @@ -408,13 +408,13 @@ "n": 1 } ], - "sucess": "0.5", + "probability": 100, "floors": 5, "time": 500, "desk": "" }, { - "id": 1018, + "id": 18, "star": 18, "starshow": { "key": "smithy_name_1008", @@ -433,13 +433,13 @@ "n": 1 } ], - "sucess": "0.4", + "probability": 100, "floors": 5, "time": 500, "desk": "" }, { - "id": 1019, + "id": 19, "star": 19, "starshow": { "key": "smithy_name_1009", @@ -458,13 +458,13 @@ "n": 1 } ], - "sucess": "0.3", + "probability": 100, "floors": 5, "time": 500, "desk": "" }, { - "id": 1020, + "id": 20, "star": 20, "starshow": { "key": "smithy_name_1010", @@ -472,13 +472,13 @@ }, "before": 19, "starupneed": [], - "sucess": "-1", + "probability": 100, "floors": -1, "time": 500, "desk": "" }, { - "id": 1021, + "id": 21, "star": 21, "starshow": { "key": "smithy_name_1001", @@ -497,13 +497,13 @@ "n": 1 } ], - "sucess": "1", + "probability": 100, "floors": 1, "time": 1000, "desk": "" }, { - "id": 1022, + "id": 22, "star": 22, "starshow": { "key": "smithy_name_1002", @@ -522,13 +522,13 @@ "n": 1 } ], - "sucess": "1", + "probability": 100, "floors": 1, "time": 1000, "desk": "" }, { - "id": 1023, + "id": 23, "star": 23, "starshow": { "key": "smithy_name_1003", @@ -547,13 +547,13 @@ "n": 1 } ], - "sucess": "1", + "probability": 100, "floors": 1, "time": 1000, "desk": "" }, { - "id": 1024, + "id": 24, "star": 24, "starshow": { "key": "smithy_name_1004", @@ -572,13 +572,13 @@ "n": 1 } ], - "sucess": "0.8", + "probability": 100, "floors": 2, "time": 1000, "desk": "" }, { - "id": 1025, + "id": 25, "star": 25, "starshow": { "key": "smithy_name_1005", @@ -597,13 +597,13 @@ "n": 1 } ], - "sucess": "0.7", + "probability": 100, "floors": 3, "time": 1000, "desk": "" }, { - "id": 1026, + "id": 26, "star": 26, "starshow": { "key": "smithy_name_1006", @@ -622,13 +622,13 @@ "n": 1 } ], - "sucess": "0.6", + "probability": 100, "floors": 4, "time": 1000, "desk": "" }, { - "id": 1027, + "id": 27, "star": 27, "starshow": { "key": "smithy_name_1007", @@ -647,13 +647,13 @@ "n": 1 } ], - "sucess": "0.5", + "probability": 100, "floors": 5, "time": 1000, "desk": "" }, { - "id": 1028, + "id": 28, "star": 28, "starshow": { "key": "smithy_name_1008", @@ -672,13 +672,13 @@ "n": 1 } ], - "sucess": "0.4", + "probability": 100, "floors": 5, "time": 1000, "desk": "" }, { - "id": 1029, + "id": 29, "star": 29, "starshow": { "key": "smithy_name_1009", @@ -697,13 +697,13 @@ "n": 1 } ], - "sucess": "0.3", + "probability": 100, "floors": 5, "time": 1000, "desk": "" }, { - "id": 1030, + "id": 30, "star": 30, "starshow": { "key": "smithy_name_1010", @@ -711,7 +711,7 @@ }, "before": 29, "starupneed": [], - "sucess": "-1", + "probability": 100, "floors": -1, "time": 1000, "desk": "" diff --git a/cmd/v2/model/item.go b/cmd/v2/model/item.go index ef535634c..7b37d229c 100644 --- a/cmd/v2/model/item.go +++ b/cmd/v2/model/item.go @@ -1,7 +1,5 @@ package model -import "github.com/sirupsen/logrus" - type ItemModel struct { Id string Label string @@ -18,7 +16,6 @@ func NewItemModelList() *ItemModelList { } func (s *ItemModelList) AsInterfaceArray() []interface{} { - logrus.Debug(len(s.DataList)) rs := make([]interface{}, len(s.DataList)) for i := range s.DataList { rs[i] = s.DataList[i] diff --git a/cmd/v2/ui/views/friend_agree.go b/cmd/v2/ui/views/friend_agree.go index 9e4ad9956..0fe607cb2 100644 --- a/cmd/v2/ui/views/friend_agree.go +++ b/cmd/v2/ui/views/friend_agree.go @@ -15,6 +15,7 @@ import ( "github.com/sirupsen/logrus" ) +// 好友审批 type FriendAgreeView struct { ListBaseView } @@ -76,8 +77,10 @@ func (this *FriendAgreeView) dataListener() { if !comm.ProtoUnmarshal(data, rsp) { logrus.Error("unmarshal err") + return } + this.itemListData = model.NewItemModelList() for _, v := range rsp.List { fm := &model.ItemModel{ Id: v.UserId, diff --git a/cmd/v2/ui/views/friend_list.go b/cmd/v2/ui/views/friend_list.go index 5a5bd824d..8e14ca55d 100644 --- a/cmd/v2/ui/views/friend_list.go +++ b/cmd/v2/ui/views/friend_list.go @@ -81,6 +81,7 @@ func (this *FriendListView) dataListener() { if !comm.ProtoUnmarshal(data, rsp) { logrus.Error("unmarshal err") + return } this.itemListData = model.NewItemModelList() diff --git a/modules/rtask/api_choose.go b/modules/rtask/api_choose.go index 3c1912e4f..c3dd29198 100644 --- a/modules/rtask/api_choose.go +++ b/modules/rtask/api_choose.go @@ -45,7 +45,7 @@ func (this *apiComp) Choose(session comm.IUserSession, req *pb.RtaskChooseReq) ( } //发奖励 - code = this.moduleRtask.DispenseRes(session, conf.Reword, true) + code = this.moduleRtask.DispenseRes(session, conf.Reward, true) rsp := &pb.RtaskChooseResp{} diff --git a/modules/rtask/config.go b/modules/rtask/config.go index c596a0ee4..9181a363f 100644 --- a/modules/rtask/config.go +++ b/modules/rtask/config.go @@ -20,14 +20,14 @@ type configureComp struct { func (this *configureComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) { err = this.MCompConfigure.Init(service, module, comp, options) err = this.LoadMultiConfigure(map[string]interface{}{ - gameRtask: cfg.NewGameRdtaskAll, + gameRtask: cfg.NewGameRdtask, gameRtaskChoose: cfg.NewGameRdtaskChoose, - gameRtaskType: cfg.NewGameRdtaskType, + gameRtaskType: cfg.NewGameRdtaskCondi, }) return } -func (this *configureComp) getRtaskCfg() (data *cfg.GameRdtaskAll, err error) { +func (this *configureComp) getRtaskCfg() (data *cfg.GameRdtask, err error) { var ( v interface{} ok bool @@ -35,7 +35,7 @@ func (this *configureComp) getRtaskCfg() (data *cfg.GameRdtaskAll, err error) { if v, err = this.GetConfigure(gameRtask); err != nil { return } else { - if data, ok = v.(*cfg.GameRdtaskAll); !ok { + if data, ok = v.(*cfg.GameRdtask); !ok { err = fmt.Errorf("%T no is *cfg.GameRdtaskAll", v) return } @@ -43,7 +43,7 @@ func (this *configureComp) getRtaskCfg() (data *cfg.GameRdtaskAll, err error) { return } -func (this *configureComp) getRtaskTypeCfg() (data *cfg.GameRdtaskType, err error) { +func (this *configureComp) getRtaskTypeCfg() (data *cfg.GameRdtaskCondi, err error) { var ( v interface{} ok bool @@ -51,7 +51,7 @@ func (this *configureComp) getRtaskTypeCfg() (data *cfg.GameRdtaskType, err erro if v, err = this.GetConfigure(gameRtask); err != nil { return } else { - if data, ok = v.(*cfg.GameRdtaskType); !ok { + if data, ok = v.(*cfg.GameRdtaskCondi); !ok { err = fmt.Errorf("%T is *cfg.GameRdtaskType", v) return } @@ -60,7 +60,7 @@ func (this *configureComp) getRtaskTypeCfg() (data *cfg.GameRdtaskType, err erro } // 获取随机任务配置 -func (this *configureComp) getRtaskList() (data []*cfg.GameRdtaskAllData, err error) { +func (this *configureComp) getRtaskList() (data []*cfg.GameRdtaskData, err error) { cfg, err := this.getRtaskCfg() if err != nil { return @@ -72,7 +72,7 @@ func (this *configureComp) getRtaskList() (data []*cfg.GameRdtaskAllData, err er } // 查询任务类型 -func (this *configureComp) getRtaskTypeById(typeId int32) (data *cfg.GameRdtaskTypeData, err error) { +func (this *configureComp) getRtaskTypeById(typeId int32) (data *cfg.GameRdtaskCondiData, err error) { cfg, err := this.getRtaskTypeCfg() if err != nil { return @@ -86,7 +86,7 @@ func (this *configureComp) getRtaskTypeById(typeId int32) (data *cfg.GameRdtaskT } // 任务 -func (this *configureComp) getRtaskById(taskId int32) (data *cfg.GameRdtaskAllData) { +func (this *configureComp) getRtaskById(taskId int32) (data *cfg.GameRdtaskData) { cfg, err := this.getRtaskCfg() if err != nil { return @@ -100,14 +100,14 @@ func (this *configureComp) getRtaskById(taskId int32) (data *cfg.GameRdtaskAllDa } // 首个任务 -func (this *configureComp) getFirstTask() *cfg.GameRdtaskAllData { +func (this *configureComp) getFirstTask() *cfg.GameRdtaskData { cfg, err := this.getRtaskCfg() if err != nil { return nil } if cfg != nil { for _, v := range cfg.GetDataList() { - if v.Aftertask == 0 { + if v.NextTid == 0 { return v } } diff --git a/modules/rtask/model_rtask.go b/modules/rtask/model_rtask.go index f93ffe911..788ac57cf 100644 --- a/modules/rtask/model_rtask.go +++ b/modules/rtask/model_rtask.go @@ -41,7 +41,7 @@ func (this *ModelRtask) doRtaskHandle(uid string, param *pb.RtaskParam) (rtaskId if len(rtask.FrtaskIds) == 0 { conf := this.moduleRtask.configure.getFirstTask() if conf != nil { - taskId = conf.Aftertask + taskId = conf.NextTid } } else { //TODO @@ -61,26 +61,26 @@ func (this *ModelRtask) doRtaskHandle(uid string, param *pb.RtaskParam) (rtaskId } // 1 英雄指定 -func (this *ModelRtask) HeroTarget(cfg *cfg.GameRdtaskTypeData, tp *pb.RtaskParam) (ok bool) { +func (this *ModelRtask) HeroTarget(cfg *cfg.GameRdtaskCondiData, tp *pb.RtaskParam) (ok bool) { return cfg.Data1 == tp.Param1 } // 2 指定英雄的等级 -func (this *ModelRtask) HeroLvTarget(cfg *cfg.GameRdtaskTypeData, tp *pb.RtaskParam) (ok bool) { +func (this *ModelRtask) HeroLvTarget(cfg *cfg.GameRdtaskCondiData, tp *pb.RtaskParam) (ok bool) { return cfg.Data1 == tp.Param1 && cfg.Data1 == tp.Param2 } // 3 指定英雄的指定装备的数量 -func (this *ModelRtask) EquipNum(cfg *cfg.GameRdtaskTypeData, tp *pb.RtaskParam) (ok bool) { +func (this *ModelRtask) EquipNum(cfg *cfg.GameRdtaskCondiData, tp *pb.RtaskParam) (ok bool) { return cfg.Data1 == tp.Param1 && cfg.Data2 == tp.Param2 && cfg.Data3 == tp.Param3 } // 4 剧情ID -func (this *ModelRtask) PoltId(cfg *cfg.GameRdtaskTypeData, tp *pb.RtaskParam) (ok bool) { +func (this *ModelRtask) PoltId(cfg *cfg.GameRdtaskCondiData, tp *pb.RtaskParam) (ok bool) { return cfg.Data1 == tp.Param1 } // 5 每日任务 -func (this *ModelRtask) TaskDay(cfg *cfg.GameRdtaskTypeData, tp *pb.RtaskParam) (ok bool) { +func (this *ModelRtask) TaskDay(cfg *cfg.GameRdtaskCondiData, tp *pb.RtaskParam) (ok bool) { return cfg.Data1 == tp.Param1 } diff --git a/modules/rtask/module.go b/modules/rtask/module.go index f1c9e6767..b00e47178 100644 --- a/modules/rtask/module.go +++ b/modules/rtask/module.go @@ -18,12 +18,12 @@ type rtask struct { // 限定条件 type rtaskCondi struct { - cfg *cfg.GameRdtaskTypeData + cfg *cfg.GameRdtaskCondiData fn rtaskHandle } // 设定返回值 -type rtaskHandle func(cfg *cfg.GameRdtaskTypeData, tp *pb.RtaskParam) (ok bool) +type rtaskHandle func(cfg *cfg.GameRdtaskCondiData, tp *pb.RtaskParam) (ok bool) type ModuleRtask struct { modules.ModuleBase @@ -73,7 +73,7 @@ func (this *ModuleRtask) initRtaskHandle() { } //遍历任务的限定条件 - for _, rtaskTypeId := range v.Rdtasknum { + for _, rtaskTypeId := range v.Condition { // 获取每个限定条件配置 if typeCfg, err2 := this.configure.getRtaskTypeById(rtaskTypeId); err2 == nil { if typeCfg != nil { diff --git a/sys/configure/structs/Game.BuffType.go b/sys/configure/structs/Game.BuffType.go new file mode 100644 index 000000000..2545ae43c --- /dev/null +++ b/sys/configure/structs/Game.BuffType.go @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// 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 + +const ( + GameBuffType_NONE = 0 + GameBuffType_ATKUP = 1 + GameBuffType_DEFUP = 2 + GameBuffType_SPDUP = 3 + GameBuffType_CRATEUP = 4 + GameBuffType_CRITRESIST = 5 + GameBuffType_ATKDOWN = 6 + GameBuffType_DEFDOWN = 7 + GameBuffType_SPDDOWN = 8 + GameBuffType_CRATEDOWN = 9 + GameBuffType_SEAR = 10 + GameBuffType_MISSRATEUP = 11 + GameBuffType_INVINCIBILITY = 12 + GameBuffType_STANDOFF = 13 + GameBuffType_STUN = 14 + GameBuffType_FREEZE = 15 + GameBuffType_DISEASED = 16 + GameBuffType_PETRIFICATION = 17 + GameBuffType_SILENCE = 18 + GameBuffType_TAUNT = 19 + GameBuffType_IMMUNITY = 20 + GameBuffType_SHIELD = 21 +) diff --git a/sys/configure/structs/Game.ChatExpression.go b/sys/configure/structs/Game.ChatExpression.go new file mode 100644 index 000000000..c9da3905f --- /dev/null +++ b/sys/configure/structs/Game.ChatExpression.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 GameChatExpression struct { + _dataMap map[int32]*GameChatExpressionData + _dataList []*GameChatExpressionData +} + +func NewGameChatExpression(_buf []map[string]interface{}) (*GameChatExpression, error) { + _dataList := make([]*GameChatExpressionData, 0, len(_buf)) + dataMap := make(map[int32]*GameChatExpressionData) + for _, _ele_ := range _buf { + if _v, err2 := DeserializeGameChatExpressionData(_ele_); err2 != nil { + return nil, err2 + } else { + _dataList = append(_dataList, _v) + dataMap[_v.Key] = _v + } + } + return &GameChatExpression{_dataList:_dataList, _dataMap:dataMap}, nil +} + +func (table *GameChatExpression) GetDataMap() map[int32]*GameChatExpressionData { + return table._dataMap +} + +func (table *GameChatExpression) GetDataList() []*GameChatExpressionData { + return table._dataList +} + +func (table *GameChatExpression) Get(key int32) *GameChatExpressionData { + return table._dataMap[key] +} + + diff --git a/sys/configure/structs/Game.ChatExpressionData.go b/sys/configure/structs/Game.ChatExpressionData.go new file mode 100644 index 000000000..d08fe7ec8 --- /dev/null +++ b/sys/configure/structs/Game.ChatExpressionData.go @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// 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 GameChatExpressionData struct { + Key int32 + ExpressionCode string + ExpressionType int32 + ExpressionIcon string +} + +const TypeId_GameChatExpressionData = 495857494 + +func (*GameChatExpressionData) GetTypeId() int32 { + return 495857494 +} + +func (_v *GameChatExpressionData)Deserialize(_buf map[string]interface{}) (err error) { + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["key"].(float64); !_ok_ { err = errors.New("key error"); return }; _v.Key = int32(_tempNum_) } + { var _ok_ bool; if _v.ExpressionCode, _ok_ = _buf["expression_code"].(string); !_ok_ { err = errors.New("expression_code error"); return } } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["expression_type"].(float64); !_ok_ { err = errors.New("expression_type error"); return }; _v.ExpressionType = int32(_tempNum_) } + { var _ok_ bool; if _v.ExpressionIcon, _ok_ = _buf["expression_icon"].(string); !_ok_ { err = errors.New("expression_icon error"); return } } + return +} + +func DeserializeGameChatExpressionData(_buf map[string]interface{}) (*GameChatExpressionData, error) { + v := &GameChatExpressionData{} + if err := v.Deserialize(_buf); err == nil { + return v, nil + } else { + return nil, err + } +} diff --git a/sys/configure/structs/Game.Rdtask.go b/sys/configure/structs/Game.Rdtask.go new file mode 100644 index 000000000..e93061382 --- /dev/null +++ b/sys/configure/structs/Game.Rdtask.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 GameRdtask struct { + _dataMap map[int32]*GameRdtaskData + _dataList []*GameRdtaskData +} + +func NewGameRdtask(_buf []map[string]interface{}) (*GameRdtask, error) { + _dataList := make([]*GameRdtaskData, 0, len(_buf)) + dataMap := make(map[int32]*GameRdtaskData) + for _, _ele_ := range _buf { + if _v, err2 := DeserializeGameRdtaskData(_ele_); err2 != nil { + return nil, err2 + } else { + _dataList = append(_dataList, _v) + dataMap[_v.Id] = _v + } + } + return &GameRdtask{_dataList:_dataList, _dataMap:dataMap}, nil +} + +func (table *GameRdtask) GetDataMap() map[int32]*GameRdtaskData { + return table._dataMap +} + +func (table *GameRdtask) GetDataList() []*GameRdtaskData { + return table._dataList +} + +func (table *GameRdtask) Get(key int32) *GameRdtaskData { + return table._dataMap[key] +} + + diff --git a/sys/configure/structs/Game.RdtaskCondi.go b/sys/configure/structs/Game.RdtaskCondi.go new file mode 100644 index 000000000..dc62197f2 --- /dev/null +++ b/sys/configure/structs/Game.RdtaskCondi.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 GameRdtaskCondi struct { + _dataMap map[int32]*GameRdtaskCondiData + _dataList []*GameRdtaskCondiData +} + +func NewGameRdtaskCondi(_buf []map[string]interface{}) (*GameRdtaskCondi, error) { + _dataList := make([]*GameRdtaskCondiData, 0, len(_buf)) + dataMap := make(map[int32]*GameRdtaskCondiData) + for _, _ele_ := range _buf { + if _v, err2 := DeserializeGameRdtaskCondiData(_ele_); err2 != nil { + return nil, err2 + } else { + _dataList = append(_dataList, _v) + dataMap[_v.Id] = _v + } + } + return &GameRdtaskCondi{_dataList:_dataList, _dataMap:dataMap}, nil +} + +func (table *GameRdtaskCondi) GetDataMap() map[int32]*GameRdtaskCondiData { + return table._dataMap +} + +func (table *GameRdtaskCondi) GetDataList() []*GameRdtaskCondiData { + return table._dataList +} + +func (table *GameRdtaskCondi) Get(key int32) *GameRdtaskCondiData { + return table._dataMap[key] +} + + diff --git a/sys/configure/structs/game.rdtaskTypeData.go b/sys/configure/structs/Game.RdtaskCondiData.go similarity index 54% rename from sys/configure/structs/game.rdtaskTypeData.go rename to sys/configure/structs/Game.RdtaskCondiData.go index 05da03257..c4ca3dc73 100644 --- a/sys/configure/structs/game.rdtaskTypeData.go +++ b/sys/configure/structs/Game.RdtaskCondiData.go @@ -10,35 +10,31 @@ package cfg import "errors" -type GameRdtaskTypeData struct { - Rdtaksnum int32 - Typdes int32 - Datatime int32 - Typtaskid int32 +type GameRdtaskCondiData struct { + Id int32 + Type int32 Data1 int32 Data2 int32 Data3 int32 } -const TypeId_GameRdtaskTypeData = -28304553 +const TypeId_GameRdtaskCondiData = 2060899038 -func (*GameRdtaskTypeData) GetTypeId() int32 { - return -28304553 +func (*GameRdtaskCondiData) GetTypeId() int32 { + return 2060899038 } -func (_v *GameRdtaskTypeData)Deserialize(_buf map[string]interface{}) (err error) { - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["rdtaksnum"].(float64); !_ok_ { err = errors.New("rdtaksnum error"); return }; _v.Rdtaksnum = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["typdes"].(float64); !_ok_ { err = errors.New("typdes error"); return }; _v.Typdes = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["datatime"].(float64); !_ok_ { err = errors.New("datatime error"); return }; _v.Datatime = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["typtaskid"].(float64); !_ok_ { err = errors.New("typtaskid error"); return }; _v.Typtaskid = int32(_tempNum_) } +func (_v *GameRdtaskCondiData)Deserialize(_buf map[string]interface{}) (err error) { + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["id"].(float64); !_ok_ { err = errors.New("id error"); return }; _v.Id = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["type"].(float64); !_ok_ { err = errors.New("type error"); return }; _v.Type = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["data1"].(float64); !_ok_ { err = errors.New("data1 error"); return }; _v.Data1 = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["data2"].(float64); !_ok_ { err = errors.New("data2 error"); return }; _v.Data2 = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["data3"].(float64); !_ok_ { err = errors.New("data3 error"); return }; _v.Data3 = int32(_tempNum_) } return } -func DeserializeGameRdtaskTypeData(_buf map[string]interface{}) (*GameRdtaskTypeData, error) { - v := &GameRdtaskTypeData{} +func DeserializeGameRdtaskCondiData(_buf map[string]interface{}) (*GameRdtaskCondiData, error) { + v := &GameRdtaskCondiData{} if err := v.Deserialize(_buf); err == nil { return v, nil } else { diff --git a/sys/configure/structs/game.rdtaskAllData.go b/sys/configure/structs/Game.RdtaskData.go similarity index 56% rename from sys/configure/structs/game.rdtaskAllData.go rename to sys/configure/structs/Game.RdtaskData.go index d8678448d..c1a53ce30 100644 --- a/sys/configure/structs/game.rdtaskAllData.go +++ b/sys/configure/structs/Game.RdtaskData.go @@ -10,82 +10,82 @@ package cfg import "errors" -type GameRdtaskAllData struct { +type GameRdtaskData struct { Id int32 Type int32 - Lasttask int32 - Rdtasknum []int32 - Aftertask int32 - Taskcd int32 - Tag int32 - Story int32 - Completetask int32 - Chooseid []int32 - Reword []*Gameatn + PreTid int32 + Condition []int32 + NextTid int32 + CD int32 + ObjType int32 + StoryBegin int32 + StoryEnd int32 + ChooseId []int32 + Reward []*Gameatn } -const TypeId_GameRdtaskAllData = -891725512 +const TypeId_GameRdtaskData = -358357379 -func (*GameRdtaskAllData) GetTypeId() int32 { - return -891725512 +func (*GameRdtaskData) GetTypeId() int32 { + return -358357379 } -func (_v *GameRdtaskAllData)Deserialize(_buf map[string]interface{}) (err error) { +func (_v *GameRdtaskData)Deserialize(_buf map[string]interface{}) (err error) { { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["id"].(float64); !_ok_ { err = errors.New("id error"); return }; _v.Id = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["type"].(float64); !_ok_ { err = errors.New("type error"); return }; _v.Type = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["lasttask"].(float64); !_ok_ { err = errors.New("lasttask error"); return }; _v.Lasttask = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["preTid"].(float64); !_ok_ { err = errors.New("preTid error"); return }; _v.PreTid = int32(_tempNum_) } { var _arr_ []interface{} var _ok_ bool - if _arr_, _ok_ = _buf["rdtasknum"].([]interface{}); !_ok_ { err = errors.New("rdtasknum error"); return } + if _arr_, _ok_ = _buf["condition"].([]interface{}); !_ok_ { err = errors.New("condition error"); return } - _v.Rdtasknum = make([]int32, 0, len(_arr_)) + _v.Condition = 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.Rdtasknum = append(_v.Rdtasknum, _list_v_) + _v.Condition = append(_v.Condition, _list_v_) } } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["aftertask"].(float64); !_ok_ { err = errors.New("aftertask error"); return }; _v.Aftertask = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["taskcd"].(float64); !_ok_ { err = errors.New("taskcd error"); return }; _v.Taskcd = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["tag"].(float64); !_ok_ { err = errors.New("tag error"); return }; _v.Tag = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["story"].(float64); !_ok_ { err = errors.New("story error"); return }; _v.Story = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["completetask"].(float64); !_ok_ { err = errors.New("completetask error"); return }; _v.Completetask = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["nextTid"].(float64); !_ok_ { err = errors.New("nextTid error"); return }; _v.NextTid = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["CD"].(float64); !_ok_ { err = errors.New("CD error"); return }; _v.CD = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["objType"].(float64); !_ok_ { err = errors.New("objType error"); return }; _v.ObjType = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["storyBegin"].(float64); !_ok_ { err = errors.New("storyBegin error"); return }; _v.StoryBegin = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["storyEnd"].(float64); !_ok_ { err = errors.New("storyEnd error"); return }; _v.StoryEnd = int32(_tempNum_) } { var _arr_ []interface{} var _ok_ bool - if _arr_, _ok_ = _buf["chooseid"].([]interface{}); !_ok_ { err = errors.New("chooseid error"); return } + if _arr_, _ok_ = _buf["chooseId"].([]interface{}); !_ok_ { err = errors.New("chooseId error"); return } - _v.Chooseid = make([]int32, 0, len(_arr_)) + _v.ChooseId = 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.Chooseid = append(_v.Chooseid, _list_v_) + _v.ChooseId = append(_v.ChooseId, _list_v_) } } { var _arr_ []interface{} var _ok_ bool - if _arr_, _ok_ = _buf["reword"].([]interface{}); !_ok_ { err = errors.New("reword error"); return } + if _arr_, _ok_ = _buf["reward"].([]interface{}); !_ok_ { err = errors.New("reward error"); return } - _v.Reword = make([]*Gameatn, 0, len(_arr_)) + _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.Reword = append(_v.Reword, _list_v_) + _v.Reward = append(_v.Reward, _list_v_) } } return } -func DeserializeGameRdtaskAllData(_buf map[string]interface{}) (*GameRdtaskAllData, error) { - v := &GameRdtaskAllData{} +func DeserializeGameRdtaskData(_buf map[string]interface{}) (*GameRdtaskData, error) { + v := &GameRdtaskData{} if err := v.Deserialize(_buf); err == nil { return v, nil } else { diff --git a/sys/configure/structs/Game.Smithy.go b/sys/configure/structs/Game.Smithy.go new file mode 100644 index 000000000..17470c9fc --- /dev/null +++ b/sys/configure/structs/Game.Smithy.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 GameSmithy struct { + _dataMap map[int32]*GameSmithyData + _dataList []*GameSmithyData +} + +func NewGameSmithy(_buf []map[string]interface{}) (*GameSmithy, error) { + _dataList := make([]*GameSmithyData, 0, len(_buf)) + dataMap := make(map[int32]*GameSmithyData) + for _, _ele_ := range _buf { + if _v, err2 := DeserializeGameSmithyData(_ele_); err2 != nil { + return nil, err2 + } else { + _dataList = append(_dataList, _v) + dataMap[_v.Id] = _v + } + } + return &GameSmithy{_dataList:_dataList, _dataMap:dataMap}, nil +} + +func (table *GameSmithy) GetDataMap() map[int32]*GameSmithyData { + return table._dataMap +} + +func (table *GameSmithy) GetDataList() []*GameSmithyData { + return table._dataList +} + +func (table *GameSmithy) Get(key int32) *GameSmithyData { + return table._dataMap[key] +} + + diff --git a/sys/configure/structs/Game.SmithyData.go b/sys/configure/structs/Game.SmithyData.go new file mode 100644 index 000000000..8e0cc0166 --- /dev/null +++ b/sys/configure/structs/Game.SmithyData.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 GameSmithyData struct { + Id int32 + Type int32 + Star int32 + Starshow string + Before int32 + Starupneed []*Gameatn + Probability int32 + Floors int32 + Dropshow []*Gameatn + Using int32 + Drop int32 + Orderneed []*Gameatn + Desk string + Shelves string +} + +const TypeId_GameSmithyData = 2042540316 + +func (*GameSmithyData) GetTypeId() int32 { + return 2042540316 +} + +func (_v *GameSmithyData)Deserialize(_buf map[string]interface{}) (err error) { + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["id"].(float64); !_ok_ { err = errors.New("id error"); return }; _v.Id = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["type"].(float64); !_ok_ { err = errors.New("type error"); return }; _v.Type = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["star"].(float64); !_ok_ { err = errors.New("star error"); return }; _v.Star = int32(_tempNum_) } + {var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["starshow"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Starshow error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Starshow, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["before"].(float64); !_ok_ { err = errors.New("before error"); return }; _v.Before = int32(_tempNum_) } + { + var _arr_ []interface{} + var _ok_ bool + if _arr_, _ok_ = _buf["starupneed"].([]interface{}); !_ok_ { err = errors.New("starupneed error"); return } + + _v.Starupneed = 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.Starupneed = append(_v.Starupneed, _list_v_) + } + } + + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["probability"].(float64); !_ok_ { err = errors.New("probability error"); return }; _v.Probability = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["floors"].(float64); !_ok_ { err = errors.New("floors error"); return }; _v.Floors = int32(_tempNum_) } + { + var _arr_ []interface{} + var _ok_ bool + if _arr_, _ok_ = _buf["dropshow"].([]interface{}); !_ok_ { err = errors.New("dropshow error"); return } + + _v.Dropshow = 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.Dropshow = append(_v.Dropshow, _list_v_) + } + } + + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["using"].(float64); !_ok_ { err = errors.New("using error"); return }; _v.Using = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["drop"].(float64); !_ok_ { err = errors.New("drop error"); return }; _v.Drop = int32(_tempNum_) } + { + var _arr_ []interface{} + var _ok_ bool + if _arr_, _ok_ = _buf["orderneed"].([]interface{}); !_ok_ { err = errors.New("orderneed error"); return } + + _v.Orderneed = 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.Orderneed = append(_v.Orderneed, _list_v_) + } + } + + { var _ok_ bool; if _v.Desk, _ok_ = _buf["desk"].(string); !_ok_ { err = errors.New("desk error"); return } } + { var _ok_ bool; if _v.Shelves, _ok_ = _buf["shelves"].(string); !_ok_ { err = errors.New("shelves error"); return } } + return +} + +func DeserializeGameSmithyData(_buf map[string]interface{}) (*GameSmithyData, error) { + v := &GameSmithyData{} + if err := v.Deserialize(_buf); err == nil { + return v, nil + } else { + return nil, err + } +} diff --git a/sys/configure/structs/Game.SmithyStove.go b/sys/configure/structs/Game.SmithyStove.go new file mode 100644 index 000000000..e4181602c --- /dev/null +++ b/sys/configure/structs/Game.SmithyStove.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 GameSmithyStove struct { + _dataMap map[int32]*GameSmithyStoveData + _dataList []*GameSmithyStoveData +} + +func NewGameSmithyStove(_buf []map[string]interface{}) (*GameSmithyStove, error) { + _dataList := make([]*GameSmithyStoveData, 0, len(_buf)) + dataMap := make(map[int32]*GameSmithyStoveData) + for _, _ele_ := range _buf { + if _v, err2 := DeserializeGameSmithyStoveData(_ele_); err2 != nil { + return nil, err2 + } else { + _dataList = append(_dataList, _v) + dataMap[_v.Id] = _v + } + } + return &GameSmithyStove{_dataList:_dataList, _dataMap:dataMap}, nil +} + +func (table *GameSmithyStove) GetDataMap() map[int32]*GameSmithyStoveData { + return table._dataMap +} + +func (table *GameSmithyStove) GetDataList() []*GameSmithyStoveData { + return table._dataList +} + +func (table *GameSmithyStove) Get(key int32) *GameSmithyStoveData { + return table._dataMap[key] +} + + diff --git a/sys/configure/structs/Game.SmithyStoveData.go b/sys/configure/structs/Game.SmithyStoveData.go new file mode 100644 index 000000000..9cce4aecc --- /dev/null +++ b/sys/configure/structs/Game.SmithyStoveData.go @@ -0,0 +1,64 @@ +//------------------------------------------------------------------------------ +// +// 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 GameSmithyStoveData struct { + Id int32 + Star int32 + Starshow string + Before int32 + Starupneed []*Gameatn + Probability int32 + Floors int32 + Time int32 + Desk string +} + +const TypeId_GameSmithyStoveData = -1387348875 + +func (*GameSmithyStoveData) GetTypeId() int32 { + return -1387348875 +} + +func (_v *GameSmithyStoveData)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["star"].(float64); !_ok_ { err = errors.New("star error"); return }; _v.Star = int32(_tempNum_) } + {var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["starshow"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Starshow error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Starshow, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["before"].(float64); !_ok_ { err = errors.New("before error"); return }; _v.Before = int32(_tempNum_) } + { + var _arr_ []interface{} + var _ok_ bool + if _arr_, _ok_ = _buf["starupneed"].([]interface{}); !_ok_ { err = errors.New("starupneed error"); return } + + _v.Starupneed = 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.Starupneed = append(_v.Starupneed, _list_v_) + } + } + + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["probability"].(float64); !_ok_ { err = errors.New("probability error"); return }; _v.Probability = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["floors"].(float64); !_ok_ { err = errors.New("floors error"); return }; _v.Floors = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["time"].(float64); !_ok_ { err = errors.New("time error"); return }; _v.Time = int32(_tempNum_) } + { var _ok_ bool; if _v.Desk, _ok_ = _buf["desk"].(string); !_ok_ { err = errors.New("desk error"); return } } + return +} + +func DeserializeGameSmithyStoveData(_buf map[string]interface{}) (*GameSmithyStoveData, error) { + v := &GameSmithyStoveData{} + 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 ef29acecd..699c890a2 100644 --- a/sys/configure/structs/Tables.go +++ b/sys/configure/structs/Tables.go @@ -38,7 +38,6 @@ type Tables struct { Shop *GameShop Shopitem *GameShopitem ActiveReward *GameActiveReward - Com *GameCom Skill *GameSkill Model *GameModel MainlineChapter *GameMainlineChapter @@ -50,6 +49,7 @@ type Tables struct { ChatSystem *GameChatSystem ChatServerGroup *GameChatServerGroup ChatChannelCom *GameChatChannelCom + ChatExpression *GameChatExpression TaskRound *GameTaskRound TaskActiveReward *GameTaskActiveReward Coin *GameCoin @@ -66,14 +66,16 @@ type Tables struct { PagodaTaskReward *GamePagodaTaskReward PagodaSeasonReward *GamePagodaSeasonReward PagodaseasonLoop *GamePagodaseasonLoop - RdtaskAll *GameRdtaskAll - RdtaskType *GameRdtaskType + Rdtask *GameRdtask + RdtaskCondi *GameRdtaskCondi RdtaskChoose *GameRdtaskChoose KungfuUnlock *GameKungfuUnlock KungfuMasterworker *GameKungfuMasterworker Gourmet *GameGourmet GourmetSkill *GameGourmetSkill Drop *GameDrop + Smithy *GameSmithy + SmithyStove *GameSmithyStove } func NewTables(loader JsonLoader) (*Tables, error) { @@ -243,12 +245,6 @@ func NewTables(loader JsonLoader) (*Tables, error) { if tables.ActiveReward, err = NewGameActiveReward(buf) ; err != nil { return nil, err } - if buf, err = loader("game_com") ; err != nil { - return nil, err - } - if tables.Com, err = NewGameCom(buf) ; err != nil { - return nil, err - } if buf, err = loader("game_skill") ; err != nil { return nil, err } @@ -315,6 +311,12 @@ func NewTables(loader JsonLoader) (*Tables, error) { 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 } @@ -411,16 +413,16 @@ func NewTables(loader JsonLoader) (*Tables, error) { if tables.PagodaseasonLoop, err = NewGamePagodaseasonLoop(buf) ; err != nil { return nil, err } - if buf, err = loader("game_rdtaskall") ; err != nil { + if buf, err = loader("game_rdtask") ; err != nil { return nil, err } - if tables.RdtaskAll, err = NewGameRdtaskAll(buf) ; err != nil { + if tables.Rdtask, err = NewGameRdtask(buf) ; err != nil { return nil, err } - if buf, err = loader("game_rdtasktype") ; err != nil { + if buf, err = loader("game_rdtaskcondi") ; err != nil { return nil, err } - if tables.RdtaskType, err = NewGameRdtaskType(buf) ; err != nil { + if tables.RdtaskCondi, err = NewGameRdtaskCondi(buf) ; err != nil { return nil, err } if buf, err = loader("game_rdtaskchoose") ; err != nil { @@ -459,5 +461,17 @@ func NewTables(loader JsonLoader) (*Tables, error) { if tables.Drop, err = NewGameDrop(buf) ; err != nil { return nil, err } + if buf, err = loader("game_smithy") ; err != nil { + return nil, err + } + if tables.Smithy, err = NewGameSmithy(buf) ; err != nil { + return nil, err + } + if buf, err = loader("game_smithystove") ; err != nil { + return nil, err + } + if tables.SmithyStove, err = NewGameSmithyStove(buf) ; err != nil { + return nil, err + } return tables, nil } diff --git a/sys/configure/structs/game.com.go b/sys/configure/structs/game.com.go deleted file mode 100644 index 1031d36a5..000000000 --- a/sys/configure/structs/game.com.go +++ /dev/null @@ -1,42 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 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 GameCom struct { - _dataMap map[int32]*GameComData - _dataList []*GameComData -} - -func NewGameCom(_buf []map[string]interface{}) (*GameCom, error) { - _dataList := make([]*GameComData, 0, len(_buf)) - dataMap := make(map[int32]*GameComData) - for _, _ele_ := range _buf { - if _v, err2 := DeserializeGameComData(_ele_); err2 != nil { - return nil, err2 - } else { - _dataList = append(_dataList, _v) - dataMap[_v.MaxChar] = _v - } - } - return &GameCom{_dataList:_dataList, _dataMap:dataMap}, nil -} - -func (table *GameCom) GetDataMap() map[int32]*GameComData { - return table._dataMap -} - -func (table *GameCom) GetDataList() []*GameComData { - return table._dataList -} - -func (table *GameCom) Get(key int32) *GameComData { - return table._dataMap[key] -} - - diff --git a/sys/configure/structs/game.comData.go b/sys/configure/structs/game.comData.go deleted file mode 100644 index 4327121d0..000000000 --- a/sys/configure/structs/game.comData.go +++ /dev/null @@ -1,235 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 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 GameComData struct { - MaxChar int32 - TaskReset int32 - InitGold int32 - InitHero []int32 - Cameramin []int32 - MaxGetreward []int32 - Cameramax []float32 - Heroshownum int32 - Equipsuitsum []int32 - FriendMaxnum int32 - FriendMinnum int32 - FriendMaxgetnum int32 - FriendMaxsendnum int32 - FriendDate int32 - FriendRecordtime int32 - FriendBlack int32 - ChannelCdWorld int32 - ChannelCdGuild int32 - ChannelCdPrivate int32 - ChannelCdPublic int32 - ChannelLockIcon int32 - MaxWord int32 - MaxChat int32 - MaxObject int32 - LoadChat int32 - ChannelAllocationMax int32 - ChannelSwitchingMax int32 - DrawToplimit int32 - Draw10Star4Max int32 - Draw10Star5Max int32 - DrawFloorStar4 int32 - DrawFloorStar5 int32 - DuplicateRemoval int32 - BasePoolCost *Gameatn - Camp1PoolCost *Gameatn - Camp2PoolCost *Gameatn - Camp3PoolCost *Gameatn - Camp4PoolCost *Gameatn - BasePool10cost *Gameatn - Camp1Pool10cost *Gameatn - Camp2Pool10cost *Gameatn - Camp3Pool10cost *Gameatn - Camp4Pool10cost *Gameatn - Camp1Pool1 string - Camp2Pool1 string - Camp3Pool1 string - Camp4Pool1 string - BasePool1 *Gamebasepool - BasePool2 *Gamebasepool - BasePool3 *Gamebasepool - BasePool4 *Gamebasepool - BasePoolStar3 int32 - BasePoolStar4 int32 - BasePoolStar5 int32 - CampPoolStar3 int32 - CampPoolStar4 int32 - CampPoolStar5 int32 - Gourmet int32 - SmithyMaxplayer int32 - SmithyMaxtime int32 - ChatExpressionSmall []string - KungfuTime int32 -} - -const TypeId_GameComData = 1433629391 - -func (*GameComData) GetTypeId() int32 { - return 1433629391 -} - -func (_v *GameComData)Deserialize(_buf map[string]interface{}) (err error) { - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["max_char"].(float64); !_ok_ { err = errors.New("max_char error"); return }; _v.MaxChar = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["task_reset"].(float64); !_ok_ { err = errors.New("task_reset error"); return }; _v.TaskReset = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["init_gold"].(float64); !_ok_ { err = errors.New("init_gold error"); return }; _v.InitGold = int32(_tempNum_) } - { - var _arr_ []interface{} - var _ok_ bool - if _arr_, _ok_ = _buf["init_hero"].([]interface{}); !_ok_ { err = errors.New("init_hero error"); return } - - _v.InitHero = 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.InitHero = append(_v.InitHero, _list_v_) - } - } - - { - var _arr_ []interface{} - var _ok_ bool - if _arr_, _ok_ = _buf["cameramin"].([]interface{}); !_ok_ { err = errors.New("cameramin error"); return } - - _v.Cameramin = 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.Cameramin = append(_v.Cameramin, _list_v_) - } - } - - { - var _arr_ []interface{} - var _ok_ bool - if _arr_, _ok_ = _buf["max_getreward"].([]interface{}); !_ok_ { err = errors.New("max_getreward error"); return } - - _v.MaxGetreward = 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.MaxGetreward = append(_v.MaxGetreward, _list_v_) - } - } - - { - var _arr_ []interface{} - var _ok_ bool - if _arr_, _ok_ = _buf["cameramax"].([]interface{}); !_ok_ { err = errors.New("cameramax error"); return } - - _v.Cameramax = make([]float32, 0, len(_arr_)) - - for _, _e_ := range _arr_ { - var _list_v_ float32 - { var _ok_ bool; var _x_ float64; if _x_, _ok_ = _e_.(float64); !_ok_ { err = errors.New("_list_v_ error"); return }; _list_v_ = float32(_x_) } - _v.Cameramax = append(_v.Cameramax, _list_v_) - } - } - - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["heroshownum"].(float64); !_ok_ { err = errors.New("heroshownum error"); return }; _v.Heroshownum = int32(_tempNum_) } - { - var _arr_ []interface{} - var _ok_ bool - if _arr_, _ok_ = _buf["equipsuitsum"].([]interface{}); !_ok_ { err = errors.New("equipsuitsum error"); return } - - _v.Equipsuitsum = 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.Equipsuitsum = append(_v.Equipsuitsum, _list_v_) - } - } - - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["friend_maxnum"].(float64); !_ok_ { err = errors.New("friend_maxnum error"); return }; _v.FriendMaxnum = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["friend_minnum"].(float64); !_ok_ { err = errors.New("friend_minnum error"); return }; _v.FriendMinnum = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["friend_maxgetnum"].(float64); !_ok_ { err = errors.New("friend_maxgetnum error"); return }; _v.FriendMaxgetnum = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["friend_maxsendnum"].(float64); !_ok_ { err = errors.New("friend_maxsendnum error"); return }; _v.FriendMaxsendnum = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["friend_date"].(float64); !_ok_ { err = errors.New("friend_date error"); return }; _v.FriendDate = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["friend_recordtime"].(float64); !_ok_ { err = errors.New("friend_recordtime error"); return }; _v.FriendRecordtime = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["friend_black"].(float64); !_ok_ { err = errors.New("friend_black error"); return }; _v.FriendBlack = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["channel_cd_world"].(float64); !_ok_ { err = errors.New("channel_cd_world error"); return }; _v.ChannelCdWorld = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["channel_cd_guild"].(float64); !_ok_ { err = errors.New("channel_cd_guild error"); return }; _v.ChannelCdGuild = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["channel_cd_private"].(float64); !_ok_ { err = errors.New("channel_cd_private error"); return }; _v.ChannelCdPrivate = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["channel_cd_public"].(float64); !_ok_ { err = errors.New("channel_cd_public error"); return }; _v.ChannelCdPublic = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["channel_lock_icon"].(float64); !_ok_ { err = errors.New("channel_lock_icon error"); return }; _v.ChannelLockIcon = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["max_word"].(float64); !_ok_ { err = errors.New("max_word error"); return }; _v.MaxWord = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["max_chat"].(float64); !_ok_ { err = errors.New("max_chat error"); return }; _v.MaxChat = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["max_object"].(float64); !_ok_ { err = errors.New("max_object error"); return }; _v.MaxObject = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["load_chat"].(float64); !_ok_ { err = errors.New("load_chat error"); return }; _v.LoadChat = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["channel_allocation_max"].(float64); !_ok_ { err = errors.New("channel_allocation_max error"); return }; _v.ChannelAllocationMax = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["channel_switching_max"].(float64); !_ok_ { err = errors.New("channel_switching_max error"); return }; _v.ChannelSwitchingMax = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["draw_toplimit"].(float64); !_ok_ { err = errors.New("draw_toplimit error"); return }; _v.DrawToplimit = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["draw10_star4_max"].(float64); !_ok_ { err = errors.New("draw10_star4_max error"); return }; _v.Draw10Star4Max = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["draw10_star5_max"].(float64); !_ok_ { err = errors.New("draw10_star5_max error"); return }; _v.Draw10Star5Max = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["draw_floor_star4"].(float64); !_ok_ { err = errors.New("draw_floor_star4 error"); return }; _v.DrawFloorStar4 = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["draw_floor_star5"].(float64); !_ok_ { err = errors.New("draw_floor_star5 error"); return }; _v.DrawFloorStar5 = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["duplicate_removal"].(float64); !_ok_ { err = errors.New("duplicate_removal error"); return }; _v.DuplicateRemoval = int32(_tempNum_) } - { var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["base_pool_cost"].(map[string]interface{}); !_ok_ { err = errors.New("base_pool_cost error"); return }; if _v.BasePoolCost, err = DeserializeGameatn(_x_); err != nil { return } } - { var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["camp1_pool_cost"].(map[string]interface{}); !_ok_ { err = errors.New("camp1_pool_cost error"); return }; if _v.Camp1PoolCost, err = DeserializeGameatn(_x_); err != nil { return } } - { var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["camp2_pool_cost"].(map[string]interface{}); !_ok_ { err = errors.New("camp2_pool_cost error"); return }; if _v.Camp2PoolCost, err = DeserializeGameatn(_x_); err != nil { return } } - { var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["camp3_pool_cost"].(map[string]interface{}); !_ok_ { err = errors.New("camp3_pool_cost error"); return }; if _v.Camp3PoolCost, err = DeserializeGameatn(_x_); err != nil { return } } - { var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["camp4_pool_cost"].(map[string]interface{}); !_ok_ { err = errors.New("camp4_pool_cost error"); return }; if _v.Camp4PoolCost, err = DeserializeGameatn(_x_); err != nil { return } } - { var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["base_pool_10cost"].(map[string]interface{}); !_ok_ { err = errors.New("base_pool_10cost error"); return }; if _v.BasePool10cost, err = DeserializeGameatn(_x_); err != nil { return } } - { var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["camp1_pool_10cost"].(map[string]interface{}); !_ok_ { err = errors.New("camp1_pool_10cost error"); return }; if _v.Camp1Pool10cost, err = DeserializeGameatn(_x_); err != nil { return } } - { var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["camp2_pool_10cost"].(map[string]interface{}); !_ok_ { err = errors.New("camp2_pool_10cost error"); return }; if _v.Camp2Pool10cost, err = DeserializeGameatn(_x_); err != nil { return } } - { var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["camp3_pool_10cost"].(map[string]interface{}); !_ok_ { err = errors.New("camp3_pool_10cost error"); return }; if _v.Camp3Pool10cost, err = DeserializeGameatn(_x_); err != nil { return } } - { var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["camp4_pool_10cost"].(map[string]interface{}); !_ok_ { err = errors.New("camp4_pool_10cost error"); return }; if _v.Camp4Pool10cost, err = DeserializeGameatn(_x_); err != nil { return } } - { var _ok_ bool; if _v.Camp1Pool1, _ok_ = _buf["camp1_pool1"].(string); !_ok_ { err = errors.New("camp1_pool1 error"); return } } - { var _ok_ bool; if _v.Camp2Pool1, _ok_ = _buf["camp2_pool1"].(string); !_ok_ { err = errors.New("camp2_pool1 error"); return } } - { var _ok_ bool; if _v.Camp3Pool1, _ok_ = _buf["camp3_pool1"].(string); !_ok_ { err = errors.New("camp3_pool1 error"); return } } - { var _ok_ bool; if _v.Camp4Pool1, _ok_ = _buf["camp4_pool1"].(string); !_ok_ { err = errors.New("camp4_pool1 error"); return } } - { var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["base_pool1"].(map[string]interface{}); !_ok_ { err = errors.New("base_pool1 error"); return }; if _v.BasePool1, err = DeserializeGamebasepool(_x_); err != nil { return } } - { var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["base_pool2"].(map[string]interface{}); !_ok_ { err = errors.New("base_pool2 error"); return }; if _v.BasePool2, err = DeserializeGamebasepool(_x_); err != nil { return } } - { var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["base_pool3"].(map[string]interface{}); !_ok_ { err = errors.New("base_pool3 error"); return }; if _v.BasePool3, err = DeserializeGamebasepool(_x_); err != nil { return } } - { var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["base_pool4"].(map[string]interface{}); !_ok_ { err = errors.New("base_pool4 error"); return }; if _v.BasePool4, err = DeserializeGamebasepool(_x_); err != nil { return } } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["base_pool_star3"].(float64); !_ok_ { err = errors.New("base_pool_star3 error"); return }; _v.BasePoolStar3 = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["base_pool_star4"].(float64); !_ok_ { err = errors.New("base_pool_star4 error"); return }; _v.BasePoolStar4 = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["base_pool_star5"].(float64); !_ok_ { err = errors.New("base_pool_star5 error"); return }; _v.BasePoolStar5 = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["camp_pool_star3"].(float64); !_ok_ { err = errors.New("camp_pool_star3 error"); return }; _v.CampPoolStar3 = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["camp_pool_star4"].(float64); !_ok_ { err = errors.New("camp_pool_star4 error"); return }; _v.CampPoolStar4 = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["camp_pool_star5"].(float64); !_ok_ { err = errors.New("camp_pool_star5 error"); return }; _v.CampPoolStar5 = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["gourmet"].(float64); !_ok_ { err = errors.New("gourmet error"); return }; _v.Gourmet = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["smithy_maxplayer"].(float64); !_ok_ { err = errors.New("smithy_maxplayer error"); return }; _v.SmithyMaxplayer = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["smithy_maxtime"].(float64); !_ok_ { err = errors.New("smithy_maxtime error"); return }; _v.SmithyMaxtime = int32(_tempNum_) } - { - var _arr_ []interface{} - var _ok_ bool - if _arr_, _ok_ = _buf["chat_expression_small"].([]interface{}); !_ok_ { err = errors.New("chat_expression_small error"); return } - - _v.ChatExpressionSmall = make([]string, 0, len(_arr_)) - - for _, _e_ := range _arr_ { - var _list_v_ string - { if _list_v_, _ok_ = _e_.(string); !_ok_ { err = errors.New("_list_v_ error"); return } } - _v.ChatExpressionSmall = append(_v.ChatExpressionSmall, _list_v_) - } - } - - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["kungfu_time"].(float64); !_ok_ { err = errors.New("kungfu_time error"); return }; _v.KungfuTime = int32(_tempNum_) } - return -} - -func DeserializeGameComData(_buf map[string]interface{}) (*GameComData, error) { - v := &GameComData{} - if err := v.Deserialize(_buf); err == nil { - return v, nil - } else { - return nil, err - } -} diff --git a/sys/configure/structs/game.rdtaskAll.go b/sys/configure/structs/game.rdtaskAll.go deleted file mode 100644 index cbd2288a3..000000000 --- a/sys/configure/structs/game.rdtaskAll.go +++ /dev/null @@ -1,42 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 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 GameRdtaskAll struct { - _dataMap map[int32]*GameRdtaskAllData - _dataList []*GameRdtaskAllData -} - -func NewGameRdtaskAll(_buf []map[string]interface{}) (*GameRdtaskAll, error) { - _dataList := make([]*GameRdtaskAllData, 0, len(_buf)) - dataMap := make(map[int32]*GameRdtaskAllData) - for _, _ele_ := range _buf { - if _v, err2 := DeserializeGameRdtaskAllData(_ele_); err2 != nil { - return nil, err2 - } else { - _dataList = append(_dataList, _v) - dataMap[_v.Id] = _v - } - } - return &GameRdtaskAll{_dataList:_dataList, _dataMap:dataMap}, nil -} - -func (table *GameRdtaskAll) GetDataMap() map[int32]*GameRdtaskAllData { - return table._dataMap -} - -func (table *GameRdtaskAll) GetDataList() []*GameRdtaskAllData { - return table._dataList -} - -func (table *GameRdtaskAll) Get(key int32) *GameRdtaskAllData { - return table._dataMap[key] -} - - diff --git a/sys/configure/structs/game.rdtaskChoose.go b/sys/configure/structs/game.rdtaskChoose.go index 6d34008d7..9aea482ed 100644 --- a/sys/configure/structs/game.rdtaskChoose.go +++ b/sys/configure/structs/game.rdtaskChoose.go @@ -21,7 +21,7 @@ func NewGameRdtaskChoose(_buf []map[string]interface{}) (*GameRdtaskChoose, erro return nil, err2 } else { _dataList = append(_dataList, _v) - dataMap[_v.Chooseid] = _v + dataMap[_v.Id] = _v } } return &GameRdtaskChoose{_dataList:_dataList, _dataMap:dataMap}, nil diff --git a/sys/configure/structs/game.rdtaskChooseData.go b/sys/configure/structs/game.rdtaskChooseData.go index 08819f11b..be47c9581 100644 --- a/sys/configure/structs/game.rdtaskChooseData.go +++ b/sys/configure/structs/game.rdtaskChooseData.go @@ -11,10 +11,10 @@ package cfg import "errors" type GameRdtaskChooseData struct { - Chooseid int32 + Id int32 Num int32 - Rdtaksnum int32 - Need []int32 + PreTid int32 + NeedItem []int32 } const TypeId_GameRdtaskChooseData = -1833024780 @@ -24,20 +24,20 @@ func (*GameRdtaskChooseData) GetTypeId() int32 { } func (_v *GameRdtaskChooseData)Deserialize(_buf map[string]interface{}) (err error) { - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["chooseid"].(float64); !_ok_ { err = errors.New("chooseid error"); return }; _v.Chooseid = int32(_tempNum_) } + { 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["num"].(float64); !_ok_ { err = errors.New("num error"); return }; _v.Num = int32(_tempNum_) } - { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["rdtaksnum"].(float64); !_ok_ { err = errors.New("rdtaksnum error"); return }; _v.Rdtaksnum = int32(_tempNum_) } + { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["preTid"].(float64); !_ok_ { err = errors.New("preTid error"); return }; _v.PreTid = int32(_tempNum_) } { var _arr_ []interface{} var _ok_ bool - if _arr_, _ok_ = _buf["need"].([]interface{}); !_ok_ { err = errors.New("need error"); return } + if _arr_, _ok_ = _buf["needItem"].([]interface{}); !_ok_ { err = errors.New("needItem error"); return } - _v.Need = make([]int32, 0, len(_arr_)) + _v.NeedItem = 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.Need = append(_v.Need, _list_v_) + _v.NeedItem = append(_v.NeedItem, _list_v_) } } diff --git a/sys/configure/structs/game.rdtaskType.go b/sys/configure/structs/game.rdtaskType.go deleted file mode 100644 index e9eae488e..000000000 --- a/sys/configure/structs/game.rdtaskType.go +++ /dev/null @@ -1,42 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 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 GameRdtaskType struct { - _dataMap map[int32]*GameRdtaskTypeData - _dataList []*GameRdtaskTypeData -} - -func NewGameRdtaskType(_buf []map[string]interface{}) (*GameRdtaskType, error) { - _dataList := make([]*GameRdtaskTypeData, 0, len(_buf)) - dataMap := make(map[int32]*GameRdtaskTypeData) - for _, _ele_ := range _buf { - if _v, err2 := DeserializeGameRdtaskTypeData(_ele_); err2 != nil { - return nil, err2 - } else { - _dataList = append(_dataList, _v) - dataMap[_v.Rdtaksnum] = _v - } - } - return &GameRdtaskType{_dataList:_dataList, _dataMap:dataMap}, nil -} - -func (table *GameRdtaskType) GetDataMap() map[int32]*GameRdtaskTypeData { - return table._dataMap -} - -func (table *GameRdtaskType) GetDataList() []*GameRdtaskTypeData { - return table._dataList -} - -func (table *GameRdtaskType) Get(key int32) *GameRdtaskTypeData { - return table._dataMap[key] -} - -