Merge branch 'meixiongfeng' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev

This commit is contained in:
meixiongfeng 2024-01-12 10:48:22 +08:00
commit a0e9f4c71b
57 changed files with 865090 additions and 36294 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

@ -0,0 +1,227 @@
[
{
"accumulate": 1000,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 10
},
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"accumulate": 2000,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 10
},
{
"a": "attr",
"t": "gold",
"n": 2000
}
]
},
{
"accumulate": 3000,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 10
},
{
"a": "attr",
"t": "gold",
"n": 3000
}
]
},
{
"accumulate": 4000,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 10
},
{
"a": "attr",
"t": "gold",
"n": 4000
}
]
},
{
"accumulate": 5000,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 10
},
{
"a": "attr",
"t": "gold",
"n": 5000
}
]
},
{
"accumulate": 6000,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 10
},
{
"a": "attr",
"t": "gold",
"n": 6000
}
]
},
{
"accumulate": 7000,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 10
},
{
"a": "attr",
"t": "gold",
"n": 7000
}
]
},
{
"accumulate": 8000,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 10
},
{
"a": "attr",
"t": "gold",
"n": 8000
}
]
},
{
"accumulate": 9000,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 10
},
{
"a": "attr",
"t": "gold",
"n": 9000
}
]
},
{
"accumulate": 10000,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 10
},
{
"a": "attr",
"t": "gold",
"n": 10000
}
]
},
{
"accumulate": 11000,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 10
},
{
"a": "attr",
"t": "gold",
"n": 11000
}
]
},
{
"accumulate": 12000,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 10
},
{
"a": "attr",
"t": "gold",
"n": 12000
}
]
},
{
"accumulate": 13000,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 10
},
{
"a": "attr",
"t": "gold",
"n": 13000
}
]
},
{
"accumulate": 14000,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 10
},
{
"a": "attr",
"t": "gold",
"n": 14000
}
]
},
{
"accumulate": 15000,
"reward": [
{
"a": "item",
"t": "10000001",
"n": 10
},
{
"a": "attr",
"t": "gold",
"n": 15000
}
]
}
]

