json 同步

This commit is contained in:
meixiongfeng 2022-10-19 18:26:17 +08:00
parent cff8c4e91c
commit de42696f16
35 changed files with 2001 additions and 434 deletions

View File

@ -17,7 +17,7 @@
},
"ips": "10.0.0.138:7891",
"debug": true,
"sid": "dfli01"
"sid": "dfli"
},
{
"index": 3,

View File

@ -155,7 +155,7 @@
"kungfu_time": 30,
"dreamland_fightnum": 30,
"dreamland_resettime": 0,
"dreamland_limit": 3600,
"dreamland_limit_time": 30,
"dreamland_share_time": 300,
"dreamland_triggernum": 20,
"hunting_num": 10,
@ -170,6 +170,17 @@
"game_time": [
1,
24
],
"selling_tips_strengthen": 12,
"selling_tips_star": 5,
"selling_tips_entry": 4,
"gourmet_robot": [
3,
4
],
"gourmet_pause": [
500,
3000
]
}
]

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,7 @@
[
{
"id": 1,
"switch": 1,
"hero": "14007",
"switch": 1,
"pointhero": [
"35001",
"35001",
@ -10,12 +9,12 @@
"35001"
],
"awaken": -1,
"start": -1
"start": -1,
"lv": -1
},
{
"id": 2,
"switch": 1,
"hero": "35001",
"switch": 1,
"pointhero": [
"25001",
"25001",
@ -23,12 +22,12 @@
"25001"
],
"awaken": -1,
"start": -1
"start": -1,
"lv": -1
},
{
"id": 3,
"switch": 1,
"hero": "25001",
"switch": 1,
"pointhero": [
"25004",
"25004",
@ -36,12 +35,12 @@
"25004"
],
"awaken": -1,
"start": -1
"start": -1,
"lv": -1
},
{
"id": 4,
"switch": 1,
"hero": "25004",
"switch": 1,
"pointhero": [
"44005",
"44005",
@ -49,12 +48,12 @@
"44005"
],
"awaken": -1,
"start": -1
"start": -1,
"lv": -1
},
{
"id": 5,
"switch": 1,
"hero": "45003",
"switch": 1,
"pointhero": [
"44005",
"44005",
@ -62,6 +61,7 @@
"44005"
],
"awaken": -1,
"start": -1
"start": -1,
"lv": -1
}
]

View File

@ -0,0 +1,12 @@
[
{
"id": "43901",
"star": 3,
"starid": "43902"
},
{
"id": "43902",
"star": 4,
"starid": "43903"
}
]

View File

