上传配置

This commit is contained in:
liwei 2023-07-18 17:49:32 +08:00
parent 5f1ef25006
commit b20f5c5a4f
18 changed files with 14770 additions and 11592 deletions

View File

@ -2,6 +2,8 @@
{
"id": 1,
"assembleid": 60000010,
"lvstart": 1,
"lvend": 999,
"itemid": 20,
"itemwt": 1000,
"min": 0
@ -9,6 +11,8 @@
{
"id": 2,
"assembleid": 60000010,
"lvstart": 1,
"lvend": 999,
"itemid": 30,
"itemwt": 1000,
"min": 0
@ -16,6 +20,8 @@
{
"id": 3,
"assembleid": 60000010,
"lvstart": 1,
"lvend": 999,
"itemid": 40,
"itemwt": 1000,
"min": 0
@ -23,6 +29,8 @@
{
"id": 4,
"assembleid": 60000010,
"lvstart": 1,
"lvend": 999,
"itemid": 50,
"itemwt": 1000,
"min": 0
@ -30,6 +38,8 @@
{
"id": 5,
"assembleid": 60000010,
"lvstart": 1,
"lvend": 999,
"itemid": 60,
"itemwt": 1000,
"min": 0
@ -37,6 +47,8 @@
{
"id": 6,
"assembleid": 60000010,
"lvstart": 1,
"lvend": 999,
"itemid": 70,
"itemwt": 1000,
"min": 0
@ -44,6 +56,8 @@
{
"id": 7,
"assembleid": 60000020,
"lvstart": 1,
"lvend": 999,
"itemid": 80,
"itemwt": 1000,
"min": 0
@ -51,6 +65,8 @@
{
"id": 8,
"assembleid": 60000020,
"lvstart": 1,
"lvend": 999,
"itemid": 90,
"itemwt": 1000,
"min": 0
@ -58,6 +74,8 @@
{
"id": 9,
"assembleid": 60000020,
"lvstart": 1,
"lvend": 999,
"itemid": 100,
"itemwt": 1000,
"min": 0
@ -65,6 +83,8 @@
{
"id": 10,
"assembleid": 60000020,
"lvstart": 1,
"lvend": 999,
"itemid": 110,
"itemwt": 1000,
"min": 0
@ -72,6 +92,8 @@
{
"id": 11,
"assembleid": 60000020,
"lvstart": 1,
"lvend": 999,
"itemid": 120,
"itemwt": 1000,
"min": 0
@ -79,6 +101,8 @@
{
"id": 12,
"assembleid": 60000020,
"lvstart": 1,
"lvend": 999,
"itemid": 130,
"itemwt": 1000,
"min": 0
@ -86,6 +110,8 @@
{
"id": 13,
"assembleid": 60000020,
"lvstart": 1,
"lvend": 999,
"itemid": 140,
"itemwt": 1000,
"min": 0
@ -93,6 +119,8 @@
{
"id": 14,
"assembleid": 60000030,
"lvstart": 1,
"lvend": 999,
"itemid": 150,
"itemwt": 1000,
"min": 0
@ -100,6 +128,8 @@
{
"id": 15,
"assembleid": 60000030,
"lvstart": 1,
"lvend": 999,
"itemid": 160,
"itemwt": 1000,
"min": 0
@ -107,6 +137,8 @@
{
"id": 16,
"assembleid": 60000030,
"lvstart": 1,
"lvend": 999,
"itemid": 170,
"itemwt": 1000,
"min": 0
@ -114,6 +146,8 @@
{
"id": 17,
"assembleid": 60000030,
"lvstart": 1,
"lvend": 999,
"itemid": 180,
"itemwt": 1000,
"min": 0
@ -121,6 +155,8 @@
{
"id": 18,
"assembleid": 60000030,
"lvstart": 1,
"lvend": 999,
"itemid": 190,
"itemwt": 1000,
"min": 0
@ -128,6 +164,8 @@
{
"id": 19,
"assembleid": 60000030,
"lvstart": 1,
"lvend": 999,
"itemid": 200,
"itemwt": 1000,
"min": 0
@ -135,6 +173,8 @@
{
"id": 20,
"assembleid": 60000030,
"lvstart": 1,
"lvend": 999,
"itemid": 210,
"itemwt": 1000,
"min": 0
@ -142,6 +182,8 @@
{
"id": 21,
"assembleid": 60000030,
"lvstart": 1,
"lvend": 999,
"itemid": 220,
"itemwt": 1000,
"min": 0
@ -149,6 +191,8 @@
{
"id": 22,
"assembleid": 60000030,
"lvstart": 1,
"lvend": 999,
"itemid": 230,
"itemwt": 1000,
"min": 0
@ -156,6 +200,8 @@
{
"id": 23,
"assembleid": 60000030,
"lvstart": 1,
"lvend": 999,
"itemid": 240,
"itemwt": 1000,
"min": 0
@ -163,6 +209,8 @@
{
"id": 24,
"assembleid": 60000030,
"lvstart": 1,
"lvend": 999,
"itemid": 250,
"itemwt": 1000,
"min": 0
@ -170,6 +218,8 @@
{
"id": 25,
"assembleid": 60000030,
"lvstart": 1,
"lvend": 999,
"itemid": 260,
"itemwt": 1000,
"min": 0
@ -177,6 +227,8 @@
{
"id": 26,
"assembleid": 60000030,
"lvstart": 1,
"lvend": 999,
"itemid": 270,
"itemwt": 1000,
"min": 0
@ -184,6 +236,8 @@
{
"id": 27,
"assembleid": 60000040,
"lvstart": 1,
"lvend": 999,
"itemid": 280,
"itemwt": 1000,
"min": 0
@ -191,6 +245,8 @@
{
"id": 28,
"assembleid": 60000040,
"lvstart": 1,
"lvend": 999,
"itemid": 290,
"itemwt": 1000,
"min": 0
@ -198,6 +254,8 @@
{
"id": 29,
"assembleid": 60000040,
"lvstart": 1,
"lvend": 999,
"itemid": 300,
"itemwt": 1000,
"min": 0
@ -205,6 +263,8 @@
{
"id": 30,
"assembleid": 60000040,
"lvstart": 1,
"lvend": 999,
"itemid": 310,
"itemwt": 1000,
"min": 0
@ -212,6 +272,8 @@
{
"id": 31,
"assembleid": 60000040,
"lvstart": 1,
"lvend": 999,
"itemid": 320,
"itemwt": 1000,
"min": 0
@ -219,6 +281,8 @@
{
"id": 32,
"assembleid": 60000040,
"lvstart": 1,
"lvend": 999,
"itemid": 330,
"itemwt": 1000,
"min": 0
@ -226,6 +290,8 @@
{
"id": 33,
"assembleid": 60000040,
"lvstart": 1,
"lvend": 999,
"itemid": 340,
"itemwt": 1000,
"min": 0
@ -233,6 +299,8 @@
{
"id": 34,
"assembleid": 60000040,
"lvstart": 1,
"lvend": 999,
"itemid": 350,
"itemwt": 1000,
"min": 0
@ -240,6 +308,8 @@
{
"id": 35,
"assembleid": 60000040,
"lvstart": 1,
"lvend": 999,
"itemid": 360,
"itemwt": 1000,
"min": 0
@ -247,6 +317,8 @@
{
"id": 36,
"assembleid": 60000040,
"lvstart": 1,
"lvend": 999,
"itemid": 370,
"itemwt": 1000,
"min": 0
@ -254,6 +326,8 @@
{
"id": 37,
"assembleid": 60000040,
"lvstart": 1,
"lvend": 999,
"itemid": 380,
"itemwt": 1000,
"min": 0
@ -261,6 +335,8 @@
{
"id": 38,
"assembleid": 60000050,
"lvstart": 1,
"lvend": 999,
"itemid": 390,
"itemwt": 1000,
"min": 0
@ -268,6 +344,8 @@
{
"id": 39,
"assembleid": 60000050,
"lvstart": 1,
"lvend": 999,
"itemid": 400,
"itemwt": 1000,
"min": 0
@ -275,6 +353,8 @@
{
"id": 40,
"assembleid": 60000050,
"lvstart": 1,
"lvend": 999,
"itemid": 410,
"itemwt": 1000,
"min": 0
@ -282,6 +362,8 @@
{
"id": 41,
"assembleid": 60000050,
"lvstart": 1,
"lvend": 999,
"itemid": 420,
"itemwt": 1000,
"min": 0
@ -289,6 +371,8 @@
{
"id": 42,
"assembleid": 60000050,
"lvstart": 1,
"lvend": 999,
"itemid": 430,
"itemwt": 1000,
"min": 0
@ -296,6 +380,8 @@
{
"id": 43,
"assembleid": 60000050,
"lvstart": 1,
"lvend": 999,
"itemid": 440,
"itemwt": 1000,
"min": 0
@ -303,6 +389,8 @@
{
"id": 44,
"assembleid": 60000050,
"lvstart": 1,
"lvend": 999,
"itemid": 450,
"itemwt": 1000,
"min": 0
@ -310,6 +398,8 @@
{
"id": 45,
"assembleid": 60000050,
"lvstart": 1,
"lvend": 999,
"itemid": 460,
"itemwt": 1000,
"min": 0
@ -317,6 +407,8 @@
{
"id": 46,
"assembleid": 60000050,
"lvstart": 1,
"lvend": 999,
"itemid": 470,
"itemwt": 1000,
"min": 0
@ -324,6 +416,8 @@
{
"id": 47,
"assembleid": 60000050,
"lvstart": 1,
"lvend": 999,
"itemid": 480,
"itemwt": 1000,
"min": 0
@ -331,6 +425,8 @@
{
"id": 48,
"assembleid": 60000060,
"lvstart": 1,
"lvend": 999,
"itemid": 490,
"itemwt": 1000,
"min": 0
@ -338,6 +434,8 @@
{
"id": 49,
"assembleid": 60000060,
"lvstart": 1,
"lvend": 999,
"itemid": 500,
"itemwt": 1000,
"min": 0
@ -345,6 +443,8 @@
{
"id": 50,
"assembleid": 60000060,
"lvstart": 1,
"lvend": 999,
"itemid": 510,
"itemwt": 1000,
"min": 0
@ -352,6 +452,8 @@
{
"id": 51,
"assembleid": 60000060,
"lvstart": 1,
"lvend": 999,
"itemid": 520,
"itemwt": 1000,
"min": 0
@ -359,6 +461,8 @@
{
"id": 52,
"assembleid": 60000060,
"lvstart": 1,
"lvend": 999,
"itemid": 530,
"itemwt": 1000,
"min": 0
@ -366,6 +470,8 @@
{
"id": 53,
"assembleid": 60000060,
"lvstart": 1,
"lvend": 999,
"itemid": 540,
"itemwt": 1000,
"min": 0
@ -373,6 +479,8 @@
{
"id": 54,
"assembleid": 60000070,
"lvstart": 1,
"lvend": 999,
"itemid": 550,
"itemwt": 1000,
"min": 0
@ -380,6 +488,8 @@
{
"id": 55,
"assembleid": 60000070,
"lvstart": 1,
"lvend": 999,
"itemid": 560,
"itemwt": 1000,
"min": 0
@ -387,6 +497,8 @@
{
"id": 56,
"assembleid": 60000070,
"lvstart": 1,
"lvend": 999,
"itemid": 570,
"itemwt": 1000,
"min": 0
@ -394,6 +506,8 @@
{
"id": 57,
"assembleid": 60000070,
"lvstart": 1,
"lvend": 999,
"itemid": 580,
"itemwt": 1000,
"min": 0
@ -401,6 +515,8 @@
{
"id": 58,
"assembleid": 60000070,
"lvstart": 1,
"lvend": 999,
"itemid": 590,
"itemwt": 1000,
"min": 0
@ -408,6 +524,8 @@
{
"id": 59,
"assembleid": 60000070,
"lvstart": 1,
"lvend": 999,
"itemid": 600,
"itemwt": 1000,
"min": 0
@ -415,6 +533,8 @@
{
"id": 60,
"assembleid": 60000080,
"lvstart": 1,
"lvend": 999,
"itemid": 610,
"itemwt": 1000,
"min": 0
@ -422,6 +542,8 @@
{
"id": 61,
"assembleid": 60000080,
"lvstart": 1,
"lvend": 999,
"itemid": 620,
"itemwt": 1000,
"min": 0
@ -429,6 +551,8 @@
{
"id": 62,
"assembleid": 60000080,
"lvstart": 1,
"lvend": 999,
"itemid": 630,
"itemwt": 1000,
"min": 0
@ -436,6 +560,8 @@
{
"id": 63,
"assembleid": 60000080,
"lvstart": 1,
"lvend": 999,
"itemid": 640,
"itemwt": 1000,
"min": 0
@ -443,6 +569,8 @@
{
"id": 64,
"assembleid": 60000080,
"lvstart": 1,
"lvend": 999,
"itemid": 650,
"itemwt": 1000,
"min": 0
@ -450,6 +578,8 @@
{
"id": 65,
"assembleid": 60000080,
"lvstart": 1,
"lvend": 999,
"itemid": 660,
"itemwt": 1000,
"min": 0
@ -457,6 +587,8 @@
{
"id": 66,
"assembleid": 60000080,
"lvstart": 1,
"lvend": 999,
"itemid": 670,
"itemwt": 1000,
"min": 0
@ -464,6 +596,8 @@
{
"id": 67,
"assembleid": 60000080,
"lvstart": 1,
"lvend": 999,
"itemid": 680,
"itemwt": 1000,
"min": 0
@ -471,6 +605,8 @@
{
"id": 68,
"assembleid": 60000080,
"lvstart": 1,
"lvend": 999,
"itemid": 690,
"itemwt": 1000,
"min": 0
@ -478,6 +614,8 @@
{
"id": 69,
"assembleid": 60000080,
"lvstart": 1,
"lvend": 999,
"itemid": 700,
"itemwt": 1000,
"min": 0
@ -485,6 +623,8 @@
{
"id": 70,
"assembleid": 60000080,
"lvstart": 1,
"lvend": 999,
"itemid": 710,
"itemwt": 1000,
"min": 0
@ -492,6 +632,8 @@
{
"id": 71,
"assembleid": 60000080,
"lvstart": 1,
"lvend": 999,
"itemid": 720,
"itemwt": 1000,
"min": 0
@ -499,6 +641,8 @@
{
"id": 72,
"assembleid": 60000080,
"lvstart": 1,
"lvend": 999,
"itemid": 730,
"itemwt": 1000,
"min": 0
@ -506,6 +650,8 @@
{
"id": 73,
"assembleid": 60000080,
"lvstart": 1,
"lvend": 999,
"itemid": 740,
"itemwt": 1000,
"min": 0
@ -513,6 +659,8 @@
{
"id": 74,
"assembleid": 60000080,
"lvstart": 1,
"lvend": 999,
"itemid": 750,
"itemwt": 1000,
"min": 0
@ -520,6 +668,8 @@
{
"id": 75,
"assembleid": 60000080,
"lvstart": 1,
"lvend": 999,
"itemid": 760,
"itemwt": 1000,
"min": 0
@ -527,6 +677,8 @@
{
"id": 76,
"assembleid": 60000080,
"lvstart": 1,
"lvend": 999,
"itemid": 770,
"itemwt": 1000,
"min": 0
@ -534,6 +686,8 @@
{
"id": 77,
"assembleid": 60000080,
"lvstart": 1,
"lvend": 999,
"itemid": 780,
"itemwt": 1000,
"min": 0
@ -541,6 +695,8 @@
{
"id": 78,
"assembleid": 60000090,
"lvstart": 1,
"lvend": 999,
"itemid": 790,
"itemwt": 1000,
"min": 0
@ -548,6 +704,8 @@
{
"id": 79,
"assembleid": 60000090,
"lvstart": 1,
"lvend": 999,
"itemid": 800,
"itemwt": 1000,
"min": 0
@ -555,6 +713,8 @@
{
"id": 80,
"assembleid": 60000090,
"lvstart": 1,
"lvend": 999,
"itemid": 810,
"itemwt": 1000,
"min": 0
@ -562,6 +722,8 @@
{
"id": 81,
"assembleid": 60000090,
"lvstart": 1,
"lvend": 999,
"itemid": 820,
"itemwt": 1000,
"min": 0
@ -569,6 +731,8 @@
{
"id": 82,
"assembleid": 60000090,
"lvstart": 1,
"lvend": 999,
"itemid": 830,
"itemwt": 1000,
"min": 0
@ -576,6 +740,8 @@
{
"id": 83,
"assembleid": 60000090,
"lvstart": 1,
"lvend": 999,
"itemid": 840,
"itemwt": 1000,
"min": 0
@ -583,6 +749,8 @@
{
"id": 84,
"assembleid": 60000090,
"lvstart": 1,
"lvend": 999,
"itemid": 850,
"itemwt": 1000,
"min": 0
@ -590,6 +758,8 @@
{
"id": 85,
"assembleid": 60000090,
"lvstart": 1,
"lvend": 999,
"itemid": 860,
"itemwt": 1000,
"min": 0
@ -597,6 +767,8 @@
{
"id": 86,
"assembleid": 60000090,
"lvstart": 1,
"lvend": 999,
"itemid": 870,
"itemwt": 1000,
"min": 0
@ -604,6 +776,8 @@
{
"id": 87,
"assembleid": 60000090,
"lvstart": 1,
"lvend": 999,
"itemid": 880,
"itemwt": 1000,
"min": 0
@ -611,6 +785,8 @@
{
"id": 88,
"assembleid": 60000090,
"lvstart": 1,
"lvend": 999,
"itemid": 890,
"itemwt": 1000,
"min": 0
@ -618,6 +794,8 @@
{
"id": 89,
"assembleid": 60000090,
"lvstart": 1,
"lvend": 999,
"itemid": 900,
"itemwt": 1000,
"min": 0
@ -625,6 +803,8 @@
{
"id": 90,
"assembleid": 60000090,
"lvstart": 1,
"lvend": 999,
"itemid": 910,
"itemwt": 1000,
"min": 0
@ -632,6 +812,8 @@
{
"id": 91,
"assembleid": 60000090,
"lvstart": 1,
"lvend": 999,
"itemid": 920,
"itemwt": 1000,
"min": 0

View File

@ -770,6 +770,11 @@
"t": "10000035",
"n": 0
},
"passlvmax": 50
"passlvmax": 50,
"guildboss_roulette": {
"a": "attr",
"t": "arenacoin",
"n": 1000
}
}
]

View File

@ -15,7 +15,8 @@
"t": "arenacoin",
"n": 1000
}
]
],
"push": 0
},
{
"id": 2,
@ -31,9 +32,10 @@
{
"a": "attr",
"t": "arenacoin",
"n": 1001
"n": 1000
}
]
],
"push": 0
},
{
"id": 3,
@ -49,9 +51,10 @@
{
"a": "attr",
"t": "arenacoin",
"n": 1002
"n": 1000
}
]
],
"push": 1
},
{
"id": 4,
@ -67,9 +70,10 @@
{
"a": "attr",
"t": "arenacoin",
"n": 1003
"n": 1000
}
]
],
"push": 1
},
{
"id": 5,
@ -85,9 +89,10 @@
{
"a": "attr",
"t": "arenacoin",
"n": 1004
"n": 1000
}
]
],
"push": 1
},
{
"id": 6,
@ -103,9 +108,10 @@
{
"a": "attr",
"t": "arenacoin",
"n": 1005
"n": 1000
}
]
],
"push": 0
},
{
"id": 7,
@ -121,9 +127,10 @@
{
"a": "attr",
"t": "arenacoin",
"n": 1006
"n": 1000
}
]
],
"push": 0
},
{
"id": 8,
@ -139,8 +146,9 @@
{
"a": "attr",
"t": "arenacoin",
"n": 1007
"n": 1000
}
]
],
"push": 0
}
]

File diff suppressed because it is too large Load Diff

View File

@ -277,5 +277,47 @@
},
"reword": [],
"duration": 720
},
{
"id": "Guild_Boss",
"title": {
"key": "mail_mail_title_14",
"text": "公会演练击杀奖励"
},
"recipient": {
"key": "mail_mail_recipient_14",
"text": "亲爱的{0}"
},
"content": {
"key": "mail_mail_content_14",
"text": "这是公会演练的boss击杀奖励恭喜你啦"
},
"sender": {
"key": "mail_mail_sender_14",
"text": "系统"
},
"reword": [],
"duration": 720
},
{
"id": "GuildBoss_Rank",
"title": {
"key": "mail_mail_title_15",
"text": "公会演练排名奖励"
},
"recipient": {
"key": "mail_mail_recipient_15",
"text": "亲爱的{0}"
},
"content": {
"key": "mail_mail_content_15",
"text": "这是公会演练的赛季排行奖励,恭喜你啦!"
},
"sender": {
"key": "mail_mail_sender_15",
"text": "系统"
},
"reword": [],
"duration": 720
}
]

View File

@ -23,9 +23,32 @@
"notify": []
},
{
"id": "backpack",
"id": "hero_talent",
"name": {
"key": "opencond_opencond_name_2",
"text": "守护者回响"
},
"main": [
{
"key": 2,
"param": 1100308
}
],
"wkqbx": 2,
"kqbx": 0,
"img": "zc_icon_01",
"prompt": {
"key": "opencond_opencond_prompt_1",
"text": "主线关卡通关达到第3章的第8关开启"
},
"uiid": 0,
"activateType": 0,
"notify": []
},
{
"id": "backpack",
"name": {
"key": "opencond_opencond_name_3",
"text": "背包"
},
"main": [
@ -48,7 +71,7 @@
{
"id": "shop",
"name": {
"key": "opencond_opencond_name_3",
"key": "opencond_opencond_name_4",
"text": "购物"
},
"main": [
@ -71,7 +94,7 @@
{
"id": "friend",
"name": {
"key": "opencond_opencond_name_4",
"key": "opencond_opencond_name_5",
"text": "好友"
},
"main": [
@ -94,7 +117,7 @@
{
"id": "mall",
"name": {
"key": "opencond_opencond_name_5",
"key": "opencond_opencond_name_6",
"text": "商城"
},
"main": [
@ -117,7 +140,7 @@
{
"id": "rdtask",
"name": {
"key": "opencond_opencond_name_6",
"key": "opencond_opencond_name_7",
"text": "随机任务总览"
},
"main": [
@ -140,7 +163,7 @@
{
"id": "currency",
"name": {
"key": "opencond_opencond_name_7",
"key": "opencond_opencond_name_8",
"text": "充值"
},
"main": [
@ -163,7 +186,7 @@
{
"id": "alliance",
"name": {
"key": "opencond_opencond_name_8",
"key": "opencond_opencond_name_9",
"text": "活动"
},
"main": [
@ -186,7 +209,7 @@
{
"id": "task",
"name": {
"key": "opencond_opencond_name_9",
"key": "opencond_opencond_name_10",
"text": "任务"
},
"main": [
@ -209,7 +232,7 @@
{
"id": "trials1",
"name": {
"key": "opencond_opencond_name_10",
"key": "opencond_opencond_name_11",
"text": "主线入口"
},
"main": [
@ -232,7 +255,7 @@
{
"id": "moon",
"name": {
"key": "opencond_opencond_name_11",
"key": "opencond_opencond_name_12",
"text": "招募"
},
"main": [
@ -255,7 +278,7 @@
{
"id": "story",
"name": {
"key": "opencond_opencond_name_12",
"key": "opencond_opencond_name_13",
"text": "剧情副本"
},
"main": [
@ -278,7 +301,7 @@
{
"id": "kungfu",
"name": {
"key": "opencond_opencond_name_13",
"key": "opencond_opencond_name_14",
"text": "熊猫武馆"
},
"main": [
@ -301,7 +324,7 @@
{
"id": "event",
"name": {
"key": "opencond_opencond_name_14",
"key": "opencond_opencond_name_15",
"text": "巨龙之岛"
},
"main": [
@ -324,7 +347,7 @@
{
"id": "mistyIsland",
"name": {
"key": "opencond_opencond_name_15",
"key": "opencond_opencond_name_16",
"text": "灾厄之岛"
},
"main": [
@ -347,7 +370,7 @@
{
"id": "vikingexpedition",
"name": {
"key": "opencond_opencond_name_16",
"key": "opencond_opencond_name_17",
"text": "维京-装备副本"
},
"main": [
@ -370,7 +393,7 @@
{
"id": "vikingexpedition2",
"name": {
"key": "opencond_opencond_name_17",
"key": "opencond_opencond_name_18",
"text": "维京-武器副本"
},
"main": [
@ -393,7 +416,7 @@
{
"id": "vikingexpedition3",
"name": {
"key": "opencond_opencond_name_18",
"key": "opencond_opencond_name_19",
"text": "维京-饰品副本"
},
"main": [
@ -416,7 +439,7 @@
{
"id": "hjeart demon tower",
"name": {
"key": "opencond_opencond_name_19",
"key": "opencond_opencond_name_20",
"text": "功夫大师挑战塔"
},
"main": [
@ -439,7 +462,7 @@
{
"id": "catchsheep",
"name": {
"key": "opencond_opencond_name_20",
"key": "opencond_opencond_name_21",
"text": "捕羊大赛"
},
"main": [
@ -462,7 +485,7 @@
{
"id": "darkcuisine",
"name": {
"key": "opencond_opencond_name_21",
"key": "opencond_opencond_name_22",
"text": "黑暗料理大赛"
},
"main": [
@ -485,7 +508,7 @@
{
"id": "underground Arena",
"name": {
"key": "opencond_opencond_name_22",
"key": "opencond_opencond_name_23",
"text": "地下角斗场"
},
"main": [
@ -508,7 +531,7 @@
{
"id": "crazycompetition",
"name": {
"key": "opencond_opencond_name_23",
"key": "opencond_opencond_name_24",
"text": "疯狂竞技赛"
},
"main": [
@ -531,7 +554,7 @@
{
"id": "fiveheroeschallenge",
"name": {
"key": "opencond_opencond_name_24",
"key": "opencond_opencond_name_25",
"text": "五侠擂台"
},
"main": [
@ -554,7 +577,7 @@
{
"id": "library",
"name": {
"key": "opencond_opencond_name_25",
"key": "opencond_opencond_name_26",
"text": "藏书馆"
},
"main": [
@ -577,7 +600,7 @@
{
"id": "bonfiredance",
"name": {
"key": "opencond_opencond_name_26",
"key": "opencond_opencond_name_27",
"text": "篝火舞会"
},
"main": [
@ -600,7 +623,7 @@
{
"id": "caravan",
"name": {
"key": "opencond_opencond_name_27",
"key": "opencond_opencond_name_28",
"text": "商队"
},
"main": [
@ -623,7 +646,7 @@
{
"id": "gourmetrestaurant",
"name": {
"key": "opencond_opencond_name_28",
"key": "opencond_opencond_name_29",
"text": "美食馆"
},
"main": [
@ -646,7 +669,7 @@
{
"id": "goberblacksmithshop",
"name": {
"key": "opencond_opencond_name_29",
"key": "opencond_opencond_name_30",
"text": "戈伯铁匠铺"
},
"main": [
@ -669,7 +692,7 @@
{
"id": "hunting",
"name": {
"key": "opencond_opencond_name_30",
"key": "opencond_opencond_name_31",
"text": "狩猎"
},
"main": [
@ -692,7 +715,7 @@
{
"id": "channel_lock_icon",
"name": {
"key": "opencond_opencond_name_31",
"key": "opencond_opencond_name_32",
"text": "聊天"
},
"main": [
@ -715,7 +738,7 @@
{
"id": "channel_lock_world",
"name": {
"key": "opencond_opencond_name_32",
"key": "opencond_opencond_name_33",
"text": "世界聊天"
},
"main": [
@ -738,7 +761,7 @@
{
"id": "channel_lock_guild",
"name": {
"key": "opencond_opencond_name_33",
"key": "opencond_opencond_name_34",
"text": "公会聊天"
},
"main": [
@ -761,7 +784,7 @@
{
"id": "channel_lock_private",
"name": {
"key": "opencond_opencond_name_34",
"key": "opencond_opencond_name_35",
"text": "私聊聊天"
},
"main": [
@ -784,7 +807,7 @@
{
"id": "channel_lock_public",
"name": {
"key": "opencond_opencond_name_35",
"key": "opencond_opencond_name_36",
"text": "跨服聊天"
},
"main": [
@ -807,7 +830,7 @@
{
"id": "channel_lock_system",
"name": {
"key": "opencond_opencond_name_36",
"key": "opencond_opencond_name_37",
"text": "系统聊天"
},
"main": [
@ -830,7 +853,7 @@
{
"id": "guild",
"name": {
"key": "opencond_opencond_name_37",
"key": "opencond_opencond_name_38",
"text": "公会"
},
"main": [
@ -853,7 +876,7 @@
{
"id": "arena",
"name": {
"key": "opencond_opencond_name_38",
"key": "opencond_opencond_name_39",
"text": "竞技场"
},
"main": [
@ -876,7 +899,7 @@
{
"id": "sign",
"name": {
"key": "opencond_opencond_name_39",
"key": "opencond_opencond_name_40",
"text": "签到"
},
"main": [
@ -899,7 +922,7 @@
{
"id": "reddot",
"name": {
"key": "opencond_opencond_name_40",
"key": "opencond_opencond_name_41",
"text": "红点集成"
},
"main": [
@ -922,7 +945,7 @@
{
"id": "Monthly_card",
"name": {
"key": "opencond_opencond_name_41",
"key": "opencond_opencond_name_42",
"text": "月卡"
},
"main": [
@ -945,7 +968,7 @@
{
"id": "Gift_Bag",
"name": {
"key": "opencond_opencond_name_42",
"key": "opencond_opencond_name_43",
"text": "日周月礼包"
},
"main": [
@ -968,7 +991,7 @@
{
"id": "role",
"name": {
"key": "opencond_opencond_name_43",
"key": "opencond_opencond_name_44",
"text": "主角"
},
"main": [
@ -991,7 +1014,7 @@
{
"id": "Mystery",
"name": {
"key": "opencond_opencond_name_44",
"key": "opencond_opencond_name_45",
"text": "月之秘境"
},
"main": [
@ -1014,7 +1037,7 @@
{
"id": "Income",
"name": {
"key": "opencond_opencond_name_45",
"key": "opencond_opencond_name_46",
"text": "收益统计"
},
"main": [
@ -1037,7 +1060,7 @@
{
"id": "fuse",
"name": {
"key": "opencond_opencond_name_46",
"key": "opencond_opencond_name_47",
"text": "卡牌融合"
},
"main": [
@ -1060,7 +1083,7 @@
{
"id": "activitytask",
"name": {
"key": "opencond_opencond_name_47",
"key": "opencond_opencond_name_48",
"text": "成长之路"
},
"main": [
@ -1083,7 +1106,7 @@
{
"id": "Fight_MidwayExit",
"name": {
"key": "opencond_opencond_name_48",
"key": "opencond_opencond_name_49",
"text": "战斗退出"
},
"main": [
@ -1106,7 +1129,7 @@
{
"id": "Fight_Speed",
"name": {
"key": "opencond_opencond_name_49",
"key": "opencond_opencond_name_50",
"text": "战斗倍速"
},
"main": [
@ -1129,7 +1152,7 @@
{
"id": "Fight_Auto",
"name": {
"key": "opencond_opencond_name_50",
"key": "opencond_opencond_name_51",
"text": "自动战斗"
},
"main": [
@ -1152,7 +1175,7 @@
{
"id": "equip_compose",
"name": {
"key": "opencond_opencond_name_51",
"key": "opencond_opencond_name_52",
"text": "装备铸造"
},
"main": [
@ -1175,7 +1198,7 @@
{
"id": "equip_compose_middle",
"name": {
"key": "opencond_opencond_name_52",
"key": "opencond_opencond_name_53",
"text": "装备铸造-中级"
},
"main": [
@ -1198,7 +1221,7 @@
{
"id": "equip_compose_high",
"name": {
"key": "opencond_opencond_name_53",
"key": "opencond_opencond_name_54",
"text": "装备铸造-高级"
},
"main": [
@ -1221,7 +1244,7 @@
{
"id": "trials2",
"name": {
"key": "opencond_opencond_name_54",
"key": "opencond_opencond_name_55",
"text": "主线关卡-困难"
},
"main": [
@ -1248,7 +1271,7 @@
{
"id": "mail",
"name": {
"key": "opencond_opencond_name_55",
"key": "opencond_opencond_name_56",
"text": "邮件"
},
"main": [
@ -1271,7 +1294,7 @@
{
"id": "teacher",
"name": {
"key": "opencond_opencond_name_56",
"key": "opencond_opencond_name_57",
"text": "联盟学院"
},
"main": [
@ -1294,7 +1317,7 @@
{
"id": "world_task",
"name": {
"key": "opencond_opencond_name_57",
"key": "opencond_opencond_name_58",
"text": "世界任务"
},
"main": [
@ -1317,7 +1340,7 @@
{
"id": "battle_pass",
"name": {
"key": "opencond_opencond_name_58",
"key": "opencond_opencond_name_59",
"text": "战令"
},
"main": [
@ -1340,7 +1363,7 @@
{
"id": "enchant_boss",
"name": {
"key": "opencond_opencond_name_59",
"key": "opencond_opencond_name_60",
"text": "附魔副本"
},
"main": [
@ -1363,7 +1386,7 @@
{
"id": "vikingexpedition_entrance",
"name": {
"key": "opencond_opencond_name_60",
"key": "opencond_opencond_name_61",
"text": "维京远征总入口"
},
"main": [
@ -1386,7 +1409,7 @@
{
"id": "GuildBoss",
"name": {
"key": "opencond_opencond_name_61",
"key": "opencond_opencond_name_62",
"text": "公会BOSS入口"
},
"main": [
@ -1409,7 +1432,7 @@
{
"id": "slidescreen_up",
"name": {
"key": "opencond_opencond_name_62",
"key": "opencond_opencond_name_63",
"text": ""
},
"main": [
@ -1432,7 +1455,7 @@
{
"id": "slidescreen_left",
"name": {
"key": "opencond_opencond_name_63",
"key": "opencond_opencond_name_64",
"text": ""
},
"main": [
@ -1455,7 +1478,7 @@
{
"id": "slidescreen_right",
"name": {
"key": "opencond_opencond_name_64",
"key": "opencond_opencond_name_65",
"text": ""
},
"main": [
@ -1478,7 +1501,7 @@
{
"id": "Master_challenges_the_tower",
"name": {
"key": "opencond_opencond_name_65",
"key": "opencond_opencond_name_66",
"text": "功夫大师挑战塔"
},
"main": [
@ -1501,7 +1524,7 @@
{
"id": "practice_ pillar1",
"name": {
"key": "opencond_opencond_name_66",
"key": "opencond_opencond_name_67",
"text": "练功木桩1"
},
"main": [
@ -1526,7 +1549,7 @@
{
"id": "practice_ pillar2",
"name": {
"key": "opencond_opencond_name_67",
"key": "opencond_opencond_name_68",
"text": "练功木桩2"
},
"main": [
@ -1551,7 +1574,7 @@
{
"id": "practice_ pillar3",
"name": {
"key": "opencond_opencond_name_68",
"key": "opencond_opencond_name_69",
"text": "练功木桩3"
},
"main": [
@ -1576,7 +1599,7 @@
{
"id": "practice_kick",
"name": {
"key": "opencond_opencond_name_69",
"key": "opencond_opencond_name_70",
"text": ""
},
"main": [
@ -1599,7 +1622,7 @@
{
"id": "vikingexpedition_experience",
"name": {
"key": "opencond_opencond_name_70",
"key": "opencond_opencond_name_71",
"text": "经验副本"
},
"main": [
@ -1622,7 +1645,7 @@
{
"id": "heroic_teaching",
"name": {
"key": "opencond_opencond_name_71",
"key": "opencond_opencond_name_72",
"text": "守护者教习"
},
"main": [
@ -1649,7 +1672,7 @@
{
"id": "pavilion_kick",
"name": {
"key": "opencond_opencond_name_72",
"key": "opencond_opencond_name_73",
"text": "踢馆"
},
"main": [
@ -1672,7 +1695,7 @@
{
"id": "trials3",
"name": {
"key": "opencond_opencond_name_73",
"key": "opencond_opencond_name_74",
"text": "主线关卡-精英"
},
"main": [
@ -1699,7 +1722,7 @@
{
"id": "trials4",
"name": {
"key": "opencond_opencond_name_74",
"key": "opencond_opencond_name_75",
"text": "主线关卡-炼狱"
},
"main": [
@ -1726,7 +1749,7 @@
{
"id": "week_task",
"name": {
"key": "opencond_opencond_name_75",
"key": "opencond_opencond_name_76",
"text": "波比周常"
},
"main": [
@ -1749,7 +1772,7 @@
{
"id": "daily_practice",
"name": {
"key": "opencond_opencond_name_76",
"key": "opencond_opencond_name_77",
"text": "每日一练"
},
"main": [
@ -1776,7 +1799,7 @@
{
"id": "bounty_quest",
"name": {
"key": "opencond_opencond_name_77",
"key": "opencond_opencond_name_78",
"text": "悬赏任务"
},
"main": [
@ -1799,7 +1822,7 @@
{
"id": "puzzle",
"name": {
"key": "opencond_opencond_name_78",
"key": "opencond_opencond_name_79",
"text": "拼图"
},
"main": [
@ -1822,7 +1845,7 @@
{
"id": "cooking",
"name": {
"key": "opencond_opencond_name_79",
"key": "opencond_opencond_name_80",
"text": "烹饪功能"
},
"main": [
@ -1845,7 +1868,7 @@
{
"id": "friendMz",
"name": {
"key": "opencond_opencond_name_80",
"key": "opencond_opencond_name_81",
"text": "好友木桩"
},
"main": [
@ -1872,7 +1895,7 @@
{
"id": "RacePagoda",
"name": {
"key": "opencond_opencond_name_81",
"key": "opencond_opencond_name_82",
"text": "阵营塔"
},
"main": [],
@ -1890,7 +1913,7 @@
{
"id": "circularcamptower",
"name": {
"key": "opencond_opencond_name_82",
"key": "opencond_opencond_name_83",
"text": "循环塔"
},
"main": [],
@ -1908,7 +1931,7 @@
{
"id": "passon",
"name": {
"key": "opencond_opencond_name_83",
"key": "opencond_opencond_name_84",
"text": "护符水晶"
},
"main": [

View File

@ -44,14 +44,14 @@
{
"a": "attr",
"t": "diamond",
"n": 1888
"n": 88
}
],
"item": [
{
"a": "item",
"t": "10000001",
"n": 10
"n": 1
}
]
},
@ -68,12 +68,18 @@
"key": "paypackage_paypackage_packagename_20003",
"text": "每日好礼"
},
"costitem": [],
"costitem": [
{
"a": "attr",
"t": "diamond",
"n": 88
}
],
"item": [
{
"a": "item",
"t": "10000001",
"n": 10
"n": 1
}
]
},
@ -90,8 +96,20 @@
"key": "paypackage_paypackage_packagename_20004",
"text": "每日好礼"
},
"costitem": [],
"item": []
"costitem": [
{
"a": "attr",
"t": "diamond",
"n": 88
}
],
"item": [
{
"a": "item",
"t": "10000001",
"n": 1
}
]
},
{
"id": 20005,
@ -106,8 +124,20 @@
"key": "paypackage_paypackage_packagename_20005",
"text": "每日好礼"
},
"costitem": [],
"item": []
"costitem": [
{
"a": "attr",
"t": "diamond",
"n": 88
}
],
"item": [
{
"a": "item",
"t": "10000001",
"n": 1
}
]
},
{
"id": 20006,

View File

@ -0,0 +1,147 @@
[
{
"key": 1,
"lv": 1,
"taskstarID": 20010,
"taskendID": 20090,
"npc": [
"GameMain",
"功能入口-商人"
],
"chosetxt": {
"key": "chosetxt_01",
"text": "考试选项1"
},
"chosetype": 1,
"chosenum": 1001,
"get": [],
"lose": [],
"jump": 0
},
{
"key": 2,
"lv": 1,
"taskstarID": 20020,
"taskendID": 20090,
"npc": [
"GameMain",
"功能入口-公告"
],
"chosetxt": {
"key": "chosetxt_02",
"text": "考试选项2"
},
"chosetype": 1,
"chosenum": 1002,
"get": [],
"lose": [],
"jump": 0
},
{
"key": 3,
"lv": 1,
"taskstarID": 20030,
"taskendID": 20090,
"npc": [
"GameMain",
"功能入口-邮件"
],
"chosetxt": {
"key": "chosetxt_03",
"text": "考试选项3"
},
"chosetype": 1,
"chosenum": 1003,
"get": [],
"lose": [],
"jump": 0
},
{
"key": 4,
"lv": 1,
"taskstarID": 20040,
"taskendID": 20090,
"npc": [
"GameMain",
"功能入口-维京远征"
],
"chosetxt": {
"key": "chosetxt_04",
"text": "考试选项4"
},
"chosetype": 1,
"chosenum": 1004,
"get": [],
"lose": [],
"jump": 0
},
{
"key": 5,
"lv": 1,
"taskstarID": 20050,
"taskendID": 20090,
"npc": [
"GameMain",
"功能入口-捕羊大赛"
],
"chosetxt": {
"key": "chosetxt_05",
"text": "考试选项5"
},
"chosetype": 1,
"chosenum": 1005,
"get": [],
"lose": [],
"jump": 0
},
{
"key": 6,
"lv": 1,
"taskstarID": 20060,
"taskendID": 20090,
"npc": [
"GameMain",
"功能入口-狩猎"
],
"chosetxt": {
"key": "chosetxt_06",
"text": "考试选项6"
},
"chosetype": 1,
"chosenum": 1006,
"get": [],
"lose": [],
"jump": 0
},
{
"key": 7,
"lv": 1,
"taskstarID": 20070,
"taskendID": 20090,
"npc": [
"GameMain",
"功能入口-烹饪"
],
"chosetxt": {
"key": "chosetxt_07",
"text": "我想花点钱"
},
"chosetype": 2,
"chosenum": 0,
"get": [
{
"a": "attr",
"t": "gold",
"n": 5000
}
],
"lose": [
{
"a": "item",
"t": "14020003",
"n": 1
}
],
"jump": 0
}
]

View File

@ -26,6 +26,11 @@ func (this *apiComp) Roulette(session comm.IUserSession, req *pb.UniongveRoulett
return
}
need := this.module.ModuleTools.GetGlobalConf().GuildbossRoulette
if errdata = this.module.ConsumeRes(session, []*cfg.Gameatn{need}, true); err != nil {
return
}
if confs, err = this.module.configure.getguildbossroulette(); err != nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ConfigNoFound,
@ -52,6 +57,10 @@ func (this *apiComp) Roulette(session comm.IUserSession, req *pb.UniongveRoulett
return
}
session.SendMsg(string(this.module.GetType()), "roulette", &pb.UniongveRouletteResp{})
if confs[index].Push == 1 { //推送通知
}
session.SendMsg(string(this.module.GetType()), "roulette", &pb.UniongveRouletteResp{Cid: confs[index].Id, Award: award})
return
}

View File

@ -163,16 +163,16 @@ func (this *ModelUniongve) userlock(id string) (result *redis.RedisMutex, err er
// 击杀boos
func (this *ModelUniongve) booskill(unionid string, boosid int32, info *pb.DBUnionGve) {
var (
// conf *cfg.GameGuildBossData
conf *cfg.GameGuildBossData
members []*pb.SociatyMemberInfo
offlist []string = make([]string, 0)
onine []string = make([]string, 0)
// err error
err error
)
// if conf, err = this.module.configure.getguildbossByid(boosid); err != nil {
// this.module.Errorln(err)
// return
// }
if conf, err = this.module.configure.getguildbossByid(boosid); err != nil {
this.module.Errorln(err)
return
}
members = this.module.sociaty.MembersBySociatyId(unionid)
if members == nil || len(members) == 0 {
this.module.Error("MembersBySociatyId is nil !")
@ -186,10 +186,21 @@ func (this *ModelUniongve) booskill(unionid string, boosid int32, info *pb.DBUni
}
}
this.module.mail.SendMailToUsers(offlist, "Guild_Boss", conf.KillReward, nil)
this.module.mail.SendMailToUsers(onine, "Guild_Boss", conf.KillReward, nil)
for _, v := range info.Boos {
if v.Hp > 0 {
return
}
}
lock, _ := this.module.modelUniongve.userlock(unionid)
err = lock.Lock()
if err != nil {
this.module.Error("公会战分布式锁 err!", log.Field{Key: "Unionid", Value: unionid}, log.Field{Key: "err", Value: err.Error()})
return
}
defer lock.Unlock()
}

View File

@ -423,6 +423,7 @@ type UniongveRouletteResp struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Cid int32 `protobuf:"varint,1,opt,name=cid,proto3" json:"cid"`
Award []*UserAssets `protobuf:"bytes,2,rep,name=award,proto3" json:"award"` //奖励
}
@ -458,6 +459,13 @@ func (*UniongveRouletteResp) Descriptor() ([]byte, []int) {
return file_uniongve_uniongve_msg_proto_rawDescGZIP(), []int{8}
}
func (x *UniongveRouletteResp) GetCid() int32 {
if x != nil {
return x.Cid
}
return 0
}
func (x *UniongveRouletteResp) GetAward() []*UserAssets {
if x != nil {
return x.Award
@ -947,55 +955,57 @@ var file_uniongve_uniongve_msg_proto_rawDesc = []byte{
0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x55,
0x6e, 0x69, 0x6f, 0x6e, 0x67, 0x76, 0x65, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x52, 0x04,
0x6c, 0x69, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x67, 0x76, 0x65,
0x52, 0x6f, 0x75, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x52, 0x65, 0x71, 0x22, 0x39, 0x0a, 0x14, 0x55,
0x52, 0x6f, 0x75, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x52, 0x65, 0x71, 0x22, 0x4b, 0x0a, 0x14, 0x55,
0x6e, 0x69, 0x6f, 0x6e, 0x67, 0x76, 0x65, 0x52, 0x6f, 0x75, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x52,
0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52,
0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x22, 0x72, 0x0a, 0x14, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x67,
0x76, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x18,
0x0a, 0x07, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x07, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x6f, 0x6f, 0x73,
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62, 0x6f, 0x6f, 0x73, 0x69, 0x64,
0x12, 0x28, 0x0a, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x52, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x22, 0x6a, 0x0a, 0x15, 0x55, 0x6e,
0x69, 0x6f, 0x6e, 0x67, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52,
0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x12, 0x16, 0x0a,
0x06, 0x62, 0x6f, 0x6f, 0x73, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62,
0x6f, 0x6f, 0x73, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f,
0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x75, 0x0a, 0x1a, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x67,
0x76, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73,
0x68, 0x52, 0x65, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x12, 0x16,
0x0a, 0x06, 0x62, 0x6f, 0x6f, 0x73, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06,
0x62, 0x6f, 0x6f, 0x73, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74,
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52,
0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x90, 0x01,
0x0a, 0x1b, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x67, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65,
0x6e, 0x67, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a,
0x07, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x6f, 0x6f, 0x73, 0x69,
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62, 0x6f, 0x6f, 0x73, 0x69, 0x64, 0x12,
0x21, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b,
0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x61, 0x77, 0x61,
0x72, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x18,
0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74,
0x22, 0x39, 0x0a, 0x16, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x67, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x6f,
0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e,
0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x55, 0x6e, 0x69,
0x6f, 0x6e, 0x47, 0x76, 0x65, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x3a, 0x0a, 0x17, 0x55,
0x6e, 0x69, 0x6f, 0x6e, 0x67, 0x76, 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x43, 0x68, 0x61, 0x6e,
0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x47, 0x76,
0x65, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x39, 0x0a, 0x16, 0x55, 0x6e, 0x69, 0x6f, 0x6e,
0x67, 0x76, 0x65, 0x42, 0x6f, 0x6f, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73,
0x68, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x0b, 0x2e, 0x44, 0x42, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x47, 0x76, 0x65, 0x52, 0x04, 0x69, 0x6e,
0x66, 0x6f, 0x22, 0x1c, 0x0a, 0x1a, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x67, 0x76, 0x65, 0x52, 0x6f,
0x75, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68,
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74,
0x73, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x22, 0x72, 0x0a, 0x14, 0x55, 0x6e, 0x69, 0x6f,
0x6e, 0x67, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71,
0x12, 0x18, 0x0a, 0x07, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x07, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x6f,
0x6f, 0x73, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62, 0x6f, 0x6f, 0x73,
0x69, 0x64, 0x12, 0x28, 0x0a, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x22, 0x6a, 0x0a, 0x15,
0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x67, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67,
0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x69, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x12,
0x16, 0x0a, 0x06, 0x62, 0x6f, 0x6f, 0x73, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
0x06, 0x62, 0x6f, 0x6f, 0x73, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18,
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e,
0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x75, 0x0a, 0x1a, 0x55, 0x6e, 0x69, 0x6f,
0x6e, 0x67, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x6e,
0x69, 0x73, 0x68, 0x52, 0x65, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x69,
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x69, 0x64,
0x12, 0x16, 0x0a, 0x06, 0x62, 0x6f, 0x6f, 0x73, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
0x52, 0x06, 0x62, 0x6f, 0x6f, 0x73, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f,
0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c,
0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22,
0x90, 0x01, 0x0a, 0x1b, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x67, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6c,
0x6c, 0x65, 0x6e, 0x67, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12,
0x18, 0x0a, 0x07, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x07, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x6f, 0x6f,
0x73, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62, 0x6f, 0x6f, 0x73, 0x69,
0x64, 0x12, 0x21, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x61,
0x77, 0x61, 0x72, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e,
0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, 0x65,
0x6e, 0x74, 0x22, 0x39, 0x0a, 0x16, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x67, 0x76, 0x65, 0x49, 0x6e,
0x66, 0x6f, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x04,
0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x55,
0x6e, 0x69, 0x6f, 0x6e, 0x47, 0x76, 0x65, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x3a, 0x0a,
0x17, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x67, 0x76, 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x43, 0x68,
0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x55, 0x6e, 0x69, 0x6f, 0x6e,
0x47, 0x76, 0x65, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x39, 0x0a, 0x16, 0x55, 0x6e, 0x69,
0x6f, 0x6e, 0x67, 0x76, 0x65, 0x42, 0x6f, 0x6f, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50,
0x75, 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x47, 0x76, 0x65, 0x52, 0x04,
0x69, 0x6e, 0x66, 0x6f, 0x22, 0x1c, 0x0a, 0x1a, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x67, 0x76, 0x65,
0x52, 0x6f, 0x75, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75,
0x73, 0x68, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
}
var (

View File

@ -13,6 +13,8 @@ import "errors"
type GameAnnulartask_LibraryData struct {
Id int32
Assembleid int32
Lvstart int32
Lvend int32
Itemid int32
Itemwt int32
Min int32
@ -27,6 +29,8 @@ func (*GameAnnulartask_LibraryData) GetTypeId() int32 {
func (_v *GameAnnulartask_LibraryData)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["assembleid"].(float64); !_ok_ { err = errors.New("assembleid error"); return }; _v.Assembleid = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["lvstart"].(float64); !_ok_ { err = errors.New("lvstart error"); return }; _v.Lvstart = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["lvend"].(float64); !_ok_ { err = errors.New("lvend error"); return }; _v.Lvend = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["itemid"].(float64); !_ok_ { err = errors.New("itemid error"); return }; _v.Itemid = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["itemwt"].(float64); !_ok_ { err = errors.New("itemwt error"); return }; _v.Itemwt = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["min"].(float64); !_ok_ { err = errors.New("min error"); return }; _v.Min = int32(_tempNum_) }

View File

@ -15,6 +15,7 @@ type GameGuildBossRouletteData struct {
Reward []*Gameatn
Weight int32
Need []*Gameatn
Push int32
}
const TypeId_GameGuildBossRouletteData = 797473250
@ -54,6 +55,7 @@ func (_v *GameGuildBossRouletteData)Deserialize(_buf map[string]interface{}) (er
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["push"].(float64); !_ok_ { err = errors.New("push error"); return }; _v.Push = int32(_tempNum_) }
return
}

View File

@ -20,6 +20,8 @@ type GameHeroTalentData struct {
Condition int32
Skilltxt string
Skillicon string
Attrkey string
Attrvar int32
Hp int32
Atk int32
Def int32
@ -59,6 +61,8 @@ func (_v *GameHeroTalentData)Deserialize(_buf map[string]interface{}) (err error
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["condition"].(float64); !_ok_ { err = errors.New("condition error"); return }; _v.Condition = int32(_tempNum_) }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["skilltxt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Skilltxt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Skilltxt, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; if _v.Skillicon, _ok_ = _buf["skillicon"].(string); !_ok_ { err = errors.New("skillicon error"); return } }
{ var _ok_ bool; if _v.Attrkey, _ok_ = _buf["attrkey"].(string); !_ok_ { err = errors.New("attrkey error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["attrvar"].(float64); !_ok_ { err = errors.New("attrvar error"); return }; _v.Attrvar = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["hp"].(float64); !_ok_ { err = errors.New("hp error"); return }; _v.Hp = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["atk"].(float64); !_ok_ { err = errors.New("atk error"); return }; _v.Atk = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["def"].(float64); !_ok_ { err = errors.New("def error"); return }; _v.Def = int32(_tempNum_) }

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

View File

@ -0,0 +1,94 @@
//------------------------------------------------------------------------------
// <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 GameTrendChoseData struct {
Key int32
Lv int32
TaskstarID int32
TaskendID int32
Npc []string
Chosetxt string
Chosetype int32
Chosenum int32
Get []*Gameatn
Lose []*Gameatn
Jump int32
}
const TypeId_GameTrendChoseData = -2145177947
func (*GameTrendChoseData) GetTypeId() int32 {
return -2145177947
}
func (_v *GameTrendChoseData)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; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["lv"].(float64); !_ok_ { err = errors.New("lv error"); return }; _v.Lv = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["taskstarID"].(float64); !_ok_ { err = errors.New("taskstarID error"); return }; _v.TaskstarID = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["taskendID"].(float64); !_ok_ { err = errors.New("taskendID error"); return }; _v.TaskendID = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["npc"].([]interface{}); !_ok_ { err = errors.New("npc error"); return }
_v.Npc = make([]string, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ string
{ if _list_v_, _ok_ = _e_.(string); !_ok_ { err = errors.New("_list_v_ error"); return } }
_v.Npc = append(_v.Npc, _list_v_)
}
}
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["chosetxt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Chosetxt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Chosetxt, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["chosetype"].(float64); !_ok_ { err = errors.New("chosetype error"); return }; _v.Chosetype = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["chosenum"].(float64); !_ok_ { err = errors.New("chosenum error"); return }; _v.Chosenum = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["get"].([]interface{}); !_ok_ { err = errors.New("get error"); return }
_v.Get = 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.Get = append(_v.Get, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["lose"].([]interface{}); !_ok_ { err = errors.New("lose error"); return }
_v.Lose = 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.Lose = append(_v.Lose, _list_v_)
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["jump"].(float64); !_ok_ { err = errors.New("jump error"); return }; _v.Jump = int32(_tempNum_) }
return
}
func DeserializeGameTrendChoseData(_buf map[string]interface{}) (*GameTrendChoseData, error) {
v := &GameTrendChoseData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -199,6 +199,7 @@ type Tables struct {
GuildBossRoulette *GameGuildBossRoulette
GuildBossRank *GameGuildBossRank
GuildBossScore *GameGuildBossScore
TrendChose *GameTrendChose
}
func NewTables(loader JsonLoader) (*Tables, error) {
@ -1334,5 +1335,11 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.GuildBossScore, err = NewGameGuildBossScore(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_trendchose") ; err != nil {
return nil, err
}
if tables.TrendChose, err = NewGameTrendChose(buf) ; err != nil {
return nil, err
}
return tables, nil
}

View File

@ -248,6 +248,7 @@ type GameGlobalData struct {
OverexpReward *Gameatn
Voucher *Gameatn
Passlvmax int32
GuildbossRoulette *Gameatn
}
const TypeId_GameGlobalData = 477542761
@ -1001,6 +1002,7 @@ func (_v *GameGlobalData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["overexp_reward"].(map[string]interface{}); !_ok_ { err = errors.New("overexp_reward error"); return }; if _v.OverexpReward, err = DeserializeGameatn(_x_); err != nil { return } }
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["voucher"].(map[string]interface{}); !_ok_ { err = errors.New("voucher error"); return }; if _v.Voucher, err = DeserializeGameatn(_x_); err != nil { return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["passlvmax"].(float64); !_ok_ { err = errors.New("passlvmax error"); return }; _v.Passlvmax = int32(_tempNum_) }
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["guildboss_roulette"].(map[string]interface{}); !_ok_ { err = errors.New("guildboss_roulette error"); return }; if _v.GuildbossRoulette, err = DeserializeGameatn(_x_); err != nil { return } }
return
}