View File

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

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -691,7 +691,7 @@
"herocolor": 4, "herocolor": 4,
"herotitel": { "herotitel": {
"key": "consume_consume_hero_herotitel_12", "key": "consume_consume_hero_herotitel_12",
"text": "身怀绝技之人" "text": "身怀绝技"
}, },
"hero": 45003, "hero": 45003,
"iconimg": "xxtx_js_45003", "iconimg": "xxtx_js_45003",
@ -755,7 +755,7 @@
"herocolor": 4, "herocolor": 4,
"herotitel": { "herotitel": {
"key": "consume_consume_hero_herotitel_13", "key": "consume_consume_hero_herotitel_13",
"text": "身怀绝技之人" "text": "身怀绝技"
}, },
"hero": 34007, "hero": 34007,
"iconimg": "xxtx_js_34007", "iconimg": "xxtx_js_34007",
@ -819,7 +819,7 @@
"herocolor": 4, "herocolor": 4,
"herotitel": { "herotitel": {
"key": "consume_consume_hero_herotitel_14", "key": "consume_consume_hero_herotitel_14",
"text": "身怀绝技之人" "text": "身怀绝技"
}, },
"hero": 45004, "hero": 45004,
"iconimg": "xxtx_js_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_catchqtetime": 2000,
"buzkashi_recentPlayer": 10, "buzkashi_recentPlayer": 10,
"buzkashi_trackpartdis": 200, "buzkashi_trackpartdis": 200,
"buzkashi_trackpartcount": 4,
"task_activation": 10000007, "task_activation": 10000007,
"favorability_attenuation": [ "favorability_attenuation": [
{ {

View File

@ -0,0 +1,152 @@
[
{
"id": 1,
"score": 1500000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 1000
}
],
"task_describe": {
"key": "guildboss_task_task_describe_1",
"text": "总积分达到1500000分"
}
},
{
"id": 2,
"score": 3000000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 1000
}
],
"task_describe": {
"key": "guildboss_task_task_describe_2",
"text": "总积分达到3000000分"
}
},
{
"id": 3,
"score": 4500000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 1000
}
],
"task_describe": {
"key": "guildboss_task_task_describe_3",
"text": "总积分达到4500000分"
}
},
{
"id": 4,
"score": 6000000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 1000
}
],
"task_describe": {
"key": "guildboss_task_task_describe_4",
"text": "总积分达到6000000分"
}
},
{
"id": 5,
"score": 9000000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 1000
}
],
"task_describe": {
"key": "guildboss_task_task_describe_5",
"text": "总积分达到9000000分"
}
},
{
"id": 6,
"score": 12000000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 1000
}
],
"task_describe": {
"key": "guildboss_task_task_describe_6",
"text": "总积分达到12000000分"
}
},
{
"id": 7,
"score": 15000000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 1000
}
],
"task_describe": {
"key": "guildboss_task_task_describe_7",
"text": "总积分达到15000000分"
}
},
{
"id": 8,
"score": 18000000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 1000
}
],
"task_describe": {
"key": "guildboss_task_task_describe_8",
"text": "总积分达到18000000分"
}
},
{
"id": 9,
"score": 21000000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 1000
}
],
"task_describe": {
"key": "guildboss_task_task_describe_9",
"text": "总积分达到21000000分"
}
},
{
"id": 10,
"score": 24000000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 1000
}
],
"task_describe": {
"key": "guildboss_task_task_describe_10",
"text": "总积分达到24000000分"
}
}
]

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,6 @@
[ [
{ {
"key": 1, "key": 1,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 1, "layer_num": 1,
"tab": 1, "tab": 1,
@ -37,7 +36,6 @@
}, },
{ {
"key": 2, "key": 2,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 2, "layer_num": 2,
"tab": 1, "tab": 1,
@ -68,7 +66,6 @@
}, },
{ {
"key": 3, "key": 3,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 3, "layer_num": 3,
"tab": 1, "tab": 1,
@ -99,7 +96,6 @@
}, },
{ {
"key": 4, "key": 4,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 4, "layer_num": 4,
"tab": 1, "tab": 1,
@ -130,7 +126,6 @@
}, },
{ {
"key": 5, "key": 5,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 5, "layer_num": 5,
"tab": 1, "tab": 1,
@ -172,7 +167,6 @@
}, },
{ {
"key": 6, "key": 6,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 6, "layer_num": 6,
"tab": 1, "tab": 1,
@ -203,7 +197,6 @@
}, },
{ {
"key": 7, "key": 7,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 7, "layer_num": 7,
"tab": 1, "tab": 1,
@ -234,7 +227,6 @@
}, },
{ {
"key": 8, "key": 8,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 8, "layer_num": 8,
"tab": 1, "tab": 1,
@ -265,7 +257,6 @@
}, },
{ {
"key": 9, "key": 9,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 9, "layer_num": 9,
"tab": 1, "tab": 1,
@ -296,7 +287,6 @@
}, },
{ {
"key": 10, "key": 10,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 10, "layer_num": 10,
"tab": 1, "tab": 1,
@ -339,7 +329,6 @@
}, },
{ {
"key": 11, "key": 11,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 1, "layer_num": 1,
"tab": 2, "tab": 2,
@ -370,7 +359,6 @@
}, },
{ {
"key": 12, "key": 12,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 2, "layer_num": 2,
"tab": 2, "tab": 2,
@ -401,7 +389,6 @@
}, },
{ {
"key": 13, "key": 13,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 3, "layer_num": 3,
"tab": 2, "tab": 2,
@ -432,7 +419,6 @@
}, },
{ {
"key": 14, "key": 14,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 4, "layer_num": 4,
"tab": 2, "tab": 2,
@ -463,7 +449,6 @@
}, },
{ {
"key": 15, "key": 15,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 5, "layer_num": 5,
"tab": 2, "tab": 2,
@ -505,7 +490,6 @@
}, },
{ {
"key": 16, "key": 16,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 6, "layer_num": 6,
"tab": 2, "tab": 2,
@ -536,7 +520,6 @@
}, },
{ {
"key": 17, "key": 17,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 7, "layer_num": 7,
"tab": 2, "tab": 2,
@ -567,7 +550,6 @@
}, },
{ {
"key": 18, "key": 18,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 8, "layer_num": 8,
"tab": 2, "tab": 2,
@ -598,7 +580,6 @@
}, },
{ {
"key": 19, "key": 19,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 9, "layer_num": 9,
"tab": 2, "tab": 2,
@ -629,7 +610,6 @@
}, },
{ {
"key": 20, "key": 20,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 10, "layer_num": 10,
"tab": 2, "tab": 2,
@ -672,7 +652,6 @@
}, },
{ {
"key": 21, "key": 21,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 1, "layer_num": 1,
"tab": 3, "tab": 3,
@ -703,7 +682,6 @@
}, },
{ {
"key": 22, "key": 22,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 2, "layer_num": 2,
"tab": 3, "tab": 3,
@ -734,7 +712,6 @@
}, },
{ {
"key": 23, "key": 23,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 3, "layer_num": 3,
"tab": 3, "tab": 3,
@ -765,7 +742,6 @@
}, },
{ {
"key": 24, "key": 24,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 4, "layer_num": 4,
"tab": 3, "tab": 3,
@ -796,7 +772,6 @@
}, },
{ {
"key": 25, "key": 25,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 5, "layer_num": 5,
"tab": 3, "tab": 3,
@ -838,7 +813,6 @@
}, },
{ {
"key": 26, "key": 26,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 6, "layer_num": 6,
"tab": 3, "tab": 3,
@ -869,7 +843,6 @@
}, },
{ {
"key": 27, "key": 27,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 7, "layer_num": 7,
"tab": 3, "tab": 3,
@ -900,7 +873,6 @@
}, },
{ {
"key": 28, "key": 28,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 8, "layer_num": 8,
"tab": 3, "tab": 3,
@ -931,7 +903,6 @@
}, },
{ {
"key": 29, "key": 29,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 9, "layer_num": 9,
"tab": 3, "tab": 3,
@ -962,7 +933,6 @@
}, },
{ {
"key": 30, "key": 30,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 10, "layer_num": 10,
"tab": 3, "tab": 3,
@ -1005,7 +975,6 @@
}, },
{ {
"key": 31, "key": 31,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 1, "layer_num": 1,
"tab": 4, "tab": 4,
@ -1036,7 +1005,6 @@
}, },
{ {
"key": 32, "key": 32,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 2, "layer_num": 2,
"tab": 4, "tab": 4,
@ -1067,7 +1035,6 @@
}, },
{ {
"key": 33, "key": 33,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 3, "layer_num": 3,
"tab": 4, "tab": 4,
@ -1098,7 +1065,6 @@
}, },
{ {
"key": 34, "key": 34,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 4, "layer_num": 4,
"tab": 4, "tab": 4,
@ -1129,7 +1095,6 @@
}, },
{ {
"key": 35, "key": 35,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 5, "layer_num": 5,
"tab": 4, "tab": 4,
@ -1171,7 +1136,6 @@
}, },
{ {
"key": 36, "key": 36,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 6, "layer_num": 6,
"tab": 4, "tab": 4,
@ -1202,7 +1166,6 @@
}, },
{ {
"key": 37, "key": 37,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 7, "layer_num": 7,
"tab": 4, "tab": 4,
@ -1233,7 +1196,6 @@
}, },
{ {
"key": 38, "key": 38,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 8, "layer_num": 8,
"tab": 4, "tab": 4,
@ -1264,7 +1226,6 @@
}, },
{ {
"key": 39, "key": 39,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 9, "layer_num": 9,
"tab": 4, "tab": 4,
@ -1295,7 +1256,6 @@
}, },
{ {
"key": 40, "key": 40,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 10, "layer_num": 10,
"tab": 4, "tab": 4,
@ -1338,7 +1298,6 @@
}, },
{ {
"key": 41, "key": 41,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 1, "layer_num": 1,
"tab": 5, "tab": 5,
@ -1369,7 +1328,6 @@
}, },
{ {
"key": 42, "key": 42,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 2, "layer_num": 2,
"tab": 5, "tab": 5,
@ -1400,7 +1358,6 @@
}, },
{ {
"key": 43, "key": 43,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 3, "layer_num": 3,
"tab": 5, "tab": 5,
@ -1431,7 +1388,6 @@
}, },
{ {
"key": 44, "key": 44,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 4, "layer_num": 4,
"tab": 5, "tab": 5,
@ -1462,7 +1418,6 @@
}, },
{ {
"key": 45, "key": 45,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 5, "layer_num": 5,
"tab": 5, "tab": 5,
@ -1504,7 +1459,6 @@
}, },
{ {
"key": 46, "key": 46,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 6, "layer_num": 6,
"tab": 5, "tab": 5,
@ -1535,7 +1489,6 @@
}, },
{ {
"key": 47, "key": 47,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 7, "layer_num": 7,
"tab": 5, "tab": 5,
@ -1566,7 +1519,6 @@
}, },
{ {
"key": 48, "key": 48,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 8, "layer_num": 8,
"tab": 5, "tab": 5,
@ -1597,7 +1549,6 @@
}, },
{ {
"key": 49, "key": 49,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 9, "layer_num": 9,
"tab": 5, "tab": 5,
@ -1628,7 +1579,6 @@
}, },
{ {
"key": 50, "key": 50,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 10, "layer_num": 10,
"tab": 5, "tab": 5,
@ -1671,7 +1621,6 @@
}, },
{ {
"key": 51, "key": 51,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 1, "layer_num": 1,
"tab": 6, "tab": 6,
@ -1702,7 +1651,6 @@
}, },
{ {
"key": 52, "key": 52,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 2, "layer_num": 2,
"tab": 6, "tab": 6,
@ -1733,7 +1681,6 @@
}, },
{ {
"key": 53, "key": 53,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 3, "layer_num": 3,
"tab": 6, "tab": 6,
@ -1764,7 +1711,6 @@
}, },
{ {
"key": 54, "key": 54,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 4, "layer_num": 4,
"tab": 6, "tab": 6,
@ -1795,7 +1741,6 @@
}, },
{ {
"key": 55, "key": 55,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 5, "layer_num": 5,
"tab": 6, "tab": 6,
@ -1837,7 +1782,6 @@
}, },
{ {
"key": 56, "key": 56,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 6, "layer_num": 6,
"tab": 6, "tab": 6,
@ -1868,7 +1812,6 @@
}, },
{ {
"key": 57, "key": 57,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 7, "layer_num": 7,
"tab": 6, "tab": 6,
@ -1899,7 +1842,6 @@
}, },
{ {
"key": 58, "key": 58,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 8, "layer_num": 8,
"tab": 6, "tab": 6,
@ -1930,7 +1872,6 @@
}, },
{ {
"key": 59, "key": 59,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 9, "layer_num": 9,
"tab": 6, "tab": 6,
@ -1961,7 +1902,6 @@
}, },
{ {
"key": 60, "key": 60,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 10, "layer_num": 10,
"tab": 6, "tab": 6,
@ -2004,7 +1944,6 @@
}, },
{ {
"key": 61, "key": 61,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 1, "layer_num": 1,
"tab": 7, "tab": 7,
@ -2035,7 +1974,6 @@
}, },
{ {
"key": 62, "key": 62,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 2, "layer_num": 2,
"tab": 7, "tab": 7,
@ -2066,7 +2004,6 @@
}, },
{ {
"key": 63, "key": 63,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 3, "layer_num": 3,
"tab": 7, "tab": 7,
@ -2097,7 +2034,6 @@
}, },
{ {
"key": 64, "key": 64,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 4, "layer_num": 4,
"tab": 7, "tab": 7,
@ -2128,7 +2064,6 @@
}, },
{ {
"key": 65, "key": 65,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 5, "layer_num": 5,
"tab": 7, "tab": 7,
@ -2170,7 +2105,6 @@
}, },
{ {
"key": 66, "key": 66,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 6, "layer_num": 6,
"tab": 7, "tab": 7,
@ -2201,7 +2135,6 @@
}, },
{ {
"key": 67, "key": 67,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 7, "layer_num": 7,
"tab": 7, "tab": 7,
@ -2232,7 +2165,6 @@
}, },
{ {
"key": 68, "key": 68,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 8, "layer_num": 8,
"tab": 7, "tab": 7,
@ -2263,7 +2195,6 @@
}, },
{ {
"key": 69, "key": 69,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 9, "layer_num": 9,
"tab": 7, "tab": 7,
@ -2294,7 +2225,6 @@
}, },
{ {
"key": 70, "key": 70,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 10, "layer_num": 10,
"tab": 7, "tab": 7,
@ -2337,7 +2267,6 @@
}, },
{ {
"key": 71, "key": 71,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 1, "layer_num": 1,
"tab": 8, "tab": 8,
@ -2368,7 +2297,6 @@
}, },
{ {
"key": 72, "key": 72,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 2, "layer_num": 2,
"tab": 8, "tab": 8,
@ -2399,7 +2327,6 @@
}, },
{ {
"key": 73, "key": 73,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 3, "layer_num": 3,
"tab": 8, "tab": 8,
@ -2430,7 +2357,6 @@
}, },
{ {
"key": 74, "key": 74,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 4, "layer_num": 4,
"tab": 8, "tab": 8,
@ -2461,7 +2387,6 @@
}, },
{ {
"key": 75, "key": 75,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 5, "layer_num": 5,
"tab": 8, "tab": 8,
@ -2503,7 +2428,6 @@
}, },
{ {
"key": 76, "key": 76,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 6, "layer_num": 6,
"tab": 8, "tab": 8,
@ -2534,7 +2458,6 @@
}, },
{ {
"key": 77, "key": 77,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 7, "layer_num": 7,
"tab": 8, "tab": 8,
@ -2565,7 +2488,6 @@
}, },
{ {
"key": 78, "key": 78,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 8, "layer_num": 8,
"tab": 8, "tab": 8,
@ -2596,7 +2518,6 @@
}, },
{ {
"key": 79, "key": 79,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 9, "layer_num": 9,
"tab": 8, "tab": 8,
@ -2627,7 +2548,6 @@
}, },
{ {
"key": 80, "key": 80,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 10, "layer_num": 10,
"tab": 8, "tab": 8,
@ -2670,7 +2590,6 @@
}, },
{ {
"key": 81, "key": 81,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 1, "layer_num": 1,
"tab": 9, "tab": 9,
@ -2701,7 +2620,6 @@
}, },
{ {
"key": 82, "key": 82,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 2, "layer_num": 2,
"tab": 9, "tab": 9,
@ -2732,7 +2650,6 @@
}, },
{ {
"key": 83, "key": 83,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 3, "layer_num": 3,
"tab": 9, "tab": 9,
@ -2763,7 +2680,6 @@
}, },
{ {
"key": 84, "key": 84,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 4, "layer_num": 4,
"tab": 9, "tab": 9,
@ -2794,7 +2710,6 @@
}, },
{ {
"key": 85, "key": 85,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 5, "layer_num": 5,
"tab": 9, "tab": 9,
@ -2836,7 +2751,6 @@
}, },
{ {
"key": 86, "key": 86,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 6, "layer_num": 6,
"tab": 9, "tab": 9,
@ -2867,7 +2781,6 @@
}, },
{ {
"key": 87, "key": 87,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 7, "layer_num": 7,
"tab": 9, "tab": 9,
@ -2898,7 +2811,6 @@
}, },
{ {
"key": 88, "key": 88,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 8, "layer_num": 8,
"tab": 9, "tab": 9,
@ -2929,7 +2841,6 @@
}, },
{ {
"key": 89, "key": 89,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 9, "layer_num": 9,
"tab": 9, "tab": 9,
@ -2960,7 +2871,6 @@
}, },
{ {
"key": 90, "key": 90,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 10, "layer_num": 10,
"tab": 9, "tab": 9,
@ -3003,7 +2913,6 @@
}, },
{ {
"key": 91, "key": 91,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 1, "layer_num": 1,
"tab": 10, "tab": 10,
@ -3034,7 +2943,6 @@
}, },
{ {
"key": 92, "key": 92,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 2, "layer_num": 2,
"tab": 10, "tab": 10,
@ -3065,7 +2973,6 @@
}, },
{ {
"key": 93, "key": 93,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 3, "layer_num": 3,
"tab": 10, "tab": 10,
@ -3096,7 +3003,6 @@
}, },
{ {
"key": 94, "key": 94,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 4, "layer_num": 4,
"tab": 10, "tab": 10,
@ -3127,7 +3033,6 @@
}, },
{ {
"key": 95, "key": 95,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 5, "layer_num": 5,
"tab": 10, "tab": 10,
@ -3169,7 +3074,6 @@
}, },
{ {
"key": 96, "key": 96,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 6, "layer_num": 6,
"tab": 10, "tab": 10,
@ -3200,7 +3104,6 @@
}, },
{ {
"key": 97, "key": 97,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 7, "layer_num": 7,
"tab": 10, "tab": 10,
@ -3231,7 +3134,6 @@
}, },
{ {
"key": 98, "key": 98,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 8, "layer_num": 8,
"tab": 10, "tab": 10,
@ -3262,7 +3164,6 @@
}, },
{ {
"key": 99, "key": 99,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 9, "layer_num": 9,
"tab": 10, "tab": 10,
@ -3293,7 +3194,6 @@
}, },
{ {
"key": 100, "key": 100,
"pagoda_type": 101,
"Level_type": 1, "Level_type": 1,
"layer_num": 10, "layer_num": 10,
"tab": 10, "tab": 10,

28
bin/json/game_show.json Normal file
View File

@ -0,0 +1,28 @@
[
{
"id": 100001,
"desc": {
"key": "show_100001",
"text": "男形象1"
},
"access": 0,
"position": "",
"sex": 1,
"resources": "Person/10000/10000M.prefab",
"vague": "Person/10000/10000MT.prefab",
"pvpAnimator": "Person/10000/10000_MPvp.controller"
},
{
"id": 200001,
"desc": {
"key": "show_200001",
"text": "女形象1"
},
"access": 0,
"position": "",
"sex": 2,
"resources": "Person/10000/10000W.prefab",
"vague": "Person/10000/10000WT.prefab",
"pvpAnimator": "Person/10000/10000_WPvp.controller"
}
]

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

@ -174,7 +174,6 @@ const (
TablePagoda = "pagoda" TablePagoda = "pagoda"
///武馆数据表 ///武馆数据表
TableMartialhall = "martialhall" TableMartialhall = "martialhall"
///记录用户爬塔排行数据 ///记录用户爬塔排行数据
TablePagodaRecord = "pagodarecord" TablePagodaRecord = "pagodarecord"
///有序的爬塔排行 (真正的排行榜 最多只有50条) ///有序的爬塔排行 (真正的排行榜 最多只有50条)

View File

@ -1,63 +1,55 @@
package pagoda package pagoda
import ( import (
"context"
"fmt"
"go_dreamfactory/comm" "go_dreamfactory/comm"
"go_dreamfactory/lego/sys/redis/pipe"
"go_dreamfactory/pb" "go_dreamfactory/pb"
"go_dreamfactory/sys/db"
"strconv"
"github.com/go-redis/redis/v8"
) )
//参数校验 //参数校验
func (this *apiComp) CrossRaceRankListCheck(session comm.IUserSession, req *pb.PagodaCrossRaceRankListReq) (errdata *pb.ErrorData) { func (this *apiComp) CrossRaceRankListCheck(session comm.IUserSession, req *pb.PagodaCrossRaceRankListReq) (errdata *pb.ErrorData) {
if req.Raceid == 0 {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ReqParameterError,
Title: pb.ErrorCode_ReqParameterError.ToString(),
}
return
}
return return
} }
// 六合塔榜
func (this *apiComp) CrossRaceRankList(session comm.IUserSession, req *pb.PagodaCrossRaceRankListReq) (errdata *pb.ErrorData) { func (this *apiComp) CrossRaceRankList(session comm.IUserSession, req *pb.PagodaCrossRaceRankListReq) (errdata *pb.ErrorData) {
var ( var (
szRank []*pb.DBRacePagodaRecord uids []string
rd *redis.StringSliceCmd err error
) result []*pb.DBRacePagodaRecord
var ( ranks []*pb.DBRaceRank
pipe *pipe.RedisPipe
) )
if errdata = this.CrossRaceRankListCheck(session, req); errdata != nil { if errdata = this.CrossRaceRankListCheck(session, req); errdata != nil {
return return
} }
if this.module.IsCross() { if uids, err = this.module.modelRacePagoda.queryRankUser(); err != nil {
conn, _ := db.Local() errdata = &pb.ErrorData{
dbModel := db.NewDBModel(this.service.GetTag(), comm.TableRaceRecord, conn) Code: pb.ErrorCode_DBError,
Title: pb.ErrorCode_DBError.ToString(),
pipe = conn.Redis.RedisPipe(context.TODO()) Message: err.Error(),
tablename := fmt.Sprintf("%s-%s", this.service.GetTag(), "race"+strconv.Itoa(int(req.Raceid))) }
rd = pipe.ZRevRange(tablename, 0, comm.MaxRankList)
if _, err := pipe.Exec(); err != nil {
this.module.Errorln(err)
return return
} }
_dataList := rd.Val() if result, err = this.module.modelRacePagoda.queryPlayers(uids); err != nil {
for _, v := range _dataList { errdata = &pb.ErrorData{
result := &pb.DBRacePagodaRecord{} Code: pb.ErrorCode_DBError,
if err := dbModel.Redis.HGetAll(v, result); err == nil { Title: pb.ErrorCode_DBError.ToString(),
szRank = append(szRank, result) Message: err.Error(),
} }
return
} }
for _, v := range result {
ranks = append(ranks, &pb.DBRaceRank{
Uinfo: v.Uinfo,
Line: v.Data[v.Maxfloor].Line,
Floor: v.Maxfloor,
Costtime: v.Data[v.Maxfloor].Consttime,
})
} }
session.SendMsg(string(this.module.GetType()), PagodaCrossRaceRankListReq, &pb.PagodaCrossRaceRankListResp{
session.SendMsg(string(this.module.GetType()), PagodaCrossRaceRankListReq, &pb.PagodaCrossRaceRankListResp{Ranks: szRank}) Ranks: ranks,
})
return return
} }

View File

@ -3,6 +3,8 @@ package pagoda
import ( import (
"go_dreamfactory/comm" "go_dreamfactory/comm"
"go_dreamfactory/pb" "go_dreamfactory/pb"
"go_dreamfactory/sys/configure"
"go_dreamfactory/utils"
) )
//参数校验 //参数校验
@ -14,37 +16,36 @@ func (this *apiComp) GetRaceCheck(session comm.IUserSession, req *pb.PagodaGetRa
///获取阵营爬塔信息 ///获取阵营爬塔信息
func (this *apiComp) GetRace(session comm.IUserSession, req *pb.PagodaGetRaceReq) (errdata *pb.ErrorData) { func (this *apiComp) GetRace(session comm.IUserSession, req *pb.PagodaGetRaceReq) (errdata *pb.ErrorData) {
// var ( var (
// list *pb.DBPagodaRace list *pb.DBPagodaRace
// err error err error
// update map[string]interface{} update map[string]interface{}
// ) )
// update = make(map[string]interface{}, 0) update = make(map[string]interface{}, 0)
// list, err = this.module.modelRacePagoda.getPagodaRaceList(session.GetUserId()) list, err = this.module.modelRacePagoda.getPagodaRaceList(session.GetUserId())
// if err != nil { if err != nil {
// errdata = &pb.ErrorData{ errdata = &pb.ErrorData{
// Code: pb.ErrorCode_DBError, Code: pb.ErrorCode_DBError,
// Title: pb.ErrorCode_DBError.ToString(), Title: pb.ErrorCode_DBError.ToString(),
// Message: err.Error(), Message: err.Error(),
// } }
// return return
// } }
// // 初始化每天挑战塔的层数 if !utils.IsToday(list.Rtime) {
list.Rtime = configure.Now().Unix()
list.Battlecount = 0
update["battlecount"] = list.Battlecount
update["rtime"] = list.Rtime
}
// if !utils.IsToday(list.Rtime) { if err = this.module.modelRacePagoda.ModifyPagodaRaceData(session.GetUserId(), update); err != nil {
// list.Rtime = configure.Now().Unix() errdata = &pb.ErrorData{
// update["rtime"] = list.Rtime Code: pb.ErrorCode_DBError,
Title: pb.ErrorCode_DBError.ToString(),
// } Message: err.Error(),
}
// if err = this.module.modelRacePagoda.ModifyPagodaRaceDataByObjId(session.GetUserId(), update); err != nil { }
// errdata = &pb.ErrorData{
// Code: pb.ErrorCode_DBError,
// Title: pb.ErrorCode_DBError.ToString(),
// Message: err.Error(),
// }
// }
session.SendMsg(string(this.module.GetType()), PagodaGetRaceResp, &pb.PagodaGetRaceResp{}) session.SendMsg(string(this.module.GetType()), PagodaGetRaceResp, &pb.PagodaGetRaceResp{})
return return

View File

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

View File

@ -7,7 +7,7 @@ import (
// 参数校验 // 参数校验
func (this *apiComp) ChallengeRaceOverCheck(session comm.IUserSession, req *pb.PagodaChallengeRaceOverReq) (errdata *pb.ErrorData) { func (this *apiComp) ChallengeRaceOverCheck(session comm.IUserSession, req *pb.PagodaChallengeRaceOverReq) (errdata *pb.ErrorData) {
if req.Cid <= 0 { if req.Floor <= 0 {
errdata = &pb.ErrorData{ errdata = &pb.ErrorData{
Code: pb.ErrorCode_ReqParameterError, Code: pb.ErrorCode_ReqParameterError,
Title: pb.ErrorCode_ReqParameterError.ToString(), Title: pb.ErrorCode_ReqParameterError.ToString(),
@ -17,17 +17,18 @@ func (this *apiComp) ChallengeRaceOverCheck(session comm.IUserSession, req *pb.P
return return
} }
// /挑战主线关卡 // 六合塔挑战
func (this *apiComp) ChallengeRaceOver(session comm.IUserSession, req *pb.PagodaChallengeRaceOverReq) (errdata *pb.ErrorData) { func (this *apiComp) ChallengeRaceOver(session comm.IUserSession, req *pb.PagodaChallengeRaceOverReq) (errdata *pb.ErrorData) {
var ( var (
mapData map[string]interface{} mapData map[string]interface{}
race *pb.DBPagodaRace list *pb.DBPagodaRace
isWin bool isWin bool
err error err error
atno []*pb.UserAtno // 通关奖励 atno []*pb.UserAtno // 通关奖励
changExp map[string]int32 changExp map[string]int32
costTime int32 // 耗时 costTime int32 // 耗时
star int32 // 当前星级 star int32 // 当前星级
new bool // 是否首次挑战
) )
changExp = make(map[string]int32, 0) changExp = make(map[string]int32, 0)
mapData = make(map[string]interface{}, 0) mapData = make(map[string]interface{}, 0)
@ -35,7 +36,7 @@ func (this *apiComp) ChallengeRaceOver(session comm.IUserSession, req *pb.Pagoda
return // 参数校验失败直接返回 return // 参数校验失败直接返回
} }
conf, err := this.module.configure.GetPagodaRaceConfById(req.Cid) conf, err := this.module.configure.GetSixPagodaConf(req.Floor)
if err != nil { if err != nil {
errdata = &pb.ErrorData{ errdata = &pb.ErrorData{
Code: pb.ErrorCode_PagodaNotFound, Code: pb.ErrorCode_PagodaNotFound,
@ -45,7 +46,7 @@ func (this *apiComp) ChallengeRaceOver(session comm.IUserSession, req *pb.Pagoda
return return
} }
race, err = this.module.modelRacePagoda.getPagodaRaceList(session.GetUserId()) list, err = this.module.modelRacePagoda.getPagodaRaceList(session.GetUserId())
if err != nil { if err != nil {
errdata = &pb.ErrorData{ errdata = &pb.ErrorData{
Code: pb.ErrorCode_PagodaNotFound, Code: pb.ErrorCode_PagodaNotFound,
@ -67,6 +68,43 @@ func (this *apiComp) ChallengeRaceOver(session comm.IUserSession, req *pb.Pagoda
return return
} }
costTime = req.Report.Costtime costTime = req.Report.Costtime
if _, ok := list.Data[conf.Floors]; !ok {
if list.Maxfloor+1 == conf.Floors {
list.Data[conf.Floors] = &pb.RaceData{
Consttime: costTime,
Star: star,
}
list.Maxfloor = conf.Floors
mapData["maxfloor"] = list.Maxfloor
new = true
}
}
list.Battlecount += 1
mapData["data"] = list.Data
mapData["battlecount"] = list.Battlecount
if new {
if conf.Floors == 1 { // 写数据
this.module.modelRacePagoda.addCrossPagodaRace(session.GetUserId(), list)
} else {
this.module.modelRacePagoda.ModifyCrossPagodaRaceData(session.GetUserId(), mapData)
}
var score int32
score = 10000*list.Maxfloor + (10000 - costTime)
// 校验是否刷新记录
if list.Data[conf.Floors].Consttime > costTime { // 小于之前的时间 入榜
this.module.modelRacePagoda.SetRacePagodaRankList(score, session.GetUserId())
}
}
if err = this.module.modelRacePagoda.ModifyPagodaRaceData(session.GetUserId(), mapData); err != nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_DBError,
Title: pb.ErrorCode_DBError.ToString(),
Message: err.Error(),
}
}
if conf.Exp > 0 { if conf.Exp > 0 {
var heroObjs []string var heroObjs []string
if req.Report != nil && req.Report.Info != nil && len(req.Report.Info.Redflist) > 0 { if req.Report != nil && req.Report.Info != nil && len(req.Report.Info.Redflist) > 0 {
@ -80,47 +118,15 @@ func (this *apiComp) ChallengeRaceOver(session comm.IUserSession, req *pb.Pagoda
return return
} }
} }
if _, ok := race.Data[conf.Floors]; !ok {
if race.Maxfloor == conf.Floors+1 {
race.Data[conf.Floors] = &pb.RaceData{
Consttime: costTime,
Star: star,
}
race.Maxfloor = conf.Floors + 1
mapData["maxfloor"] = race.Maxfloor
}
}
race.Battlecount += 1
mapData["data"] = race.Data
mapData["battlecount"] = race.Battlecount
if err = this.module.modelRacePagoda.ModifyPagodaRaceDataByObjId(session.GetUserId(), mapData); err != nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_DBError,
Title: pb.ErrorCode_DBError.ToString(),
Message: err.Error(),
}
}
// 通关奖励 // 通关奖励
if errdata, atno = this.module.DispenseAtno(session, conf.Reward, true); errdata != nil { if errdata, atno = this.module.DispenseAtno(session, conf.Reward, true); errdata != nil {
return return
} }
session.SendMsg(string(this.module.GetType()), PagodaChallengeRaceOverResp, &pb.PagodaChallengeRaceOverResp{ session.SendMsg(string(this.module.GetType()), PagodaChallengeRaceOverResp, &pb.PagodaChallengeRaceOverResp{
Data: race, Data: list,
Reward: atno, Reward: atno,
Heroexp: changExp, Heroexp: changExp,
}) })
// 任务相关
var tasks []*pb.BuriedParam
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype232, conf.Restriction, conf.Floors))
if conf.Restriction >= 10 {
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype231, conf.Floors))
}
go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) {
this.module.ModuleBuried.TriggerBuried(session, tasks...)
this.module.WriteUserLog(session.GetUserId(), req, comm.GMResAddType, "PagodaChallengeRaceOverReq", atno)
})
return return
} }

View File

@ -17,6 +17,7 @@ const (
game_pagodaseasonreward = "game_pagodaseasonreward.json" game_pagodaseasonreward = "game_pagodaseasonreward.json"
game_pagodataskreward = "game_pagodataskreward.json" game_pagodataskreward = "game_pagodataskreward.json"
game_circulate = "game_circulate.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_pagodataskreward: cfg.NewGamePagodaTaskReward,
game_pagoda: cfg.NewGamePagoda, game_pagoda: cfg.NewGamePagoda,
game_circulate: cfg.NewGameCirculate, game_circulate: cfg.NewGameCirculate,
game_sixdirections: cfg.NewGameSixDirections,
}) })
configure.RegisterConfigure(game_pagoda, cfg.NewGamePagoda, this.LoadPagoda) configure.RegisterConfigure(game_pagoda, cfg.NewGamePagoda, this.LoadPagoda)
configure.RegisterConfigure(game_circulate, cfg.NewGameCirculate, this.LoadCirculate) configure.RegisterConfigure(game_circulate, cfg.NewGameCirculate, this.LoadCirculate)
return return
} }
func (this *configureComp) Start() (err error) { func (this *configureComp) Start() (err error) {
@ -95,11 +98,7 @@ func (this *configureComp) GetPagodaFloor(PagodaType int32) int32 {
log.Errorf("%T no is *cfg.Game_pagodaData", v) log.Errorf("%T no is *cfg.Game_pagodaData", v)
return 0 return 0
} }
for _, value := range configure.GetDataList() { maxFloor = int32(len(configure.GetDataList()))
if value.PagodaType == PagodaType {
maxFloor++
}
}
} else { } else {
log.Errorf("get game_pagodataskreward conf err:%v", err) log.Errorf("get game_pagodataskreward conf err:%v", err)
@ -169,12 +168,11 @@ func (this *configureComp) LoadCirculate() {
defer this.hlock.Unlock() defer this.hlock.Unlock()
this._mapRace = make(map[int32]*cfg.GameCirculateData) this._mapRace = make(map[int32]*cfg.GameCirculateData)
for _, value := range configure.GetDataList() { for _, value := range configure.GetDataList() {
this._mapRace[value.Restriction<<16+value.Floors] = value this._mapRace[value.Itype<<16+value.Floors] = value
if value.Name == 1 {
if _, ok := _m[value.Restriction]; !ok { if _, ok := _m[value.Itype]; !ok {
_m[value.Restriction] = struct{}{} _m[value.Itype] = struct{}{}
this.circulate = append(this.circulate, value.Restriction) this.circulate = append(this.circulate, value.Itype)
}
} }
} }
return return
@ -215,3 +213,19 @@ func (this *configureComp) GetPagodaRaceConfById(id int32) (data *cfg.GameCircul
func (this *configureComp) GetRaceCirculateConf() []int32 { func (this *configureComp) GetRaceCirculateConf() []int32 {
return this.circulate 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

@ -1,13 +1,18 @@
package pagoda package pagoda
import ( import (
"context"
"fmt"
"go_dreamfactory/comm" "go_dreamfactory/comm"
"go_dreamfactory/lego/core" "go_dreamfactory/lego/core"
"go_dreamfactory/lego/sys/mgo" "go_dreamfactory/lego/sys/mgo"
"go_dreamfactory/lego/sys/redis/pipe"
"go_dreamfactory/modules" "go_dreamfactory/modules"
"go_dreamfactory/pb" "go_dreamfactory/pb"
"go_dreamfactory/sys/configure" "go_dreamfactory/sys/configure"
"go_dreamfactory/sys/db"
"github.com/go-redis/redis/v8"
"go.mongodb.org/mongo-driver/bson/primitive" "go.mongodb.org/mongo-driver/bson/primitive"
"go.mongodb.org/mongo-driver/mongo" "go.mongodb.org/mongo-driver/mongo"
"go.mongodb.org/mongo-driver/x/bsonx" "go.mongodb.org/mongo-driver/x/bsonx"
@ -31,6 +36,7 @@ func (this *ModelRace) Init(service core.IService, module core.IModule, comp cor
// 获取爬塔信息 // 获取爬塔信息
func (this *ModelRace) getPagodaRaceList(uid string) (result *pb.DBPagodaRace, err error) { func (this *ModelRace) getPagodaRaceList(uid string) (result *pb.DBPagodaRace, err error) {
result = &pb.DBPagodaRace{ result = &pb.DBPagodaRace{
Data: map[int32]*pb.RaceData{}, Data: map[int32]*pb.RaceData{},
} }
@ -38,24 +44,137 @@ func (this *ModelRace) getPagodaRaceList(uid string) (result *pb.DBPagodaRace, e
result.Id = primitive.NewObjectID().Hex() result.Id = primitive.NewObjectID().Hex()
result.Uid = uid result.Uid = uid
result.Data = make(map[int32]*pb.RaceData) result.Data = make(map[int32]*pb.RaceData)
result.Reward = make(map[int32]int32)
result.Rtime = configure.Now().Unix() result.Rtime = configure.Now().Unix()
err = this.addPagodaRace(uid, result) err = this.Add(uid, result)
return return
} }
return result, err return result, err
} }
// 修改爬塔数据信息 func (this *ModelRace) ModifyPagodaRaceData(uid string, data map[string]interface{}) error {
func (this *ModelRace) ModifyPagodaRaceDataByObjId(uid string, data map[string]interface{}) error {
return this.Change(uid, data) return this.Change(uid, data)
} }
func (this *ModelRace) getCrossPagodaRaceList(uid string) (result *pb.DBPagodaRace, err error) {
var (
model *db.DBModel
)
if model, err = this.module.GetCrossDBModel(this.TableName); err != nil {
return
}
result = &pb.DBPagodaRace{
Data: map[int32]*pb.RaceData{},
}
if err = model.Get(uid, result); err != nil && err == mgo.MongodbNil { // 初始一条数据
result.Id = primitive.NewObjectID().Hex()
result.Uid = uid
result.Data = make(map[int32]*pb.RaceData)
result.Rtime = configure.Now().Unix()
if err = model.Add(uid, result); err != nil {
this.module.Errorf("err:%v", err)
return
}
return
}
return result, err
}
// 修改爬塔数据信息
func (this *ModelRace) ModifyCrossPagodaRaceData(uid string, data map[string]interface{}) error {
var (
model *db.DBModel
err error
)
if model, err = this.module.GetCrossDBModel(this.TableName); err != nil {
return err
}
return model.Change(uid, data)
}
// 创建一个新的塔数据 // 创建一个新的塔数据
func (this *ModelRace) addPagodaRace(uId string, data *pb.DBPagodaRace) (err error) { func (this *ModelRace) addCrossPagodaRace(uId string, result *pb.DBPagodaRace) (err error) {
if err = this.Add(uId, data); err != nil { var (
model *db.DBModel
)
if model, err = this.module.GetCrossDBModel(this.TableName); err != nil {
return
}
result.Id = primitive.NewObjectID().Hex()
result.Uid = uId
if err = model.Add(uId, result); err != nil {
this.module.Errorf("err:%v", err) this.module.Errorf("err:%v", err)
return return
} }
return nil return nil
} }
// 获取排行榜前50的用户名单 (跨服)
func (this *ModelRace) queryRankUser() (ranks []string, err error) {
var (
result []string
model *db.DBModel
)
if model, err = this.module.GetCrossDBModel(this.TableName); err != nil {
return
}
tableName := fmt.Sprintf("%s-%s", db.CrossTag(), this.TableName)
if result, err = model.Redis.ZRevRange(tableName, 0, comm.MaxRankNum).Result(); err != nil {
//this.module.Errorln(err)
return
}
ranks = make([]string, 0)
for i := 0; i < len(result); i += 1 {
ranks = append(ranks, result[i])
}
return
}
func (this *ModelRace) queryPlayers(uIds []string) (result []*pb.DBRacePagodaRecord, err error) {
var (
model *db.DBModel
)
if model, err = this.module.GetCrossDBModel(this.TableName); err != nil {
return
}
result = make([]*pb.DBRacePagodaRecord, 0)
if _, err = model.GetByUids(uIds, &result); err != nil && err != mgo.MongodbNil {
//this.module.Errorln(err)
return
}
return
}
// 六合塔记录 (存在跨服)
func (this *ModelRace) SetRacePagodaRankList(score int32, uid string) {
var (
pipe *pipe.RedisPipe
menbers *redis.Z
model *db.DBModel
err error
)
if model, err = this.module.GetCrossDBModel(this.TableName); err != nil {
return
}
tableName := fmt.Sprintf("%s-%s", db.CrossTag(), this.TableName)
pipe = model.Redis.RedisPipe(context.TODO())
menbers = &redis.Z{Score: float64(score), Member: uid}
if cmd := pipe.ZAdd(tableName, menbers); cmd != nil {
dock, err1 := cmd.Result()
if err1 != nil {
this.module.Errorln(dock, err1)
}
}
if _, err := pipe.Exec(); err != nil {
this.module.Errorln(err)
return
}
}

View File

@ -1,17 +1,15 @@
package pagoda package pagoda
import ( import (
"context"
"go_dreamfactory/comm" "go_dreamfactory/comm"
"go_dreamfactory/lego/core" "go_dreamfactory/lego/core"
"go_dreamfactory/sys/db" "go_dreamfactory/sys/db"
//"go_dreamfactory/lego/sys/redis" //"go_dreamfactory/lego/sys/redis"
"go_dreamfactory/lego/sys/redis/pipe"
"go_dreamfactory/modules" "go_dreamfactory/modules"
"go_dreamfactory/pb" "go_dreamfactory/pb"
"github.com/go-redis/redis/v8"
"go.mongodb.org/mongo-driver/mongo" "go.mongodb.org/mongo-driver/mongo"
"go.mongodb.org/mongo-driver/x/bsonx" "go.mongodb.org/mongo-driver/x/bsonx"
) )
@ -59,26 +57,3 @@ func (this *ModelRank) getPagodaRankListByFloorid(uid string, cid int32) *pb.DBP
return nil return nil
} }
func (this *ModelRank) SetNormalPagodaRankList(tableName string, score int32, uid string) {
var (
pipe *pipe.RedisPipe = this.DBModel.Redis.RedisPipe(context.TODO())
menbers *redis.Z
)
menbers = &redis.Z{Score: float64(score), Member: uid}
if cmd := pipe.ZAdd(tableName, menbers); cmd != nil {
dock, err1 := cmd.Result()
if err1 != nil {
this.modulePagoda.Errorln(dock, err1)
}
}
if _, err := pipe.Exec(); err != nil {
this.modulePagoda.Errorln(err)
return
}
}

View File

@ -264,7 +264,7 @@ func (this *Pagoda) GMModifyRacePagoda(uid string, floor int32) {
update["rtime"] = data.Rtime update["rtime"] = data.Rtime
update["battlecount"] = data.Battlecount update["battlecount"] = data.Battlecount
update["maxfloor"] = data.Maxfloor update["maxfloor"] = data.Maxfloor
this.modelRacePagoda.ModifyPagodaRaceDataByObjId(uid, update) this.modelPagoda.modifyPagodaDataByObjId(uid, update)
} }
return return
} }

View File

@ -253,6 +253,7 @@ type DBRacePagodaRecord struct {
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid" bson:"uid"` //用户ID Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid" bson:"uid"` //用户ID
Uinfo *BaseUserInfo `protobuf:"bytes,3,opt,name=uinfo,proto3" json:"uinfo"` //用户基础 Uinfo *BaseUserInfo `protobuf:"bytes,3,opt,name=uinfo,proto3" json:"uinfo"` //用户基础
Data map[int32]*RaceData `protobuf:"bytes,4,rep,name=data,proto3" json:"data" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // key boss 类型 Data map[int32]*RaceData `protobuf:"bytes,4,rep,name=data,proto3" json:"data" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // key boss 类型
Maxfloor int32 `protobuf:"varint,5,opt,name=maxfloor,proto3" json:"maxfloor"` // 最高记录
} }
func (x *DBRacePagodaRecord) Reset() { func (x *DBRacePagodaRecord) Reset() {
@ -315,6 +316,84 @@ func (x *DBRacePagodaRecord) GetData() map[int32]*RaceData {
return nil return nil
} }
func (x *DBRacePagodaRecord) GetMaxfloor() int32 {
if x != nil {
return x.Maxfloor
}
return 0
}
type DBRaceRank struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Uinfo *BaseUserInfo `protobuf:"bytes,21,opt,name=uinfo,proto3" json:"uinfo"` //用户基础
Line *LineData `protobuf:"bytes,2,opt,name=line,proto3" json:"line"` // 阵容信息
Floor int32 `protobuf:"varint,3,opt,name=floor,proto3" json:"floor"` // 层
Costtime int32 `protobuf:"varint,5,opt,name=costtime,proto3" json:"costtime"` // 耗时
}
func (x *DBRaceRank) Reset() {
*x = DBRaceRank{}
if protoimpl.UnsafeEnabled {
mi := &file_pagoda_pagoda_db_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBRaceRank) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBRaceRank) ProtoMessage() {}
func (x *DBRaceRank) ProtoReflect() protoreflect.Message {
mi := &file_pagoda_pagoda_db_proto_msgTypes[3]
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 DBRaceRank.ProtoReflect.Descriptor instead.
func (*DBRaceRank) Descriptor() ([]byte, []int) {
return file_pagoda_pagoda_db_proto_rawDescGZIP(), []int{3}
}
func (x *DBRaceRank) GetUinfo() *BaseUserInfo {
if x != nil {
return x.Uinfo
}
return nil
}
func (x *DBRaceRank) GetLine() *LineData {
if x != nil {
return x.Line
}
return nil
}
func (x *DBRaceRank) GetFloor() int32 {
if x != nil {
return x.Floor
}
return 0
}
func (x *DBRaceRank) GetCosttime() int32 {
if x != nil {
return x.Costtime
}
return 0
}
type RaceData struct { type RaceData struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -328,7 +407,7 @@ type RaceData struct {
func (x *RaceData) Reset() { func (x *RaceData) Reset() {
*x = RaceData{} *x = RaceData{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_pagoda_pagoda_db_proto_msgTypes[3] mi := &file_pagoda_pagoda_db_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -341,7 +420,7 @@ func (x *RaceData) String() string {
func (*RaceData) ProtoMessage() {} func (*RaceData) ProtoMessage() {}
func (x *RaceData) ProtoReflect() protoreflect.Message { func (x *RaceData) ProtoReflect() protoreflect.Message {
mi := &file_pagoda_pagoda_db_proto_msgTypes[3] mi := &file_pagoda_pagoda_db_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -354,7 +433,7 @@ func (x *RaceData) ProtoReflect() protoreflect.Message {
// Deprecated: Use RaceData.ProtoReflect.Descriptor instead. // Deprecated: Use RaceData.ProtoReflect.Descriptor instead.
func (*RaceData) Descriptor() ([]byte, []int) { func (*RaceData) Descriptor() ([]byte, []int) {
return file_pagoda_pagoda_db_proto_rawDescGZIP(), []int{3} return file_pagoda_pagoda_db_proto_rawDescGZIP(), []int{4}
} }
func (x *RaceData) GetConsttime() int32 { func (x *RaceData) GetConsttime() int32 {
@ -390,12 +469,13 @@ type DBPagodaRace struct {
Maxfloor int32 `protobuf:"varint,4,opt,name=maxfloor,proto3" json:"maxfloor"` // 最大层数 Maxfloor int32 `protobuf:"varint,4,opt,name=maxfloor,proto3" json:"maxfloor"` // 最大层数
Rtime int64 `protobuf:"varint,5,opt,name=rtime,proto3" json:"rtime"` // 刷新时间 客户端不用 Rtime int64 `protobuf:"varint,5,opt,name=rtime,proto3" json:"rtime"` // 刷新时间 客户端不用
Battlecount int32 `protobuf:"varint,6,opt,name=battlecount,proto3" json:"battlecount"` // 今日挑战次数 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() { func (x *DBPagodaRace) Reset() {
*x = DBPagodaRace{} *x = DBPagodaRace{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_pagoda_pagoda_db_proto_msgTypes[4] mi := &file_pagoda_pagoda_db_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -408,7 +488,7 @@ func (x *DBPagodaRace) String() string {
func (*DBPagodaRace) ProtoMessage() {} func (*DBPagodaRace) ProtoMessage() {}
func (x *DBPagodaRace) ProtoReflect() protoreflect.Message { func (x *DBPagodaRace) ProtoReflect() protoreflect.Message {
mi := &file_pagoda_pagoda_db_proto_msgTypes[4] mi := &file_pagoda_pagoda_db_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -421,7 +501,7 @@ func (x *DBPagodaRace) ProtoReflect() protoreflect.Message {
// Deprecated: Use DBPagodaRace.ProtoReflect.Descriptor instead. // Deprecated: Use DBPagodaRace.ProtoReflect.Descriptor instead.
func (*DBPagodaRace) Descriptor() ([]byte, []int) { func (*DBPagodaRace) Descriptor() ([]byte, []int) {
return file_pagoda_pagoda_db_proto_rawDescGZIP(), []int{4} return file_pagoda_pagoda_db_proto_rawDescGZIP(), []int{5}
} }
func (x *DBPagodaRace) GetId() string { func (x *DBPagodaRace) GetId() string {
@ -466,6 +546,13 @@ func (x *DBPagodaRace) GetBattlecount() int32 {
return 0 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 protoreflect.FileDescriptor
var file_pagoda_pagoda_db_proto_rawDesc = []byte{ var file_pagoda_pagoda_db_proto_rawDesc = []byte{
@ -509,7 +596,7 @@ var file_pagoda_pagoda_db_proto_rawDesc = []byte{
0x0b, 0x32, 0x07, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x55, 0x70, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x0b, 0x32, 0x07, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x55, 0x70, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65,
0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01,
0x28, 0x05, 0x52, 0x08, 0x63, 0x6f, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x28, 0x05, 0x52, 0x08, 0x63, 0x6f, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03,
0x74, 0x61, 0x62, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 0x61, 0x62, 0x22, 0xd2, 0x74, 0x61, 0x62, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 0x61, 0x62, 0x22, 0xee,
0x01, 0x0a, 0x12, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x52, 0x01, 0x0a, 0x12, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x52,
0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x65, 0x63, 0x6f, 0x72, 0x64, 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, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
@ -518,34 +605,51 @@ var file_pagoda_pagoda_db_proto_rawDesc = []byte{
0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x75, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x31, 0x0a, 0x04, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x75, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x31, 0x0a, 0x04,
0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x44, 0x42, 0x52, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x44, 0x42, 0x52,
0x61, 0x63, 0x65, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x61, 0x63, 0x65, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e,
0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12,
0x42, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x1a, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28,
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x1a, 0x42, 0x0a, 0x09, 0x44,
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
0x52, 0x61, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x05, 0x76, 0x61,
0x02, 0x38, 0x01, 0x22, 0x5b, 0x0a, 0x08, 0x52, 0x61, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x52, 0x61, 0x63, 0x65,
0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
0x28, 0x05, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x82, 0x01, 0x0a, 0x0a, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65, 0x52, 0x61, 0x6e, 0x6b, 0x12, 0x23,
0x04, 0x73, 0x74, 0x61, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x74, 0x61, 0x0a, 0x05, 0x75, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
0x72, 0x12, 0x1d, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x61, 0x73, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x75, 0x69,
0x09, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x22, 0xf5, 0x01, 0x0a, 0x0c, 0x44, 0x42, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x52, 0x61, 0x63, 0x0b, 0x32, 0x09, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x6c, 0x69,
0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x6e, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,
0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x05, 0x52, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x73, 0x74,
0x75, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x6f, 0x73, 0x74,
0x0b, 0x32, 0x17, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x52, 0x61, 0x63, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x5b, 0x0a, 0x08, 0x52, 0x61, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61,
0x2e, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20,
0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12,
0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x0a, 0x04, 0x73, 0x74, 0x61, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x74,
0x72, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x72, 0x74, 0x69, 0x61, 0x72, 0x12, 0x1d, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x63, 0x6f, 0x75, 0x6e, 0x32, 0x09, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x6c, 0x69, 0x6e,
0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x63, 0x65, 0x22, 0xe3, 0x02, 0x0a, 0x0c, 0x44, 0x42, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x52, 0x61,
0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x42, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x6b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x03, 0x75, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x09, 0x2e, 0x52, 0x61, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x52, 0x61, 0x63,
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x18, 0x04, 0x20,
0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x12, 0x14, 0x0a,
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, 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 ( var (
@ -560,36 +664,41 @@ func file_pagoda_pagoda_db_proto_rawDescGZIP() []byte {
return file_pagoda_pagoda_db_proto_rawDescData return file_pagoda_pagoda_db_proto_rawDescData
} }
var file_pagoda_pagoda_db_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_pagoda_pagoda_db_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_pagoda_pagoda_db_proto_goTypes = []interface{}{ var file_pagoda_pagoda_db_proto_goTypes = []interface{}{
(*DBPagoda)(nil), // 0: DBPagoda (*DBPagoda)(nil), // 0: DBPagoda
(*DBPagodaRecord)(nil), // 1: DBPagodaRecord (*DBPagodaRecord)(nil), // 1: DBPagodaRecord
(*DBRacePagodaRecord)(nil), // 2: DBRacePagodaRecord (*DBRacePagodaRecord)(nil), // 2: DBRacePagodaRecord
(*RaceData)(nil), // 3: RaceData (*DBRaceRank)(nil), // 3: DBRaceRank
(*DBPagodaRace)(nil), // 4: DBPagodaRace (*RaceData)(nil), // 4: RaceData
nil, // 5: DBPagoda.RewardEntry (*DBPagodaRace)(nil), // 5: DBPagodaRace
nil, // 6: DBPagoda.DataEntry nil, // 6: DBPagoda.RewardEntry
nil, // 7: DBRacePagodaRecord.DataEntry nil, // 7: DBPagoda.DataEntry
nil, // 8: DBPagodaRace.DataEntry nil, // 8: DBRacePagodaRecord.DataEntry
(*LineUp)(nil), // 9: LineUp nil, // 9: DBPagodaRace.DataEntry
(*BaseUserInfo)(nil), // 10: BaseUserInfo nil, // 10: DBPagodaRace.RewardEntry
(*LineData)(nil), // 11: LineData (*LineUp)(nil), // 11: LineUp
(*BaseUserInfo)(nil), // 12: BaseUserInfo
(*LineData)(nil), // 13: LineData
} }
var file_pagoda_pagoda_db_proto_depIdxs = []int32{ var file_pagoda_pagoda_db_proto_depIdxs = []int32{
5, // 0: DBPagoda.reward:type_name -> DBPagoda.RewardEntry 6, // 0: DBPagoda.reward:type_name -> DBPagoda.RewardEntry
6, // 1: DBPagoda.data:type_name -> DBPagoda.DataEntry 7, // 1: DBPagoda.data:type_name -> DBPagoda.DataEntry
9, // 2: DBPagodaRecord.line:type_name -> LineUp 11, // 2: DBPagodaRecord.line:type_name -> LineUp
10, // 3: DBRacePagodaRecord.uinfo:type_name -> BaseUserInfo 12, // 3: DBRacePagodaRecord.uinfo:type_name -> BaseUserInfo
7, // 4: DBRacePagodaRecord.data:type_name -> DBRacePagodaRecord.DataEntry 8, // 4: DBRacePagodaRecord.data:type_name -> DBRacePagodaRecord.DataEntry
11, // 5: RaceData.line:type_name -> LineData 12, // 5: DBRaceRank.uinfo:type_name -> BaseUserInfo
8, // 6: DBPagodaRace.data:type_name -> DBPagodaRace.DataEntry 13, // 6: DBRaceRank.line:type_name -> LineData
3, // 7: DBRacePagodaRecord.DataEntry.value:type_name -> RaceData 13, // 7: RaceData.line:type_name -> LineData
3, // 8: DBPagodaRace.DataEntry.value:type_name -> RaceData 9, // 8: DBPagodaRace.data:type_name -> DBPagodaRace.DataEntry
9, // [9:9] is the sub-list for method output_type 10, // 9: DBPagodaRace.reward:type_name -> DBPagodaRace.RewardEntry
9, // [9:9] is the sub-list for method input_type 4, // 10: DBRacePagodaRecord.DataEntry.value:type_name -> RaceData
9, // [9:9] is the sub-list for extension type_name 4, // 11: DBPagodaRace.DataEntry.value:type_name -> RaceData
9, // [9:9] is the sub-list for extension extendee 12, // [12:12] is the sub-list for method output_type
0, // [0:9] is the sub-list for field type_name 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() } func init() { file_pagoda_pagoda_db_proto_init() }
@ -637,7 +746,7 @@ func file_pagoda_pagoda_db_proto_init() {
} }
} }
file_pagoda_pagoda_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { file_pagoda_pagoda_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RaceData); i { switch v := v.(*DBRaceRank); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -649,6 +758,18 @@ func file_pagoda_pagoda_db_proto_init() {
} }
} }
file_pagoda_pagoda_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { file_pagoda_pagoda_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RaceData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pagoda_pagoda_db_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBPagodaRace); i { switch v := v.(*DBPagodaRace); i {
case 0: case 0:
return &v.state return &v.state
@ -667,7 +788,7 @@ func file_pagoda_pagoda_db_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_pagoda_pagoda_db_proto_rawDesc, RawDescriptor: file_pagoda_pagoda_db_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 9, NumMessages: 11,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },

View File

@ -814,8 +814,7 @@ type PagodaChallengeRaceReq struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Race int32 `protobuf:"varint,1,opt,name=race,proto3" json:"race"` //0 循环塔 1 阵营1 ... Floor int32 `protobuf:"varint,1,opt,name=floor,proto3" json:"floor"` // 层数
Cid int32 `protobuf:"varint,2,opt,name=cid,proto3" json:"cid"` // circularcamptower 表中的id
Battle *BattleFormation `protobuf:"bytes,3,opt,name=battle,proto3" json:"battle"` 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} return file_pagoda_pagoda_msg_proto_rawDescGZIP(), []int{16}
} }
func (x *PagodaChallengeRaceReq) GetRace() int32 { func (x *PagodaChallengeRaceReq) GetFloor() int32 {
if x != nil { if x != nil {
return x.Race return x.Floor
}
return 0
}
func (x *PagodaChallengeRaceReq) GetCid() int32 {
if x != nil {
return x.Cid
} }
return 0 return 0
} }
@ -878,7 +870,7 @@ type PagodaChallengeRaceResp struct {
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Info *BattleInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info"` 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() { func (x *PagodaChallengeRaceResp) Reset() {
@ -920,9 +912,9 @@ func (x *PagodaChallengeRaceResp) GetInfo() *BattleInfo {
return nil return nil
} }
func (x *PagodaChallengeRaceResp) GetCid() int32 { func (x *PagodaChallengeRaceResp) GetFloor() int32 {
if x != nil { if x != nil {
return x.Cid return x.Floor
} }
return 0 return 0
} }
@ -933,8 +925,9 @@ type PagodaChallengeRaceOverReq struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields 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"` //战报 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() { func (x *PagodaChallengeRaceOverReq) Reset() {
@ -969,9 +962,9 @@ func (*PagodaChallengeRaceOverReq) Descriptor() ([]byte, []int) {
return file_pagoda_pagoda_msg_proto_rawDescGZIP(), []int{18} return file_pagoda_pagoda_msg_proto_rawDescGZIP(), []int{18}
} }
func (x *PagodaChallengeRaceOverReq) GetCid() int32 { func (x *PagodaChallengeRaceOverReq) GetFloor() int32 {
if x != nil { if x != nil {
return x.Cid return x.Floor
} }
return 0 return 0
} }
@ -983,6 +976,13 @@ func (x *PagodaChallengeRaceOverReq) GetReport() *BattleReport {
return nil return nil
} }
func (x *PagodaChallengeRaceOverReq) GetStar() int32 {
if x != nil {
return x.Star
}
return 0
}
type PagodaChallengeRaceOverResp struct { type PagodaChallengeRaceOverResp struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -1137,8 +1137,6 @@ type PagodaCrossRaceRankListReq struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Raceid int32 `protobuf:"varint,1,opt,name=raceid,proto3" json:"raceid"` // 阵容id
} }
func (x *PagodaCrossRaceRankListReq) Reset() { func (x *PagodaCrossRaceRankListReq) Reset() {
@ -1173,19 +1171,12 @@ func (*PagodaCrossRaceRankListReq) Descriptor() ([]byte, []int) {
return file_pagoda_pagoda_msg_proto_rawDescGZIP(), []int{22} return file_pagoda_pagoda_msg_proto_rawDescGZIP(), []int{22}
} }
func (x *PagodaCrossRaceRankListReq) GetRaceid() int32 {
if x != nil {
return x.Raceid
}
return 0
}
type PagodaCrossRaceRankListResp struct { type PagodaCrossRaceRankListResp struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Ranks []*DBRacePagodaRecord `protobuf:"bytes,1,rep,name=ranks,proto3" json:"ranks"` Ranks []*DBRaceRank `protobuf:"bytes,1,rep,name=ranks,proto3" json:"ranks"`
} }
func (x *PagodaCrossRaceRankListResp) Reset() { func (x *PagodaCrossRaceRankListResp) Reset() {
@ -1220,13 +1211,108 @@ func (*PagodaCrossRaceRankListResp) Descriptor() ([]byte, []int) {
return file_pagoda_pagoda_msg_proto_rawDescGZIP(), []int{23} return file_pagoda_pagoda_msg_proto_rawDescGZIP(), []int{23}
} }
func (x *PagodaCrossRaceRankListResp) GetRanks() []*DBRacePagodaRecord { func (x *PagodaCrossRaceRankListResp) GetRanks() []*DBRaceRank {
if x != nil { if x != nil {
return x.Ranks return x.Ranks
} }
return nil 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 protoreflect.FileDescriptor
var file_pagoda_pagoda_msg_proto_rawDesc = []byte{ var file_pagoda_pagoda_msg_proto_rawDesc = []byte{
@ -1300,52 +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, 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, 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, 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, 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, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x18,
0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x72, 0x61, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x12, 0x28, 0x0a, 0x06,
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x06,
0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 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, 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, 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, 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, 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, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
0x03, 0x63, 0x69, 0x64, 0x22, 0x55, 0x0a, 0x1a, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x43, 0x68, 0x05, 0x52, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x22, 0x6d, 0x0a, 0x1a, 0x50, 0x61, 0x67, 0x6f,
0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x61, 0x63, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x52, 0x64, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x61, 0x63, 0x65, 0x4f,
0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x18,
0x03, 0x63, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x06,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42,
0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22, 0xe4, 0x01, 0x0a, 0x1b, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70,
0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x74, 0x61, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,
0x61, 0x63, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x05, 0x52, 0x04, 0x73, 0x74, 0x61, 0x72, 0x22, 0xe4, 0x01, 0x0a, 0x1b, 0x50, 0x61, 0x67, 0x6f,
0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x64, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x61, 0x63, 0x65, 0x4f,
0x67, 0x6f, 0x64, 0x61, 0x52, 0x61, 0x63, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x21, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
0x0a, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61,
0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x52, 0x61, 0x63, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x06, 0x72, 0x65,
0x64, 0x12, 0x43, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x18, 0x03, 0x20, 0x03, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65,
0x28, 0x0b, 0x32, 0x29, 0x2e, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x43, 0x0a,
0x65, 0x6e, 0x67, 0x65, 0x52, 0x61, 0x63, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29,
0x2e, 0x48, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x2e, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65,
0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x52, 0x61, 0x63, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x48, 0x65, 0x72,
0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x6f, 0x65, 0x78, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x65,
0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x78, 0x70, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x45, 0x6e, 0x74,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x47, 0x65, 0x74, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x22, 0x36, 0x0a, 0x11, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12,
0x47, 0x65, 0x74, 0x52, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x0a, 0x10, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x47, 0x65, 0x74, 0x52, 0x61, 0x63, 0x65, 0x52,
0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x65, 0x71, 0x22, 0x36, 0x0a, 0x11, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x47, 0x65, 0x74, 0x52,
0x67, 0x6f, 0x64, 0x61, 0x52, 0x61, 0x63, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x34, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
0x0a, 0x1a, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x52, 0x61, 0x63, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61,
0x65, 0x52, 0x61, 0x6e, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x61, 0x63, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x1c, 0x0a, 0x1a, 0x50, 0x61,
0x72, 0x61, 0x63, 0x65, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x52, 0x61, 0x63, 0x65, 0x52, 0x61, 0x6e,
0x63, 0x65, 0x69, 0x64, 0x22, 0x48, 0x0a, 0x1b, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x43, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x40, 0x0a, 0x1b, 0x50, 0x61, 0x67, 0x6f,
0x6f, 0x73, 0x73, 0x52, 0x61, 0x63, 0x65, 0x52, 0x61, 0x6e, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x64, 0x61, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x52, 0x61, 0x63, 0x65, 0x52, 0x61, 0x6e, 0x6b, 0x4c,
0x65, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x6b, 0x73,
0x28, 0x0b, 0x32, 0x13, 0x2e, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65, 0x50, 0x61, 0x67, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65, 0x52,
0x61, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x42, 0x06, 0x61, 0x6e, 0x6b, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x22, 0x2b, 0x0a, 0x13, 0x50, 0x61,
0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 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 ( var (
@ -1360,7 +1452,7 @@ func file_pagoda_pagoda_msg_proto_rawDescGZIP() []byte {
return file_pagoda_pagoda_msg_proto_rawDescData 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{}{ var file_pagoda_pagoda_msg_proto_goTypes = []interface{}{
(*PagodaGetListReq)(nil), // 0: PagodaGetListReq (*PagodaGetListReq)(nil), // 0: PagodaGetListReq
(*PagodaGetListResp)(nil), // 1: PagodaGetListResp (*PagodaGetListResp)(nil), // 1: PagodaGetListResp
@ -1386,46 +1478,49 @@ var file_pagoda_pagoda_msg_proto_goTypes = []interface{}{
(*PagodaGetRaceResp)(nil), // 21: PagodaGetRaceResp (*PagodaGetRaceResp)(nil), // 21: PagodaGetRaceResp
(*PagodaCrossRaceRankListReq)(nil), // 22: PagodaCrossRaceRankListReq (*PagodaCrossRaceRankListReq)(nil), // 22: PagodaCrossRaceRankListReq
(*PagodaCrossRaceRankListResp)(nil), // 23: PagodaCrossRaceRankListResp (*PagodaCrossRaceRankListResp)(nil), // 23: PagodaCrossRaceRankListResp
nil, // 24: PagodaChallengeOverResp.HeroexpEntry (*PagodaRaceRewardReq)(nil), // 24: PagodaRaceRewardReq
nil, // 25: PagodaChallengeRaceOverResp.HeroexpEntry (*PagodaRaceRewardResp)(nil), // 25: PagodaRaceRewardResp
(*DBPagoda)(nil), // 26: DBPagoda nil, // 26: PagodaChallengeOverResp.HeroexpEntry
(*UserAtno)(nil), // 27: UserAtno nil, // 27: PagodaChallengeRaceOverResp.HeroexpEntry
(*BattleFormation)(nil), // 28: BattleFormation (*DBPagoda)(nil), // 28: DBPagoda
(*BattleInfo)(nil), // 29: BattleInfo (*UserAtno)(nil), // 29: UserAtno
(*BattleReport)(nil), // 30: BattleReport (*BattleFormation)(nil), // 30: BattleFormation
(*DBPagodaRecord)(nil), // 31: DBPagodaRecord (*BattleInfo)(nil), // 31: BattleInfo
(*UserAssets)(nil), // 32: UserAssets (*BattleReport)(nil), // 32: BattleReport
(*DBPagodaRace)(nil), // 33: DBPagodaRace (*DBPagodaRecord)(nil), // 33: DBPagodaRecord
(*DBRacePagodaRecord)(nil), // 34: DBRacePagodaRecord (*UserAssets)(nil), // 34: UserAssets
(*DBPagodaRace)(nil), // 35: DBPagodaRace
(*DBRaceRank)(nil), // 36: DBRaceRank
} }
var file_pagoda_pagoda_msg_proto_depIdxs = []int32{ var file_pagoda_pagoda_msg_proto_depIdxs = []int32{
26, // 0: PagodaGetListResp.data:type_name -> DBPagoda 28, // 0: PagodaGetListResp.data:type_name -> DBPagoda
26, // 1: PagodaGetRewardResp.data:type_name -> DBPagoda 28, // 1: PagodaGetRewardResp.data:type_name -> DBPagoda
27, // 2: PagodaGetRewardResp.atno:type_name -> UserAtno 29, // 2: PagodaGetRewardResp.atno:type_name -> UserAtno
28, // 3: PagodaChallengeReq.battle:type_name -> BattleFormation 30, // 3: PagodaChallengeReq.battle:type_name -> BattleFormation
29, // 4: PagodaChallengeResp.info:type_name -> BattleInfo 31, // 4: PagodaChallengeResp.info:type_name -> BattleInfo
30, // 5: PagodaChallengeOverReq.report:type_name -> BattleReport 32, // 5: PagodaChallengeOverReq.report:type_name -> BattleReport
26, // 6: PagodaChallengeOverResp.data:type_name -> DBPagoda 28, // 6: PagodaChallengeOverResp.data:type_name -> DBPagoda
27, // 7: PagodaChallengeOverResp.reward:type_name -> UserAtno 29, // 7: PagodaChallengeOverResp.reward:type_name -> UserAtno
24, // 8: PagodaChallengeOverResp.heroexp:type_name -> PagodaChallengeOverResp.HeroexpEntry 26, // 8: PagodaChallengeOverResp.heroexp:type_name -> PagodaChallengeOverResp.HeroexpEntry
31, // 9: PagodaRankListResp.ranks:type_name -> DBPagodaRecord 33, // 9: PagodaRankListResp.ranks:type_name -> DBPagodaRecord
31, // 10: PagodaQueryRecordResp.data:type_name -> DBPagodaRecord 33, // 10: PagodaQueryRecordResp.data:type_name -> DBPagodaRecord
26, // 11: PagodaActivateResp.data:type_name -> DBPagoda 28, // 11: PagodaActivateResp.data:type_name -> DBPagoda
26, // 12: PagodaWarOrderResp.data:type_name -> DBPagoda 28, // 12: PagodaWarOrderResp.data:type_name -> DBPagoda
32, // 13: PagodaWarOrderResp.itmes:type_name -> UserAssets 34, // 13: PagodaWarOrderResp.itmes:type_name -> UserAssets
28, // 14: PagodaChallengeRaceReq.battle:type_name -> BattleFormation 30, // 14: PagodaChallengeRaceReq.battle:type_name -> BattleFormation
29, // 15: PagodaChallengeRaceResp.info:type_name -> BattleInfo 31, // 15: PagodaChallengeRaceResp.info:type_name -> BattleInfo
30, // 16: PagodaChallengeRaceOverReq.report:type_name -> BattleReport 32, // 16: PagodaChallengeRaceOverReq.report:type_name -> BattleReport
33, // 17: PagodaChallengeRaceOverResp.data:type_name -> DBPagodaRace 35, // 17: PagodaChallengeRaceOverResp.data:type_name -> DBPagodaRace
27, // 18: PagodaChallengeRaceOverResp.reward:type_name -> UserAtno 29, // 18: PagodaChallengeRaceOverResp.reward:type_name -> UserAtno
25, // 19: PagodaChallengeRaceOverResp.heroexp:type_name -> PagodaChallengeRaceOverResp.HeroexpEntry 27, // 19: PagodaChallengeRaceOverResp.heroexp:type_name -> PagodaChallengeRaceOverResp.HeroexpEntry
33, // 20: PagodaGetRaceResp.data:type_name -> DBPagodaRace 35, // 20: PagodaGetRaceResp.data:type_name -> DBPagodaRace
34, // 21: PagodaCrossRaceRankListResp.ranks:type_name -> DBRacePagodaRecord 36, // 21: PagodaCrossRaceRankListResp.ranks:type_name -> DBRaceRank
22, // [22:22] is the sub-list for method output_type 35, // 22: PagodaRaceRewardResp.data:type_name -> DBPagodaRace
22, // [22:22] is the sub-list for method input_type 23, // [23:23] is the sub-list for method output_type
22, // [22:22] is the sub-list for extension type_name 23, // [23:23] is the sub-list for method input_type
22, // [22:22] is the sub-list for extension extendee 23, // [23:23] is the sub-list for extension type_name
0, // [0:22] is the sub-list for field 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() } func init() { file_pagoda_pagoda_msg_proto_init() }
@ -1725,6 +1820,30 @@ func file_pagoda_pagoda_msg_proto_init() {
return nil 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{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
@ -1732,7 +1851,7 @@ func file_pagoda_pagoda_msg_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_pagoda_pagoda_msg_proto_rawDesc, RawDescriptor: file_pagoda_pagoda_msg_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 26, NumMessages: 28,
NumExtensions: 0, NumExtensions: 0,
NumServices: 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 GameAccumulateMoney struct {
_dataMap map[int32]*GameAccumulateMoneyData
_dataList []*GameAccumulateMoneyData
}
func NewGameAccumulateMoney(_buf []map[string]interface{}) (*GameAccumulateMoney, error) {
_dataList := make([]*GameAccumulateMoneyData, 0, len(_buf))
dataMap := make(map[int32]*GameAccumulateMoneyData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameAccumulateMoneyData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Accumulate] = _v
}
}
return &GameAccumulateMoney{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameAccumulateMoney) GetDataMap() map[int32]*GameAccumulateMoneyData {
return table._dataMap
}
func (table *GameAccumulateMoney) GetDataList() []*GameAccumulateMoneyData {
return table._dataList
}
func (table *GameAccumulateMoney) Get(key int32) *GameAccumulateMoneyData {
return table._dataMap[key]
}

View File

@ -0,0 +1,50 @@
//------------------------------------------------------------------------------
// <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 GameAccumulateMoneyData struct {
Accumulate int32
Reward []*Gameatn
}
const TypeId_GameAccumulateMoneyData = 1440922956
func (*GameAccumulateMoneyData) GetTypeId() int32 {
return 1440922956
}
func (_v *GameAccumulateMoneyData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["accumulate"].(float64); !_ok_ { err = errors.New("accumulate error"); return }; _v.Accumulate = 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 DeserializeGameAccumulateMoneyData(_buf map[string]interface{}) (*GameAccumulateMoneyData, error) {
v := &GameAccumulateMoneyData{}
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 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

@ -12,8 +12,7 @@ import "errors"
type GameCirculateData struct { type GameCirculateData struct {
Id int32 Id int32
Name int32 Itype int32
Restriction int32
BattlereadyID int32 BattlereadyID int32
OpenDesc string OpenDesc string
Openingtime []int32 Openingtime []int32
@ -24,7 +23,7 @@ type GameCirculateData struct {
TabIcon string TabIcon string
TabTitle string TabTitle string
Monsterlineup []int32 Monsterlineup []int32
KeyReward *Gameatn KeyReward []*Gameatn
Reward []*Gameatn Reward []*Gameatn
Exp int32 Exp int32
NameDisplay string NameDisplay string
@ -39,8 +38,7 @@ func (*GameCirculateData) GetTypeId() int32 {
func (_v *GameCirculateData)Deserialize(_buf map[string]interface{}) (err error) { func (_v *GameCirculateData)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["id"].(float64); !_ok_ { err = errors.New("id error"); return }; _v.Id = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["name"].(float64); !_ok_ { err = errors.New("name error"); return }; _v.Name = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["itype"].(float64); !_ok_ { err = errors.New("itype error"); return }; _v.Itype = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["restriction"].(float64); !_ok_ { err = errors.New("restriction error"); return }; _v.Restriction = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["battlereadyID"].(float64); !_ok_ { err = errors.New("battlereadyID error"); return }; _v.BattlereadyID = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["battlereadyID"].(float64); !_ok_ { err = errors.New("battlereadyID error"); return }; _v.BattlereadyID = int32(_tempNum_) }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["openDesc"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.OpenDesc error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.OpenDesc, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } } {var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["openDesc"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.OpenDesc error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.OpenDesc, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ {
@ -90,7 +88,20 @@ func (_v *GameCirculateData)Deserialize(_buf map[string]interface{}) (err error)
} }
} }
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["keyReward"].(map[string]interface{}); !_ok_ { err = errors.New("keyReward error"); return }; if _v.KeyReward, err = DeserializeGameatn(_x_); err != nil { return } } {
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["keyReward"].([]interface{}); !_ok_ { err = errors.New("keyReward error"); return }
_v.KeyReward = 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.KeyReward = append(_v.KeyReward, _list_v_)
}
}
{ {
var _arr_ []interface{} var _arr_ []interface{}
var _ok_ bool 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 GameGuildBossTask struct {
_dataMap map[int32]*GameGuildBossTaskData
_dataList []*GameGuildBossTaskData
}
func NewGameGuildBossTask(_buf []map[string]interface{}) (*GameGuildBossTask, error) {
_dataList := make([]*GameGuildBossTaskData, 0, len(_buf))
dataMap := make(map[int32]*GameGuildBossTaskData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameGuildBossTaskData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
}
}
return &GameGuildBossTask{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameGuildBossTask) GetDataMap() map[int32]*GameGuildBossTaskData {
return table._dataMap
}
func (table *GameGuildBossTask) GetDataList() []*GameGuildBossTaskData {
return table._dataList
}
func (table *GameGuildBossTask) Get(key int32) *GameGuildBossTaskData {
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 GameGuildBossTaskData struct {
Id int32
Score int32
Reward []*Gameatn
TaskDescribe string
}
const TypeId_GameGuildBossTaskData = -1074074125
func (*GameGuildBossTaskData) GetTypeId() int32 {
return -1074074125
}
func (_v *GameGuildBossTaskData)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["score"].(float64); !_ok_ { err = errors.New("score error"); return }; _v.Score = 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_)
}
}
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["task_describe"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TaskDescribe error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TaskDescribe, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
return
}
func DeserializeGameGuildBossTaskData(_buf map[string]interface{}) (*GameGuildBossTaskData, error) {
v := &GameGuildBossTaskData{}
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

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

View File

@ -0,0 +1,49 @@
//------------------------------------------------------------------------------
// <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 GameShowData struct {
Id int32
Desc string
Access int32
Position string
Sex int32
Resources string
Vague string
PvpAnimator string
}
const TypeId_GameShowData = 1793917635
func (*GameShowData) GetTypeId() int32 {
return 1793917635
}
func (_v *GameShowData)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["desc"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Desc error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Desc, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["access"].(float64); !_ok_ { err = errors.New("access error"); return }; _v.Access = int32(_tempNum_) }
{ var _ok_ bool; if _v.Position, _ok_ = _buf["position"].(string); !_ok_ { err = errors.New("position 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.Resources, _ok_ = _buf["resources"].(string); !_ok_ { err = errors.New("resources error"); return } }
{ var _ok_ bool; if _v.Vague, _ok_ = _buf["vague"].(string); !_ok_ { err = errors.New("vague error"); return } }
{ var _ok_ bool; if _v.PvpAnimator, _ok_ = _buf["pvpAnimator"].(string); !_ok_ { err = errors.New("pvpAnimator error"); return } }
return
}
func DeserializeGameShowData(_buf map[string]interface{}) (*GameShowData, error) {
v := &GameShowData{}
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 GameSixDirections struct {
_dataMap map[int32]*GameSixDirectionsData
_dataList []*GameSixDirectionsData
}
func NewGameSixDirections(_buf []map[string]interface{}) (*GameSixDirections, error) {
_dataList := make([]*GameSixDirectionsData, 0, len(_buf))
dataMap := make(map[int32]*GameSixDirectionsData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameSixDirectionsData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Floors] = _v
}
}
return &GameSixDirections{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameSixDirections) GetDataMap() map[int32]*GameSixDirectionsData {
return table._dataMap
}
func (table *GameSixDirections) GetDataList() []*GameSixDirectionsData {
return table._dataList
}
func (table *GameSixDirections) Get(key int32) *GameSixDirectionsData {
return table._dataMap[key]
}

View File

@ -0,0 +1,141 @@
//------------------------------------------------------------------------------
// <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 GameSixDirectionsData struct {
Floors int32
Groud int32
Startype []int32
Starnum []int32
Groudreward int32
BattlereadyID int32
OpenDesc string
Openingtime []int32
Unlock string
Monsterlineup []int32
KeyReward []*Gameatn
Reward []*Gameatn
Exp int32
NameDisplay string
ModelDisplay int32
}
const TypeId_GameSixDirectionsData = -387737308
func (*GameSixDirectionsData) GetTypeId() int32 {
return -387737308
}
func (_v *GameSixDirectionsData)Deserialize(_buf map[string]interface{}) (err error) {
{ 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{}
var _ok_ bool
if _arr_, _ok_ = _buf["startype"].([]interface{}); !_ok_ { err = errors.New("startype error"); return }
_v.Startype = 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.Startype = append(_v.Startype, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["starnum"].([]interface{}); !_ok_ { err = errors.New("starnum error"); return }
_v.Starnum = 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.Starnum = append(_v.Starnum, _list_v_)
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["groudreward"].(float64); !_ok_ { err = errors.New("groudreward error"); return }; _v.Groudreward = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["battlereadyID"].(float64); !_ok_ { err = errors.New("battlereadyID error"); return }; _v.BattlereadyID = int32(_tempNum_) }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["openDesc"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.OpenDesc error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.OpenDesc, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["openingtime"].([]interface{}); !_ok_ { err = errors.New("openingtime error"); return }
_v.Openingtime = 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.Openingtime = append(_v.Openingtime, _list_v_)
}
}
{ var _ok_ bool; if _v.Unlock, _ok_ = _buf["unlock"].(string); !_ok_ { err = errors.New("unlock error"); return } }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["monsterlineup"].([]interface{}); !_ok_ { err = errors.New("monsterlineup error"); return }
_v.Monsterlineup = 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.Monsterlineup = append(_v.Monsterlineup, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["keyReward"].([]interface{}); !_ok_ { err = errors.New("keyReward error"); return }
_v.KeyReward = 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.KeyReward = append(_v.KeyReward, _list_v_)
}
}
{
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_)
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["exp"].(float64); !_ok_ { err = errors.New("exp error"); return }; _v.Exp = int32(_tempNum_) }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["name_display"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.NameDisplay error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.NameDisplay, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["model_display"].(float64); !_ok_ { err = errors.New("model_display error"); return }; _v.ModelDisplay = int32(_tempNum_) }
return
}
func DeserializeGameSixDirectionsData(_buf map[string]interface{}) (*GameSixDirectionsData, error) {
v := &GameSixDirectionsData{}
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 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_Food = 4
TEnumEBagType_FoodIngredients = 5 TEnumEBagType_FoodIngredients = 5
TEnumEBagType_Special = 6 TEnumEBagType_Special = 6
TEnumEBagType_Enchant = 7
TEnumEBagType_Money = 1000 TEnumEBagType_Money = 1000
TEnumEBagType_Equip = 1001 TEnumEBagType_Equip = 1001
TEnumEBagType_Hero = 1002 TEnumEBagType_Hero = 1002

View File

@ -198,6 +198,9 @@ type Tables struct {
Robot *GameRobot Robot *GameRobot
Passon *GamePasson Passon *GamePasson
Circulate *GameCirculate Circulate *GameCirculate
SixDirections *GameSixDirections
SixDirectionsReward *GameSixDirectionsReward
SixDirectionsStar *GameSixDirectionsStar
drawReward *GamedrawReward drawReward *GamedrawReward
drawReplace *GamedrawReplace drawReplace *GamedrawReplace
drawcardReward *GamedrawcardReward drawcardReward *GamedrawcardReward
@ -327,7 +330,6 @@ type Tables struct {
IntegralReward *GameIntegralReward IntegralReward *GameIntegralReward
IntegralCondition *GameIntegralCondition IntegralCondition *GameIntegralCondition
IntegralTime *GameIntegralTime IntegralTime *GameIntegralTime
Restore *GameRestore
CatchbugSetstage *GameCatchbugSetstage CatchbugSetstage *GameCatchbugSetstage
BuzkashiCombo *GameBuzkashiCombo BuzkashiCombo *GameBuzkashiCombo
} }
@ -1459,6 +1461,24 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.Circulate, err = NewGameCirculate(buf) ; err != nil { if tables.Circulate, err = NewGameCirculate(buf) ; err != nil {
return nil, err return nil, err
} }
if buf, err = loader("game_sixdirections") ; err != nil {
return nil, err
}
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 { if buf, err = loader("game_drawreward") ; err != nil {
return nil, err return nil, err
} }
@ -2233,12 +2253,6 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.IntegralTime, err = NewGameIntegralTime(buf) ; err != nil { if tables.IntegralTime, err = NewGameIntegralTime(buf) ; err != nil {
return nil, err return nil, err
} }
if buf, err = loader("game_restore") ; err != nil {
return nil, err
}
if tables.Restore, err = NewGameRestore(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_catchbugsetstage") ; err != nil { if buf, err = loader("game_catchbugsetstage") ; err != nil {
return nil, err return nil, err
} }

View File

@ -219,6 +219,7 @@ type GameGlobalData struct {
BuzkashiCatchqtetime int32 BuzkashiCatchqtetime int32
BuzkashiRecentPlayer int32 BuzkashiRecentPlayer int32
BuzkashiTrackpartdis int32 BuzkashiTrackpartdis int32
BuzkashiTrackpartcount int32
TaskActivation int32 TaskActivation int32
FavorabilityAttenuation []*Gamekv FavorabilityAttenuation []*Gamekv
Mounts string 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_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_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_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 _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{} var _arr_ []interface{}

View File

@ -12,7 +12,6 @@ import "errors"
type GamePagodaData struct { type GamePagodaData struct {
Key int32 Key int32
PagodaType int32
LevelType int32 LevelType int32
LayerNum int32 LayerNum int32
Tab int32 Tab int32
@ -36,7 +35,6 @@ func (*GamePagodaData) GetTypeId() int32 {
func (_v *GamePagodaData)Deserialize(_buf map[string]interface{}) (err error) { func (_v *GamePagodaData)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["key"].(float64); !_ok_ { err = errors.New("key error"); return }; _v.Key = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["pagoda_type"].(float64); !_ok_ { err = errors.New("pagoda_type error"); return }; _v.PagodaType = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["Level_type"].(float64); !_ok_ { err = errors.New("Level_type error"); return }; _v.LevelType = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["Level_type"].(float64); !_ok_ { err = errors.New("Level_type error"); return }; _v.LevelType = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["layer_num"].(float64); !_ok_ { err = errors.New("layer_num error"); return }; _v.LayerNum = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["layer_num"].(float64); !_ok_ { err = errors.New("layer_num error"); return }; _v.LayerNum = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["tab"].(float64); !_ok_ { err = errors.New("tab error"); return }; _v.Tab = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["tab"].(float64); !_ok_ { err = errors.New("tab error"); return }; _v.Tab = int32(_tempNum_) }