@ -14,7 +14,7 @@
},
"exp": 60,
"model": "35001",
"ornament": "muzhuang1",
"ornament": "Muzhuang1",
"affix": {
"key": "gourmet_ln1",
"text": "教习效率+50%"
@ -52,7 +52,7 @@
},
"exp": 120,
"model": "35001",
"ornament": "muzhuang2",
"ornament": "Muzhuang2",
"affix": {
"key": "gourmet_ln2",
"text": "教习效率+51%"
@ -90,7 +90,7 @@
},
"exp": 240,
"model": "35001",
"ornament": "muzhuang1",
"ornament": "Muzhuang1",
"affix": {
"key": "gourmet_ln3",
"text": "教习效率+52%"
@ -128,7 +128,7 @@
},
"exp": 480,
"model": "35001",
"ornament": "muzhuang2",
"ornament": "Muzhuang2",
"affix": {
"key": "gourmet_ln4",
"text": "教习效率+53%"
@ -166,7 +166,7 @@
},
"exp": 1020,
"model": "35001",
"ornament": "muzhuang1",
"ornament": "Muzhuang1",
"affix": {
"key": "gourmet_ln5",
"text": "教习效率+50%"
@ -204,7 +204,7 @@
},
"exp": 1080,
"model": "35001",
"ornament": "muzhuang2",
"ornament": "Muzhuang2",
"affix": {
"key": "gourmet_ln6",
"text": "教习效率+51%"
@ -242,7 +242,7 @@
},
"exp": 2940,
"model": "35001",
"ornament": "muzhuang1",
"ornament": "Muzhuang1",
"affix": {
"key": "gourmet_ln13",
"text": "教习效率+50%"
@ -280,7 +280,7 @@
},
"exp": 3000,
"model": "35001",
"ornament": "muzhuang2",
"ornament": "Muzhuang2",
"affix": {
"key": "gourmet_ln14",
"text": "教习效率+51%"
@ -318,7 +318,7 @@
},
"exp": 3120,
"model": "35001",
"ornament": "muzhuang1",
"ornament": "Muzhuang1",
"affix": {
"key": "gourmet_ln15",
"text": "教习效率+52%"
@ -356,7 +356,7 @@
},
"exp": 3360,
"model": "35001",
"ornament": "muzhuang2",
"ornament": "Muzhuang2",
"affix": {
"key": "gourmet_ln16",
"text": "教习效率+53%"
@ -394,7 +394,7 @@
},
"exp": 3900,
"model": "35001",
"ornament": "muzhuang1",
"ornament": "Muzhuang1",
"affix": {
"key": "gourmet_ln17",
"text": "教习效率+50%"
@ -432,7 +432,7 @@
},
"exp": 3960,
"model": "35001",
"ornament": "muzhuang2",
"ornament": "Muzhuang2",
"affix": {
"key": "gourmet_ln18",
"text": "教习效率+51%"
@ -470,7 +470,7 @@
},
"exp": 5820,
"model": "35001",
"ornament": "muzhuang1",
"ornament": "Muzhuang1",
"affix": {
"key": "gourmet_ln25",
"text": "教习效率+50%"
@ -508,7 +508,7 @@
},
"exp": 5880,
"model": "35001",
"ornament": "muzhuang2",
"ornament": "Muzhuang2",
"affix": {
"key": "gourmet_ln26",
"text": "教习效率+51%"
@ -546,7 +546,7 @@
},
"exp": 6000,
"model": "35001",
"ornament": "muzhuang1",
"ornament": "Muzhuang1",
"affix": {
"key": "gourmet_ln27",
"text": "教习效率+52%"
@ -584,7 +584,7 @@
},
"exp": 6240,
"model": "35001",
"ornament": "muzhuang2",
"ornament": "Muzhuang2",
"affix": {
"key": "gourmet_ln28",
"text": "教习效率+53%"
@ -622,7 +622,7 @@
},
"exp": 6780,
"model": "35001",
"ornament": "muzhuang1",
"ornament": "Muzhuang1",
"affix": {
"key": "gourmet_ln29",
"text": "教习效率+50%"
@ -660,7 +660,7 @@
},
"exp": 6840,
"model": "35001",
"ornament": "muzhuang2",
"ornament": "Muzhuang2",
"affix": {
"key": "gourmet_ln30",
"text": "教习效率+51%"

View File

@ -0,0 +1,17 @@
[
{
"favorlv": 1,
"name": "萍水相逢",
"txt": "可激活1条结局"
},
{
"favorlv": 2,
"name": "点头之交",
"txt": "可激活2条结局"
},
{
"favorlv": 3,
"name": "情投意合",
"txt": "可激活3条结局"
}
]

View File

@ -1,6 +1,7 @@
[
{
"histroy": "150041",
"name": "故事一",
"txt": "小欧是个很乖巧的姑娘",
"prize": [
{
@ -12,6 +13,7 @@
},
{
"histroy": "150042",
"name": "故事一",
"txt": "小欧是个很潇洒的姑娘",
"prize": [
{
@ -23,6 +25,7 @@
},
{
"histroy": "150043",
"name": "故事一",
"txt": "小欧是个深情的姑娘",
"prize": [
{
@ -34,6 +37,7 @@
},
{
"histroy": "250011",
"name": "故事一",
"txt": "阿宝长得贼胖",
"prize": [
{
@ -45,6 +49,7 @@
},
{
"histroy": "250012",
"name": "故事一",
"txt": "阿宝长得贼圆",
"prize": [
{
@ -56,6 +61,7 @@
},
{
"histroy": "250013",
"name": "故事一",
"txt": "阿宝长得贼可爱",
"prize": [
{
@ -67,6 +73,7 @@
},
{
"histroy": "350011",
"name": "故事一",
"txt": "师父武功高强",
"prize": [
{
@ -78,6 +85,7 @@
},
{
"histroy": "350012",
"name": "故事一",
"txt": "师父很傲娇",
"prize": [
{
@ -89,6 +97,7 @@
},
{
"histroy": "350013",
"name": "故事一",
"txt": "师父的武功来自于乌龟大师",
"prize": [
{
@ -100,6 +109,7 @@
},
{
"histroy": "350021",
"name": "故事一",
"txt": "希卡普很勇敢",
"prize": [
{
@ -111,6 +121,7 @@
},
{
"histroy": "350022",
"name": "故事一",
"txt": "希卡普很善良",
"prize": [
{
@ -122,6 +133,7 @@
},
{
"histroy": "350023",
"name": "故事一",
"txt": "希卡普很帅气",
"prize": [
{

View File

@ -0,0 +1,46 @@
[
{
"startid": 10008,
"library_title": {
"key": "library_title_10008",
"text": "library_title_library_title_10008"
},
"library_outcome": {
"key": "library_outcome_10008",
"text": "library_outcome_library_title_10008"
}
},
{
"startid": 10009,
"library_title": {
"key": "library_title_10009",
"text": "library_title_library_title_10009"
},
"library_outcome": {
"key": "library_outcome_10009",
"text": "library_outcome_library_title_10009"
}
},
{
"startid": 10010,
"library_title": {
"key": "library_title_10010",
"text": "library_title_library_title_10010"
},
"library_outcome": {
"key": "library_outcome_10010",
"text": "library_outcome_library_title_10010"
}
},
{
"startid": 10011,
"library_title": {
"key": "library_title_10011",
"text": "library_title_library_title_10011"
},
"library_outcome": {
"key": "library_outcome_10011",
"text": "library_outcome_library_title_10011"
}
}
]

View File

@ -70,89 +70,5 @@
"open": true,
"routrules": "~/worker",
"describe": "拒绝"
},
{
"msgid": "friend.list",
"open": true,
"routrules": "~/worker",
"describe": "好友列表"
},
{
"msgid": "friend.applylist",
"open": true,
"routrules": "~/worker",
"describe": "好友申请列表"
},
{
"msgid": "friend.addblack",
"open": true,
"routrules": "~/worker",
"describe": "加黑名单"
},
{
"msgid": "friend.delblack",
"open": true,
"routrules": "~/worker",
"describe": "删除黑名单"
},
{
"msgid": "friend.blacklist",
"open": true,
"routrules": "~/worker",
"describe": "黑名单列表"
},
{
"msgid": "friend.zan",
"open": true,
"routrules": "~/worker",
"describe": "好友点赞"
},
{
"msgid": "friend.zanreceive",
"open": true,
"routrules": "~/worker",
"describe": "接收点赞"
},
{
"msgid": "friend.zanlist",
"open": true,
"routrules": "~/worker",
"describe": "点赞列表"
},
{
"msgid": "friend.assisthero",
"open": true,
"routrules": "~/worker",
"describe": "英雄助战"
},
{
"msgid": "friend.assistlist",
"open": true,
"routrules": "~/worker",
"describe": "助战列表"
},
{
"msgid": "friend.getreward",
"open": true,
"routrules": "~/worker",
"describe": "获取奖励"
},
{
"msgid": "friend.del",
"open": true,
"routrules": "~/worker",
"describe": "删除好友"
},
{
"msgid": "friend.search",
"open": true,
"routrules": "~/worker",
"describe": "搜索好友"
},
{
"msgid": "friend.randlist",
"open": true,
"routrules": "~/worker",
"describe": "好友推荐"
}
]

View File

@ -0,0 +1,44 @@
[
{
"id": 1,
"type": 1,
"url": "action_44006",
"backname": "",
"isOpen": true
},
{
"id": 2,
"type": 1,
"url": "action_11011",
"backname": "",
"isOpen": true
},
{
"id": 3,
"type": 1,
"url": "action_12018",
"backname": "",
"isOpen": false
},
{
"id": 4,
"type": 1,
"url": "action_11018",
"backname": "",
"isOpen": false
},
{
"id": 5,
"type": 1,
"url": "action_12001",
"backname": "",
"isOpen": true
},
{
"id": 6,
"type": 2,
"url": "zj_bg_fj",
"backname": "普通背景",
"isOpen": true
}
]

View File

@ -5670,7 +5670,7 @@
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 18,
"Type": 23,
"Argu": [],
"FollowSK": [],
"SucFollowSK": [],
@ -6805,7 +6805,7 @@
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 19,
"Type": 24,
"Argu": [
390001112,
1000,
@ -9384,11 +9384,9 @@
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 4,
"Type": 25,
"Argu": [
2,
1,
150
1000
],
"FollowSK": [],
"SucFollowSK": [],
@ -10180,5 +10178,424 @@
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 213003011,
"EmitPR": 1000,
"From": 1,
"Where": "",
"Order": "",
"Limit": 10,
"ExecuteCnt": 1,
"Type": 3,
"Argu": [
390001314,
1000,
1,
-1
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 213003111,
"EmitPR": 1000,
"From": 4,
"Where": "",
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 1,
"Argu": [
1,
4,
1000
],
"FollowSK": [],
"SucFollowSK": [
213003012
],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 213003112,
"EmitPR": 1000,
"From": 4,
"Where": "",
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 3,
"Argu": [
390001110,
600,
1,
1
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 213003211,
"EmitPR": 1000,
"From": 4,
"Where": "",
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 1,
"Argu": [
1,
4,
1000
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 213003212,
"EmitPR": 1000,
"From": 3,
"Where": "",
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 4,
"Argu": [
1,
1,
50
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 213003213,
"EmitPR": 1000,
"From": 4,
"Where": "",
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 2,
"Argu": [
413003211,
1,
-1
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 213003214,
"EmitPR": 1000,
"From": 4,
"Where": "",
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 7,
"Argu": [
0,
0,
-1
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 213003215,
"EmitPR": 1000,
"From": 3,
"Where": "",
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 4,
"Argu": [
1,
1,
30
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 213003311,
"EmitPR": 1000,
"From": 4,
"Where": "",
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 1,
"Argu": [
1,
1,
180
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 213003312,
"EmitPR": 1000,
"From": 4,
"Where": "From=4,Hpproless=500",
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 3,
"Argu": [
390001113,
1000,
1,
1
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 213003313,
"EmitPR": 1000,
"From": 4,
"Where": "From=4,Hpupwards=500",
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 3,
"Argu": [
390001113,
1000,
1,
2
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 235005011,
"EmitPR": 1000,
"From": 1,
"Where": "",
"Order": "",
"Limit": 10,
"ExecuteCnt": 1,
"Type": 3,
"Argu": [
390001321,
1000,
1,
-1
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 235005111,
"EmitPR": 1000,
"From": 1,
"Where": "",
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 1,
"Argu": [
1,
4,
1400
],
"FollowSK": [
235005112
],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 235005112,
"EmitPR": 1000,
"From": 1,
"Where": "",
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 19,
"Argu": [
1,
6,
4,
45
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 235005211,
"EmitPR": 1000,
"From": 2,
"Where": "",
"Order": "",
"Limit": 10,
"ExecuteCnt": 2,
"Type": 1,
"Argu": [
1,
4,
200
],
"FollowSK": [],
"SucFollowSK": [
235005213
],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 235005212,
"EmitPR": 1000,
"From": 2,
"Where": "",
"Order": "",
"Limit": 10,
"ExecuteCnt": 2,
"Type": 1,
"Argu": [
1,
4,
400
],
"FollowSK": [],
"SucFollowSK": [
235005213
],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 235005213,
"EmitPR": 1000,
"From": 1,
"Where": "",
"Order": "",
"Limit": 10,
"ExecuteCnt": 1,
"Type": 3,
"Argu": [
390001007,
500,
1,
2
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 235005311,
"EmitPR": 1000,
"From": 1,
"Where": "",
"Order": "",
"Limit": 10,
"ExecuteCnt": 1,
"Type": 3,
"Argu": [
390001002,
1000,
1,
2
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 235005312,
"EmitPR": 1000,
"From": 1,
"Where": "",
"Order": "",
"Limit": 10,
"ExecuteCnt": 1,
"Type": 3,
"Argu": [
390001002,
1000,
1,
2
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 235005313,
"EmitPR": 1000,
"From": 2,
"Where": "",
"Order": "",
"Limit": 10,
"ExecuteCnt": 2,
"Type": 1,
"Argu": [
1,
4,
1050
],
"FollowSK": [],
"SucFollowSK": [
235005314
],
"FailFollowSK": [],
"MustHit": false
},
{
"Id": 235005314,
"EmitPR": 1000,
"From": 1,
"Where": "",
"Order": "",
"Limit": 10,
"ExecuteCnt": 1,
"Type": 3,
"Argu": [
390001007,
500,
1,
2
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false
}
]

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,10 @@
[
{
"Id": 490067001,
"When": "RouFro",
"TargetCheck": 3,
"AddCon": "",
"When": 2,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -13,9 +14,12 @@
},
{
"Id": 490068001,
"When": "RouFro",
"TargetCheck": 3,
"AddCon": "Hpproless=500,Target=3",
"When": 2,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [
"Hpproless=500,Target=3"
],
"PasPr": 500,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -25,9 +29,10 @@
},
{
"Id": 425004311,
"When": "RouFro",
"TargetCheck": 4,
"AddCon": "",
"When": 2,
"FromCheck": 4,
"TargetCheck": 0,
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -38,9 +43,10 @@
},
{
"Id": 435002211,
"When": "SkillStart",
"TargetCheck": 2,
"AddCon": "",
"When": 3,
"FromCheck": 2,
"TargetCheck": 0,
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -50,9 +56,12 @@
},
{
"Id": 434006211,
"When": "ImpEff",
"TargetCheck": 2,
"AddCon": "EffID=390002003",
"When": 5,
"FromCheck": 2,
"TargetCheck": 0,
"AddCon": [
"EffID=390002003"
],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -62,9 +71,10 @@
},
{
"Id": 425001211,
"When": "RouEnd",
"TargetCheck": 3,
"AddCon": "",
"When": 20,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -74,9 +84,12 @@
},
{
"Id": 425001212,
"When": "BeDamage",
"TargetCheck": 3,
"AddCon": "EffID=390001209",
"When": 4,
"FromCheck": 0,
"TargetCheck": 0,
"AddCon": [
"EffID=390001209"
],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -86,9 +99,10 @@
},
{
"Id": 425001213,
"When": "RouFro",
"TargetCheck": 3,
"AddCon": "",
"When": 2,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -98,9 +112,10 @@
},
{
"Id": 425001221,
"When": "RouEnd",
"TargetCheck": 3,
"AddCon": "",
"When": 20,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -110,9 +125,12 @@
},
{
"Id": 425001222,
"When": "BeDamage",
"TargetCheck": 3,
"AddCon": "EffID=390001209",
"When": 15,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [
"EffID=390001209"
],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -122,9 +140,10 @@
},
{
"Id": 425001223,
"When": "RouFro",
"TargetCheck": 3,
"AddCon": "",
"When": 2,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -134,9 +153,10 @@
},
{
"Id": 425001231,
"When": "RouEnd",
"TargetCheck": 3,
"AddCon": "",
"When": 20,
"FromCheck": 0,
"TargetCheck": 0,
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -146,9 +166,12 @@
},
{
"Id": 425001232,
"When": "BeDamage",
"When": 15,
"FromCheck": 0,
"TargetCheck": 3,
"AddCon": "EffID=390001209",
"AddCon": [
"EffID=390001209"
],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -158,9 +181,10 @@
},
{
"Id": 425001233,
"When": "RouFro",
"TargetCheck": 3,
"AddCon": "",
"When": 2,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -170,9 +194,10 @@
},
{
"Id": 425001241,
"When": "RouEnd",
"TargetCheck": 3,
"AddCon": "",
"When": 20,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -182,9 +207,12 @@
},
{
"Id": 425001242,
"When": "BeDamage",
"When": 15,
"FromCheck": 0,
"TargetCheck": 3,
"AddCon": "EffID=390001209",
"AddCon": [
"EffID=390001209"
],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -194,9 +222,10 @@
},
{
"Id": 425001243,
"When": "RouFro",
"TargetCheck": 3,
"AddCon": "",
"When": 2,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -206,9 +235,10 @@
},
{
"Id": 425001251,
"When": "RouEnd",
"TargetCheck": 3,
"AddCon": "",
"When": 20,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -218,9 +248,12 @@
},
{
"Id": 425001252,
"When": "BeDamage",
"When": 15,
"FromCheck": 0,
"TargetCheck": 3,
"AddCon": "EffID=390001209",
"AddCon": [
"EffID=390001209"
],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -230,9 +263,10 @@
},
{
"Id": 425001253,
"When": "RouFro",
"TargetCheck": 3,
"AddCon": "",
"When": 2,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -242,9 +276,12 @@
},
{
"Id": 444005311,
"When": "RemoveBuffEnd",
"When": 17,
"FromCheck": 0,
"TargetCheck": 2,
"AddCon": "EffType=0,Result=1",
"AddCon": [
"EffType=0,Result=1"
],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 10,
@ -254,9 +291,10 @@
},
{
"Id": 435001211,
"When": "Damage",
"TargetCheck": 3,
"AddCon": "",
"When": 15,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -266,9 +304,10 @@
},
{
"Id": 435001212,
"When": "Damage",
"TargetCheck": 3,
"AddCon": "",
"When": 15,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -278,9 +317,10 @@
},
{
"Id": 444006211,
"When": "Kill",
"TargetCheck": 3,
"AddCon": "",
"When": 14,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -291,9 +331,12 @@
},
{
"Id": 444006311,
"When": "Kill",
"TargetCheck": 3,
"AddCon": "SkillID=944006313",
"When": 14,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [
"SkillID=944006313"
],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -303,9 +346,12 @@
},
{
"Id": 444006321,
"When": "Kill",
"TargetCheck": 3,
"AddCon": "SkillID=944006323",
"When": 14,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [
"SkillID=944006323"
],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -315,9 +361,12 @@
},
{
"Id": 444006331,
"When": "Kill",
"TargetCheck": 3,
"AddCon": "SkillID=944006333",
"When": 14,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [
"SkillID=944006333"
],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -327,9 +376,12 @@
},
{
"Id": 444006341,
"When": "Kill",
"TargetCheck": 3,
"AddCon": "SkillID=944006343",
"When": 14,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [
"SkillID=944006343"
],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -339,9 +391,12 @@
},
{
"Id": 444006351,
"When": "Kill",
"TargetCheck": 3,
"AddCon": "SkillID=944006353",
"When": 14,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [
"SkillID=944006353"
],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -351,9 +406,10 @@
},
{
"Id": 415005211,
"When": "TreEnd",
"TargetCheck": 3,
"AddCon": "",
"When": 16,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -363,9 +419,12 @@
},
{
"Id": 415005212,
"When": "TreStart",
"TargetCheck": 3,
"AddCon": "BeyondHp=1000",
"When": 7,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [
"BeyondHp=1000"
],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -375,9 +434,10 @@
},
{
"Id": 424002211,
"When": "Damage",
"TargetCheck": 3,
"AddCon": "",
"When": 15,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -387,9 +447,10 @@
},
{
"Id": 424002212,
"When": "BeDamage",
"When": 15,
"FromCheck": 0,
"TargetCheck": 3,
"AddCon": "",
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -399,9 +460,10 @@
},
{
"Id": 414007211,
"When": "BeDamage",
"When": 15,
"FromCheck": 0,
"TargetCheck": 3,
"AddCon": "",
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -412,9 +474,10 @@
},
{
"Id": 414003311,
"When": "Damage",
"TargetCheck": 3,
"AddCon": "",
"When": 15,
"FromCheck": 3,
"TargetCheck": 0,
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -424,9 +487,10 @@
},
{
"Id": 445003211,
"When": "BeDamage",
"When": 14,
"FromCheck": 0,
"TargetCheck": 3,
"AddCon": "",
"AddCon": [],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -436,9 +500,12 @@
},
{
"Id": 435003211,
"When": "AddBuff",
"When": 18,
"FromCheck": 0,
"TargetCheck": 3,
"AddCon": "EffType=0,Result=1",
"AddCon": [
"EffType=0,Result=1"
],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 99,
@ -448,9 +515,12 @@
},
{
"Id": 435003212,
"When": "AddBuff",
"When": 18,
"FromCheck": 0,
"TargetCheck": 3,
"AddCon": "EffType=0,Result=0",
"AddCon": [
"EffType=0,Result=0"
],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 99,
@ -460,9 +530,12 @@
},
{
"Id": 435003213,
"When": "BeDamage",
"When": 15,
"FromCheck": 0,
"TargetCheck": 3,
"AddCon": "",
"AddCon": [
"LeftSelf"
],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 1,
@ -470,5 +543,20 @@
235003217,
235003218
]
},
{
"Id": 413003211,
"When": 17,
"FromCheck": 0,
"TargetCheck": 2,
"AddCon": [
"EffType=0,Result=1"
],
"PasPr": 1000,
"Type": "CallSkillPas",
"MaxEmitTimes": 99,
"Callback": [
213003215
]
}
]

View File

@ -60,7 +60,7 @@ func (this *FightRole) GetAfterAtk(skillId int32) core.IAfterSkill {
case cfg.GameSkillEffectType_Dmg:
case cfg.GameSkillEffectType_NowHpDps:
case cfg.GameSkillEffectType_MaxDmg:
case cfg.GameSkillEffectType_FrontDmg:
//case cfg.GameSkillEffectType_FrontDmg:
_skill = afteratk.NewFightDmgSkill(this, conf)
break
/// 治疗

View File

@ -72,17 +72,18 @@ type DBComment struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID
Heroid string `protobuf:"bytes,2,opt,name=heroid,proto3" json:"heroid"` //英雄id
Heroobjid string `protobuf:"bytes,3,opt,name=heroobjid,proto3" json:"heroobjid"` //目标英雄的实例id
Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid"` //发送用户id
Stage string `protobuf:"bytes,5,opt,name=stage,proto3" json:"stage"` //区服id
Avatar string `protobuf:"bytes,6,opt,name=avatar,proto3" json:"avatar"` //用户头像
Uname string `protobuf:"bytes,7,opt,name=uname,proto3" json:"uname"` //用户名
State CommentState `protobuf:"varint,8,opt,name=state,proto3,enum=CommentState" json:"state"` //状态
Ctime int64 `protobuf:"varint,9,opt,name=ctime,proto3" json:"ctime"` //发布时间
Content string `protobuf:"bytes,10,opt,name=content,proto3" json:"content"` //内容
Starlist int32 `protobuf:"varint,11,opt,name=starlist,proto3" json:"starlist"` //点赞数
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID
Heroid string `protobuf:"bytes,2,opt,name=heroid,proto3" json:"heroid"` //英雄id
Heroobjid string `protobuf:"bytes,3,opt,name=heroobjid,proto3" json:"heroobjid"` //目标英雄的实例id
Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid"` //发送用户id
Stage string `protobuf:"bytes,5,opt,name=stage,proto3" json:"stage"` //区服id
Avatar string `protobuf:"bytes,6,opt,name=avatar,proto3" json:"avatar"` //用户头像
Uname string `protobuf:"bytes,7,opt,name=uname,proto3" json:"uname"` //用户名
Ulv int32 `protobuf:"varint,8,opt,name=ulv,proto3" json:"ulv"`
State CommentState `protobuf:"varint,9,opt,name=state,proto3,enum=CommentState" json:"state"` //状态
Ctime int64 `protobuf:"varint,10,opt,name=ctime,proto3" json:"ctime"` //发布时间
Content string `protobuf:"bytes,11,opt,name=content,proto3" json:"content"` //内容
Starlist int32 `protobuf:"varint,12,opt,name=starlist,proto3" json:"starlist"` //点赞数
}
func (x *DBComment) Reset() {
@ -166,6 +167,13 @@ func (x *DBComment) GetUname() string {
return ""
}
func (x *DBComment) GetUlv() int32 {
if x != nil {
return x.Ulv
}
return 0
}
func (x *DBComment) GetState() CommentState {
if x != nil {
return x.State
@ -198,7 +206,7 @@ var File_forum_forum_db_proto protoreflect.FileDescriptor
var file_forum_forum_db_proto_rawDesc = []byte{
0x0a, 0x14, 0x66, 0x6f, 0x72, 0x75, 0x6d, 0x2f, 0x66, 0x6f, 0x72, 0x75, 0x6d, 0x5f, 0x64, 0x62,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x02, 0x0a, 0x09, 0x44, 0x42, 0x43, 0x6f, 0x6d,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x02, 0x0a, 0x09, 0x44, 0x42, 0x43, 0x6f, 0x6d,
0x6d, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x69, 0x64, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09,
@ -209,17 +217,18 @@ var file_forum_forum_db_proto_rawDesc = []byte{
0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x06, 0x20, 0x01,
0x28, 0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x6e,
0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x75, 0x6e, 0x61, 0x6d, 0x65,
0x12, 0x23, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32,
0x0d, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05,
0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09,
0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63,
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,
0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x72, 0x6c, 0x69, 0x73,
0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, 0x6c, 0x69, 0x73,
0x74, 0x2a, 0x28, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74,
0x65, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x10, 0x00, 0x12, 0x0b,
0x0a, 0x07, 0x4f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x10, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e,
0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x12, 0x10, 0x0a, 0x03, 0x75, 0x6c, 0x76, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x75,
0x6c, 0x76, 0x12, 0x23, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28,
0x0e, 0x32, 0x0d, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65,
0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65,
0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a,
0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x72, 0x6c,
0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, 0x6c,
0x69, 0x73, 0x74, 0x2a, 0x28, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74,
0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x10, 0x00,
0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x10, 0x01, 0x42, 0x06, 0x5a,
0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -124,9 +124,10 @@ type ForumReleaseCommentReq struct {
Avatar string `protobuf:"bytes,1,opt,name=avatar,proto3" json:"avatar"` //用户头像
Uname string `protobuf:"bytes,2,opt,name=uname,proto3" json:"uname"` //用户名
Herocid string `protobuf:"bytes,3,opt,name=herocid,proto3" json:"herocid"` //英雄的配置id
Herooid string `protobuf:"bytes,4,opt,name=herooid,proto3" json:"herooid"` //英雄的实例id
Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content"` //评论内容
Ulv int32 `protobuf:"varint,3,opt,name=ulv,proto3" json:"ulv"` //用户等级
Herocid string `protobuf:"bytes,4,opt,name=herocid,proto3" json:"herocid"` //英雄的配置id
Herooid string `protobuf:"bytes,5,opt,name=herooid,proto3" json:"herooid"` //英雄的实例id
Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content"` //评论内容
}
func (x *ForumReleaseCommentReq) Reset() {
@ -175,6 +176,13 @@ func (x *ForumReleaseCommentReq) GetUname() string {
return ""
}
func (x *ForumReleaseCommentReq) GetUlv() int32 {
if x != nil {
return x.Ulv
}
return 0
}
func (x *ForumReleaseCommentReq) GetHerocid() string {
if x != nil {
return x.Herocid
@ -505,42 +513,43 @@ var file_forum_forum_msg_proto_rawDesc = []byte{
0x0a, 0x10, 0x46, 0x6f, 0x72, 0x75, 0x6d, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
0x73, 0x70, 0x12, 0x24, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52,
0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x94, 0x01, 0x0a, 0x16, 0x46, 0x6f, 0x72,
0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xa6, 0x01, 0x0a, 0x16, 0x46, 0x6f, 0x72,
0x75, 0x6d, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x75,
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x75, 0x6e, 0x61, 0x6d,
0x65, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x63, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
0x28, 0x09, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x63, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x68,
0x65, 0x72, 0x6f, 0x6f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65,
0x72, 0x6f, 0x6f, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22,
0x3f, 0x0a, 0x17, 0x46, 0x6f, 0x72, 0x75, 0x6d, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43,
0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x24, 0x0a, 0x07, 0x63, 0x6f,
0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42,
0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
0x22, 0x6d, 0x0a, 0x11, 0x46, 0x6f, 0x72, 0x75, 0x6d, 0x57, 0x61, 0x74, 0x63, 0x68, 0x48, 0x65,
0x72, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x74, 0x61, 0x67, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x74, 0x61, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x68,
0x65, 0x72, 0x6f, 0x63, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65,
0x72, 0x6f, 0x63, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x6f, 0x49, 0x64,
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x6f, 0x49, 0x64, 0x22,
0x31, 0x0a, 0x12, 0x46, 0x6f, 0x72, 0x75, 0x6d, 0x57, 0x61, 0x74, 0x63, 0x68, 0x48, 0x65, 0x72,
0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x04, 0x68, 0x65,
0x72, 0x6f, 0x22, 0x52, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x75, 0x6d, 0x4c, 0x69, 0x6b, 0x65, 0x52,
0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x63, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03,
0x63, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x16,
0x0a, 0x06, 0x69, 0x73, 0x6c, 0x69, 0x6b, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06,
0x69, 0x73, 0x6c, 0x69, 0x6b, 0x65, 0x22, 0x51, 0x0a, 0x0d, 0x46, 0x6f, 0x72, 0x75, 0x6d, 0x4c,
0x69, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x6c,
0x69, 0x6b, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x6c, 0x69, 0x6b,
0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28,
0x08, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70,
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x6c, 0x76, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,
0x75, 0x6c, 0x76, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x63, 0x69, 0x64, 0x18, 0x04,
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x63, 0x69, 0x64, 0x12, 0x18, 0x0a,
0x07, 0x68, 0x65, 0x72, 0x6f, 0x6f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x68, 0x65, 0x72, 0x6f, 0x6f, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65,
0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
0x74, 0x22, 0x3f, 0x0a, 0x17, 0x46, 0x6f, 0x72, 0x75, 0x6d, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73,
0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x24, 0x0a, 0x07,
0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e,
0x44, 0x42, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65,
0x6e, 0x74, 0x22, 0x6d, 0x0a, 0x11, 0x46, 0x6f, 0x72, 0x75, 0x6d, 0x57, 0x61, 0x74, 0x63, 0x68,
0x48, 0x65, 0x72, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x74, 0x61,
0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x74, 0x61, 0x67, 0x12, 0x18, 0x0a,
0x07, 0x68, 0x65, 0x72, 0x6f, 0x63, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x68, 0x65, 0x72, 0x6f, 0x63, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x6f,
0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x6f, 0x49,
0x64, 0x22, 0x31, 0x0a, 0x12, 0x46, 0x6f, 0x72, 0x75, 0x6d, 0x57, 0x61, 0x74, 0x63, 0x68, 0x48,
0x65, 0x72, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x04,
0x68, 0x65, 0x72, 0x6f, 0x22, 0x52, 0x0a, 0x0c, 0x46, 0x6f, 0x72, 0x75, 0x6d, 0x4c, 0x69, 0x6b,
0x65, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x63, 0x69, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x63, 0x69, 0x64, 0x12, 0x10,
0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64,
0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x6c, 0x69, 0x6b, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
0x52, 0x06, 0x69, 0x73, 0x6c, 0x69, 0x6b, 0x65, 0x22, 0x51, 0x0a, 0x0d, 0x46, 0x6f, 0x72, 0x75,
0x6d, 0x4c, 0x69, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69,
0x73, 0x6c, 0x69, 0x6b, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x6c,
0x69, 0x6b, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x18, 0x03, 0x20,
0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x42, 0x06, 0x5a, 0x04, 0x2e,
0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@ -49,4 +49,6 @@ const (
GameBuffType_NOTCONTROL = 37
GameBuffType_SLEEP = 38
GameBuffType_XUANYU = 39
GameBuffType_HPDOWN_PRO = 40
GameBuffType_LOSTPERHPCAUSEDAMUP = 41
)

View File

@ -0,0 +1,35 @@
//------------------------------------------------------------------------------
// <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
const (
GameFightEventType_None = 0
GameFightEventType_OnFightStart = 1
GameFightEventType_OnRoundStart = 2
GameFightEventType_OnSkillStart = 3
GameFightEventType_OnPreDamage = 4
GameFightEventType_OnPreAddBuff = 5
GameFightEventType_OnPreRemoveBuff = 6
GameFightEventType_OnPreTre = 7
GameFightEventType_OnLostHold = 8
GameFightEventType_OnCriCal = 9
GameFightEventType_OnUnderStand = 10
GameFightEventType_OnCalcDmgEffect = 11
GameFightEventType_OnLostShield = 12
GameFightEventType_OnDeathDmg = 13
GameFightEventType_OnKill = 14
GameFightEventType_OnDamage = 15
GameFightEventType_OnTreEnd = 16
GameFightEventType_OnRemoveBuffEnd = 17
GameFightEventType_OnAddBuffEnd = 18
GameFightEventType_OnSkillEnd = 19
GameFightEventType_OnRoundEnd = 20
GameFightEventType_OnShieldEnd = 21
GameFightEventType_OnCurHpChange = 22
)

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 GameHeroStarupSp struct {
_dataMap map[string]*GameHeroStarupSpData
_dataList []*GameHeroStarupSpData
}
func NewGameHeroStarupSp(_buf []map[string]interface{}) (*GameHeroStarupSp, error) {
_dataList := make([]*GameHeroStarupSpData, 0, len(_buf))
dataMap := make(map[string]*GameHeroStarupSpData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameHeroStarupSpData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
}
}
return &GameHeroStarupSp{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameHeroStarupSp) GetDataMap() map[string]*GameHeroStarupSpData {
return table._dataMap
}
func (table *GameHeroStarupSp) GetDataList() []*GameHeroStarupSpData {
return table._dataList
}
func (table *GameHeroStarupSp) Get(key string) *GameHeroStarupSpData {
return table._dataMap[key]
}

View File

@ -0,0 +1,39 @@
//------------------------------------------------------------------------------
// <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 GameHeroStarupSpData struct {
Id string
Star int32
Starid string
}
const TypeId_GameHeroStarupSpData = -2086652406
func (*GameHeroStarupSpData) GetTypeId() int32 {
return -2086652406
}
func (_v *GameHeroStarupSpData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; if _v.Id, _ok_ = _buf["id"].(string); !_ok_ { err = errors.New("id error"); return } }
{ 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; if _v.Starid, _ok_ = _buf["starid"].(string); !_ok_ { err = errors.New("starid error"); return } }
return
}
func DeserializeGameHeroStarupSpData(_buf map[string]interface{}) (*GameHeroStarupSpData, error) {
v := &GameHeroStarupSpData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -9,25 +9,25 @@
package cfg
type GameHerofusion struct {
_dataMap map[int32]*GameHerofusionData
_dataMap map[string]*GameHerofusionData
_dataList []*GameHerofusionData
}
func NewGameHerofusion(_buf []map[string]interface{}) (*GameHerofusion, error) {
_dataList := make([]*GameHerofusionData, 0, len(_buf))
dataMap := make(map[int32]*GameHerofusionData)
dataMap := make(map[string]*GameHerofusionData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameHerofusionData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
dataMap[_v.Hero] = _v
}
}
return &GameHerofusion{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameHerofusion) GetDataMap() map[int32]*GameHerofusionData {
func (table *GameHerofusion) GetDataMap() map[string]*GameHerofusionData {
return table._dataMap
}
@ -35,7 +35,7 @@ func (table *GameHerofusion) GetDataList() []*GameHerofusionData {
return table._dataList
}
func (table *GameHerofusion) Get(key int32) *GameHerofusionData {
func (table *GameHerofusion) Get(key string) *GameHerofusionData {
return table._dataMap[key]
}

View File

@ -11,12 +11,12 @@ package cfg
import "errors"
type GameHerofusionData struct {
Id int32
Switch int32
Hero string
Switch int32
Pointhero []string
Awaken int32
Start int32
Lv int32
}
const TypeId_GameHerofusionData = -689698108
@ -26,9 +26,8 @@ func (*GameHerofusionData) GetTypeId() int32 {
}
func (_v *GameHerofusionData)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["switch"].(float64); !_ok_ { err = errors.New("switch error"); return }; _v.Switch = int32(_tempNum_) }
{ var _ok_ bool; if _v.Hero, _ok_ = _buf["hero"].(string); !_ok_ { err = errors.New("hero error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["switch"].(float64); !_ok_ { err = errors.New("switch error"); return }; _v.Switch = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
@ -45,6 +44,7 @@ func (_v *GameHerofusionData)Deserialize(_buf map[string]interface{}) (err error
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["awaken"].(float64); !_ok_ { err = errors.New("awaken error"); return }; _v.Awaken = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["start"].(float64); !_ok_ { err = errors.New("start error"); return }; _v.Start = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["lv"].(float64); !_ok_ { err = errors.New("lv error"); return }; _v.Lv = int32(_tempNum_) }
return
}

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 GameLibraryFavorlv struct {
_dataMap map[int32]*GameLibraryFavorlvData
_dataList []*GameLibraryFavorlvData
}
func NewGameLibraryFavorlv(_buf []map[string]interface{}) (*GameLibraryFavorlv, error) {
_dataList := make([]*GameLibraryFavorlvData, 0, len(_buf))
dataMap := make(map[int32]*GameLibraryFavorlvData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameLibraryFavorlvData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Favorlv] = _v
}
}
return &GameLibraryFavorlv{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameLibraryFavorlv) GetDataMap() map[int32]*GameLibraryFavorlvData {
return table._dataMap
}
func (table *GameLibraryFavorlv) GetDataList() []*GameLibraryFavorlvData {
return table._dataList
}
func (table *GameLibraryFavorlv) Get(key int32) *GameLibraryFavorlvData {
return table._dataMap[key]
}

View File

@ -0,0 +1,39 @@
//------------------------------------------------------------------------------
// <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 GameLibraryFavorlvData struct {
Favorlv int32
Name string
Txt string
}
const TypeId_GameLibraryFavorlvData = 1944134611
func (*GameLibraryFavorlvData) GetTypeId() int32 {
return 1944134611
}
func (_v *GameLibraryFavorlvData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["favorlv"].(float64); !_ok_ { err = errors.New("favorlv error"); return }; _v.Favorlv = int32(_tempNum_) }
{ var _ok_ bool; if _v.Name, _ok_ = _buf["name"].(string); !_ok_ { err = errors.New("name error"); return } }
{ var _ok_ bool; if _v.Txt, _ok_ = _buf["txt"].(string); !_ok_ { err = errors.New("txt error"); return } }
return
}
func DeserializeGameLibraryFavorlvData(_buf map[string]interface{}) (*GameLibraryFavorlvData, error) {
v := &GameLibraryFavorlvData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -12,6 +12,7 @@ import "errors"
type GameLibraryHistoryData struct {
Histroy string
Name string
Txt string
Prize []*Gameatn
}
@ -24,6 +25,7 @@ func (*GameLibraryHistoryData) GetTypeId() int32 {
func (_v *GameLibraryHistoryData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; if _v.Histroy, _ok_ = _buf["histroy"].(string); !_ok_ { err = errors.New("histroy error"); return } }
{ var _ok_ bool; if _v.Name, _ok_ = _buf["name"].(string); !_ok_ { err = errors.New("name error"); return } }
{ var _ok_ bool; if _v.Txt, _ok_ = _buf["txt"].(string); !_ok_ { err = errors.New("txt error"); return } }
{
var _arr_ []interface{}

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 GameLibraryPlayBack struct {
_dataMap map[int32]*GameLibraryPlayBackData
_dataList []*GameLibraryPlayBackData
}
func NewGameLibraryPlayBack(_buf []map[string]interface{}) (*GameLibraryPlayBack, error) {
_dataList := make([]*GameLibraryPlayBackData, 0, len(_buf))
dataMap := make(map[int32]*GameLibraryPlayBackData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameLibraryPlayBackData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Startid] = _v
}
}
return &GameLibraryPlayBack{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameLibraryPlayBack) GetDataMap() map[int32]*GameLibraryPlayBackData {
return table._dataMap
}
func (table *GameLibraryPlayBack) GetDataList() []*GameLibraryPlayBackData {
return table._dataList
}
func (table *GameLibraryPlayBack) Get(key int32) *GameLibraryPlayBackData {
return table._dataMap[key]
}

View File

@ -0,0 +1,39 @@
//------------------------------------------------------------------------------
// <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 GameLibraryPlayBackData struct {
Startid int32
LibraryTitle string
LibraryOutcome string
}
const TypeId_GameLibraryPlayBackData = -1656971036
func (*GameLibraryPlayBackData) GetTypeId() int32 {
return -1656971036
}
func (_v *GameLibraryPlayBackData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["startid"].(float64); !_ok_ { err = errors.New("startid error"); return }; _v.Startid = int32(_tempNum_) }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["library_title"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.LibraryTitle error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.LibraryTitle, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["library_outcome"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.LibraryOutcome error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.LibraryOutcome, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
return
}
func DeserializeGameLibraryPlayBackData(_buf map[string]interface{}) (*GameLibraryPlayBackData, error) {
v := &GameLibraryPlayBackData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

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 GamePlayerInfor struct {
_dataMap map[int32]*GamePlayerInforData
_dataList []*GamePlayerInforData
}
func NewGamePlayerInfor(_buf []map[string]interface{}) (*GamePlayerInfor, error) {
_dataList := make([]*GamePlayerInforData, 0, len(_buf))
dataMap := make(map[int32]*GamePlayerInforData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGamePlayerInforData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
}
}
return &GamePlayerInfor{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GamePlayerInfor) GetDataMap() map[int32]*GamePlayerInforData {
return table._dataMap
}
func (table *GamePlayerInfor) GetDataList() []*GamePlayerInforData {
return table._dataList
}
func (table *GamePlayerInfor) Get(key int32) *GamePlayerInforData {
return table._dataMap[key]
}

View File

@ -0,0 +1,43 @@
//------------------------------------------------------------------------------
// <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 GamePlayerInforData struct {
Id int32
Type int32
Url string
Backname string
IsOpen bool
}
const TypeId_GamePlayerInforData = -498575503
func (*GamePlayerInforData) GetTypeId() int32 {
return -498575503
}
func (_v *GamePlayerInforData)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; if _v.Url, _ok_ = _buf["url"].(string); !_ok_ { err = errors.New("url error"); return } }
{ var _ok_ bool; if _v.Backname, _ok_ = _buf["backname"].(string); !_ok_ { err = errors.New("backname error"); return } }
{ var _ok_ bool; if _v.IsOpen, _ok_ = _buf["isOpen"].(bool); !_ok_ { err = errors.New("isOpen error"); return } }
return
}
func DeserializeGamePlayerInforData(_buf map[string]interface{}) (*GamePlayerInforData, error) {
v := &GamePlayerInforData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -25,7 +25,15 @@ const (
GameSkillEffectType_MaxDmg = 14
GameSkillEffectType_RandBuff = 15
GameSkillEffectType_DpsByAddBuff = 16
GameSkillEffectType_FrontDmg = 17
GameSkillEffectType_Round = 18
GameSkillEffectType_TreBeyondByAddBuff = 19
GameSkillEffectType_FrontDmg_1 = 17
GameSkillEffectType_FrontDmg_2 = 18
GameSkillEffectType_FrontDmg_3 = 19
GameSkillEffectType_ExtraDmg_1 = 20
GameSkillEffectType_ExtraDmg_2 = 21
GameSkillEffectType_ExtraDmg_3 = 22
GameSkillEffectType_Round = 23
GameSkillEffectType_TreBeyondByAddBuff = 24
GameSkillEffectType_DpsByTre = 25
GameSkillEffectType_Rebirth = 26
GameSkillEffectType_StealBuff = 27
)

View File

@ -22,6 +22,7 @@ type Tables struct {
HeroStargrow *GameHeroStargrow
HeroLevelgrow *GameHeroLevelgrow
HeroStarup *GameHeroStarup
HeroStarupSp *GameHeroStarupSp
HeroExp *GameHeroExp
HeroLevelup *GameHeroLevelup
Equip *GameEquip
@ -96,6 +97,8 @@ type Tables struct {
LibraryHero *GameLibraryHero
LibraryHistory *GameLibraryHistory
LibraryFavor *GameLibraryFavor
LibraryFavorlv *GameLibraryFavorlv
LibraryPlayBack *GameLibraryPlayBack
Robot *GameRobot
Ip *GameIp
GameColor *GameGameColor
@ -107,6 +110,7 @@ type Tables struct {
SubplotSubTask *GameSubplotSubTask
Captaintext *GameCaptaintext
Herofusion *GameHerofusion
PlayerInfor *GamePlayerInfor
}
func NewTables(loader JsonLoader) (*Tables, error) {
@ -180,6 +184,12 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.HeroStarup, err = NewGameHeroStarup(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_herostarupsp") ; err != nil {
return nil, err
}
if tables.HeroStarupSp, err = NewGameHeroStarupSp(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_heroexp") ; err != nil {
return nil, err
}
@ -624,6 +634,18 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.LibraryFavor, err = NewGameLibraryFavor(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_libraryfavorlv") ; err != nil {
return nil, err
}
if tables.LibraryFavorlv, err = NewGameLibraryFavorlv(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_libraryplayback") ; err != nil {
return nil, err
}
if tables.LibraryPlayBack, err = NewGameLibraryPlayBack(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_robot") ; err != nil {
return nil, err
}
@ -690,5 +712,11 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.Herofusion, err = NewGameHerofusion(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_playerinfor") ; err != nil {
return nil, err
}
if tables.PlayerInfor, err = NewGamePlayerInfor(buf) ; err != nil {
return nil, err
}
return tables, nil
}

View File

@ -78,13 +78,18 @@ type GameGlobalData struct {
KungfuTime int32
DreamlandFightnum int32
DreamlandResettime int32
DreamlandLimit int32
DreamlandLimitTime int32
DreamlandShareTime int32
DreamlandTriggernum int32
HuntingNum int32
HuntingReset int32
HuntingCap []int32
GameTime []int32
SellingTipsStrengthen int32
SellingTipsStar int32
SellingTipsEntry int32
GourmetRobot []int32
GourmetPause []int32
}
const TypeId_GameGlobalData = 477542761
@ -226,7 +231,7 @@ func (_v *GameGlobalData)Deserialize(_buf map[string]interface{}) (err error) {
{ 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_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["dreamland_fightnum"].(float64); !_ok_ { err = errors.New("dreamland_fightnum error"); return }; _v.DreamlandFightnum = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["dreamland_resettime"].(float64); !_ok_ { err = errors.New("dreamland_resettime error"); return }; _v.DreamlandResettime = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["dreamland_limit"].(float64); !_ok_ { err = errors.New("dreamland_limit error"); return }; _v.DreamlandLimit = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["dreamland_limit_time"].(float64); !_ok_ { err = errors.New("dreamland_limit_time error"); return }; _v.DreamlandLimitTime = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["dreamland_share_time"].(float64); !_ok_ { err = errors.New("dreamland_share_time error"); return }; _v.DreamlandShareTime = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["dreamland_triggernum"].(float64); !_ok_ { err = errors.New("dreamland_triggernum error"); return }; _v.DreamlandTriggernum = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["hunting_num"].(float64); !_ok_ { err = errors.New("hunting_num error"); return }; _v.HuntingNum = int32(_tempNum_) }
@ -259,6 +264,37 @@ func (_v *GameGlobalData)Deserialize(_buf map[string]interface{}) (err error) {
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["selling_tips_strengthen"].(float64); !_ok_ { err = errors.New("selling_tips_strengthen error"); return }; _v.SellingTipsStrengthen = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["selling_tips_star"].(float64); !_ok_ { err = errors.New("selling_tips_star error"); return }; _v.SellingTipsStar = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["selling_tips_entry"].(float64); !_ok_ { err = errors.New("selling_tips_entry error"); return }; _v.SellingTipsEntry = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["gourmet_robot"].([]interface{}); !_ok_ { err = errors.New("gourmet_robot error"); return }
_v.GourmetRobot = 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.GourmetRobot = append(_v.GourmetRobot, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["gourmet_pause"].([]interface{}); !_ok_ { err = errors.New("gourmet_pause error"); return }
_v.GourmetPause = 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.GourmetPause = append(_v.GourmetPause, _list_v_)
}
}
return
}

View File

@ -14,6 +14,7 @@ type GameSkillAtkData struct {
Id int32
Level int32
MaxLV int32
UnavailablePlayTypes []int32
Name string
Ico string
Act string
@ -36,6 +37,20 @@ func (_v *GameSkillAtkData)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["level"].(float64); !_ok_ { err = errors.New("level error"); return }; _v.Level = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["MaxLV"].(float64); !_ok_ { err = errors.New("MaxLV error"); return }; _v.MaxLV = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["UnavailablePlayTypes"].([]interface{}); !_ok_ { err = errors.New("UnavailablePlayTypes error"); return }
_v.UnavailablePlayTypes = 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.UnavailablePlayTypes = append(_v.UnavailablePlayTypes, _list_v_)
}
}
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["Name"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Name error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Name, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; if _v.Ico, _ok_ = _buf["ico"].(string); !_ok_ { err = errors.New("ico error"); return } }
{ var _ok_ bool; if _v.Act, _ok_ = _buf["act"].(string); !_ok_ { err = errors.New("act error"); return } }

View File

@ -12,9 +12,10 @@ import "errors"
type GameSkillPassiveData struct {
Id int32
When string
When int32
FromCheck int32
TargetCheck int32
AddCon string
AddCon []string
PasPr int32
Type string
MaxEmitTimes int32
@ -29,9 +30,23 @@ func (*GameSkillPassiveData) GetTypeId() int32 {
func (_v *GameSkillPassiveData)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; if _v.When, _ok_ = _buf["When"].(string); !_ok_ { err = errors.New("When error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["When"].(float64); !_ok_ { err = errors.New("When error"); return }; _v.When = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["FromCheck"].(float64); !_ok_ { err = errors.New("FromCheck error"); return }; _v.FromCheck = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["TargetCheck"].(float64); !_ok_ { err = errors.New("TargetCheck error"); return }; _v.TargetCheck = int32(_tempNum_) }
{ var _ok_ bool; if _v.AddCon, _ok_ = _buf["AddCon"].(string); !_ok_ { err = errors.New("AddCon error"); return } }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["AddCon"].([]interface{}); !_ok_ { err = errors.New("AddCon error"); return }
_v.AddCon = 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.AddCon = append(_v.AddCon, _list_v_)
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["PasPr"].(float64); !_ok_ { err = errors.New("PasPr error"); return }; _v.PasPr = int32(_tempNum_) }
{ var _ok_ bool; if _v.Type, _ok_ = _buf["Type"].(string); !_ok_ { err = errors.New("Type error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["MaxEmitTimes"].(float64); !_ok_ { err = errors.New("MaxEmitTimes error"); return }; _v.MaxEmitTimes = int32(_tempNum_) }