六合塔奖励

This commit is contained in:
meixiongfeng 2024-01-12 10:27:24 +08:00
parent d7c7f06301
commit 7342ba808c
39 changed files with 824216 additions and 3181 deletions

173958
bin/json/LocalizeConfig_CN.json Normal file

File diff suppressed because it is too large Load Diff

173958
bin/json/LocalizeConfig_EN.json Normal file

File diff suppressed because it is too large Load Diff

173958
bin/json/LocalizeConfig_TW.json Normal file

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,7 @@
"icon2": "sx_fk_ls",
"weight": 1500,
"effect": "effect_sx_xiaochu_dhs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_dhs",
"pointeffect": "effect_sx_liuguang_dhs",
"score": 1,
"type": 0,
@ -27,7 +27,7 @@
"icon2": "sx_fk_dhs",
"weight": 1500,
"effect": "effect_sx_xiaochu_ls",
"choseeffect": "",
"choseeffect": "effect_sx_trail_fhs",
"pointeffect": "effect_sx_liuguang_ls",
"score": 1,
"type": 0,
@ -44,7 +44,7 @@
"icon2": "sx_fk_lvs",
"weight": 1500,
"effect": "effect_sx_xiaochu_lvs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_hs",
"pointeffect": "effect_sx_liuguang_lvs",
"score": 1,
"type": 0,
@ -61,7 +61,7 @@
"icon2": "sx_fk_zs",
"weight": 1500,
"effect": "effect_sx_xiaochu_zs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_ls",
"pointeffect": "effect_sx_liuguang_zs",
"score": 1,
"type": 0,
@ -78,7 +78,7 @@
"icon2": "sx_fk_hs",
"weight": 1500,
"effect": "effect_sx_xiaochu_hs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_lvs",
"pointeffect": "effect_sx_liuguang_hs",
"score": 1,
"type": 0,
@ -95,7 +95,7 @@
"icon2": "sx_fk_fhs",
"weight": 1500,
"effect": "effect_sx_xiaochu_fhs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_zs",
"pointeffect": "effect_sx_liuguang_fhs",
"score": 1,
"type": 0,
@ -112,7 +112,7 @@
"icon2": "sx_sjt_ls",
"weight": 840,
"effect": "effect_sx_shuangxiangjiantou_heng",
"choseeffect": "",
"choseeffect": "effect_sx_trail_dhs",
"pointeffect": "effect_sx_liuguang_dhs",
"score": 1,
"type": 1,
@ -129,7 +129,7 @@
"icon2": "sx_hjt_ls",
"weight": 840,
"effect": "effect_sx_shuangxiangjiantou_heng",
"choseeffect": "",
"choseeffect": "effect_sx_trail_dhs",
"pointeffect": "effect_sx_liuguang_dhs",
"score": 1,
"type": 2,
@ -146,7 +146,7 @@
"icon2": "sx_sjt_dhs",
"weight": 840,
"effect": "effect_sx_shuangxiangjiantou_heng",
"choseeffect": "",
"choseeffect": "effect_sx_trail_ls",
"pointeffect": "effect_sx_liuguang_ls",
"score": 1,
"type": 1,
@ -163,7 +163,7 @@
"icon2": "sx_hjt_dhs",
"weight": 840,
"effect": "effect_sx_shuangxiangjiantou_heng",
"choseeffect": "",
"choseeffect": "effect_sx_trail_ls",
"pointeffect": "effect_sx_liuguang_ls",
"score": 1,
"type": 2,
@ -180,7 +180,7 @@
"icon2": "sx_sjt_lvs",
"weight": 840,
"effect": "effect_sx_shuangxiangjiantou_heng",
"choseeffect": "",
"choseeffect": "effect_sx_trail_lvs",
"pointeffect": "effect_sx_liuguang_lvs",
"score": 1,
"type": 1,
@ -197,7 +197,7 @@
"icon2": "sx_hjt_lvs",
"weight": 840,
"effect": "effect_sx_shuangxiangjiantou_heng",
"choseeffect": "",
"choseeffect": "effect_sx_trail_lvs",
"pointeffect": "effect_sx_liuguang_lvs",
"score": 1,
"type": 2,
@ -214,7 +214,7 @@
"icon2": "sx_sjt_zs",
"weight": 840,
"effect": "effect_sx_shuangxiangjiantou_heng",
"choseeffect": "",
"choseeffect": "effect_sx_trail_zs",
"pointeffect": "effect_sx_liuguang_zs",
"score": 1,
"type": 1,
@ -231,7 +231,7 @@
"icon2": "sx_hjt_zs",
"weight": 840,
"effect": "effect_sx_shuangxiangjiantou_heng",
"choseeffect": "",
"choseeffect": "effect_sx_trail_zs",
"pointeffect": "effect_sx_liuguang_zs",
"score": 1,
"type": 2,
@ -248,7 +248,7 @@
"icon2": "sx_sjt_hs",
"weight": 840,
"effect": "effect_sx_shuangxiangjiantou_heng",
"choseeffect": "",
"choseeffect": "effect_sx_trail_hs",
"pointeffect": "effect_sx_liuguang_hs",
"score": 1,
"type": 1,
@ -265,7 +265,7 @@
"icon2": "sx_hjt_hs",
"weight": 840,
"effect": "effect_sx_shuangxiangjiantou_heng",
"choseeffect": "",
"choseeffect": "effect_sx_trail_hs",
"pointeffect": "effect_sx_liuguang_hs",
"score": 1,
"type": 2,
@ -282,7 +282,7 @@
"icon2": "sx_sjt_fhs",
"weight": 840,
"effect": "effect_sx_shuangxiangjiantou_heng",
"choseeffect": "",
"choseeffect": "effect_sx_trail_fhs",
"pointeffect": "effect_sx_liuguang_fhs",
"score": 1,
"type": 1,
@ -299,7 +299,7 @@
"icon2": "sx_hjt_fhs",
"weight": 840,
"effect": "effect_sx_shuangxiangjiantou_heng",
"choseeffect": "",
"choseeffect": "effect_sx_trail_fhs",
"pointeffect": "effect_sx_liuguang_fhs",
"score": 1,
"type": 2,
@ -316,7 +316,7 @@
"icon2": "sx_sd_ls",
"weight": 1000,
"effect": "effect_sx_xiaochu_dhs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_dhs",
"pointeffect": "effect_sx_liuguang_dhs",
"score": 1,
"type": 3,
@ -333,7 +333,7 @@
"icon2": "sx_sd_dhs",
"weight": 1000,
"effect": "effect_sx_xiaochu_ls",
"choseeffect": "",
"choseeffect": "effect_sx_trail_fhs",
"pointeffect": "effect_sx_liuguang_ls",
"score": 1,
"type": 3,
@ -350,7 +350,7 @@
"icon2": "sx_sd_lvs",
"weight": 1500,
"effect": "effect_sx_xiaochu_lvs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_hs",
"pointeffect": "effect_sx_liuguang_lvs",
"score": 1,
"type": 3,
@ -367,7 +367,7 @@
"icon2": "sx_sd_zs",
"weight": 1500,
"effect": "effect_sx_xiaochu_zs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_ls",
"pointeffect": "effect_sx_liuguang_zs",
"score": 1,
"type": 3,
@ -384,7 +384,7 @@
"icon2": "sx_sd_hs",
"weight": 2500,
"effect": "effect_sx_xiaochu_hs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_lvs",
"pointeffect": "effect_sx_liuguang_hs",
"score": 1,
"type": 3,
@ -401,7 +401,7 @@
"icon2": "sx_sd_fhs",
"weight": 2500,
"effect": "effect_sx_xiaochu_fhs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_zs",
"pointeffect": "effect_sx_liuguang_fhs",
"score": 1,
"type": 3,
@ -418,7 +418,7 @@
"icon2": "",
"weight": 1000,
"effect": "",
"choseeffect": "",
"choseeffect": "effect_sx_xiaochu_ls",
"pointeffect": "effect_sx_liuguang_hs",
"score": 3,
"type": 0,
@ -435,7 +435,7 @@
"icon2": "sx_zd_ls",
"weight": 1000,
"effect": "effect_sx_bomb",
"choseeffect": "",
"choseeffect": "effect_sx_trail_dhs",
"pointeffect": "effect_sx_liuguang_dhs",
"score": 1,
"type": 4,
@ -452,7 +452,7 @@
"icon2": "sx_zd_dhs",
"weight": 1000,
"effect": "effect_sx_bomb",
"choseeffect": "",
"choseeffect": "effect_sx_trail_fhs",
"pointeffect": "effect_sx_liuguang_ls",
"score": 1,
"type": 4,
@ -469,7 +469,7 @@
"icon2": "sx_zd_lvs",
"weight": 1000,
"effect": "effect_sx_bomb",
"choseeffect": "",
"choseeffect": "effect_sx_trail_hs",
"pointeffect": "effect_sx_liuguang_lvs",
"score": 1,
"type": 4,
@ -486,7 +486,7 @@
"icon2": "sx_zd_zs",
"weight": 1000,
"effect": "effect_sx_bomb",
"choseeffect": "",
"choseeffect": "effect_sx_trail_ls",
"pointeffect": "effect_sx_liuguang_zs",
"score": 1,
"type": 4,
@ -503,7 +503,7 @@
"icon2": "sx_zd_hs",
"weight": 1000,
"effect": "effect_sx_bomb",
"choseeffect": "",
"choseeffect": "effect_sx_trail_lvs",
"pointeffect": "effect_sx_liuguang_hs",
"score": 1,
"type": 4,
@ -520,7 +520,7 @@
"icon2": "sx_zd_fhs",
"weight": 1000,
"effect": "effect_sx_bomb",
"choseeffect": "",
"choseeffect": "effect_sx_trail_zs",
"pointeffect": "effect_sx_liuguang_fhs",
"score": 1,
"type": 4,
@ -537,7 +537,7 @@
"icon2": "sx_syh_ls",
"weight": 1000,
"effect": "effect_sx_yanhuo_dhs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_dhs",
"pointeffect": "effect_sx_liuguang_dhs",
"score": 1,
"type": 5,
@ -554,7 +554,7 @@
"icon2": "sx_xyh_ls",
"weight": 1000,
"effect": "effect_sx_yanhuo_dhs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_dhs",
"pointeffect": "effect_sx_liuguang_dhs",
"score": 1,
"type": 6,
@ -571,7 +571,7 @@
"icon2": "sx_zyh_ls",
"weight": 1000,
"effect": "effect_sx_yanhuo_dhs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_dhs",
"pointeffect": "effect_sx_liuguang_dhs",
"score": 1,
"type": 7,
@ -588,7 +588,7 @@
"icon2": "sx_yyh_ls",
"weight": 1000,
"effect": "effect_sx_yanhuo_dhs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_dhs",
"pointeffect": "effect_sx_liuguang_dhs",
"score": 1,
"type": 8,
@ -605,7 +605,7 @@
"icon2": "sx_syh_dhs",
"weight": 1000,
"effect": "effect_sx_yanhuo_ls",
"choseeffect": "",
"choseeffect": "effect_sx_trail_ls",
"pointeffect": "effect_sx_liuguang_ls",
"score": 1,
"type": 5,
@ -622,7 +622,7 @@
"icon2": "sx_xyh_dhs",
"weight": 1000,
"effect": "effect_sx_yanhuo_ls",
"choseeffect": "",
"choseeffect": "effect_sx_trail_ls",
"pointeffect": "effect_sx_liuguang_ls",
"score": 1,
"type": 6,
@ -639,7 +639,7 @@
"icon2": "sx_zyh_dhs",
"weight": 1000,
"effect": "effect_sx_yanhuo_ls",
"choseeffect": "",
"choseeffect": "effect_sx_trail_ls",
"pointeffect": "effect_sx_liuguang_ls",
"score": 1,
"type": 7,
@ -656,7 +656,7 @@
"icon2": "sx_yyh_dhs",
"weight": 1000,
"effect": "effect_sx_yanhuo_ls",
"choseeffect": "",
"choseeffect": "effect_sx_trail_ls",
"pointeffect": "effect_sx_liuguang_ls",
"score": 1,
"type": 8,
@ -673,7 +673,7 @@
"icon2": "sx_syh_lvs",
"weight": 1000,
"effect": "effect_sx_yanhuo_lvs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_lvs",
"pointeffect": "effect_sx_liuguang_lvs",
"score": 1,
"type": 5,
@ -690,7 +690,7 @@
"icon2": "sx_xyh_lvs",
"weight": 1000,
"effect": "effect_sx_yanhuo_lvs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_lvs",
"pointeffect": "effect_sx_liuguang_lvs",
"score": 1,
"type": 6,
@ -707,7 +707,7 @@
"icon2": "sx_zyh_lvs",
"weight": 1000,
"effect": "effect_sx_yanhuo_lvs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_lvs",
"pointeffect": "effect_sx_liuguang_lvs",
"score": 1,
"type": 7,
@ -724,7 +724,7 @@
"icon2": "sx_yyh_lvs",
"weight": 1000,
"effect": "effect_sx_yanhuo_lvs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_lvs",
"pointeffect": "effect_sx_liuguang_lvs",
"score": 1,
"type": 8,
@ -741,7 +741,7 @@
"icon2": "sx_syh_zs",
"weight": 1000,
"effect": "effect_sx_yanhuo_zs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_zs",
"pointeffect": "effect_sx_liuguang_zs",
"score": 1,
"type": 5,
@ -758,7 +758,7 @@
"icon2": "sx_xyh_zs",
"weight": 1000,
"effect": "effect_sx_yanhuo_zs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_zs",
"pointeffect": "effect_sx_liuguang_zs",
"score": 1,
"type": 6,
@ -775,7 +775,7 @@
"icon2": "sx_zyh_zs",
"weight": 1000,
"effect": "effect_sx_yanhuo_zs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_zs",
"pointeffect": "effect_sx_liuguang_zs",
"score": 1,
"type": 7,
@ -792,7 +792,7 @@
"icon2": "sx_yyh_zs",
"weight": 1000,
"effect": "effect_sx_yanhuo_zs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_zs",
"pointeffect": "effect_sx_liuguang_zs",
"score": 1,
"type": 8,
@ -809,7 +809,7 @@
"icon2": "sx_syh_hs",
"weight": 1000,
"effect": "effect_sx_yanhuo_hs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_hs",
"pointeffect": "effect_sx_liuguang_hs",
"score": 1,
"type": 5,
@ -826,7 +826,7 @@
"icon2": "sx_xyh_hs",
"weight": 1000,
"effect": "effect_sx_yanhuo_hs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_hs",
"pointeffect": "effect_sx_liuguang_hs",
"score": 1,
"type": 6,
@ -843,7 +843,7 @@
"icon2": "sx_zyh_hs",
"weight": 1000,
"effect": "effect_sx_yanhuo_hs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_hs",
"pointeffect": "effect_sx_liuguang_hs",
"score": 1,
"type": 7,
@ -860,7 +860,7 @@
"icon2": "sx_yyh_hs",
"weight": 1000,
"effect": "effect_sx_yanhuo_hs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_hs",
"pointeffect": "effect_sx_liuguang_hs",
"score": 1,
"type": 8,
@ -877,7 +877,7 @@
"icon2": "sx_syh_fhs",
"weight": 1000,
"effect": "effect_sx_yanhuo_fhs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_fhs",
"pointeffect": "effect_sx_liuguang_fhs",
"score": 1,
"type": 5,
@ -894,7 +894,7 @@
"icon2": "sx_xyh_fhs",
"weight": 1000,
"effect": "effect_sx_yanhuo_fhs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_fhs",
"pointeffect": "effect_sx_liuguang_fhs",
"score": 1,
"type": 6,
@ -911,7 +911,7 @@
"icon2": "sx_zyh_fhs",
"weight": 1000,
"effect": "effect_sx_yanhuo_fhs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_fhs",
"pointeffect": "effect_sx_liuguang_fhs",
"score": 1,
"type": 7,
@ -928,7 +928,7 @@
"icon2": "sx_yyh_fhs",
"weight": 1000,
"effect": "effect_sx_yanhuo_fhs",
"choseeffect": "",
"choseeffect": "effect_sx_trail_fhs",
"pointeffect": "effect_sx_liuguang_fhs",
"score": 1,
"type": 8,

