配置同步

This commit is contained in:
meixiongfeng 2022-09-28 17:21:59 +08:00
parent 3578b8a0d5
commit 79f1ecbed7
7 changed files with 425 additions and 155 deletions

View File

@ -0,0 +1,18 @@
[
{
"race": 1,
"id": "50001"
},
{
"race": 2,
"id": "50002"
},
{
"race": 3,
"id": "50003"
},
{
"race": 4,
"id": "50004"
}
]

View File

@ -2053,7 +2053,7 @@
"id": "51004", "id": "51004",
"preson": "51004", "preson": "51004",
"presonshow": "51004_exhibition", "presonshow": "51004_exhibition",
"presonstory": "51004", "presonstory": "51004_story",
"presondraw": "", "presondraw": "",
"height": 1, "height": 1,
"weight": 1, "weight": 1,

View File

@ -460,7 +460,7 @@
"objType": 1, "objType": 1,
"location": "right", "location": "right",
"point": "model_06", "point": "model_06",
"storyBegin": 307, "storyBegin": 9999,
"Entity": [], "Entity": [],
"EntityChange": [], "EntityChange": [],
"EntityStateChange": [], "EntityStateChange": [],
@ -477,55 +477,6 @@
"enableAi": false, "enableAi": false,
"boxreplace": "", "boxreplace": "",
"timeline": "", "timeline": "",
"chooseId": [
20007
],
"endTid": [
-1
],
"storyEnd": 0,
"reward": [
{
"ChooseId": 20007,
"Reward": [
{
"a": "item",
"t": "30001",
"n": 1
},
{
"a": "hero",
"t": "44005",
"n": 1
}
]
}
],
"nextTid": 100209,
"CD": 0
},
{
"id": 2007,
"objType": 1,
"location": "middle",
"point": "model_03",
"storyBegin": 217,
"Entity": [],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [],
"modelaction": "Enter",
"rotation": {
"x": 0,
"y": 90,
"z": 0
},
"modelstate": 0,
"popup": "",
"special": "",
"enableAi": false,
"boxreplace": "",
"timeline": "",
"chooseId": [], "chooseId": [],
"endTid": [ "endTid": [
-1 -1
@ -536,7 +487,7 @@
"CD": 0 "CD": 0
}, },
{ {
"id": 2008, "id": 2007,
"objType": 1, "objType": 1,
"location": "middle", "location": "middle",
"point": "model_02", "point": "model_02",
@ -564,8 +515,7 @@
"boxreplace": "", "boxreplace": "",
"timeline": "", "timeline": "",
"chooseId": [ "chooseId": [
20008, 20008
20009
], ],
"endTid": [ "endTid": [
-1 -1
@ -575,6 +525,37 @@
"nextTid": 100211, "nextTid": 100211,
"CD": 0 "CD": 0
}, },
{
"id": 2008,
"objType": 1,
"location": "middle",
"point": "model_03",
"storyBegin": 217,
"Entity": [],
"EntityChange": [],
"EntityStateChange": [],
"EntityInteractive": [],
"modelaction": "Enter",
"rotation": {
"x": 0,
"y": 90,
"z": 0
},
"modelstate": 0,
"popup": "",
"special": "",
"enableAi": false,
"boxreplace": "",
"timeline": "",
"chooseId": [],
"endTid": [
-1
],
"storyEnd": 0,
"reward": [],
"nextTid": -1,
"CD": 0
},
{ {
"id": 2009, "id": 2009,
"objType": 1, "objType": 1,
@ -660,8 +641,7 @@
"boxreplace": "", "boxreplace": "",
"timeline": "", "timeline": "",
"chooseId": [ "chooseId": [
200012, 200012
200015
], ],
"endTid": [ "endTid": [
118 118
@ -1465,7 +1445,7 @@
"id": 2034, "id": 2034,
"objType": 1, "objType": 1,
"location": "middle", "location": "middle",
"point": "model_02", "point": "model_03",
"storyBegin": 337, "storyBegin": 337,
"Entity": [], "Entity": [],
"EntityChange": [], "EntityChange": [],
@ -1474,7 +1454,7 @@
"modelaction": "", "modelaction": "",
"rotation": { "rotation": {
"x": 0, "x": 0,
"y": -90, "y": 90,
"z": 0 "z": 0
}, },
"modelstate": 0, "modelstate": 0,
@ -1656,7 +1636,7 @@
"objType": 1, "objType": 1,
"location": "right", "location": "right",
"point": "model_08", "point": "model_08",
"storyBegin": 342, "storyBegin": 307,
"Entity": [], "Entity": [],
"EntityChange": [], "EntityChange": [],
"EntityStateChange": [], "EntityStateChange": [],
@ -1673,13 +1653,31 @@
"enableAi": false, "enableAi": false,
"boxreplace": "", "boxreplace": "",
"timeline": "", "timeline": "",
"chooseId": [], "chooseId": [
20007
],
"endTid": [ "endTid": [
-1 -1
], ],
"storyEnd": 0, "storyEnd": 0,
"reward": [], "reward": [
"nextTid": -1, {
"ChooseId": 20007,
"Reward": [
{
"a": "item",
"t": "30001",
"n": 1
},
{
"a": "hero",
"t": "44005",
"n": 1
}
]
}
],
"nextTid": 100209,
"CD": 0 "CD": 0
}, },
{ {

View File

@ -5495,9 +5495,9 @@
"type": 2, "type": 2,
"bg": "jqdh_bg01", "bg": "jqdh_bg01",
"place": 0, "place": 0,
"speak": "44005", "speak": "45003",
"listen": "", "listen": "",
"des": "来了,来了。", "des": "你刚刚跑哪里去了......",
"modelstatetarget": "", "modelstatetarget": "",
"modelstate": 0, "modelstate": 0,
"modelaction": "", "modelaction": "",
@ -6524,7 +6524,7 @@
}, },
"positionL": { "positionL": {
"x": -0.1, "x": -0.1,
"y": -1.2, "y": -1.1,
"z": 0 "z": 0
}, },
"revolveR": { "revolveR": {
@ -6543,9 +6543,9 @@
"z": 0.8 "z": 0.8
}, },
"sizeL": { "sizeL": {
"x": 0.8, "x": 0.6,
"y": 0.8, "y": 0.6,
"z": 0.8 "z": 0.6
}, },
"perf": "", "perf": "",
"cg": "", "cg": "",
@ -6558,6 +6558,62 @@
"next": 304002, "next": 304002,
"type": 2, "type": 2,
"bg": "jqdh_bg01", "bg": "jqdh_bg01",
"place": 0,
"speak": "45003",
"listen": "",
"des": "哇,居然是功夫大师悍娇虎来了。",
"modelstatetarget": "",
"modelstate": 0,
"modelaction": "",
"speakstate": "",
"listenstate": "",
"chose": [],
"turn": 0,
"show": 0,
"move": "",
"action": "",
"sound": "",
"positionR": {
"x": 0.2,
"y": -1.4,
"z": 0
},
"positionL": {
"x": -0.1,
"y": -1.5,
"z": 0
},
"revolveR": {
"x": 0,
"y": -150,
"z": 0
},
"revolveL": {
"x": 0,
"y": -210,
"z": 0
},
"sizeR": {
"x": 0.8,
"y": 0.8,
"z": 0.8
},
"sizeL": {
"x": 0.6,
"y": 0.6,
"z": 0.6
},
"perf": "",
"cg": "",
"skip": true
},
{
"id": 304002,
"groupid": 304,
"before": 304001,
"next": 304003,
"type": 2,
"bg": "jqdh_bg01",
"place": 1, "place": 1,
"speak": "44006", "speak": "44006",
"listen": "", "listen": "",
@ -6608,10 +6664,10 @@
"skip": true "skip": true
}, },
{ {
"id": 304002, "id": 304003,
"groupid": 304, "groupid": 304,
"before": 304001, "before": 304002,
"next": 304003, "next": 304004,
"type": 2, "type": 2,
"bg": "jqdh_bg01", "bg": "jqdh_bg01",
"place": 0, "place": 0,
@ -6664,10 +6720,10 @@
"skip": true "skip": true
}, },
{ {
"id": 304003, "id": 304004,
"groupid": 304, "groupid": 304,
"before": 304002, "before": 304003,
"next": 304004, "next": 304005,
"type": 2, "type": 2,
"bg": "jqdh_bg01", "bg": "jqdh_bg01",
"place": 1, "place": 1,
@ -6720,10 +6776,10 @@
"skip": true "skip": true
}, },
{ {
"id": 304004, "id": 304005,
"groupid": 304, "groupid": 304,
"before": 304003, "before": 304004,
"next": 304005, "next": 304006,
"type": 2, "type": 2,
"bg": "jqdh_bg01", "bg": "jqdh_bg01",
"place": 0, "place": 0,
@ -6776,10 +6832,10 @@
"skip": true "skip": true
}, },
{ {
"id": 304005, "id": 304006,
"groupid": 304, "groupid": 304,
"before": 304004, "before": 304005,
"next": 304006, "next": 304007,
"type": 2, "type": 2,
"bg": "jqdh_bg01", "bg": "jqdh_bg01",
"place": 1, "place": 1,
@ -6832,9 +6888,9 @@
"skip": true "skip": true
}, },
{ {
"id": 304006, "id": 304007,
"groupid": 304, "groupid": 304,
"before": 304005, "before": 304006,
"next": -1, "next": -1,
"type": 2, "type": 2,
"bg": "jqdh_bg01", "bg": "jqdh_bg01",
@ -6894,6 +6950,62 @@
"next": 305002, "next": 305002,
"type": 2, "type": 2,
"bg": "jqdh_bg01", "bg": "jqdh_bg01",
"place": 0,
"speak": "45003",
"listen": "",
"des": "哇,居然是神龙大侠亲自来了。",
"modelstatetarget": "",
"modelstate": 0,
"modelaction": "",
"speakstate": "",
"listenstate": "",
"chose": [],
"turn": 0,
"show": 0,
"move": "",
"action": "",
"sound": "",
"positionR": {
"x": 0.2,
"y": -1.4,
"z": 0
},
"positionL": {
"x": -0.1,
"y": -1.5,
"z": 0
},
"revolveR": {
"x": 0,
"y": -150,
"z": 0
},
"revolveL": {
"x": 0,
"y": -210,
"z": 0
},
"sizeR": {
"x": 0.7,
"y": 0.7,
"z": 0.7
},
"sizeL": {
"x": 0.8,
"y": 0.8,
"z": 0.8
},
"perf": "",
"cg": "",
"skip": true
},
{
"id": 305002,
"groupid": 305,
"before": 305001,
"next": 305003,
"type": 2,
"bg": "jqdh_bg01",
"place": 1, "place": 1,
"speak": "25001", "speak": "25001",
"listen": "", "listen": "",
@ -6915,8 +7027,8 @@
"z": 0 "z": 0
}, },
"positionL": { "positionL": {
"x": -0.2, "x": -0.1,
"y": -1.3, "y": -1.1,
"z": 0 "z": 0
}, },
"revolveR": { "revolveR": {
@ -6930,24 +7042,24 @@
"z": 0 "z": 0
}, },
"sizeR": { "sizeR": {
"x": 0.7, "x": 0.6,
"y": 0.7, "y": 0.6,
"z": 0.7 "z": 0.6
}, },
"sizeL": { "sizeL": {
"x": 0.7, "x": 0.8,
"y": 0.7, "y": 0.8,
"z": 0.7 "z": 0.8
}, },
"perf": "", "perf": "",
"cg": "", "cg": "",
"skip": true "skip": true
}, },
{ {
"id": 305002, "id": 305003,
"groupid": 305, "groupid": 305,
"before": 305001, "before": 305002,
"next": 305003, "next": 305004,
"type": 2, "type": 2,
"bg": "jqdh_bg01", "bg": "jqdh_bg01",
"place": 0, "place": 0,
@ -7000,10 +7112,10 @@
"skip": true "skip": true
}, },
{ {
"id": 305003, "id": 305004,
"groupid": 305, "groupid": 305,
"before": 305002, "before": 305003,
"next": 305004, "next": 305005,
"type": 2, "type": 2,
"bg": "jqdh_bg01", "bg": "jqdh_bg01",
"place": 1, "place": 1,
@ -7027,8 +7139,8 @@
"z": 0 "z": 0
}, },
"positionL": { "positionL": {
"x": -0.2, "x": -0.1,
"y": -1.3, "y": -1.1,
"z": 0 "z": 0
}, },
"revolveR": { "revolveR": {
@ -7042,24 +7154,24 @@
"z": 0 "z": 0
}, },
"sizeR": { "sizeR": {
"x": 0.7, "x": 0.6,
"y": 0.7, "y": 0.6,
"z": 0.7 "z": 0.6
}, },
"sizeL": { "sizeL": {
"x": 0.7, "x": 0.8,
"y": 0.7, "y": 0.8,
"z": 0.7 "z": 0.8
}, },
"perf": "", "perf": "",
"cg": "", "cg": "",
"skip": true "skip": true
}, },
{ {
"id": 305004, "id": 305005,
"groupid": 305, "groupid": 305,
"before": 305003, "before": 305004,
"next": 305005, "next": 305006,
"type": 2, "type": 2,
"bg": "jqdh_bg01", "bg": "jqdh_bg01",
"place": 0, "place": 0,
@ -7112,10 +7224,10 @@
"skip": true "skip": true
}, },
{ {
"id": 305005, "id": 305006,
"groupid": 305, "groupid": 305,
"before": 305004, "before": 305005,
"next": 305006, "next": 305007,
"type": 2, "type": 2,
"bg": "jqdh_bg01", "bg": "jqdh_bg01",
"place": 1, "place": 1,
@ -7139,8 +7251,8 @@
"z": 0 "z": 0
}, },
"positionL": { "positionL": {
"x": -0.2, "x": -0.1,
"y": -1.3, "y": -1.1,
"z": 0 "z": 0
}, },
"revolveR": { "revolveR": {
@ -7154,23 +7266,23 @@
"z": 0 "z": 0
}, },
"sizeR": { "sizeR": {
"x": 0.7, "x": 0.6,
"y": 0.7, "y": 0.6,
"z": 0.7 "z": 0.6
}, },
"sizeL": { "sizeL": {
"x": 0.7, "x": 0.8,
"y": 0.7, "y": 0.8,
"z": 0.7 "z": 0.8
}, },
"perf": "", "perf": "",
"cg": "", "cg": "",
"skip": true "skip": true
}, },
{ {
"id": 305006, "id": 305007,
"groupid": 305, "groupid": 305,
"before": 305005, "before": 305006,
"next": -1, "next": -1,
"type": 2, "type": 2,
"bg": "jqdh_bg01", "bg": "jqdh_bg01",
@ -7391,6 +7503,62 @@
"cg": "", "cg": "",
"skip": true "skip": true
}, },
{
"id": 9999001,
"groupid": 9999,
"before": -1,
"next": -1,
"type": 2,
"bg": "jqdh_bg01",
"place": 0,
"speak": "44005",
"listen": "",
"des": "郊外的怪物们活动也越来越频繁了",
"modelstatetarget": "",
"modelstate": 0,
"modelaction": "",
"speakstate": "",
"listenstate": "",
"chose": [],
"turn": 0,
"show": 0,
"move": "",
"action": "",
"sound": "",
"positionR": {
"x": 0.2,
"y": -1.5,
"z": 0
},
"positionL": {
"x": -0.1,
"y": -1.6,
"z": 0
},
"revolveR": {
"x": 0,
"y": -150,
"z": 0
},
"revolveL": {
"x": 0,
"y": -210,
"z": 0
},
"sizeR": {
"x": 0.7,
"y": 0.7,
"z": 0.7
},
"sizeL": {
"x": 0.8,
"y": 0.8,
"z": 0.8
},
"perf": "",
"cg": "",
"skip": true
},
{ {
"id": 307001, "id": 307001,
"groupid": 307, "groupid": 307,
@ -7401,7 +7569,7 @@
"place": 0, "place": 0,
"speak": "45003", "speak": "45003",
"listen": "", "listen": "",
"des": "[color=#6dba00]备用能[/color]已经拿到,我们赶紧返回基地吧。", "des": "[color=#6dba00]备用能量石[/color]已经拿到,我们赶紧返回基地吧。",
"modelstatetarget": "", "modelstatetarget": "",
"modelstate": 0, "modelstate": 0,
"modelaction": "", "modelaction": "",
@ -7790,10 +7958,10 @@
"next": 308007, "next": 308007,
"type": 2, "type": 2,
"bg": "jqdh_bg01", "bg": "jqdh_bg01",
"place": 1, "place": 0,
"speak": "44005", "speak": "45003",
"listen": "", "listen": "",
"des": "所以你现在可以挪挪你的小手,来激活备用备用[color=#6dba00]备用能源[/color]了吗?", "des": "嗯……不过小伊,我想我们现在应该先把备用能量石安装好。",
"modelstatetarget": "", "modelstatetarget": "",
"modelstate": 0, "modelstate": 0,
"modelaction": "", "modelaction": "",
@ -7846,10 +8014,10 @@
"next": -1, "next": -1,
"type": 2, "type": 2,
"bg": "jqdh_bg01", "bg": "jqdh_bg01",
"place": 0, "place": 1,
"speak": "45003", "speak": "44005",
"listen": "", "listen": "",
"des": "哦对对,不过这个东西劲力很大,你要是准备要了就随时找我开启。", "des": "哦哦,没错~这个东西看起来很重,我已经准备好了可以随时找我帮忙。",
"modelstatetarget": "", "modelstatetarget": "",
"modelstate": 0, "modelstate": 0,
"modelaction": "", "modelaction": "",
@ -8801,7 +8969,7 @@
"place": 0, "place": 0,
"speak": "14007", "speak": "14007",
"listen": "", "listen": "",
"des": "等一下,心魔塔充满了大量的黑暗能量,先让我把英雄等级升到10级吧。", "des": "等一下,心魔塔充满了大量的黑暗能量,先我的英雄等级升到10级吧。",
"modelstatetarget": "", "modelstatetarget": "",
"modelstate": 0, "modelstate": 0,
"modelaction": "", "modelaction": "",
@ -9023,7 +9191,7 @@
"type": 2, "type": 2,
"bg": "jqdh_bg01", "bg": "jqdh_bg01",
"place": 0, "place": 0,
"speak": "45003", "speak": "14007",
"listen": "", "listen": "",
"des": "很好,这样我们就有去闯心魔塔的底气了!", "des": "很好,这样我们就有去闯心魔塔的底气了!",
"modelstatetarget": "", "modelstatetarget": "",
@ -11097,7 +11265,7 @@
"place": 0, "place": 0,
"speak": "14007", "speak": "14007",
"listen": "", "listen": "",
"des": "内在力量固然重要,但是装备也是必不可少的提升,现在来给格里森王子穿戴一套装备吧!", "des": "内在力量固然重要,但是装备也是必不可少的提升,现在来给穿戴一套装备吧!",
"modelstatetarget": "", "modelstatetarget": "",
"modelstate": 0, "modelstate": 0,
"modelaction": "", "modelaction": "",
@ -11209,7 +11377,7 @@
"place": 0, "place": 0,
"speak": "44005", "speak": "44005",
"listen": "", "listen": "",
"des": "变强是每个英雄都必须要经历的事情。", "des": "变强是每个英雄都必须要经历的事情。",
"modelstatetarget": "", "modelstatetarget": "",
"modelstate": 0, "modelstate": 0,
"modelaction": "", "modelaction": "",
@ -11265,7 +11433,7 @@
"place": 0, "place": 0,
"speak": "45003", "speak": "45003",
"listen": "", "listen": "",
"des": "小伊...我真没想到在这里遇到你......", "des": "小伊...我真没想到在这里遇到你",
"modelstatetarget": "", "modelstatetarget": "",
"modelstate": 0, "modelstate": 0,
"modelaction": "", "modelaction": "",
@ -11545,7 +11713,7 @@
"place": 0, "place": 0,
"speak": "25001", "speak": "25001",
"listen": "", "listen": "",
"des": "盖,是你正在呼唤我来吗?", "des": "盖,是你正在呼唤我来吗?11",
"modelstatetarget": "", "modelstatetarget": "",
"modelstate": 0, "modelstate": 0,
"modelaction": "", "modelaction": "",
@ -11559,12 +11727,12 @@
"sound": "", "sound": "",
"positionR": { "positionR": {
"x": 0.2, "x": 0.2,
"y": -0.8, "y": -1.4,
"z": 0 "z": 0
}, },
"positionL": { "positionL": {
"x": -0.4, "x": -0.1,
"y": -1.3, "y": -1.1,
"z": 0 "z": 0
}, },
"revolveR": { "revolveR": {
@ -11578,14 +11746,14 @@
"z": 0 "z": 0
}, },
"sizeR": { "sizeR": {
"x": 0.7, "x": 0.8,
"y": 0.7, "y": 0.8,
"z": 0.7 "z": 0.8
}, },
"sizeL": { "sizeL": {
"x": 0.7, "x": 0.6,
"y": 0.7, "y": 0.6,
"z": 0.7 "z": 0.6
}, },
"perf": "", "perf": "",
"cg": "", "cg": "",
@ -11675,8 +11843,8 @@
"z": 0 "z": 0
}, },
"positionL": { "positionL": {
"x": -0.4, "x": -0.1,
"y": -1.3, "y": -1.1,
"z": 0 "z": 0
}, },
"revolveR": { "revolveR": {
@ -11690,14 +11858,14 @@
"z": 0 "z": 0
}, },
"sizeR": { "sizeR": {
"x": 0.7, "x": 0.8,
"y": 0.7, "y": 0.8,
"z": 0.7 "z": 0.8
}, },
"sizeL": { "sizeL": {
"x": 0.7, "x": 0.6,
"y": 0.7, "y": 0.6,
"z": 0.7 "z": 0.6
}, },
"perf": "", "perf": "",
"cg": "", "cg": "",
@ -11727,12 +11895,12 @@
"sound": "", "sound": "",
"positionR": { "positionR": {
"x": 0.2, "x": 0.2,
"y": -1.5, "y": -1.4,
"z": 0 "z": 0
}, },
"positionL": { "positionL": {
"x": -0.1, "x": -0.1,
"y": -1.5, "y": -1.2,
"z": 0 "z": 0
}, },
"revolveR": { "revolveR": {
@ -11751,9 +11919,9 @@
"z": 0.8 "z": 0.8
}, },
"sizeL": { "sizeL": {
"x": 0.8, "x": 0.7,
"y": 0.8, "y": 0.7,
"z": 0.8 "z": 0.7
}, },
"perf": "", "perf": "",
"cg": "", "cg": "",