View File

@ -3,24 +3,24 @@
"num": 1,
"ComboMin": 0,
"ComboMax": 20,
"value": 1000
"value": 10
},
{
"num": 2,
"ComboMin": 21,
"ComboMax": 40,
"value": 1200
"value": 12
},
{
"num": 3,
"ComboMin": 41,
"ComboMax": 60,
"value": 1400
"value": 14
},
{
"num": 4,
"ComboMin": 61,
"ComboMax": 0,
"value": 1800
"ComboMax": -1,
"value": 18
}
]

View File

@ -691,7 +691,7 @@
"herocolor": 4,
"herotitel": {
"key": "consume_consume_hero_herotitel_12",
"text": "身怀绝技之人"
"text": "身怀绝技"
},
"hero": 45003,
"iconimg": "xxtx_js_45003",
@ -755,7 +755,7 @@
"herocolor": 4,
"herotitel": {
"key": "consume_consume_hero_herotitel_13",
"text": "身怀绝技之人"
"text": "身怀绝技"
},
"hero": 34007,
"iconimg": "xxtx_js_34007",
@ -819,7 +819,7 @@
"herocolor": 4,
"herotitel": {
"key": "consume_consume_hero_herotitel_14",
"text": "身怀绝技之人"
"text": "身怀绝技"
},
"hero": 45004,
"iconimg": "xxtx_js_45004",