View File

@ -0,0 +1,42 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
type GameHeroConvertdata struct {
_dataMap map[int32]*GameHeroConvertdataData
_dataList []*GameHeroConvertdataData
}
func NewGameHeroConvertdata(_buf []map[string]interface{}) (*GameHeroConvertdata, error) {
_dataList := make([]*GameHeroConvertdataData, 0, len(_buf))
dataMap := make(map[int32]*GameHeroConvertdataData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameHeroConvertdataData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Race] = _v
}
}
return &GameHeroConvertdata{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameHeroConvertdata) GetDataMap() map[int32]*GameHeroConvertdataData {
return table._dataMap
}
func (table *GameHeroConvertdata) GetDataList() []*GameHeroConvertdataData {
return table._dataList
}
func (table *GameHeroConvertdata) Get(key int32) *GameHeroConvertdataData {
return table._dataMap[key]
}

View File

@ -0,0 +1,37 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
import "errors"
type GameHeroConvertdataData struct {
Race int32
Id string
}
const TypeId_GameHeroConvertdataData = -1689768495
func (*GameHeroConvertdataData) GetTypeId() int32 {
return -1689768495
}
func (_v *GameHeroConvertdataData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["race"].(float64); !_ok_ { err = errors.New("race error"); return }; _v.Race = int32(_tempNum_) }
{ var _ok_ bool; if _v.Id, _ok_ = _buf["id"].(string); !_ok_ { err = errors.New("id error"); return } }
return
}
func DeserializeGameHeroConvertdataData(_buf map[string]interface{}) (*GameHeroConvertdataData, error) {
v := &GameHeroConvertdataData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -100,6 +100,7 @@ type Tables struct {
Ip *GameIp Ip *GameIp
GameColor *GameGameColor GameColor *GameGameColor
NameLibrary *GameNameLibrary NameLibrary *GameNameLibrary
HeroConvertdata *GameHeroConvertdata
} }
func NewTables(loader JsonLoader) (*Tables, error) { func NewTables(loader JsonLoader) (*Tables, error) {
@ -641,5 +642,11 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.NameLibrary, err = NewGameNameLibrary(buf) ; err != nil { if tables.NameLibrary, err = NewGameNameLibrary(buf) ; err != nil {
return nil, err return nil, err
} }
if buf, err = loader("game_heroconvertdata") ; err != nil {
return nil, err
}
if tables.HeroConvertdata, err = NewGameHeroConvertdata(buf) ; err != nil {
return nil, err
}
return tables, nil return tables, nil
} }