34074
bin/json/game_equipatlas.json Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -632,6 +632,7 @@
"buzkashi_catchqtetime": 2000,
"buzkashi_recentPlayer": 10,
"buzkashi_trackpartdis": 200,
"buzkashi_trackpartcount": 4,
"task_activation": 10000007,
"favorability_attenuation": [
{

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,205 @@
[
{
"id": 1,
"startype": {
"key": "circularcamptower_star_startype_1",
"text": "上阵至少{0}名火的热情阵营的守护者"
}
},
{
"id": 2,
"startype": {
"key": "circularcamptower_star_startype_2",
"text": "上阵至少{0}名林的感观阵营的守护者"
}
},
{
"id": 3,
"startype": {
"key": "circularcamptower_star_startype_3",
"text": "上阵至少{0}名水的包容阵营的守护者"
}
},
{
"id": 4,
"startype": {
"key": "circularcamptower_star_startype_4",
"text": "上阵至少{0}名光的荣耀阵营的守护者"
}
},
{
"id": 5,
"startype": {
"key": "circularcamptower_star_startype_5",
"text": "战斗胜利"
}
},
{
"id": 6,
"startype": {
"key": "circularcamptower_star_startype_6",
"text": "血量不低于{0}过关"
}
},
{
"id": 7,
"startype": {
"key": "circularcamptower_star_startype_7",
"text": "被击败不超过{0}个人过关"
}
},
{
"id": 8,
"startype": {
"key": "circularcamptower_star_startype_8",
"text": "不超过{0}回合过关"
}
},
{
"id": 9,
"startype": {
"key": "circularcamptower_star_startype_9",
"text": "上阵至少{0}名攻击职业的守护者"
}
},
{
"id": 10,
"startype": {
"key": "circularcamptower_star_startype_10",
"text": "上阵至少{0}名防御职业的守护者"
}
},
{
"id": 11,
"startype": {
"key": "circularcamptower_star_startype_11",
"text": "上阵至少{0}名治疗职业的守护者"
}
},
{
"id": 12,
"startype": {
"key": "circularcamptower_star_startype_12",
"text": "上阵至少{0}名控制职业的守护者"
}
},
{
"id": 13,
"startype": {
"key": "circularcamptower_star_startype_13",
"text": "上阵至少{0}名《宝贝老板》的守护者"
}
},
{
"id": 14,
"startype": {
"key": "circularcamptower_star_startype_14",
"text": "上阵至少{0}名《疯狂外星人》的守护者"
}
},
{
"id": 15,
"startype": {
"key": "circularcamptower_star_startype_15",
"text": "上阵至少{0}名《疯狂原始人》的守护者"
}
},
{
"id": 16,
"startype": {
"key": "circularcamptower_star_startype_16",
"text": "上阵至少{0}名《功夫熊猫》的守护者"
}
},
{
"id": 17,
"startype": {
"key": "circularcamptower_star_startype_17",
"text": "上阵至少{0}名《怪物史莱克》的守护者"
}
},
{
"id": 18,
"startype": {
"key": "circularcamptower_star_startype_18",
"text": "上阵至少{0}名《坏蛋联盟》的守护者"
}
},
{
"id": 19,
"startype": {
"key": "circularcamptower_star_startype_19",
"text": "上阵至少{0}名《巨怪猎人》的守护者"
}
},
{
"id": 20,
"startype": {
"key": "circularcamptower_star_startype_20",
"text": "上阵至少{0}名《马达加斯加》的守护者"
}
},
{
"id": 21,
"startype": {
"key": "circularcamptower_star_startype_21",
"text": "上阵至少{0}名《魔发精灵》的守护者"
}
},
{
"id": 22,
"startype": {
"key": "circularcamptower_star_startype_22",
"text": "上阵至少{0}名《守护者联盟》的守护者"
}
},
{
"id": 23,
"startype": {
"key": "circularcamptower_star_startype_23",
"text": "上阵至少{0}名《驯龙高手》的守护者"
}
},
{
"id": 24,
"startype": {
"key": "circularcamptower_star_startype_24",
"text": "上阵至少{0}名《野性精神》的守护者"
}
},
{
"id": 25,
"startype": {
"key": "circularcamptower_star_startype_25",
"text": "上阵至少{0}名初始为三星的守护者"
}
},
{
"id": 26,
"startype": {
"key": "circularcamptower_star_startype_26",
"text": "上阵至少{0}名初始为四星的守护者"
}
},
{
"id": 27,
"startype": {
"key": "circularcamptower_star_startype_27",
"text": "上阵至少{0}名初始为五星的守护者"
}
},
{
"id": 28,
"startype": {
"key": "circularcamptower_star_startype_28",
"text": "上阵至少{0}名男性守护者"
}
},
{
"id": 29,
"startype": {
"key": "circularcamptower_star_startype_29",
"text": "上阵至少{0}名女性守护者"
}
}
]

6827
bin/json/game_ui.json Normal file

File diff suppressed because it is too large Load Diff

238322
bin/json/game_worldstory.json Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,58 @@
[
{
"id": 0,
"name": "返回"
},
{
"id": 1,
"name": "进入战斗"
},
{
"id": 2,
"name": "剧情对话"
},
{
"id": 3,
"name": "剧情动画"
},
{
"id": 4,
"name": "跳转场景"
},
{
"id": 5,
"name": "关卡编辑器"
},
{
"id": 6,
"name": "抽卡"
},
{
"id": 7,
"name": "心魔塔"
},
{
"id": 8,
"name": "跳转任务"
},
{
"id": 9,
"name": "圣树开花"
},
{
"id": 10,
"name": "高亮对应NPC气泡"
},
{
"id": 11,
"name": "寻路NPC"
},
{
"id": 12,
"name": "跑环随机事件"
},
{
"id": 13,
"name": "跳转性别选择"
}
]

View File

@ -8,7 +8,7 @@ import (
// 参数校验
func (this *apiComp) ChallengeRaceCheck(session comm.IUserSession, req *pb.PagodaChallengeRaceReq) (errdata *pb.ErrorData) {
if req.Cid <= 0 {
if req.Floor <= 0 {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ReqParameterError,
Title: pb.ErrorCode_ReqParameterError.ToString(),
@ -30,7 +30,7 @@ func (this *apiComp) ChallengeRace(session comm.IUserSession, req *pb.PagodaChal
return // 参数校验失败直接返回
}
conf, err := this.module.configure.GetPagodaRaceConfById(req.Cid)
conf, err := this.module.configure.GetSixPagodaConf(req.Floor)
if err != nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_PagodaNotFound,
@ -111,7 +111,7 @@ func (this *apiComp) ChallengeRace(session comm.IUserSession, req *pb.PagodaChal
Buleflist: record.Buleflist,
Tasks: record.Tasks,
},
Cid: req.Cid,
Floor: req.Floor,
})
return
}

View File

@ -7,7 +7,7 @@ import (
// 参数校验
func (this *apiComp) ChallengeRaceOverCheck(session comm.IUserSession, req *pb.PagodaChallengeRaceOverReq) (errdata *pb.ErrorData) {
if req.Cid <= 0 {
if req.Floor <= 0 {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ReqParameterError,
Title: pb.ErrorCode_ReqParameterError.ToString(),
@ -36,7 +36,7 @@ func (this *apiComp) ChallengeRaceOver(session comm.IUserSession, req *pb.Pagoda
return // 参数校验失败直接返回
}
conf, err := this.module.configure.GetPagodaRaceConfById(req.Cid)
conf, err := this.module.configure.GetSixPagodaConf(req.Floor)
if err != nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_PagodaNotFound,

View File

@ -17,6 +17,7 @@ const (
game_pagodaseasonreward = "game_pagodaseasonreward.json"
game_pagodataskreward = "game_pagodataskreward.json"
game_circulate = "game_circulate.json"
game_sixdirections = "game_sixdirections.json"
)
///配置管理基础组件
@ -38,10 +39,12 @@ func (this *configureComp) Init(service core.IService, module core.IModule, comp
game_pagodataskreward: cfg.NewGamePagodaTaskReward,
game_pagoda: cfg.NewGamePagoda,
game_circulate: cfg.NewGameCirculate,
game_sixdirections: cfg.NewGameSixDirections,
})
configure.RegisterConfigure(game_pagoda, cfg.NewGamePagoda, this.LoadPagoda)
configure.RegisterConfigure(game_circulate, cfg.NewGameCirculate, this.LoadCirculate)
return
}
func (this *configureComp) Start() (err error) {
@ -210,3 +213,19 @@ func (this *configureComp) GetPagodaRaceConfById(id int32) (data *cfg.GameCircul
func (this *configureComp) GetRaceCirculateConf() []int32 {
return this.circulate
}
// 获取六合塔的信息
func (this *configureComp) GetSixPagodaConf(id int32) (data *cfg.GameSixDirectionsData, err error) {
var (
v interface{}
)
if v, err = this.GetConfigure(game_sixdirections); err == nil {
if configure, ok := v.(*cfg.GameSixDirections); ok {
if data = configure.Get(id); data != nil {
return
}
}
}
err = comm.NewNotFoundConfErr(moduleName, game_sixdirections, id)
return
}

View File

@ -44,6 +44,7 @@ func (this *ModelRace) getPagodaRaceList(uid string) (result *pb.DBPagodaRace, e
result.Id = primitive.NewObjectID().Hex()
result.Uid = uid
result.Data = make(map[int32]*pb.RaceData)
result.Reward = make(map[int32]int32)
result.Rtime = configure.Now().Unix()
err = this.Add(uid, result)
return

View File

@ -469,6 +469,7 @@ type DBPagodaRace struct {
Maxfloor int32 `protobuf:"varint,4,opt,name=maxfloor,proto3" json:"maxfloor"` // 最大层数
Rtime int64 `protobuf:"varint,5,opt,name=rtime,proto3" json:"rtime"` // 刷新时间 客户端不用
Battlecount int32 `protobuf:"varint,6,opt,name=battlecount,proto3" json:"battlecount"` // 今日挑战次数
Reward map[int32]int32 `protobuf:"bytes,7,rep,name=reward,proto3" json:"reward" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // key 组
}
func (x *DBPagodaRace) Reset() {
@ -545,6 +546,13 @@ func (x *DBPagodaRace) GetBattlecount() int32 {
return 0
}
func (x *DBPagodaRace) GetReward() map[int32]int32 {
if x != nil {
return x.Reward
}
return nil
}
var File_pagoda_pagoda_db_proto protoreflect.FileDescriptor
var file_pagoda_pagoda_db_proto_rawDesc = []byte{
@ -618,7 +626,7 @@ var file_pagoda_pagoda_db_proto_rawDesc = []byte{
0x0a, 0x04, 0x73, 0x74, 0x61, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x74,
0x61, 0x72, 0x12, 0x1d, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x09, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x6c, 0x69, 0x6e,
0x65, 0x22, 0xf5, 0x01, 0x0a, 0x0c, 0x44, 0x42, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x52, 0x61,
0x65, 0x22, 0xe3, 0x02, 0x0a, 0x0c, 0x44, 0x42, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x52, 0x61,
0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x03, 0x75, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03,
@ -629,12 +637,19 @@ var file_pagoda_pagoda_db_proto_rawDesc = []byte{
0x05, 0x72, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x72, 0x74,
0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x63, 0x6f, 0x75,
0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x42, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74,
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
0x03, 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x52, 0x61, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05,
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70,
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18,
0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61,
0x52, 0x61, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79,
0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x1a, 0x42, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61,
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x52, 0x61, 0x63, 0x65, 0x44, 0x61, 0x74,
0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x39, 0x0a, 0x0b,
0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@ -649,7 +664,7 @@ func file_pagoda_pagoda_db_proto_rawDescGZIP() []byte {
return file_pagoda_pagoda_db_proto_rawDescData
}
var file_pagoda_pagoda_db_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
var file_pagoda_pagoda_db_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_pagoda_pagoda_db_proto_goTypes = []interface{}{
(*DBPagoda)(nil), // 0: DBPagoda
(*DBPagodaRecord)(nil), // 1: DBPagodaRecord
@ -661,27 +676,29 @@ var file_pagoda_pagoda_db_proto_goTypes = []interface{}{
nil, // 7: DBPagoda.DataEntry
nil, // 8: DBRacePagodaRecord.DataEntry
nil, // 9: DBPagodaRace.DataEntry
(*LineUp)(nil), // 10: LineUp
(*BaseUserInfo)(nil), // 11: BaseUserInfo
(*LineData)(nil), // 12: LineData
nil, // 10: DBPagodaRace.RewardEntry
(*LineUp)(nil), // 11: LineUp
(*BaseUserInfo)(nil), // 12: BaseUserInfo
(*LineData)(nil), // 13: LineData
}
var file_pagoda_pagoda_db_proto_depIdxs = []int32{
6, // 0: DBPagoda.reward:type_name -> DBPagoda.RewardEntry
7, // 1: DBPagoda.data:type_name -> DBPagoda.DataEntry
10, // 2: DBPagodaRecord.line:type_name -> LineUp
11, // 3: DBRacePagodaRecord.uinfo:type_name -> BaseUserInfo
11, // 2: DBPagodaRecord.line:type_name -> LineUp
12, // 3: DBRacePagodaRecord.uinfo:type_name -> BaseUserInfo
8, // 4: DBRacePagodaRecord.data:type_name -> DBRacePagodaRecord.DataEntry
11, // 5: DBRaceRank.uinfo:type_name -> BaseUserInfo
12, // 6: DBRaceRank.line:type_name -> LineData
12, // 7: RaceData.line:type_name -> LineData
12, // 5: DBRaceRank.uinfo:type_name -> BaseUserInfo
13, // 6: DBRaceRank.line:type_name -> LineData
13, // 7: RaceData.line:type_name -> LineData
9, // 8: DBPagodaRace.data:type_name -> DBPagodaRace.DataEntry
4, // 9: DBRacePagodaRecord.DataEntry.value:type_name -> RaceData
4, // 10: DBPagodaRace.DataEntry.value:type_name -> RaceData
11, // [11:11] is the sub-list for method output_type
11, // [11:11] is the sub-list for method input_type
11, // [11:11] is the sub-list for extension type_name
11, // [11:11] is the sub-list for extension extendee
0, // [0:11] is the sub-list for field type_name
10, // 9: DBPagodaRace.reward:type_name -> DBPagodaRace.RewardEntry
4, // 10: DBRacePagodaRecord.DataEntry.value:type_name -> RaceData
4, // 11: DBPagodaRace.DataEntry.value:type_name -> RaceData
12, // [12:12] is the sub-list for method output_type
12, // [12:12] is the sub-list for method input_type
12, // [12:12] is the sub-list for extension type_name
12, // [12:12] is the sub-list for extension extendee
0, // [0:12] is the sub-list for field type_name
}
func init() { file_pagoda_pagoda_db_proto_init() }
@ -771,7 +788,7 @@ func file_pagoda_pagoda_db_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_pagoda_pagoda_db_proto_rawDesc,
NumEnums: 0,
NumMessages: 10,
NumMessages: 11,
NumExtensions: 0,
NumServices: 0,
},

View File

@ -814,8 +814,7 @@ type PagodaChallengeRaceReq struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Race int32 `protobuf:"varint,1,opt,name=race,proto3" json:"race"` //0 循环塔 1 阵营1 ...
Cid int32 `protobuf:"varint,2,opt,name=cid,proto3" json:"cid"` // circularcamptower 表中的id
Floor int32 `protobuf:"varint,1,opt,name=floor,proto3" json:"floor"` // 层数
Battle *BattleFormation `protobuf:"bytes,3,opt,name=battle,proto3" json:"battle"`
}
@ -851,16 +850,9 @@ func (*PagodaChallengeRaceReq) Descriptor() ([]byte, []int) {
return file_pagoda_pagoda_msg_proto_rawDescGZIP(), []int{16}
}
func (x *PagodaChallengeRaceReq) GetRace() int32 {
func (x *PagodaChallengeRaceReq) GetFloor() int32 {
if x != nil {
return x.Race
}
return 0
}
func (x *PagodaChallengeRaceReq) GetCid() int32 {
if x != nil {
return x.Cid
return x.Floor
}
return 0
}
@ -878,7 +870,7 @@ type PagodaChallengeRaceResp struct {
unknownFields protoimpl.UnknownFields
Info *BattleInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
Cid int32 `protobuf:"varint,2,opt,name=cid,proto3" json:"cid"` // 塔的配置id
Floor int32 `protobuf:"varint,2,opt,name=floor,proto3" json:"floor"` // 层数
}
func (x *PagodaChallengeRaceResp) Reset() {
@ -920,9 +912,9 @@ func (x *PagodaChallengeRaceResp) GetInfo() *BattleInfo {
return nil
}
func (x *PagodaChallengeRaceResp) GetCid() int32 {
func (x *PagodaChallengeRaceResp) GetFloor() int32 {
if x != nil {
return x.Cid
return x.Floor
}
return 0
}
@ -933,8 +925,9 @@ type PagodaChallengeRaceOverReq struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Cid int32 `protobuf:"varint,1,opt,name=cid,proto3" json:"cid"` // circularcamptower 表中的id
Floor int32 `protobuf:"varint,1,opt,name=floor,proto3" json:"floor"`
Report *BattleReport `protobuf:"bytes,2,opt,name=report,proto3" json:"report"` //战报
Star int32 `protobuf:"varint,3,opt,name=star,proto3" json:"star"` // 星级
}
func (x *PagodaChallengeRaceOverReq) Reset() {
@ -969,9 +962,9 @@ func (*PagodaChallengeRaceOverReq) Descriptor() ([]byte, []int) {
return file_pagoda_pagoda_msg_proto_rawDescGZIP(), []int{18}
}
func (x *PagodaChallengeRaceOverReq) GetCid() int32 {
func (x *PagodaChallengeRaceOverReq) GetFloor() int32 {
if x != nil {
return x.Cid
return x.Floor
}
return 0
}
@ -983,6 +976,13 @@ func (x *PagodaChallengeRaceOverReq) GetReport() *BattleReport {
return nil
}
func (x *PagodaChallengeRaceOverReq) GetStar() int32 {
if x != nil {
return x.Star
}
return 0
}
type PagodaChallengeRaceOverResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -1218,6 +1218,101 @@ func (x *PagodaCrossRaceRankListResp) GetRanks() []*DBRaceRank {
return nil
}
// 组奖励
type PagodaRaceRewardReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Groud int32 `protobuf:"varint,1,opt,name=groud,proto3" json:"groud"` //组id
}
func (x *PagodaRaceRewardReq) Reset() {
*x = PagodaRaceRewardReq{}
if protoimpl.UnsafeEnabled {
mi := &file_pagoda_pagoda_msg_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PagodaRaceRewardReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PagodaRaceRewardReq) ProtoMessage() {}
func (x *PagodaRaceRewardReq) ProtoReflect() protoreflect.Message {
mi := &file_pagoda_pagoda_msg_proto_msgTypes[24]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PagodaRaceRewardReq.ProtoReflect.Descriptor instead.
func (*PagodaRaceRewardReq) Descriptor() ([]byte, []int) {
return file_pagoda_pagoda_msg_proto_rawDescGZIP(), []int{24}
}
func (x *PagodaRaceRewardReq) GetGroud() int32 {
if x != nil {
return x.Groud
}
return 0
}
type PagodaRaceRewardResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data *DBPagodaRace `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
}
func (x *PagodaRaceRewardResp) Reset() {
*x = PagodaRaceRewardResp{}
if protoimpl.UnsafeEnabled {
mi := &file_pagoda_pagoda_msg_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PagodaRaceRewardResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PagodaRaceRewardResp) ProtoMessage() {}
func (x *PagodaRaceRewardResp) ProtoReflect() protoreflect.Message {
mi := &file_pagoda_pagoda_msg_proto_msgTypes[25]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PagodaRaceRewardResp.ProtoReflect.Descriptor instead.
func (*PagodaRaceRewardResp) Descriptor() ([]byte, []int) {
return file_pagoda_pagoda_msg_proto_rawDescGZIP(), []int{25}
}
func (x *PagodaRaceRewardResp) GetData() *DBPagodaRace {
if x != nil {
return x.Data
}
return nil
}
var File_pagoda_pagoda_msg_proto protoreflect.FileDescriptor
var file_pagoda_pagoda_msg_proto_rawDesc = []byte{
@ -1291,50 +1386,58 @@ var file_pagoda_pagoda_msg_proto_rawDesc = []byte{
0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x67,
0x6f, 0x64, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x05, 0x69, 0x74, 0x6d,
0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41,
0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x69, 0x74, 0x6d, 0x65, 0x73, 0x22, 0x68, 0x0a, 0x16,
0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x69, 0x74, 0x6d, 0x65, 0x73, 0x22, 0x58, 0x0a, 0x16,
0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52,
0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x61, 0x63, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x72, 0x61, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69,
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x06,
0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x18,
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 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, 0x4c, 0x0a, 0x17, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61,
0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x22, 0x50, 0x0a, 0x17, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61,
0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73,
0x70, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e,
0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
0x03, 0x63, 0x69, 0x64, 0x22, 0x55, 0x0a, 0x1a, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x43, 0x68,
0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x61, 0x63, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x52,
0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
0x03, 0x63, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02,
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, 0xe4, 0x01, 0x0a, 0x1b,
0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52,
0x61, 0x63, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64,
0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x50, 0x61,
0x67, 0x6f, 0x64, 0x61, 0x52, 0x61, 0x63, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x21,
0x0a, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09,
0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72,
0x64, 0x12, 0x43, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x18, 0x03, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x29, 0x2e, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c,
0x65, 0x6e, 0x67, 0x65, 0x52, 0x61, 0x63, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
0x2e, 0x48, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68,
0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x72, 0x6f, 0x65, 0x78,
0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x47, 0x65, 0x74, 0x52,
0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x22, 0x36, 0x0a, 0x11, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61,
0x47, 0x65, 0x74, 0x52, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64,
0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x50, 0x61,
0x67, 0x6f, 0x64, 0x61, 0x52, 0x61, 0x63, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x1c,
0x0a, 0x1a, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x52, 0x61, 0x63,
0x65, 0x52, 0x61, 0x6e, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x40, 0x0a, 0x1b,
0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x52, 0x61, 0x63, 0x65, 0x52,
0x61, 0x6e, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x05, 0x72,
0x61, 0x6e, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x52,
0x61, 0x63, 0x65, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x42, 0x06,
0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
0x05, 0x52, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x22, 0x6d, 0x0a, 0x1a, 0x50, 0x61, 0x67, 0x6f,
0x64, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x61, 0x63, 0x65, 0x4f,
0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x18,
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x06,
0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 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, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x74, 0x61, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,
0x05, 0x52, 0x04, 0x73, 0x74, 0x61, 0x72, 0x22, 0xe4, 0x01, 0x0a, 0x1b, 0x50, 0x61, 0x67, 0x6f,
0x64, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x61, 0x63, 0x65, 0x4f,
0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61,
0x52, 0x61, 0x63, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x06, 0x72, 0x65,
0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65,
0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x43, 0x0a,
0x07, 0x68, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29,
0x2e, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65,
0x52, 0x61, 0x63, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x48, 0x65, 0x72,
0x6f, 0x65, 0x78, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x65,
0x78, 0x70, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x45, 0x6e, 0x74,
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12,
0x0a, 0x10, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x47, 0x65, 0x74, 0x52, 0x61, 0x63, 0x65, 0x52,
0x65, 0x71, 0x22, 0x36, 0x0a, 0x11, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x47, 0x65, 0x74, 0x52,
0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61,
0x52, 0x61, 0x63, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x1c, 0x0a, 0x1a, 0x50, 0x61,
0x67, 0x6f, 0x64, 0x61, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x52, 0x61, 0x63, 0x65, 0x52, 0x61, 0x6e,
0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x40, 0x0a, 0x1b, 0x50, 0x61, 0x67, 0x6f,
0x64, 0x61, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x52, 0x61, 0x63, 0x65, 0x52, 0x61, 0x6e, 0x6b, 0x4c,
0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x6b, 0x73,
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65, 0x52,
0x61, 0x6e, 0x6b, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x22, 0x2b, 0x0a, 0x13, 0x50, 0x61,
0x67, 0x6f, 0x64, 0x61, 0x52, 0x61, 0x63, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65,
0x71, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x64, 0x22, 0x39, 0x0a, 0x14, 0x50, 0x61, 0x67, 0x6f, 0x64,
0x61, 0x52, 0x61, 0x63, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12,
0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
0x44, 0x42, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x52, 0x61, 0x63, 0x65, 0x52, 0x04, 0x64, 0x61,
0x74, 0x61, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
}
var (
@ -1349,7 +1452,7 @@ func file_pagoda_pagoda_msg_proto_rawDescGZIP() []byte {
return file_pagoda_pagoda_msg_proto_rawDescData
}
var file_pagoda_pagoda_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
var file_pagoda_pagoda_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 28)
var file_pagoda_pagoda_msg_proto_goTypes = []interface{}{
(*PagodaGetListReq)(nil), // 0: PagodaGetListReq
(*PagodaGetListResp)(nil), // 1: PagodaGetListResp
@ -1375,46 +1478,49 @@ var file_pagoda_pagoda_msg_proto_goTypes = []interface{}{
(*PagodaGetRaceResp)(nil), // 21: PagodaGetRaceResp
(*PagodaCrossRaceRankListReq)(nil), // 22: PagodaCrossRaceRankListReq
(*PagodaCrossRaceRankListResp)(nil), // 23: PagodaCrossRaceRankListResp
nil, // 24: PagodaChallengeOverResp.HeroexpEntry
nil, // 25: PagodaChallengeRaceOverResp.HeroexpEntry
(*DBPagoda)(nil), // 26: DBPagoda
(*UserAtno)(nil), // 27: UserAtno
(*BattleFormation)(nil), // 28: BattleFormation
(*BattleInfo)(nil), // 29: BattleInfo
(*BattleReport)(nil), // 30: BattleReport
(*DBPagodaRecord)(nil), // 31: DBPagodaRecord
(*UserAssets)(nil), // 32: UserAssets
(*DBPagodaRace)(nil), // 33: DBPagodaRace
(*DBRaceRank)(nil), // 34: DBRaceRank
(*PagodaRaceRewardReq)(nil), // 24: PagodaRaceRewardReq
(*PagodaRaceRewardResp)(nil), // 25: PagodaRaceRewardResp
nil, // 26: PagodaChallengeOverResp.HeroexpEntry
nil, // 27: PagodaChallengeRaceOverResp.HeroexpEntry
(*DBPagoda)(nil), // 28: DBPagoda
(*UserAtno)(nil), // 29: UserAtno
(*BattleFormation)(nil), // 30: BattleFormation
(*BattleInfo)(nil), // 31: BattleInfo
(*BattleReport)(nil), // 32: BattleReport
(*DBPagodaRecord)(nil), // 33: DBPagodaRecord
(*UserAssets)(nil), // 34: UserAssets
(*DBPagodaRace)(nil), // 35: DBPagodaRace
(*DBRaceRank)(nil), // 36: DBRaceRank
}
var file_pagoda_pagoda_msg_proto_depIdxs = []int32{
26, // 0: PagodaGetListResp.data:type_name -> DBPagoda
26, // 1: PagodaGetRewardResp.data:type_name -> DBPagoda
27, // 2: PagodaGetRewardResp.atno:type_name -> UserAtno
28, // 3: PagodaChallengeReq.battle:type_name -> BattleFormation
29, // 4: PagodaChallengeResp.info:type_name -> BattleInfo
30, // 5: PagodaChallengeOverReq.report:type_name -> BattleReport
26, // 6: PagodaChallengeOverResp.data:type_name -> DBPagoda
27, // 7: PagodaChallengeOverResp.reward:type_name -> UserAtno
24, // 8: PagodaChallengeOverResp.heroexp:type_name -> PagodaChallengeOverResp.HeroexpEntry
31, // 9: PagodaRankListResp.ranks:type_name -> DBPagodaRecord
31, // 10: PagodaQueryRecordResp.data:type_name -> DBPagodaRecord
26, // 11: PagodaActivateResp.data:type_name -> DBPagoda
26, // 12: PagodaWarOrderResp.data:type_name -> DBPagoda
32, // 13: PagodaWarOrderResp.itmes:type_name -> UserAssets
28, // 14: PagodaChallengeRaceReq.battle:type_name -> BattleFormation
29, // 15: PagodaChallengeRaceResp.info:type_name -> BattleInfo
30, // 16: PagodaChallengeRaceOverReq.report:type_name -> BattleReport
33, // 17: PagodaChallengeRaceOverResp.data:type_name -> DBPagodaRace
27, // 18: PagodaChallengeRaceOverResp.reward:type_name -> UserAtno
25, // 19: PagodaChallengeRaceOverResp.heroexp:type_name -> PagodaChallengeRaceOverResp.HeroexpEntry
33, // 20: PagodaGetRaceResp.data:type_name -> DBPagodaRace
34, // 21: PagodaCrossRaceRankListResp.ranks:type_name -> DBRaceRank
22, // [22:22] is the sub-list for method output_type
22, // [22:22] is the sub-list for method input_type
22, // [22:22] is the sub-list for extension type_name
22, // [22:22] is the sub-list for extension extendee
0, // [0:22] is the sub-list for field type_name
28, // 0: PagodaGetListResp.data:type_name -> DBPagoda
28, // 1: PagodaGetRewardResp.data:type_name -> DBPagoda
29, // 2: PagodaGetRewardResp.atno:type_name -> UserAtno
30, // 3: PagodaChallengeReq.battle:type_name -> BattleFormation
31, // 4: PagodaChallengeResp.info:type_name -> BattleInfo
32, // 5: PagodaChallengeOverReq.report:type_name -> BattleReport
28, // 6: PagodaChallengeOverResp.data:type_name -> DBPagoda
29, // 7: PagodaChallengeOverResp.reward:type_name -> UserAtno
26, // 8: PagodaChallengeOverResp.heroexp:type_name -> PagodaChallengeOverResp.HeroexpEntry
33, // 9: PagodaRankListResp.ranks:type_name -> DBPagodaRecord
33, // 10: PagodaQueryRecordResp.data:type_name -> DBPagodaRecord
28, // 11: PagodaActivateResp.data:type_name -> DBPagoda
28, // 12: PagodaWarOrderResp.data:type_name -> DBPagoda
34, // 13: PagodaWarOrderResp.itmes:type_name -> UserAssets
30, // 14: PagodaChallengeRaceReq.battle:type_name -> BattleFormation
31, // 15: PagodaChallengeRaceResp.info:type_name -> BattleInfo
32, // 16: PagodaChallengeRaceOverReq.report:type_name -> BattleReport
35, // 17: PagodaChallengeRaceOverResp.data:type_name -> DBPagodaRace
29, // 18: PagodaChallengeRaceOverResp.reward:type_name -> UserAtno
27, // 19: PagodaChallengeRaceOverResp.heroexp:type_name -> PagodaChallengeRaceOverResp.HeroexpEntry
35, // 20: PagodaGetRaceResp.data:type_name -> DBPagodaRace
36, // 21: PagodaCrossRaceRankListResp.ranks:type_name -> DBRaceRank
35, // 22: PagodaRaceRewardResp.data:type_name -> DBPagodaRace
23, // [23:23] is the sub-list for method output_type
23, // [23:23] is the sub-list for method input_type
23, // [23:23] is the sub-list for extension type_name
23, // [23:23] is the sub-list for extension extendee
0, // [0:23] is the sub-list for field type_name
}
func init() { file_pagoda_pagoda_msg_proto_init() }
@ -1714,6 +1820,30 @@ func file_pagoda_pagoda_msg_proto_init() {
return nil
}
}
file_pagoda_pagoda_msg_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PagodaRaceRewardReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pagoda_pagoda_msg_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PagodaRaceRewardResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
@ -1721,7 +1851,7 @@ func file_pagoda_pagoda_msg_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_pagoda_pagoda_msg_proto_rawDesc,
NumEnums: 0,
NumMessages: 26,
NumMessages: 28,
NumExtensions: 0,
NumServices: 0,
},

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

View File

@ -0,0 +1,52 @@
//------------------------------------------------------------------------------
// <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 GameBuzkashiRewardData struct {
Key int32
Schedule int32
Reword []*Gameatn
}
const TypeId_GameBuzkashiRewardData = -1577911348
func (*GameBuzkashiRewardData) GetTypeId() int32 {
return -1577911348
}
func (_v *GameBuzkashiRewardData)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["schedule"].(float64); !_ok_ { err = errors.New("schedule error"); return }; _v.Schedule = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["reword"].([]interface{}); !_ok_ { err = errors.New("reword error"); return }
_v.Reword = make([]*Gameatn, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ *Gameatn
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _e_.(map[string]interface{}); !_ok_ { err = errors.New("_list_v_ error"); return }; if _list_v_, err = DeserializeGameatn(_x_); err != nil { return } }
_v.Reword = append(_v.Reword, _list_v_)
}
}
return
}
func DeserializeGameBuzkashiRewardData(_buf map[string]interface{}) (*GameBuzkashiRewardData, error) {
v := &GameBuzkashiRewardData{}
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 GameRdtaskCondi struct {
_dataMap map[int32]*GameRdtaskCondiData
_dataList []*GameRdtaskCondiData
}
func NewGameRdtaskCondi(_buf []map[string]interface{}) (*GameRdtaskCondi, error) {
_dataList := make([]*GameRdtaskCondiData, 0, len(_buf))
dataMap := make(map[int32]*GameRdtaskCondiData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameRdtaskCondiData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
}
}
return &GameRdtaskCondi{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameRdtaskCondi) GetDataMap() map[int32]*GameRdtaskCondiData {
return table._dataMap
}
func (table *GameRdtaskCondi) GetDataList() []*GameRdtaskCondiData {
return table._dataList
}
func (table *GameRdtaskCondi) Get(key int32) *GameRdtaskCondiData {
return table._dataMap[key]
}

View File

@ -0,0 +1,96 @@
//------------------------------------------------------------------------------
// <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 GameRdtaskCondiData struct {
Id int32
Rtype int32
Ctype int32
Notify []string
TypeSp int32
Tasktxt string
Type int32
Valid int32
NPC int32
Value int32
Filter []int32
Filter2 []string
}
const TypeId_GameRdtaskCondiData = 2060899038
func (*GameRdtaskCondiData) GetTypeId() int32 {
return 2060899038
}
func (_v *GameRdtaskCondiData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["id"].(float64); !_ok_ { err = errors.New("id error"); return }; _v.Id = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["rtype"].(float64); !_ok_ { err = errors.New("rtype error"); return }; _v.Rtype = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["ctype"].(float64); !_ok_ { err = errors.New("ctype error"); return }; _v.Ctype = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["notify"].([]interface{}); !_ok_ { err = errors.New("notify error"); return }
_v.Notify = 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.Notify = append(_v.Notify, _list_v_)
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["type_sp"].(float64); !_ok_ { err = errors.New("type_sp error"); return }; _v.TypeSp = int32(_tempNum_) }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["tasktxt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Tasktxt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Tasktxt, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["type"].(float64); !_ok_ { err = errors.New("type error"); return }; _v.Type = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["valid"].(float64); !_ok_ { err = errors.New("valid error"); return }; _v.Valid = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["NPC"].(float64); !_ok_ { err = errors.New("NPC error"); return }; _v.NPC = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["value"].(float64); !_ok_ { err = errors.New("value error"); return }; _v.Value = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["filter"].([]interface{}); !_ok_ { err = errors.New("filter error"); return }
_v.Filter = 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.Filter = append(_v.Filter, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["filter2"].([]interface{}); !_ok_ { err = errors.New("filter2 error"); return }
_v.Filter2 = 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.Filter2 = append(_v.Filter2, _list_v_)
}
}
return
}
func DeserializeGameRdtaskCondiData(_buf map[string]interface{}) (*GameRdtaskCondiData, error) {
v := &GameRdtaskCondiData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -0,0 +1,45 @@
//------------------------------------------------------------------------------
// <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 GameRobotDataData struct {
Robotid int32
Icon string
Lvshow int32
Name string
Sex int32
Showid string
}
const TypeId_GameRobotDataData = 1848956418
func (*GameRobotDataData) GetTypeId() int32 {
return 1848956418
}
func (_v *GameRobotDataData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["robotid"].(float64); !_ok_ { err = errors.New("robotid error"); return }; _v.Robotid = int32(_tempNum_) }
{ var _ok_ bool; if _v.Icon, _ok_ = _buf["icon"].(string); !_ok_ { err = errors.New("icon error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["lvshow"].(float64); !_ok_ { err = errors.New("lvshow error"); return }; _v.Lvshow = int32(_tempNum_) }
{ var _ok_ bool; if _v.Name, _ok_ = _buf["name"].(string); !_ok_ { err = errors.New("name error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["sex"].(float64); !_ok_ { err = errors.New("sex error"); return }; _v.Sex = int32(_tempNum_) }
{ var _ok_ bool; if _v.Showid, _ok_ = _buf["showid"].(string); !_ok_ { err = errors.New("showid error"); return } }
return
}
func DeserializeGameRobotDataData(_buf map[string]interface{}) (*GameRobotDataData, error) {
v := &GameRobotDataData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -21,7 +21,7 @@ func NewGameSixDirections(_buf []map[string]interface{}) (*GameSixDirections, er
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
dataMap[_v.Floors] = _v
}
}
return &GameSixDirections{_dataList:_dataList, _dataMap:dataMap}, nil

View File

@ -11,7 +11,7 @@ package cfg
import "errors"
type GameSixDirectionsData struct {
Id int32
Floors int32
Groud int32
Startype []int32
Starnum []int32
@ -20,7 +20,6 @@ type GameSixDirectionsData struct {
OpenDesc string
Openingtime []int32
Unlock string
Floors int32
Monsterlineup []int32
KeyReward []*Gameatn
Reward []*Gameatn
@ -36,7 +35,7 @@ func (*GameSixDirectionsData) GetTypeId() int32 {
}
func (_v *GameSixDirectionsData)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["floors"].(float64); !_ok_ { err = errors.New("floors error"); return }; _v.Floors = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["groud"].(float64); !_ok_ { err = errors.New("groud error"); return }; _v.Groud = int32(_tempNum_) }
{
var _arr_ []interface{}
@ -84,7 +83,6 @@ func (_v *GameSixDirectionsData)Deserialize(_buf map[string]interface{}) (err er
}
{ var _ok_ bool; if _v.Unlock, _ok_ = _buf["unlock"].(string); !_ok_ { err = errors.New("unlock error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["floors"].(float64); !_ok_ { err = errors.New("floors error"); return }; _v.Floors = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool

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

View File

@ -0,0 +1,54 @@
//------------------------------------------------------------------------------
// <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 GameSixDirectionsRewardData struct {
Id int32
Boxid int32
Starnum int32
Reward []*Gameatn
}
const TypeId_GameSixDirectionsRewardData = 693152115
func (*GameSixDirectionsRewardData) GetTypeId() int32 {
return 693152115
}
func (_v *GameSixDirectionsRewardData)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["boxid"].(float64); !_ok_ { err = errors.New("boxid error"); return }; _v.Boxid = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["starnum"].(float64); !_ok_ { err = errors.New("starnum error"); return }; _v.Starnum = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["reward"].([]interface{}); !_ok_ { err = errors.New("reward error"); return }
_v.Reward = make([]*Gameatn, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ *Gameatn
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _e_.(map[string]interface{}); !_ok_ { err = errors.New("_list_v_ error"); return }; if _list_v_, err = DeserializeGameatn(_x_); err != nil { return } }
_v.Reward = append(_v.Reward, _list_v_)
}
}
return
}
func DeserializeGameSixDirectionsRewardData(_buf map[string]interface{}) (*GameSixDirectionsRewardData, error) {
v := &GameSixDirectionsRewardData{}
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 GameSixDirectionsStar struct {
_dataMap map[int32]*GameSixDirectionsStarData
_dataList []*GameSixDirectionsStarData
}
func NewGameSixDirectionsStar(_buf []map[string]interface{}) (*GameSixDirectionsStar, error) {
_dataList := make([]*GameSixDirectionsStarData, 0, len(_buf))
dataMap := make(map[int32]*GameSixDirectionsStarData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameSixDirectionsStarData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
}
}
return &GameSixDirectionsStar{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameSixDirectionsStar) GetDataMap() map[int32]*GameSixDirectionsStarData {
return table._dataMap
}
func (table *GameSixDirectionsStar) GetDataList() []*GameSixDirectionsStarData {
return table._dataList
}
func (table *GameSixDirectionsStar) Get(key int32) *GameSixDirectionsStarData {
return table._dataMap[key]
}

View File

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

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 Gamebasepool struct {
S int32
E int32
P string
}
const TypeId_Gamebasepool = 347927753
func (*Gamebasepool) GetTypeId() int32 {
return 347927753
}
func (_v *Gamebasepool)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["s"].(float64); !_ok_ { err = errors.New("s error"); return }; _v.S = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["e"].(float64); !_ok_ { err = errors.New("e error"); return }; _v.E = int32(_tempNum_) }
{ var _ok_ bool; if _v.P, _ok_ = _buf["p"].(string); !_ok_ { err = errors.New("p error"); return } }
return
}
func DeserializeGamebasepool(_buf map[string]interface{}) (*Gamebasepool, error) {
v := &Gamebasepool{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -16,6 +16,7 @@ const (
TEnumEBagType_Food = 4
TEnumEBagType_FoodIngredients = 5
TEnumEBagType_Special = 6
TEnumEBagType_Enchant = 7
TEnumEBagType_Money = 1000
TEnumEBagType_Equip = 1001
TEnumEBagType_Hero = 1002

View File

@ -199,6 +199,8 @@ type Tables struct {
Passon *GamePasson
Circulate *GameCirculate
SixDirections *GameSixDirections
SixDirectionsReward *GameSixDirectionsReward
SixDirectionsStar *GameSixDirectionsStar
drawReward *GamedrawReward
drawReplace *GamedrawReplace
drawcardReward *GamedrawcardReward
@ -1465,6 +1467,18 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.SixDirections, err = NewGameSixDirections(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_sixdirectionsreward") ; err != nil {
return nil, err
}
if tables.SixDirectionsReward, err = NewGameSixDirectionsReward(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_sixdirectionsstar") ; err != nil {
return nil, err
}
if tables.SixDirectionsStar, err = NewGameSixDirectionsStar(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_drawreward") ; err != nil {
return nil, err
}

View File

@ -219,6 +219,7 @@ type GameGlobalData struct {
BuzkashiCatchqtetime int32
BuzkashiRecentPlayer int32
BuzkashiTrackpartdis int32
BuzkashiTrackpartcount int32
TaskActivation int32
FavorabilityAttenuation []*Gamekv
Mounts string
@ -923,6 +924,7 @@ func (_v *GameGlobalData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["buzkashi_catchqtetime"].(float64); !_ok_ { err = errors.New("buzkashi_catchqtetime error"); return }; _v.BuzkashiCatchqtetime = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["buzkashi_recentPlayer"].(float64); !_ok_ { err = errors.New("buzkashi_recentPlayer error"); return }; _v.BuzkashiRecentPlayer = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["buzkashi_trackpartdis"].(float64); !_ok_ { err = errors.New("buzkashi_trackpartdis error"); return }; _v.BuzkashiTrackpartdis = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["buzkashi_trackpartcount"].(float64); !_ok_ { err = errors.New("buzkashi_trackpartcount error"); return }; _v.BuzkashiTrackpartcount = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["task_activation"].(float64); !_ok_ { err = errors.New("task_activation error"); return }; _v.TaskActivation = int32(_tempNum_) }
{
var _arr_ []interface{}