This commit is contained in:
meixiongfeng 2024-01-05 18:44:33 +08:00
commit c6caa9ff58
49 changed files with 2235 additions and 606 deletions

View File

@ -99,10 +99,7 @@
"key": 7, "key": 7,
"color": 1, "color": 1,
"excolor": 7, "excolor": 7,
"direction": [ "direction": [],
3,
4
],
"belongto": 1, "belongto": 1,
"open": 2, "open": 2,
"icon": "sx_sjt_dhs", "icon": "sx_sjt_dhs",
@ -118,10 +115,7 @@
"key": 8, "key": 8,
"color": 1, "color": 1,
"excolor": 7, "excolor": 7,
"direction": [ "direction": [],
1,
2
],
"belongto": 1, "belongto": 1,
"open": 3, "open": 3,
"icon": "sx_hjt_dhs", "icon": "sx_hjt_dhs",
@ -137,10 +131,7 @@
"key": 9, "key": 9,
"color": 2, "color": 2,
"excolor": 7, "excolor": 7,
"direction": [ "direction": [],
3,
4
],
"belongto": 1, "belongto": 1,
"open": 4, "open": 4,
"icon": "sx_sjt_ls", "icon": "sx_sjt_ls",
@ -156,10 +147,7 @@
"key": 10, "key": 10,
"color": 2, "color": 2,
"excolor": 7, "excolor": 7,
"direction": [ "direction": [],
1,
2
],
"belongto": 1, "belongto": 1,
"open": 5, "open": 5,
"icon": "sx_hjt_ls", "icon": "sx_hjt_ls",
@ -175,10 +163,7 @@
"key": 11, "key": 11,
"color": 3, "color": 3,
"excolor": 7, "excolor": 7,
"direction": [ "direction": [],
3,
4
],
"belongto": 1, "belongto": 1,
"open": 6, "open": 6,
"icon": "sx_sjt_lvs", "icon": "sx_sjt_lvs",
@ -194,10 +179,7 @@
"key": 12, "key": 12,
"color": 3, "color": 3,
"excolor": 7, "excolor": 7,
"direction": [ "direction": [],
1,
2
],
"belongto": 1, "belongto": 1,
"open": 7, "open": 7,
"icon": "sx_hjt_lvs", "icon": "sx_hjt_lvs",
@ -213,10 +195,7 @@
"key": 13, "key": 13,
"color": 4, "color": 4,
"excolor": 7, "excolor": 7,
"direction": [ "direction": [],
3,
4
],
"belongto": 1, "belongto": 1,
"open": 8, "open": 8,
"icon": "sx_sjt_zs", "icon": "sx_sjt_zs",
@ -232,10 +211,7 @@
"key": 14, "key": 14,
"color": 4, "color": 4,
"excolor": 7, "excolor": 7,
"direction": [ "direction": [],
1,
2
],
"belongto": 1, "belongto": 1,
"open": 9, "open": 9,
"icon": "sx_hjt_zs", "icon": "sx_hjt_zs",
@ -251,10 +227,7 @@
"key": 15, "key": 15,
"color": 5, "color": 5,
"excolor": 7, "excolor": 7,
"direction": [ "direction": [],
3,
4
],
"belongto": 1, "belongto": 1,
"open": 10, "open": 10,
"icon": "sx_sjt_hs", "icon": "sx_sjt_hs",
@ -270,10 +243,7 @@
"key": 16, "key": 16,
"color": 5, "color": 5,
"excolor": 7, "excolor": 7,
"direction": [ "direction": [],
1,
2
],
"belongto": 1, "belongto": 1,
"open": 11, "open": 11,
"icon": "sx_hjt_hs", "icon": "sx_hjt_hs",
@ -289,10 +259,7 @@
"key": 17, "key": 17,
"color": 6, "color": 6,
"excolor": 7, "excolor": 7,
"direction": [ "direction": [],
3,
4
],
"belongto": 1, "belongto": 1,
"open": 12, "open": 12,
"icon": "sx_sjt_fhs", "icon": "sx_sjt_fhs",
@ -308,10 +275,7 @@
"key": 18, "key": 18,
"color": 6, "color": 6,
"excolor": 7, "excolor": 7,
"direction": [ "direction": [],
1,
2
],
"belongto": 1, "belongto": 1,
"open": 13, "open": 13,
"icon": "sx_hjt_fhs", "icon": "sx_hjt_fhs",
@ -535,15 +499,13 @@
"key": 32, "key": 32,
"color": 1, "color": 1,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
3
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_syh_dhs", "icon": "sx_syh_dhs",
"icon2": "sx_syh_ls", "icon2": "sx_syh_ls",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_dhs", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_dhs", "pointeffect": "effect_sx_liuguang_dhs",
"score": 1, "score": 1,
"type": 5, "type": 5,
@ -553,15 +515,13 @@
"key": 33, "key": 33,
"color": 1, "color": 1,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
4
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_xyh_dhs", "icon": "sx_xyh_dhs",
"icon2": "sx_xyh_ls", "icon2": "sx_xyh_ls",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_dhs", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_dhs", "pointeffect": "effect_sx_liuguang_dhs",
"score": 1, "score": 1,
"type": 6, "type": 6,
@ -571,15 +531,13 @@
"key": 34, "key": 34,
"color": 1, "color": 1,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
1
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_zyh_dhs", "icon": "sx_zyh_dhs",
"icon2": "sx_zyh_ls", "icon2": "sx_zyh_ls",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_dhs", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_dhs", "pointeffect": "effect_sx_liuguang_dhs",
"score": 1, "score": 1,
"type": 7, "type": 7,
@ -589,15 +547,13 @@
"key": 35, "key": 35,
"color": 1, "color": 1,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
2
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_yyh_dhs", "icon": "sx_yyh_dhs",
"icon2": "sx_yyh_ls", "icon2": "sx_yyh_ls",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_dhs", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_dhs", "pointeffect": "effect_sx_liuguang_dhs",
"score": 1, "score": 1,
"type": 8, "type": 8,
@ -607,15 +563,13 @@
"key": 36, "key": 36,
"color": 2, "color": 2,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
3
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_syh_ls", "icon": "sx_syh_ls",
"icon2": "sx_syh_dhs", "icon2": "sx_syh_dhs",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_ls", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_ls", "pointeffect": "effect_sx_liuguang_ls",
"score": 1, "score": 1,
"type": 5, "type": 5,
@ -625,15 +579,13 @@
"key": 37, "key": 37,
"color": 2, "color": 2,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
4
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_xyh_ls", "icon": "sx_xyh_ls",
"icon2": "sx_xyh_dhs", "icon2": "sx_xyh_dhs",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_ls", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_ls", "pointeffect": "effect_sx_liuguang_ls",
"score": 1, "score": 1,
"type": 6, "type": 6,
@ -643,15 +595,13 @@
"key": 38, "key": 38,
"color": 2, "color": 2,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
1
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_zyh_ls", "icon": "sx_zyh_ls",
"icon2": "sx_zyh_dhs", "icon2": "sx_zyh_dhs",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_ls", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_ls", "pointeffect": "effect_sx_liuguang_ls",
"score": 1, "score": 1,
"type": 7, "type": 7,
@ -661,15 +611,13 @@
"key": 39, "key": 39,
"color": 2, "color": 2,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
2
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_yyh_ls", "icon": "sx_yyh_ls",
"icon2": "sx_yyh_dhs", "icon2": "sx_yyh_dhs",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_ls", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_ls", "pointeffect": "effect_sx_liuguang_ls",
"score": 1, "score": 1,
"type": 8, "type": 8,
@ -679,15 +627,13 @@
"key": 40, "key": 40,
"color": 3, "color": 3,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
3
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_syh_lvs", "icon": "sx_syh_lvs",
"icon2": "sx_syh_lvs", "icon2": "sx_syh_lvs",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_lvs", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_lvs", "pointeffect": "effect_sx_liuguang_lvs",
"score": 1, "score": 1,
"type": 5, "type": 5,
@ -697,15 +643,13 @@
"key": 41, "key": 41,
"color": 3, "color": 3,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
4
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_xyh_lvs", "icon": "sx_xyh_lvs",
"icon2": "sx_xyh_lvs", "icon2": "sx_xyh_lvs",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_lvs", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_lvs", "pointeffect": "effect_sx_liuguang_lvs",
"score": 1, "score": 1,
"type": 6, "type": 6,
@ -715,15 +659,13 @@
"key": 42, "key": 42,
"color": 3, "color": 3,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
1
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_zyh_lvs", "icon": "sx_zyh_lvs",
"icon2": "sx_zyh_lvs", "icon2": "sx_zyh_lvs",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_lvs", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_lvs", "pointeffect": "effect_sx_liuguang_lvs",
"score": 1, "score": 1,
"type": 7, "type": 7,
@ -733,15 +675,13 @@
"key": 43, "key": 43,
"color": 3, "color": 3,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
2
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_yyh_lvs", "icon": "sx_yyh_lvs",
"icon2": "sx_yyh_lvs", "icon2": "sx_yyh_lvs",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_lvs", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_lvs", "pointeffect": "effect_sx_liuguang_lvs",
"score": 1, "score": 1,
"type": 8, "type": 8,
@ -751,15 +691,13 @@
"key": 44, "key": 44,
"color": 4, "color": 4,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
3
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_syh_zs", "icon": "sx_syh_zs",
"icon2": "sx_syh_zs", "icon2": "sx_syh_zs",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_zs", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_zs", "pointeffect": "effect_sx_liuguang_zs",
"score": 1, "score": 1,
"type": 5, "type": 5,
@ -769,15 +707,13 @@
"key": 45, "key": 45,
"color": 4, "color": 4,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
4
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_xyh_zs", "icon": "sx_xyh_zs",
"icon2": "sx_xyh_zs", "icon2": "sx_xyh_zs",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_zs", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_zs", "pointeffect": "effect_sx_liuguang_zs",
"score": 1, "score": 1,
"type": 6, "type": 6,
@ -787,15 +723,13 @@
"key": 46, "key": 46,
"color": 4, "color": 4,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
1
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_zyh_zs", "icon": "sx_zyh_zs",
"icon2": "sx_zyh_zs", "icon2": "sx_zyh_zs",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_zs", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_zs", "pointeffect": "effect_sx_liuguang_zs",
"score": 1, "score": 1,
"type": 7, "type": 7,
@ -805,15 +739,13 @@
"key": 47, "key": 47,
"color": 4, "color": 4,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
2
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_yyh_zs", "icon": "sx_yyh_zs",
"icon2": "sx_yyh_zs", "icon2": "sx_yyh_zs",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_zs", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_zs", "pointeffect": "effect_sx_liuguang_zs",
"score": 1, "score": 1,
"type": 8, "type": 8,
@ -823,9 +755,7 @@
"key": 48, "key": 48,
"color": 5, "color": 5,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
3
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_syh_hs", "icon": "sx_syh_hs",
@ -841,9 +771,7 @@
"key": 49, "key": 49,
"color": 5, "color": 5,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
4
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_xyh_hs", "icon": "sx_xyh_hs",
@ -859,9 +787,7 @@
"key": 50, "key": 50,
"color": 5, "color": 5,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
1
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_zyh_hs", "icon": "sx_zyh_hs",
@ -877,9 +803,7 @@
"key": 51, "key": 51,
"color": 5, "color": 5,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
2
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_yyh_hs", "icon": "sx_yyh_hs",
@ -895,15 +819,13 @@
"key": 52, "key": 52,
"color": 6, "color": 6,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
3
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_syh_fhs", "icon": "sx_syh_fhs",
"icon2": "sx_syh_fhs", "icon2": "sx_syh_fhs",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_fhs", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_fhs", "pointeffect": "effect_sx_liuguang_fhs",
"score": 1, "score": 1,
"type": 5, "type": 5,
@ -913,15 +835,13 @@
"key": 53, "key": 53,
"color": 6, "color": 6,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
4
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_xyh_fhs", "icon": "sx_xyh_fhs",
"icon2": "sx_xyh_fhs", "icon2": "sx_xyh_fhs",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_fhs", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_fhs", "pointeffect": "effect_sx_liuguang_fhs",
"score": 1, "score": 1,
"type": 6, "type": 6,
@ -931,15 +851,13 @@
"key": 54, "key": 54,
"color": 6, "color": 6,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
1
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_zyh_fhs", "icon": "sx_zyh_fhs",
"icon2": "sx_zyh_fhs", "icon2": "sx_zyh_fhs",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_fhs", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_fhs", "pointeffect": "effect_sx_liuguang_fhs",
"score": 1, "score": 1,
"type": 7, "type": 7,
@ -949,15 +867,13 @@
"key": 55, "key": 55,
"color": 6, "color": 6,
"excolor": 11, "excolor": 11,
"direction": [ "direction": [],
2
],
"belongto": 4, "belongto": 4,
"open": 1, "open": 1,
"icon": "sx_yyh_fhs", "icon": "sx_yyh_fhs",
"icon2": "sx_yyh_fhs", "icon2": "sx_yyh_fhs",
"weight": 1000, "weight": 1000,
"effect": "effect_sx_yanhuo_fhs", "effect": "effect_sx_yanhuo_hs",
"pointeffect": "effect_sx_liuguang_fhs", "pointeffect": "effect_sx_liuguang_fhs",
"score": 1, "score": 1,
"type": 8, "type": 8,

View File

@ -461,7 +461,7 @@
"keyint": 18, "keyint": 18,
"name": { "name": {
"key": "item_coin_name_18", "key": "item_coin_name_18",
"text": "三消玩法币" "text": "王国货币"
}, },
"hold": 1, "hold": 1,
"color": 4, "color": 4,
@ -469,7 +469,7 @@
"access": [ "access": [
158 158
], ],
"img": "wp_icon_10024", "img": "attr_sxmoney",
"intr": { "intr": {
"key": "item_coin_intr_18", "key": "item_coin_intr_18",
"text": "用于在三消玩法内消耗的货币" "text": "用于在三消玩法内消耗的货币"
@ -488,7 +488,7 @@
"keyint": 19, "keyint": 19,
"name": { "name": {
"key": "item_coin_name_19", "key": "item_coin_name_19",
"text": "三消玩法积分" "text": "知名度"
}, },
"hold": 1, "hold": 1,
"color": 5, "color": 5,
@ -496,7 +496,7 @@
"access": [ "access": [
158 158
], ],
"img": "wp_icon_10021", "img": "attr_sxintegral",
"intr": { "intr": {
"key": "item_coin_intr_19", "key": "item_coin_intr_19",
"text": "三消的积分道具,增加可以获得进度奖励" "text": "三消的积分道具,增加可以获得进度奖励"

View File

@ -838,5 +838,15 @@
}, },
"data": "3", "data": "3",
"prefix": "bingo:moonlv,{0}" "prefix": "bingo:moonlv,{0}"
},
{
"id": 85,
"type": 2,
"text": {
"key": "GM_GM_text_132",
"text": "开始一段剧情"
},
"data": "剧情组id",
"prefix": ""
} }
] ]

View File

@ -21,7 +21,7 @@
}, },
"bg": "hl_img_bg", "bg": "hl_img_bg",
"icon": "hkz_wftj_sl02", "icon": "hkz_wftj_sl02",
"bossIcon": "sl_rk_boss04" "bossIcon": "gl_img_55002"
}, },
{ {
"type": 2, "type": 2,
@ -45,7 +45,7 @@
}, },
"bg": "fb_pt_hl", "bg": "fb_pt_hl",
"icon": "hkz_wftj_sl04", "icon": "hkz_wftj_sl04",
"bossIcon": "sl_rk_boss02" "bossIcon": "gl_img_55001"
}, },
{ {
"type": 3, "type": 3,
@ -69,7 +69,7 @@
}, },
"bg": "fb_pt_dc", "bg": "fb_pt_dc",
"icon": "hkz_wftj_sl01", "icon": "hkz_wftj_sl01",
"bossIcon": "sl_rk_boss01" "bossIcon": "gl_img_55004"
}, },
{ {
"type": 4, "type": 4,
@ -93,6 +93,6 @@
}, },
"bg": "fb_pt_tkhx", "bg": "fb_pt_tkhx",
"icon": "hkz_wftj_sl03", "icon": "hkz_wftj_sl03",
"bossIcon": "sl_rk_boss03" "bossIcon": "gl_img_55003"
} }
] ]

View File

@ -21503,7 +21503,7 @@
"text": "石阵旁的藏宝图" "text": "石阵旁的藏宝图"
}, },
"usetype": 0, "usetype": 0,
"color": 0, "color": 1,
"bagtype": 0, "bagtype": 0,
"index": 0, "index": 0,
"special_type": 0, "special_type": 0,
@ -21544,7 +21544,7 @@
"text": "捉虫子游玩次数" "text": "捉虫子游玩次数"
}, },
"usetype": 0, "usetype": 0,
"color": 0, "color": 1,
"bagtype": 0, "bagtype": 0,
"index": 0, "index": 0,
"special_type": 0, "special_type": 0,

File diff suppressed because it is too large Load Diff

View File

@ -5,8 +5,20 @@
"editionid": "debug", "editionid": "debug",
"monetaryunit": "¥", "monetaryunit": "¥",
"amount": 600, "amount": 600,
"vipexp": [], "vipexp": [
"diamond_num_double": [], {
"a": "attr",
"t": "diamond",
"n": 120
}
],
"diamond_num_double": [
{
"a": "attr",
"t": "diamond",
"n": 120
}
],
"channel": "0", "channel": "0",
"text": "0", "text": "0",
"show": "6元", "show": "6元",
@ -19,8 +31,20 @@
"editionid": "debug", "editionid": "debug",
"monetaryunit": "¥", "monetaryunit": "¥",
"amount": 3000, "amount": 3000,
"vipexp": [], "vipexp": [
"diamond_num_double": [], {
"a": "attr",
"t": "diamond",
"n": 600
}
],
"diamond_num_double": [
{
"a": "attr",
"t": "diamond",
"n": 600
}
],
"channel": "0", "channel": "0",
"text": "0", "text": "0",
"show": "30元", "show": "30元",
@ -33,8 +57,20 @@
"editionid": "debug", "editionid": "debug",
"monetaryunit": "¥", "monetaryunit": "¥",
"amount": 6800, "amount": 6800,
"vipexp": [], "vipexp": [
"diamond_num_double": [], {
"a": "attr",
"t": "diamond",
"n": 1360
}
],
"diamond_num_double": [
{
"a": "attr",
"t": "diamond",
"n": 1360
}
],
"channel": "0", "channel": "0",
"text": "0", "text": "0",
"show": "68元", "show": "68元",
@ -47,8 +83,20 @@
"editionid": "debug", "editionid": "debug",
"monetaryunit": "¥", "monetaryunit": "¥",
"amount": 9800, "amount": 9800,
"vipexp": [], "vipexp": [
"diamond_num_double": [], {
"a": "attr",
"t": "diamond",
"n": 1960
}
],
"diamond_num_double": [
{
"a": "attr",
"t": "diamond",
"n": 1960
}
],
"channel": "0", "channel": "0",
"text": "0", "text": "0",
"show": "98元", "show": "98元",
@ -61,8 +109,20 @@
"editionid": "debug", "editionid": "debug",
"monetaryunit": "¥", "monetaryunit": "¥",
"amount": 12800, "amount": 12800,
"vipexp": [], "vipexp": [
"diamond_num_double": [], {
"a": "attr",
"t": "diamond",
"n": 2560
}
],
"diamond_num_double": [
{
"a": "attr",
"t": "diamond",
"n": 2560
}
],
"channel": "0", "channel": "0",
"text": "0", "text": "0",
"show": "128元", "show": "128元",
@ -75,8 +135,20 @@
"editionid": "debug", "editionid": "debug",
"monetaryunit": "¥", "monetaryunit": "¥",
"amount": 19800, "amount": 19800,
"vipexp": [], "vipexp": [
"diamond_num_double": [], {
"a": "attr",
"t": "diamond",
"n": 3960
}
],
"diamond_num_double": [
{
"a": "attr",
"t": "diamond",
"n": 3960
}
],
"channel": "0", "channel": "0",
"text": "0", "text": "0",
"show": "198元", "show": "198元",
@ -89,8 +161,20 @@
"editionid": "debug", "editionid": "debug",
"monetaryunit": "¥", "monetaryunit": "¥",
"amount": 32800, "amount": 32800,
"vipexp": [], "vipexp": [
"diamond_num_double": [], {
"a": "attr",
"t": "diamond",
"n": 6560
}
],
"diamond_num_double": [
{
"a": "attr",
"t": "diamond",
"n": 6560
}
],
"channel": "0", "channel": "0",
"text": "0", "text": "0",
"show": "328元", "show": "328元",
@ -103,8 +187,20 @@
"editionid": "debug", "editionid": "debug",
"monetaryunit": "¥", "monetaryunit": "¥",
"amount": 64800, "amount": 64800,
"vipexp": [], "vipexp": [
"diamond_num_double": [], {
"a": "attr",
"t": "diamond",
"n": 12960
}
],
"diamond_num_double": [
{
"a": "attr",
"t": "diamond",
"n": 12960
}
],
"channel": "0", "channel": "0",
"text": "0", "text": "0",
"show": "648元", "show": "648元",

View File

@ -4,329 +4,329 @@
"type": 2, "type": 2,
"unlock": 5, "unlock": 5,
"group": 22002001, "group": 22002001,
"position": 1 "position": 0
}, },
{ {
"id": 200002, "id": 200002,
"type": 2, "type": 2,
"unlock": 10, "unlock": 10,
"group": 22002002, "group": 22002002,
"position": 2 "position": 0
}, },
{ {
"id": 200003, "id": 200003,
"type": 2, "type": 2,
"unlock": 15, "unlock": 15,
"group": 22002002, "group": 22002002,
"position": 3 "position": 0
}, },
{ {
"id": 200004, "id": 200004,
"type": 2, "type": 2,
"unlock": 20, "unlock": 20,
"group": 22002002, "group": 22002002,
"position": 4 "position": 0
}, },
{ {
"id": 200005, "id": 200005,
"type": 2, "type": 2,
"unlock": 25, "unlock": 25,
"group": 22002002, "group": 22002002,
"position": 5 "position": 0
}, },
{ {
"id": 200006, "id": 200006,
"type": 2, "type": 2,
"unlock": 30, "unlock": 30,
"group": 22002002, "group": 22002002,
"position": 6 "position": 0
}, },
{ {
"id": 200007, "id": 200007,
"type": 2, "type": 2,
"unlock": 35, "unlock": 35,
"group": 22002002, "group": 22002002,
"position": 7 "position": 0
}, },
{ {
"id": 200008, "id": 200008,
"type": 2, "type": 2,
"unlock": 40, "unlock": 40,
"group": 22002002, "group": 22002002,
"position": 8 "position": 0
}, },
{ {
"id": 200009, "id": 200009,
"type": 2, "type": 2,
"unlock": 45, "unlock": 45,
"group": 22002002, "group": 22002002,
"position": 9 "position": 0
}, },
{ {
"id": 200010, "id": 200010,
"type": 2, "type": 2,
"unlock": 50, "unlock": 50,
"group": 22002002, "group": 22002002,
"position": 10 "position": 0
}, },
{ {
"id": 200011, "id": 200011,
"type": 2, "type": 2,
"unlock": 55, "unlock": 55,
"group": 22002002, "group": 22002002,
"position": 11 "position": 0
}, },
{ {
"id": 200013, "id": 200013,
"type": 3, "type": 3,
"unlock": 1, "unlock": 1,
"group": 19100004, "group": 19100004,
"position": 1 "position": 0
}, },
{ {
"id": 200014, "id": 200014,
"type": 3, "type": 3,
"unlock": 2, "unlock": 2,
"group": 19100004, "group": 19100004,
"position": 2 "position": 0
}, },
{ {
"id": 200015, "id": 200015,
"type": 3, "type": 3,
"unlock": 3, "unlock": 3,
"group": 19100004, "group": 19100004,
"position": 3 "position": 0
}, },
{ {
"id": 200016, "id": 200016,
"type": 3, "type": 3,
"unlock": 4, "unlock": 4,
"group": 19100004, "group": 19100004,
"position": 4 "position": 0
}, },
{ {
"id": 200017, "id": 200017,
"type": 3, "type": 3,
"unlock": 5, "unlock": 5,
"group": 19100004, "group": 19100004,
"position": 5 "position": 0
}, },
{ {
"id": 200018, "id": 200018,
"type": 3, "type": 3,
"unlock": 6, "unlock": 6,
"group": 19100004, "group": 19100004,
"position": 6 "position": 0
}, },
{ {
"id": 200019, "id": 200019,
"type": 3, "type": 3,
"unlock": 7, "unlock": 7,
"group": 19100004, "group": 19100004,
"position": 7 "position": 0
}, },
{ {
"id": 200020, "id": 200020,
"type": 3, "type": 3,
"unlock": 8, "unlock": 8,
"group": 19100004, "group": 19100004,
"position": 8 "position": 0
}, },
{ {
"id": 200021, "id": 200021,
"type": 3, "type": 3,
"unlock": 9, "unlock": 9,
"group": 19100004, "group": 19100004,
"position": 9 "position": 0
}, },
{ {
"id": 200022, "id": 200022,
"type": 3, "type": 3,
"unlock": 10, "unlock": 10,
"group": 19100004, "group": 19100004,
"position": 10 "position": 0
}, },
{ {
"id": 200023, "id": 200023,
"type": 3, "type": 3,
"unlock": 11, "unlock": 11,
"group": 19100004, "group": 19100004,
"position": 11 "position": 0
}, },
{ {
"id": 200024, "id": 200024,
"type": 3, "type": 3,
"unlock": 12, "unlock": 12,
"group": 19100004, "group": 19100004,
"position": 12 "position": 0
}, },
{ {
"id": 200025, "id": 200025,
"type": 4, "type": 4,
"unlock": 1, "unlock": 1,
"group": 19100004, "group": 19100004,
"position": 1 "position": 0
}, },
{ {
"id": 200026, "id": 200026,
"type": 4, "type": 4,
"unlock": 2, "unlock": 2,
"group": 19100004, "group": 19100004,
"position": 2 "position": 0
}, },
{ {
"id": 200027, "id": 200027,
"type": 4, "type": 4,
"unlock": 3, "unlock": 3,
"group": 19100004, "group": 19100004,
"position": 3 "position": 0
}, },
{ {
"id": 200028, "id": 200028,
"type": 4, "type": 4,
"unlock": 4, "unlock": 4,
"group": 19100004, "group": 19100004,
"position": 4 "position": 0
}, },
{ {
"id": 200029, "id": 200029,
"type": 4, "type": 4,
"unlock": 5, "unlock": 5,
"group": 19100004, "group": 19100004,
"position": 5 "position": 0
}, },
{ {
"id": 200030, "id": 200030,
"type": 4, "type": 4,
"unlock": 6, "unlock": 6,
"group": 19100004, "group": 19100004,
"position": 6 "position": 0
}, },
{ {
"id": 200031, "id": 200031,
"type": 4, "type": 4,
"unlock": 7, "unlock": 7,
"group": 19100004, "group": 19100004,
"position": 7 "position": 0
}, },
{ {
"id": 200032, "id": 200032,
"type": 4, "type": 4,
"unlock": 8, "unlock": 8,
"group": 19100004, "group": 19100004,
"position": 8 "position": 0
}, },
{ {
"id": 200033, "id": 200033,
"type": 4, "type": 4,
"unlock": 9, "unlock": 9,
"group": 19100004, "group": 19100004,
"position": 9 "position": 0
}, },
{ {
"id": 200034, "id": 200034,
"type": 4, "type": 4,
"unlock": 10, "unlock": 10,
"group": 19100004, "group": 19100004,
"position": 10 "position": 0
}, },
{ {
"id": 200035, "id": 200035,
"type": 4, "type": 4,
"unlock": 11, "unlock": 11,
"group": 19100004, "group": 19100004,
"position": 11 "position": 0
}, },
{ {
"id": 200036, "id": 200036,
"type": 4, "type": 4,
"unlock": 12, "unlock": 12,
"group": 19100004, "group": 19100004,
"position": 12 "position": 0
}, },
{ {
"id": 200037, "id": 200037,
"type": 5, "type": 5,
"unlock": 1, "unlock": 1,
"group": 19100004, "group": 19100004,
"position": 1 "position": 0
}, },
{ {
"id": 200038, "id": 200038,
"type": 5, "type": 5,
"unlock": 2, "unlock": 2,
"group": 19100004, "group": 19100004,
"position": 2 "position": 0
}, },
{ {
"id": 200039, "id": 200039,
"type": 5, "type": 5,
"unlock": 3, "unlock": 3,
"group": 19100004, "group": 19100004,
"position": 3 "position": 0
}, },
{ {
"id": 200040, "id": 200040,
"type": 5, "type": 5,
"unlock": 4, "unlock": 4,
"group": 19100004, "group": 19100004,
"position": 4 "position": 0
}, },
{ {
"id": 200041, "id": 200041,
"type": 5, "type": 5,
"unlock": 5, "unlock": 5,
"group": 19100004, "group": 19100004,
"position": 5 "position": 0
}, },
{ {
"id": 200042, "id": 200042,
"type": 5, "type": 5,
"unlock": 6, "unlock": 6,
"group": 19100004, "group": 19100004,
"position": 6 "position": 0
}, },
{ {
"id": 200043, "id": 200043,
"type": 5, "type": 5,
"unlock": 7, "unlock": 7,
"group": 19100004, "group": 19100004,
"position": 7 "position": 0
}, },
{ {
"id": 200044, "id": 200044,
"type": 5, "type": 5,
"unlock": 8, "unlock": 8,
"group": 19100004, "group": 19100004,
"position": 8 "position": 0
}, },
{ {
"id": 200045, "id": 200045,
"type": 5, "type": 5,
"unlock": 9, "unlock": 9,
"group": 19100004, "group": 19100004,
"position": 9 "position": 0
}, },
{ {
"id": 200046, "id": 200046,
"type": 5, "type": 5,
"unlock": 10, "unlock": 10,
"group": 19100004, "group": 19100004,
"position": 10 "position": 0
}, },
{ {
"id": 200047, "id": 200047,
"type": 5, "type": 5,
"unlock": 11, "unlock": 11,
"group": 19100004, "group": 19100004,
"position": 11 "position": 0
}, },
{ {
"id": 200048, "id": 200048,
"type": 5, "type": 5,
"unlock": 12, "unlock": 12,
"group": 19100004, "group": 19100004,
"position": 12 "position": 0
}, },
{ {
"id": 300001, "id": 300001,

View File

@ -57072,7 +57072,7 @@
"key": "skill_skill_atk_Name_151054111", "key": "skill_skill_atk_Name_151054111",
"text": "三连电击" "text": "三连电击"
}, },
"ico": "jn_53003_2", "ico": "jn_51054_1",
"CorrectPos": 0, "CorrectPos": 0,
"IsMelee": 1, "IsMelee": 1,
"act": "Skill_1", "act": "Skill_1",
@ -57105,7 +57105,7 @@
"key": "skill_skill_atk_Name_151054211", "key": "skill_skill_atk_Name_151054211",
"text": "电光笼罩" "text": "电光笼罩"
}, },
"ico": "jn_53003_3", "ico": "jn_51054_2",
"CorrectPos": 0, "CorrectPos": 0,
"IsMelee": 0, "IsMelee": 0,
"act": "Skill_2", "act": "Skill_2",
@ -59146,7 +59146,7 @@
"key": "skill_skill_atk_Name_151056111", "key": "skill_skill_atk_Name_151056111",
"text": "鼠眩" "text": "鼠眩"
}, },
"ico": "jn_24007_1", "ico": "jn_51056_1",
"CorrectPos": 0, "CorrectPos": 0,
"IsMelee": 0, "IsMelee": 0,
"act": "Skill_1", "act": "Skill_1",
@ -59179,7 +59179,7 @@
"key": "skill_skill_atk_Name_151056211", "key": "skill_skill_atk_Name_151056211",
"text": "加速鼠窜" "text": "加速鼠窜"
}, },
"ico": "jn_24007_2", "ico": "jn_51056_2",
"CorrectPos": 0, "CorrectPos": 0,
"IsMelee": 0, "IsMelee": 0,
"act": "Skill_2", "act": "Skill_2",
@ -59212,7 +59212,7 @@
"key": "skill_skill_atk_Name_151057111", "key": "skill_skill_atk_Name_151057111",
"text": "层层电刑" "text": "层层电刑"
}, },
"ico": "jn_51006_2", "ico": "jn_51057_1",
"CorrectPos": 0, "CorrectPos": 0,
"IsMelee": 0, "IsMelee": 0,
"act": "Skill_1", "act": "Skill_1",
@ -59245,7 +59245,7 @@
"key": "skill_skill_atk_Name_151057211", "key": "skill_skill_atk_Name_151057211",
"text": "百万伏特" "text": "百万伏特"
}, },
"ico": "jn_51006_3", "ico": "jn_51057_2",
"CorrectPos": 0, "CorrectPos": 0,
"IsMelee": 1, "IsMelee": 1,
"act": "Skill_3", "act": "Skill_3",

362
bin/json/game_tdcard.json Normal file
View File

@ -0,0 +1,362 @@
[
{
"eventid": 1001001,
"type": 1,
"preevent": 0,
"andcondition": [
0
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 1001002,
"type": 1,
"preevent": 1001001,
"andcondition": [
0
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 1001003,
"type": 1,
"preevent": 1001002,
"andcondition": [
0
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 1001004,
"type": 1,
"preevent": 1001003,
"andcondition": [
0
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 1002001,
"type": 1,
"preevent": 0,
"andcondition": [
1
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 1002002,
"type": 1,
"preevent": 1002001,
"andcondition": [
1
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 1002003,
"type": 1,
"preevent": 1002002,
"andcondition": [
1
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 1002004,
"type": 1,
"preevent": 1002003,
"andcondition": [
1
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 1003001,
"type": 1,
"preevent": 0,
"andcondition": [
2
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 1003002,
"type": 1,
"preevent": 1003001,
"andcondition": [
2
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 1003003,
"type": 1,
"preevent": 1003002,
"andcondition": [
2
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 1003004,
"type": 1,
"preevent": 1003003,
"andcondition": [
2
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 2001,
"type": 2,
"preevent": 0,
"andcondition": [],
"must": 0,
"maxnum": 5,
"weight": 50
},
{
"eventid": 2002,
"type": 2,
"preevent": 0,
"andcondition": [],
"must": 0,
"maxnum": 5,
"weight": 50
},
{
"eventid": 2003,
"type": 2,
"preevent": 0,
"andcondition": [],
"must": 0,
"maxnum": 5,
"weight": 50
},
{
"eventid": 2001001,
"type": 3,
"preevent": 0,
"andcondition": [
11001
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 2001002,
"type": 3,
"preevent": 0,
"andcondition": [
11001
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 2001003,
"type": 3,
"preevent": 0,
"andcondition": [
11001
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 2001004,
"type": 3,
"preevent": 0,
"andcondition": [
11001
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 2001005,
"type": 3,
"preevent": 0,
"andcondition": [
11001
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 2002001,
"type": 3,
"preevent": 0,
"andcondition": [
10000
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 2002002,
"type": 3,
"preevent": 0,
"andcondition": [
10000
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 2002003,
"type": 3,
"preevent": 0,
"andcondition": [
10000
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 2002004,
"type": 3,
"preevent": 0,
"andcondition": [
10000
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 2002005,
"type": 3,
"preevent": 0,
"andcondition": [
10000
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 2003001,
"type": 3,
"preevent": 0,
"andcondition": [
21001
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 2003002,
"type": 3,
"preevent": 0,
"andcondition": [
21001
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 2003003,
"type": 3,
"preevent": 0,
"andcondition": [
21001
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 2003004,
"type": 3,
"preevent": 0,
"andcondition": [
21001
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 2003005,
"type": 3,
"preevent": 0,
"andcondition": [
21001
],
"must": 0,
"maxnum": 1,
"weight": 50
},
{
"eventid": 3001,
"type": 4,
"preevent": 1001004,
"andcondition": [
5,
1
],
"must": 1,
"maxnum": 1,
"weight": 50
},
{
"eventid": 3002,
"type": 4,
"preevent": 1002004,
"andcondition": [
5,
1
],
"must": 1,
"maxnum": 1,
"weight": 50
},
{
"eventid": 3003,
"type": 4,
"preevent": 1003004,
"andcondition": [
5,
1
],
"must": 1,
"maxnum": 1,
"weight": 50
}
]

View File

@ -29,7 +29,6 @@
"height": 10, "height": 10,
"hp": 200, "hp": 200,
"atk": 100, "atk": 100,
"atk_speed1": 100,
"atk_speed": 8000, "atk_speed": 8000,
"atk_range": 0 "atk_range": 0
}, },
@ -63,7 +62,6 @@
"height": 10, "height": 10,
"hp": 200, "hp": 200,
"atk": 100, "atk": 100,
"atk_speed1": 100,
"atk_speed": 10000, "atk_speed": 10000,
"atk_range": 0 "atk_range": 0
}, },
@ -97,7 +95,6 @@
"height": 10, "height": 10,
"hp": 200, "hp": 200,
"atk": 100, "atk": 100,
"atk_speed1": 100,
"atk_speed": 10000, "atk_speed": 10000,
"atk_range": 0 "atk_range": 0
} }

View File

@ -1,110 +1,767 @@
[ [
{ {
"id": 1, "subwave": 1101,
"copy_id": 1, "wave": 1,
"num": 1, "monsternum": 80,
"time": 20, "subwavetime": 20,
"count": 300, "stagetype": 100,
"monster_id": 1011, "stageid": 1,
"hp_multiple": 1000 "monsterid": 25001,
"isboss": 0,
"trigger": 0,
"triggerval": 0,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
}, },
{ {
"id": 2, "subwave": 1102,
"copy_id": 1, "wave": 1,
"num": 2, "monsternum": 80,
"time": 20, "subwavetime": 30,
"count": 200, "stagetype": 100,
"monster_id": 1011, "stageid": 1,
"hp_multiple": 1000 "monsterid": 25001,
"isboss": 0,
"trigger": 3,
"triggerval": 1101,
"subtriggerval": 10,
"hpgrow": 1,
"atkgrow": 1
}, },
{ {
"id": 3, "subwave": 1103,
"copy_id": 1, "wave": 1,
"num": 2, "monsternum": 80,
"time": 20, "subwavetime": 40,
"count": 100, "stagetype": 100,
"monster_id": 1021, "stageid": 1,
"hp_multiple": 1000 "monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1102,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
}, },
{ {
"id": 4, "subwave": 1104,
"copy_id": 1, "wave": 1,
"num": 3, "monsternum": 80,
"time": 20, "subwavetime": 20,
"count": 200, "stagetype": 100,
"monster_id": 1011, "stageid": 1,
"hp_multiple": 1000 "monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1103,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
}, },
{ {
"id": 5, "subwave": 1105,
"copy_id": 1, "wave": 1,
"num": 3, "monsternum": 80,
"time": 20, "subwavetime": 30,
"count": 100, "stagetype": 100,
"monster_id": 1021, "stageid": 1,
"hp_multiple": 1000 "monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1104,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
}, },
{ {
"id": 6, "subwave": 1106,
"copy_id": 1, "wave": 1,
"num": 4, "monsternum": 80,
"time": 20, "subwavetime": 40,
"count": 300, "stagetype": 100,
"monster_id": 1011, "stageid": 1,
"hp_multiple": 1000 "monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1105,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
}, },
{ {
"id": 7, "subwave": 1107,
"copy_id": 1, "wave": 1,
"num": 4, "monsternum": 80,
"time": 20, "subwavetime": 20,
"count": 200, "stagetype": 100,
"monster_id": 1021, "stageid": 1,
"hp_multiple": 1000 "monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1106,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
}, },
{ {
"id": 8, "subwave": 1108,
"copy_id": 1, "wave": 1,
"num": 5, "monsternum": 80,
"time": 20, "subwavetime": 30,
"count": 300, "stagetype": 100,
"monster_id": 1011, "stageid": 1,
"hp_multiple": 1000 "monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1107,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
}, },
{ {
"id": 9, "subwave": 1109,
"copy_id": 1, "wave": 1,
"num": 5, "monsternum": 80,
"time": 20, "subwavetime": 40,
"count": 200, "stagetype": 100,
"monster_id": 1021, "stageid": 1,
"hp_multiple": 1000 "monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1108,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
}, },
{ {
"id": 10, "subwave": 1110,
"copy_id": 1, "wave": 1,
"num": 6, "monsternum": 80,
"time": 20, "subwavetime": 20,
"count": 500, "stagetype": 100,
"monster_id": 1011, "stageid": 1,
"hp_multiple": 1000 "monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1109,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
}, },
{ {
"id": 11, "subwave": 1111,
"copy_id": 1, "wave": 2,
"num": 6, "monsternum": 80,
"time": 20, "subwavetime": 30,
"count": 200, "stagetype": 100,
"monster_id": 1021, "stageid": 1,
"hp_multiple": 1000 "monsterid": 25001,
"isboss": 0,
"trigger": 1,
"triggerval": 1,
"subtriggerval": 0,
"hpgrow": 10,
"atkgrow": 1.2
}, },
{ {
"id": 12, "subwave": 1112,
"copy_id": 1, "wave": 2,
"num": 7, "monsternum": 80,
"time": 20, "subwavetime": 40,
"count": 200, "stagetype": 100,
"monster_id": 3011, "stageid": 1,
"hp_multiple": 1000 "monsterid": 25001,
"isboss": 0,
"trigger": 1,
"triggerval": 1,
"subtriggerval": 0,
"hpgrow": 10,
"atkgrow": 1.2
},
{
"subwave": 1113,
"wave": 2,
"monsternum": 80,
"subwavetime": 20,
"stagetype": 100,
"stageid": 1,
"monsterid": 25001,
"isboss": 0,
"trigger": 1,
"triggerval": 1,
"subtriggerval": 0,
"hpgrow": 10,
"atkgrow": 1.2
},
{
"subwave": 1114,
"wave": 2,
"monsternum": 80,
"subwavetime": 30,
"stagetype": 100,
"stageid": 1,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1113,
"subtriggerval": 0,
"hpgrow": 10,
"atkgrow": 1.2
},
{
"subwave": 1115,
"wave": 2,
"monsternum": 80,
"subwavetime": 40,
"stagetype": 100,
"stageid": 1,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1114,
"subtriggerval": 0,
"hpgrow": 50000000,
"atkgrow": 20000
},
{
"subwave": 1116,
"wave": 2,
"monsternum": 80,
"subwavetime": 20,
"stagetype": 100,
"stageid": 1,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1115,
"subtriggerval": 0,
"hpgrow": 50000000,
"atkgrow": 20000
},
{
"subwave": 1117,
"wave": 2,
"monsternum": 80,
"subwavetime": 30,
"stagetype": 100,
"stageid": 1,
"monsterid": 25001,
"isboss": 1,
"trigger": 2,
"triggerval": 1116,
"subtriggerval": 0,
"hpgrow": 50000000,
"atkgrow": 20000
},
{
"subwave": 1118,
"wave": 1,
"monsternum": 80,
"subwavetime": 40,
"stagetype": 100,
"stageid": 2,
"monsterid": 25001,
"isboss": 0,
"trigger": 0,
"triggerval": 0,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1119,
"wave": 1,
"monsternum": 80,
"subwavetime": 20,
"stagetype": 100,
"stageid": 2,
"monsterid": 25001,
"isboss": 0,
"trigger": 3,
"triggerval": 1101,
"subtriggerval": 10,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1120,
"wave": 1,
"monsternum": 80,
"subwavetime": 30,
"stagetype": 100,
"stageid": 2,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1119,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1121,
"wave": 1,
"monsternum": 80,
"subwavetime": 40,
"stagetype": 100,
"stageid": 2,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1120,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1122,
"wave": 1,
"monsternum": 80,
"subwavetime": 20,
"stagetype": 100,
"stageid": 2,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1121,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1123,
"wave": 1,
"monsternum": 80,
"subwavetime": 30,
"stagetype": 100,
"stageid": 2,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1122,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1124,
"wave": 1,
"monsternum": 80,
"subwavetime": 40,
"stagetype": 100,
"stageid": 2,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1123,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1125,
"wave": 1,
"monsternum": 80,
"subwavetime": 20,
"stagetype": 100,
"stageid": 2,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1124,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1126,
"wave": 1,
"monsternum": 80,
"subwavetime": 30,
"stagetype": 100,
"stageid": 2,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1125,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1127,
"wave": 1,
"monsternum": 80,
"subwavetime": 40,
"stagetype": 100,
"stageid": 2,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1126,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1128,
"wave": 2,
"monsternum": 80,
"subwavetime": 20,
"stagetype": 100,
"stageid": 2,
"monsterid": 25001,
"isboss": 0,
"trigger": 1,
"triggerval": 1,
"subtriggerval": 0,
"hpgrow": 10,
"atkgrow": 1.2
},
{
"subwave": 1129,
"wave": 2,
"monsternum": 80,
"subwavetime": 30,
"stagetype": 100,
"stageid": 2,
"monsterid": 25001,
"isboss": 0,
"trigger": 1,
"triggerval": 1,
"subtriggerval": 0,
"hpgrow": 10,
"atkgrow": 1.2
},
{
"subwave": 1130,
"wave": 2,
"monsternum": 80,
"subwavetime": 40,
"stagetype": 100,
"stageid": 2,
"monsterid": 25001,
"isboss": 0,
"trigger": 1,
"triggerval": 1,
"subtriggerval": 0,
"hpgrow": 10,
"atkgrow": 1.2
},
{
"subwave": 1131,
"wave": 2,
"monsternum": 80,
"subwavetime": 20,
"stagetype": 100,
"stageid": 2,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1130,
"subtriggerval": 0,
"hpgrow": 10,
"atkgrow": 1.2
},
{
"subwave": 1132,
"wave": 2,
"monsternum": 80,
"subwavetime": 30,
"stagetype": 100,
"stageid": 2,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1131,
"subtriggerval": 0,
"hpgrow": 50000000,
"atkgrow": 20000
},
{
"subwave": 1133,
"wave": 2,
"monsternum": 80,
"subwavetime": 40,
"stagetype": 100,
"stageid": 2,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1132,
"subtriggerval": 0,
"hpgrow": 50000000,
"atkgrow": 20000
},
{
"subwave": 1134,
"wave": 2,
"monsternum": 80,
"subwavetime": 20,
"stagetype": 100,
"stageid": 2,
"monsterid": 25001,
"isboss": 1,
"trigger": 2,
"triggerval": 1133,
"subtriggerval": 0,
"hpgrow": 50000000,
"atkgrow": 20000
},
{
"subwave": 1135,
"wave": 1,
"monsternum": 80,
"subwavetime": 30,
"stagetype": 100,
"stageid": 3,
"monsterid": 25001,
"isboss": 0,
"trigger": 0,
"triggerval": 0,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1136,
"wave": 1,
"monsternum": 80,
"subwavetime": 40,
"stagetype": 100,
"stageid": 3,
"monsterid": 25001,
"isboss": 0,
"trigger": 3,
"triggerval": 1101,
"subtriggerval": 10,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1137,
"wave": 1,
"monsternum": 80,
"subwavetime": 20,
"stagetype": 100,
"stageid": 3,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1136,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1138,
"wave": 1,
"monsternum": 80,
"subwavetime": 30,
"stagetype": 100,
"stageid": 3,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1137,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1139,
"wave": 1,
"monsternum": 80,
"subwavetime": 40,
"stagetype": 100,
"stageid": 3,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1138,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1140,
"wave": 1,
"monsternum": 80,
"subwavetime": 20,
"stagetype": 100,
"stageid": 3,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1139,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1141,
"wave": 1,
"monsternum": 80,
"subwavetime": 30,
"stagetype": 100,
"stageid": 3,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1140,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1142,
"wave": 1,
"monsternum": 80,
"subwavetime": 40,
"stagetype": 100,
"stageid": 3,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1141,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1143,
"wave": 1,
"monsternum": 80,
"subwavetime": 20,
"stagetype": 100,
"stageid": 3,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1142,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1144,
"wave": 1,
"monsternum": 80,
"subwavetime": 30,
"stagetype": 100,
"stageid": 3,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1143,
"subtriggerval": 0,
"hpgrow": 1,
"atkgrow": 1
},
{
"subwave": 1145,
"wave": 2,
"monsternum": 80,
"subwavetime": 40,
"stagetype": 100,
"stageid": 3,
"monsterid": 25001,
"isboss": 0,
"trigger": 1,
"triggerval": 1,
"subtriggerval": 0,
"hpgrow": 10,
"atkgrow": 1.2
},
{
"subwave": 1146,
"wave": 2,
"monsternum": 80,
"subwavetime": 20,
"stagetype": 100,
"stageid": 3,
"monsterid": 25001,
"isboss": 0,
"trigger": 1,
"triggerval": 1,
"subtriggerval": 0,
"hpgrow": 10,
"atkgrow": 1.2
},
{
"subwave": 1147,
"wave": 2,
"monsternum": 80,
"subwavetime": 30,
"stagetype": 100,
"stageid": 3,
"monsterid": 25001,
"isboss": 0,
"trigger": 1,
"triggerval": 1,
"subtriggerval": 0,
"hpgrow": 10,
"atkgrow": 1.2
},
{
"subwave": 1148,
"wave": 2,
"monsternum": 80,
"subwavetime": 40,
"stagetype": 100,
"stageid": 3,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1147,
"subtriggerval": 0,
"hpgrow": 10,
"atkgrow": 1.2
},
{
"subwave": 1149,
"wave": 2,
"monsternum": 80,
"subwavetime": 20,
"stagetype": 100,
"stageid": 3,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1148,
"subtriggerval": 0,
"hpgrow": 50000000,
"atkgrow": 20000
},
{
"subwave": 1150,
"wave": 2,
"monsternum": 80,
"subwavetime": 30,
"stagetype": 100,
"stageid": 3,
"monsterid": 25001,
"isboss": 0,
"trigger": 2,
"triggerval": 1149,
"subtriggerval": 0,
"hpgrow": 50000000,
"atkgrow": 20000
},
{
"subwave": 1151,
"wave": 2,
"monsternum": 80,
"subwavetime": 40,
"stagetype": 100,
"stageid": 3,
"monsterid": 25001,
"isboss": 1,
"trigger": 2,
"triggerval": 1150,
"subtriggerval": 0,
"hpgrow": 50000000,
"atkgrow": 20000
} }
] ]

View File

@ -593,7 +593,9 @@ func (this *ModuleBase) DispenseRes(session comm.IUserSession, res []*cfg.Gameat
// 跨服对象获取数据操作对象 // 跨服对象获取数据操作对象
func (this *ModuleBase) GetDBNodule(session comm.IUserSession, tableName string, expired time.Duration) (model *db.DBModel, err error) { func (this *ModuleBase) GetDBNodule(session comm.IUserSession, tableName string, expired time.Duration) (model *db.DBModel, err error) {
var conn *db.DBConn var (
conn *db.DBConn
)
if session.GetServiecTag() == this.service.GetTag() { if session.GetServiecTag() == this.service.GetTag() {
if conn, err = db.Local(); err != nil { if conn, err = db.Local(); err != nil {
return return
@ -603,7 +605,7 @@ func (this *ModuleBase) GetDBNodule(session comm.IUserSession, tableName string,
return return
} }
} }
model = db.NewDBModel(this.service.GetTag(), tableName, conn) model = db.NewDBModel(session.GetServiecTag(), tableName, conn)
return return
} }
@ -611,17 +613,20 @@ func (this *ModuleBase) GetDBNodule(session comm.IUserSession, tableName string,
func (this *ModuleBase) GetCrossDBModel(tableName string) (model *db.DBModel, err error) { func (this *ModuleBase) GetCrossDBModel(tableName string) (model *db.DBModel, err error) {
var ( var (
conn *db.DBConn conn *db.DBConn
tag string
) )
if this.IsCross() { if this.IsCross() {
if conn, err = db.Local(); err != nil { if conn, err = db.Local(); err != nil {
return return
} }
tag = this.service.GetTag()
} else { } else {
if conn, err = db.Cross(); err != nil { if conn, err = db.Cross(); err != nil {
return return
} }
tag = db.CrossTag()
} }
model = db.NewDBModel(this.service.GetTag(), tableName, conn) model = db.NewDBModel(tag, tableName, conn)
return return
} }
@ -643,7 +648,7 @@ func (this *ModuleBase) GetDBModelByUid(uid, tableName string) (model *db.DBMode
return return
} }
} }
model = db.NewDBModel(this.service.GetTag(), tableName, conn) model = db.NewDBModel(stag, tableName, conn)
return return
} }

View File

@ -134,7 +134,10 @@ func (this *Pay) Rpc_ModulePayDelivery(ctx context.Context, args *pb.HttpPayDeli
} else { } else {
res = conf.DiamondNumDouble res = conf.DiamondNumDouble
} }
res = append(res, &cfg.Gameatn{A: comm.AttrType, T: comm.Integral, N: conf.Integral}) if conf.Integral > 0 {
res = append(res, &cfg.Gameatn{A: comm.AttrType, T: comm.Integral, N: conf.Integral})
}
info.Record[order.Bpoints]++ info.Record[order.Bpoints]++
defer func() { defer func() {
this.PutUserSession(session) this.PutUserSession(session)

View File

@ -54,18 +54,29 @@ func (this *apiComp) Info(session comm.IUserSession, req *pb.ShopCenterInfoReq)
} }
if _, ok = activitys[pb.HdType_XSFundPhysical]; ok && v.Type == 3 { if _, ok = activitys[pb.HdType_XSFundPhysical]; ok && v.Type == 3 {
activity.Open = true activity.Open = true
activity.Opemtime = activitys[pb.HdType_XSFundPhysical].Stime
continue continue
} }
if _, ok = activitys[pb.HdType_XSFundRecruit]; ok && v.Type == 4 { if _, ok = activitys[pb.HdType_XSFundRecruit]; ok && v.Type == 4 {
activity.Open = true activity.Open = true
activity.Opemtime = activitys[pb.HdType_XSFundRecruit].Stime
continue continue
} }
if _, ok = activitys[pb.HdType_XSFundRecruit]; ok && v.Type == 5 { if _, ok = activitys[pb.HdType_XSFundExp]; ok && v.Type == 5 {
activity.Open = true activity.Open = true
activity.Opemtime = activitys[pb.HdType_XSFundExp].Stime
continue continue
} }
} }
if err = this.module.modelshop.Change(session.GetUserId(), map[string]interface{}{
"item": info.Item,
}); err != nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_DBError,
Title: pb.ErrorCode_DBError.ToString(),
Message: err.Error(),
}
}
session.SendMsg(string(this.module.GetType()), "info", &pb.ShopCenterInfoResp{Info: info}) session.SendMsg(string(this.module.GetType()), "info", &pb.ShopCenterInfoResp{Info: info})
return return
} }

View File

@ -127,15 +127,17 @@ func (this *apiComp) Receive(session comm.IUserSession, req *pb.ShopCenterReceiv
} }
level := this.module.mainline.InquireMainLinePassLevel(session.GetUserId()) level := this.module.mainline.InquireMainLinePassLevel(session.GetUserId())
for _, v := range pconfs { for _, v := range pconfs {
if _, ok = item.Record[v.Id]; !ok { if v.Index == conf.Index {
if _, ok = level[v.Mianlevel]; ok { if _, ok = item.Record[v.Id]; !ok {
drop = append(drop, pconf.Group) if _, ok = level[v.Mianlevel]; ok {
item.Record[v.Id] = true drop = append(drop, pconf.Group)
item.Record[v.Id] = true
}
} }
} }
} }
} }
case 2, 3, 4, 5: case 2:
if req.Pid != 0 { if req.Pid != 0 {
if _, ok = item.Record[req.Pid]; ok { if _, ok = item.Record[req.Pid]; ok {
errdata = &pb.ErrorData{ errdata = &pb.ErrorData{
@ -175,10 +177,10 @@ func (this *apiComp) Receive(session comm.IUserSession, req *pb.ShopCenterReceiv
return return
} }
for _, v := range fconfs { for _, v := range fconfs {
if _, ok = item.Record[v.Id]; !ok { if conf.Type == v.Type && v.Position == conf.Index {
if conf.Type == 2 { //等级基金 if _, ok = item.Record[v.Id]; !ok {
if user.Lv >= v.Unlock { //没有达到目标等级 if user.Lv >= v.Unlock { //没有达到目标等级
drop = append(drop, fconf.Group) drop = append(drop, v.Group)
item.Record[v.Id] = true item.Record[v.Id] = true
} }
} }
@ -186,7 +188,58 @@ func (this *apiComp) Receive(session comm.IUserSession, req *pb.ShopCenterReceiv
} }
} }
break break
case 6, 7, 8: case 3, 4, 5:
if req.Pid != 0 {
if _, ok = item.Record[req.Pid]; ok {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ReqParameterError,
Title: pb.ErrorCode_ReqParameterError.ToString(),
Message: "Received!",
}
return
}
if fconf, err = this.module.configure.getGameShopCenterFund(req.Pid); err != nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ConfigNoFound,
Title: pb.ErrorCode_ConfigNoFound.ToString(),
Message: err.Error(),
}
return
}
days := int32(utils.DiffDays(configure.Now().Unix(), item.Opemtime)) + 1
if days < fconf.Unlock {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ReqParameterError,
Title: pb.ErrorCode_ReqParameterError.ToString(),
Message: fmt.Sprintf("days:%d no achieve", days),
}
return
}
drop = append(drop, fconf.Group)
item.Record[req.Pid] = true
} else {
if fconfs, err = this.module.configure.getGameShopCenterFunds(); err != nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ConfigNoFound,
Title: pb.ErrorCode_ConfigNoFound.ToString(),
Message: err.Error(),
}
return
}
days := int32(utils.DiffDays(configure.Now().Unix(), item.Opemtime)) + 1
for _, v := range fconfs {
if conf.Type == v.Type && v.Position == conf.Index {
if _, ok = item.Record[v.Id]; !ok {
if days >= v.Unlock { //没有达到目标等级
drop = append(drop, v.Group)
item.Record[v.Id] = true
}
}
}
}
}
break
case 6:
if req.Pid != 0 { if req.Pid != 0 {
if _, ok = item.Record[req.Pid]; ok { if _, ok = item.Record[req.Pid]; ok {
errdata = &pb.ErrorData{ errdata = &pb.ErrorData{
@ -226,10 +279,12 @@ func (this *apiComp) Receive(session comm.IUserSession, req *pb.ShopCenterReceiv
} }
days := int32(utils.DiffDays(configure.Now().Unix(), item.Buytime)) + 1 days := int32(utils.DiffDays(configure.Now().Unix(), item.Buytime)) + 1
for _, v := range fconfs { for _, v := range fconfs {
if _, ok = item.Record[v.Id]; !ok { if conf.Type == v.Type && v.Position == conf.Index {
if days >= v.Unlock { //没有达到目标等级 if _, ok = item.Record[v.Id]; !ok {
drop = append(drop, fconf.Group) if days >= v.Unlock { //没有达到目标等级
item.Record[v.Id] = true drop = append(drop, v.Group)
item.Record[v.Id] = true
}
} }
} }
} }
@ -262,7 +317,7 @@ func (this *apiComp) Receive(session comm.IUserSession, req *pb.ShopCenterReceiv
Message: err.Error(), Message: err.Error(),
} }
} }
session.SendMsg(string(this.module.GetType()), "receive", &pb.ShopCenterReceiveResp{Fid: req.Fid, Pid: req.Pid, Award: award}) session.SendMsg(string(this.module.GetType()), "receive", &pb.ShopCenterReceiveResp{Fid: req.Fid, Pid: req.Pid, Item: item, Award: award})
go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) { go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) {
this.module.WriteUserLog(session.GetUserId(), req, comm.GMResAddType, "ShopCenterReceiveReq", award) this.module.WriteUserLog(session.GetUserId(), req, comm.GMResAddType, "ShopCenterReceiveReq", award)
}) })

View File

@ -117,7 +117,7 @@ func (this *ShopCenter) Delivery(session comm.IUserSession, pId int32) (errdata
errdata = &pb.ErrorData{ errdata = &pb.ErrorData{
Code: pb.ErrorCode_ConfigNoFound, Code: pb.ErrorCode_ConfigNoFound,
Title: pb.ErrorCode_ConfigNoFound.String(), Title: pb.ErrorCode_ConfigNoFound.String(),
Message: fmt.Sprintf("no found Point:%s", pId), Message: fmt.Sprintf("no found Point:%d", pId),
} }
return return
} }
@ -130,13 +130,18 @@ func (this *ShopCenter) Delivery(session comm.IUserSession, pId int32) (errdata
} }
return return
} }
if _, ok := info.Item[conf.Id]; ok {
info.Item[conf.Id] = &pb.DBShopCenterItem{ info.Item[conf.Id].Open = true
Id: conf.Id, info.Item[conf.Id].Vip = true
Vip: true, info.Item[conf.Id].Buytime = configure.Now().Unix()
Open: true, info.Item[conf.Id].Record = make(map[int32]bool)
Buytime: configure.Now().Unix(), } else {
Record: make(map[int32]bool), errdata = &pb.ErrorData{
Code: pb.ErrorCode_ConfigNoFound,
Title: pb.ErrorCode_ConfigNoFound.String(),
Message: fmt.Sprintf("no found Point:%d", pId),
}
return
} }
if err = this.modelshop.Change(session.GetUserId(), map[string]interface{}{ if err = this.modelshop.Change(session.GetUserId(), map[string]interface{}{
"item": info.Item, "item": info.Item,

View File

@ -511,9 +511,10 @@ type CombatChallengeReceiveResp struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //管卡id Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //管卡id
Manster int32 `protobuf:"varint,2,opt,name=manster,proto3" json:"manster"` Manster int32 `protobuf:"varint,2,opt,name=manster,proto3" json:"manster"`
Atns []*UserAssets `protobuf:"bytes,3,rep,name=atns,proto3" json:"atns"` //获取物品 Atns []*UserAssets `protobuf:"bytes,3,rep,name=atns,proto3" json:"atns"` //获取物品
Heroexp map[string]int32 `protobuf:"bytes,4,rep,name=heroexp,proto3" json:"heroexp" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 英雄获得经验
} }
func (x *CombatChallengeReceiveResp) Reset() { func (x *CombatChallengeReceiveResp) Reset() {
@ -569,6 +570,13 @@ func (x *CombatChallengeReceiveResp) GetAtns() []*UserAssets {
return nil return nil
} }
func (x *CombatChallengeReceiveResp) GetHeroexp() map[string]int32 {
if x != nil {
return x.Heroexp
}
return nil
}
//宝箱获取请求 //宝箱获取请求
type CombatDropReq struct { type CombatDropReq struct {
state protoimpl.MessageState state protoimpl.MessageState
@ -880,44 +888,52 @@ var file_combat_combat_msg_proto_rawDesc = []byte{
0x28, 0x05, 0x52, 0x07, 0x6d, 0x61, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x61, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x06, 0x72,
0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61,
0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f,
0x72, 0x74, 0x22, 0x6d, 0x0a, 0x1a, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x72, 0x74, 0x22, 0xed, 0x01, 0x0a, 0x1a, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x43, 0x68, 0x61,
0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73,
0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x6e, 0x73, 0x74,
0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x61, 0x6e, 0x73, 0x74, 0x65,
0x72, 0x12, 0x1f, 0x0a, 0x04, 0x61, 0x74, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x04, 0x61, 0x74,
0x6e, 0x73, 0x12, 0x42, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x18, 0x04, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x43, 0x68, 0x61, 0x6c,
0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70,
0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x2e, 0x48, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68,
0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x6e, 0x73, 0x74, 0x65, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x72, 0x6f, 0x65, 0x78,
0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x61, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
0x12, 0x1f, 0x0a, 0x04, 0x61, 0x74, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x04, 0x61, 0x74, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
0x73, 0x22, 0x39, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x38, 0x01, 0x22, 0x39, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x44, 0x72, 0x6f, 0x70,
0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01,
0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x72, 0x6f, 0x70, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x72, 0x6f,
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x64, 0x72, 0x6f, 0x70, 0x22, 0x47, 0x0a, 0x0e, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x64, 0x72, 0x6f, 0x70, 0x22, 0x47, 0x0a,
0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0e, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12,
0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
0x65, 0x76, 0x65, 0x6c, 0x12, 0x1f, 0x0a, 0x04, 0x61, 0x74, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1f, 0x0a, 0x04, 0x61, 0x74, 0x6e, 0x73, 0x18, 0x02, 0x20,
0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73,
0x04, 0x61, 0x74, 0x6e, 0x73, 0x22, 0x91, 0x02, 0x0a, 0x11, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x50, 0x52, 0x04, 0x61, 0x74, 0x6e, 0x73, 0x22, 0x91, 0x02, 0x0a, 0x11, 0x4c, 0x65, 0x76, 0x65, 0x6c,
0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x14, 0x0a, 0x05,
0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76,
0x6c, 0x12, 0x31, 0x0a, 0x0c, 0x70, 0x61, 0x73, 0x73, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x61, 0x73, 0x65, 0x6c, 0x12, 0x31, 0x0a, 0x0c, 0x70, 0x61, 0x73, 0x73, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x61,
0x6b, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x43, 0x6f, 0x6e, 0x49, 0x50, 0x72, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x43, 0x6f, 0x6e, 0x49, 0x50,
0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0c, 0x70, 0x61, 0x73, 0x73, 0x6d, 0x61, 0x69, 0x6e, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0c, 0x70, 0x61, 0x73, 0x73, 0x6d, 0x61, 0x69,
0x74, 0x61, 0x73, 0x6b, 0x12, 0x2f, 0x0a, 0x0b, 0x70, 0x61, 0x73, 0x73, 0x70, 0x65, 0x72, 0x74, 0x6e, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x2f, 0x0a, 0x0b, 0x70, 0x61, 0x73, 0x73, 0x70, 0x65, 0x72,
0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x43, 0x6f, 0x6e, 0x49, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x43, 0x6f, 0x6e,
0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0b, 0x70, 0x61, 0x73, 0x73, 0x70, 0x65, 0x49, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0b, 0x70, 0x61, 0x73, 0x73, 0x70,
0x72, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x65, 0x72, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65,
0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65,
0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05,
0x04, 0x70, 0x61, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x09, 0x6d, 0x61, 0x69, 0x6e, 0x61, 0x77, 0x61, 0x52, 0x04, 0x70, 0x61, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x09, 0x6d, 0x61, 0x69, 0x6e, 0x61, 0x77,
0x72, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x61, 0x72, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72,
0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x09, 0x6d, 0x61, 0x69, 0x6e, 0x61, 0x77, 0x61, 0x72, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x09, 0x6d, 0x61, 0x69, 0x6e, 0x61, 0x77, 0x61, 0x72,
0x12, 0x27, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x07, 0x20, 0x03, 0x64, 0x12, 0x27, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x07, 0x20,
0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73,
0x08, 0x70, 0x65, 0x72, 0x61, 0x77, 0x61, 0x72, 0x64, 0x22, 0x40, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x52, 0x08, 0x70, 0x65, 0x72, 0x61, 0x77, 0x61, 0x72, 0x64, 0x22, 0x40, 0x0a, 0x12, 0x43, 0x6f,
0x62, 0x61, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x50, 0x75, 0x73, 0x68, 0x12, 0x6d, 0x62, 0x61, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x50, 0x75, 0x73, 0x68,
0x2a, 0x0a, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2a, 0x0a, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
0x12, 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x32, 0x12, 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73,
0x74, 0x65, 0x6d, 0x52, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x42, 0x06, 0x5a, 0x04,
0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
@ -932,7 +948,7 @@ func file_combat_combat_msg_proto_rawDescGZIP() []byte {
return file_combat_combat_msg_proto_rawDescData return file_combat_combat_msg_proto_rawDescData
} }
var file_combat_combat_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 15) var file_combat_combat_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
var file_combat_combat_msg_proto_goTypes = []interface{}{ var file_combat_combat_msg_proto_goTypes = []interface{}{
(*CombatInReq)(nil), // 0: CombatInReq (*CombatInReq)(nil), // 0: CombatInReq
(*CombatInResp)(nil), // 1: CombatInResp (*CombatInResp)(nil), // 1: CombatInResp
@ -949,32 +965,34 @@ var file_combat_combat_msg_proto_goTypes = []interface{}{
(*LevelProgressItem)(nil), // 12: LevelProgressItem (*LevelProgressItem)(nil), // 12: LevelProgressItem
(*CombatProgressPush)(nil), // 13: CombatProgressPush (*CombatProgressPush)(nil), // 13: CombatProgressPush
nil, // 14: CombatUpdateLevelReq.DataEntry nil, // 14: CombatUpdateLevelReq.DataEntry
(*DBCombatLevel)(nil), // 15: DBCombatLevel nil, // 15: CombatChallengeReceiveResp.HeroexpEntry
(*BattleFormation)(nil), // 16: BattleFormation (*DBCombatLevel)(nil), // 16: DBCombatLevel
(*BattleInfo)(nil), // 17: BattleInfo (*BattleFormation)(nil), // 17: BattleFormation
(*BattleReport)(nil), // 18: BattleReport (*BattleInfo)(nil), // 18: BattleInfo
(*UserAssets)(nil), // 19: UserAssets (*BattleReport)(nil), // 19: BattleReport
(*ConIProgress)(nil), // 20: ConIProgress (*UserAssets)(nil), // 20: UserAssets
(*ConIProgress)(nil), // 21: ConIProgress
} }
var file_combat_combat_msg_proto_depIdxs = []int32{ var file_combat_combat_msg_proto_depIdxs = []int32{
15, // 0: CombatInResp.level:type_name -> DBCombatLevel 16, // 0: CombatInResp.level:type_name -> DBCombatLevel
12, // 1: CombatAskResp.level:type_name -> LevelProgressItem 12, // 1: CombatAskResp.level:type_name -> LevelProgressItem
14, // 2: CombatUpdateLevelReq.data:type_name -> CombatUpdateLevelReq.DataEntry 14, // 2: CombatUpdateLevelReq.data:type_name -> CombatUpdateLevelReq.DataEntry
16, // 3: CombatChallengeReq.battle:type_name -> BattleFormation 17, // 3: CombatChallengeReq.battle:type_name -> BattleFormation
17, // 4: CombatChallengeResp.info:type_name -> BattleInfo 18, // 4: CombatChallengeResp.info:type_name -> BattleInfo
18, // 5: CombatChallengeReceiveReq.report:type_name -> BattleReport 19, // 5: CombatChallengeReceiveReq.report:type_name -> BattleReport
19, // 6: CombatChallengeReceiveResp.atns:type_name -> UserAssets 20, // 6: CombatChallengeReceiveResp.atns:type_name -> UserAssets
19, // 7: CombatDropResp.atns:type_name -> UserAssets 15, // 7: CombatChallengeReceiveResp.heroexp:type_name -> CombatChallengeReceiveResp.HeroexpEntry
20, // 8: LevelProgressItem.passmaintask:type_name -> ConIProgress 20, // 8: CombatDropResp.atns:type_name -> UserAssets
20, // 9: LevelProgressItem.passpertask:type_name -> ConIProgress 21, // 9: LevelProgressItem.passmaintask:type_name -> ConIProgress
19, // 10: LevelProgressItem.mainaward:type_name -> UserAssets 21, // 10: LevelProgressItem.passpertask:type_name -> ConIProgress
19, // 11: LevelProgressItem.peraward:type_name -> UserAssets 20, // 11: LevelProgressItem.mainaward:type_name -> UserAssets
12, // 12: CombatProgressPush.levels:type_name -> LevelProgressItem 20, // 12: LevelProgressItem.peraward:type_name -> UserAssets
13, // [13:13] is the sub-list for method output_type 12, // 13: CombatProgressPush.levels:type_name -> LevelProgressItem
13, // [13:13] is the sub-list for method input_type 14, // [14:14] is the sub-list for method output_type
13, // [13:13] is the sub-list for extension type_name 14, // [14:14] is the sub-list for method input_type
13, // [13:13] is the sub-list for extension extendee 14, // [14:14] is the sub-list for extension type_name
0, // [0:13] is the sub-list for field type_name 14, // [14:14] is the sub-list for extension extendee
0, // [0:14] is the sub-list for field type_name
} }
func init() { file_combat_combat_msg_proto_init() } func init() { file_combat_combat_msg_proto_init() }
@ -1162,7 +1180,7 @@ func file_combat_combat_msg_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_combat_combat_msg_proto_rawDesc, RawDescriptor: file_combat_combat_msg_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 15, NumMessages: 16,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },

View File

@ -90,11 +90,12 @@ type DBShopCenterItem struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` //基金id Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` //基金id
Vip bool `protobuf:"varint,2,opt,name=vip,proto3" json:"vip"` //是否已购买 Vip bool `protobuf:"varint,2,opt,name=vip,proto3" json:"vip"` //是否已购买
Open bool `protobuf:"varint,3,opt,name=open,proto3" json:"open"` //是否开放 Open bool `protobuf:"varint,3,opt,name=open,proto3" json:"open"` //是否开放
Buytime int64 `protobuf:"varint,4,opt,name=buytime,proto3" json:"buytime"` //购买时间 Opemtime int64 `protobuf:"varint,4,opt,name=opemtime,proto3" json:"opemtime"` //开启时间
Record map[int32]bool `protobuf:"bytes,5,rep,name=record,proto3" json:"record" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //领取记录 Buytime int64 `protobuf:"varint,5,opt,name=buytime,proto3" json:"buytime"` //购买时间
Record map[int32]bool `protobuf:"bytes,6,rep,name=record,proto3" json:"record" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //领取记录
} }
func (x *DBShopCenterItem) Reset() { func (x *DBShopCenterItem) Reset() {
@ -150,6 +151,13 @@ func (x *DBShopCenterItem) GetOpen() bool {
return false return false
} }
func (x *DBShopCenterItem) GetOpemtime() int64 {
if x != nil {
return x.Opemtime
}
return 0
}
func (x *DBShopCenterItem) GetBuytime() int64 { func (x *DBShopCenterItem) GetBuytime() int64 {
if x != nil { if x != nil {
return x.Buytime return x.Buytime
@ -179,22 +187,23 @@ var file_shopcenter_shopcenter_db_proto_rawDesc = []byte{
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
0x27, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x27, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11,
0x2e, 0x44, 0x42, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x74, 0x65, 0x2e, 0x44, 0x42, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x74, 0x65,
0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd4, 0x01, 0x0a, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xf0, 0x01, 0x0a,
0x10, 0x44, 0x42, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x74, 0x65, 0x10, 0x44, 0x42, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x74, 0x65,
0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69,
0x64, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03,
0x76, 0x69, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x76, 0x69, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
0x08, 0x52, 0x04, 0x6f, 0x70, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x75, 0x79, 0x74, 0x69, 0x08, 0x52, 0x04, 0x6f, 0x70, 0x65, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x6d, 0x74,
0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x75, 0x79, 0x74, 0x69, 0x6d, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6d, 0x74,
0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x75, 0x79, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05,
0x0b, 0x32, 0x1d, 0x2e, 0x44, 0x42, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x75, 0x79, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a,
0x49, 0x74, 0x65, 0x6d, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e,
0x52, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x6f, 0x44, 0x42, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d,
0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x72, 0x65,
0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x63, 0x6f, 0x72, 0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x45, 0x6e,
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
0x74, 0x6f, 0x33, 0x20, 0x01, 0x28, 0x08, 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 (

View File

@ -165,9 +165,10 @@ type ShopCenterReceiveResp struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Fid int32 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid"` //基金id Fid int32 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid"` //基金id
Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid"` //进度id Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid"` //进度id
Award []*UserAtno `protobuf:"bytes,3,rep,name=award,proto3" json:"award"` //奖励 Item *DBShopCenterItem `protobuf:"bytes,3,opt,name=item,proto3" json:"item"`
Award []*UserAtno `protobuf:"bytes,4,rep,name=award,proto3" json:"award"` //奖励
} }
func (x *ShopCenterReceiveResp) Reset() { func (x *ShopCenterReceiveResp) Reset() {
@ -216,6 +217,13 @@ func (x *ShopCenterReceiveResp) GetPid() int32 {
return 0 return 0
} }
func (x *ShopCenterReceiveResp) GetItem() *DBShopCenterItem {
if x != nil {
return x.Item
}
return nil
}
func (x *ShopCenterReceiveResp) GetAward() []*UserAtno { func (x *ShopCenterReceiveResp) GetAward() []*UserAtno {
if x != nil { if x != nil {
return x.Award return x.Award
@ -239,14 +247,16 @@ var file_shopcenter_shopcenter_msg_proto_rawDesc = []byte{
0x68, 0x6f, 0x70, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x68, 0x6f, 0x70, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
0x52, 0x03, 0x66, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x52, 0x03, 0x66, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
0x28, 0x05, 0x52, 0x03, 0x70, 0x69, 0x64, 0x22, 0x5c, 0x0a, 0x15, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x28, 0x05, 0x52, 0x03, 0x70, 0x69, 0x64, 0x22, 0x83, 0x01, 0x0a, 0x15, 0x53, 0x68, 0x6f, 0x70,
0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73,
0x12, 0x10, 0x0a, 0x03, 0x66, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x66, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,
0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x66, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
0x03, 0x70, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x03, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x05, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x42, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x65, 0x6e, 0x74,
0x61, 0x77, 0x61, 0x72, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x12, 0x1f, 0x0a, 0x05,
0x72, 0x6f, 0x74, 0x6f, 0x33, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73,
0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x42, 0x06, 0x5a,
0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
@ -268,16 +278,18 @@ var file_shopcenter_shopcenter_msg_proto_goTypes = []interface{}{
(*ShopCenterReceiveReq)(nil), // 2: ShopCenterReceiveReq (*ShopCenterReceiveReq)(nil), // 2: ShopCenterReceiveReq
(*ShopCenterReceiveResp)(nil), // 3: ShopCenterReceiveResp (*ShopCenterReceiveResp)(nil), // 3: ShopCenterReceiveResp
(*DBShopCenter)(nil), // 4: DBShopCenter (*DBShopCenter)(nil), // 4: DBShopCenter
(*UserAtno)(nil), // 5: UserAtno (*DBShopCenterItem)(nil), // 5: DBShopCenterItem
(*UserAtno)(nil), // 6: UserAtno
} }
var file_shopcenter_shopcenter_msg_proto_depIdxs = []int32{ var file_shopcenter_shopcenter_msg_proto_depIdxs = []int32{
4, // 0: ShopCenterInfoResp.info:type_name -> DBShopCenter 4, // 0: ShopCenterInfoResp.info:type_name -> DBShopCenter
5, // 1: ShopCenterReceiveResp.award:type_name -> UserAtno 5, // 1: ShopCenterReceiveResp.item:type_name -> DBShopCenterItem
2, // [2:2] is the sub-list for method output_type 6, // 2: ShopCenterReceiveResp.award:type_name -> UserAtno
2, // [2:2] is the sub-list for method input_type 3, // [3:3] is the sub-list for method output_type
2, // [2:2] is the sub-list for extension type_name 3, // [3:3] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension extendee 3, // [3:3] is the sub-list for extension type_name
0, // [0:2] is the sub-list for field type_name 3, // [3:3] is the sub-list for extension extendee
0, // [0:3] is the sub-list for field type_name
} }
func init() { file_shopcenter_shopcenter_msg_proto_init() } func init() { file_shopcenter_shopcenter_msg_proto_init() }

View File

@ -160,6 +160,7 @@ type DBUser struct {
Titles []string `protobuf:"bytes,47,rep,name=titles,proto3" json:"titles"` // 称号 Titles []string `protobuf:"bytes,47,rep,name=titles,proto3" json:"titles"` // 称号
Curtitle string `protobuf:"bytes,48,opt,name=curtitle,proto3" json:"curtitle"` // 默认称号 Curtitle string `protobuf:"bytes,48,opt,name=curtitle,proto3" json:"curtitle"` // 默认称号
Curaframe string `protobuf:"bytes,49,opt,name=curaframe,proto3" json:"curaframe"` //默认头像框 Curaframe string `protobuf:"bytes,49,opt,name=curaframe,proto3" json:"curaframe"` //默认头像框
Consumeexp int32 `protobuf:"varint,50,opt,name=consumeexp,proto3" json:"consumeexp"` //消消乐赛季进度积分
Consumemoney int32 `protobuf:"varint,51,opt,name=consumemoney,proto3" json:"consumemoney"` //三消专属货币 Consumemoney int32 `protobuf:"varint,51,opt,name=consumemoney,proto3" json:"consumemoney"` //三消专属货币
Ban bool `protobuf:"varint,52,opt,name=ban,proto3" json:"ban"` // 封号标识 Ban bool `protobuf:"varint,52,opt,name=ban,proto3" json:"ban"` // 封号标识
Prohibition int32 `protobuf:"varint,53,opt,name=prohibition,proto3" json:"prohibition"` // 禁言 Prohibition int32 `protobuf:"varint,53,opt,name=prohibition,proto3" json:"prohibition"` // 禁言
@ -528,6 +529,13 @@ func (x *DBUser) GetCuraframe() string {
return "" return ""
} }
func (x *DBUser) GetConsumeexp() int32 {
if x != nil {
return x.Consumeexp
}
return 0
}
func (x *DBUser) GetConsumemoney() int32 { func (x *DBUser) GetConsumemoney() int32 {
if x != nil { if x != nil {
return x.Consumemoney return x.Consumemoney
@ -896,7 +904,7 @@ var file_user_user_db_proto_rawDesc = []byte{
0x74, 0x65, 0x77, 0x61, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x0e, 0x74, 0x65, 0x77, 0x61, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x0e,
0x0a, 0x02, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x1c, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x1c,
0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28,
0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x88, 0x0b, 0x0a, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xa8, 0x0b, 0x0a,
0x06, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x06, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 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, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69,
@ -971,6 +979,8 @@ var file_user_user_db_proto_rawDesc = []byte{
0x65, 0x18, 0x30, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x75, 0x72, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x30, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x75, 0x72, 0x74, 0x69, 0x74, 0x6c,
0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x61, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x31, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x61, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x31,
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x75, 0x72, 0x61, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x75, 0x72, 0x61, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x12,
0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x65, 0x78, 0x70, 0x18, 0x32, 0x20,
0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x65, 0x78, 0x70, 0x12,
0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x6d, 0x6f, 0x6e, 0x65, 0x79, 0x18, 0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x6d, 0x6f, 0x6e, 0x65, 0x79, 0x18,
0x33, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x6d, 0x6f, 0x33, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x6d, 0x6f,
0x6e, 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x62, 0x61, 0x6e, 0x18, 0x34, 0x20, 0x01, 0x28, 0x08, 0x6e, 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x62, 0x61, 0x6e, 0x18, 0x34, 0x20, 0x01, 0x28, 0x08,

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

View File

@ -0,0 +1,60 @@
//------------------------------------------------------------------------------
// <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 GameTDCardData struct {
Eventid int32
Type int32
Preevent int32
Andcondition []int32
Must int32
Maxnum int32
Weight int32
}
const TypeId_GameTDCardData = 1719129286
func (*GameTDCardData) GetTypeId() int32 {
return 1719129286
}
func (_v *GameTDCardData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["eventid"].(float64); !_ok_ { err = errors.New("eventid error"); return }; _v.Eventid = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["type"].(float64); !_ok_ { err = errors.New("type error"); return }; _v.Type = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["preevent"].(float64); !_ok_ { err = errors.New("preevent error"); return }; _v.Preevent = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["andcondition"].([]interface{}); !_ok_ { err = errors.New("andcondition error"); return }
_v.Andcondition = 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.Andcondition = append(_v.Andcondition, _list_v_)
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["must"].(float64); !_ok_ { err = errors.New("must error"); return }; _v.Must = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["maxnum"].(float64); !_ok_ { err = errors.New("maxnum error"); return }; _v.Maxnum = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["weight"].(float64); !_ok_ { err = errors.New("weight error"); return }; _v.Weight = int32(_tempNum_) }
return
}
func DeserializeGameTDCardData(_buf map[string]interface{}) (*GameTDCardData, error) {
v := &GameTDCardData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -24,7 +24,6 @@ type GameTDHeroData struct {
Height float32 Height float32
Hp int32 Hp int32
Atk int32 Atk int32
AtkSpeed1 int32
AtkSpeed int32 AtkSpeed int32
AtkRange float32 AtkRange float32
} }
@ -88,7 +87,6 @@ func (_v *GameTDHeroData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["height"].(float64); !_ok_ { err = errors.New("height error"); return }; _v.Height = float32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["height"].(float64); !_ok_ { err = errors.New("height error"); return }; _v.Height = float32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["hp"].(float64); !_ok_ { err = errors.New("hp error"); return }; _v.Hp = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["hp"].(float64); !_ok_ { err = errors.New("hp error"); return }; _v.Hp = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["atk"].(float64); !_ok_ { err = errors.New("atk error"); return }; _v.Atk = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["atk"].(float64); !_ok_ { err = errors.New("atk error"); return }; _v.Atk = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["atk_speed1"].(float64); !_ok_ { err = errors.New("atk_speed1 error"); return }; _v.AtkSpeed1 = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["atk_speed"].(float64); !_ok_ { err = errors.New("atk_speed error"); return }; _v.AtkSpeed = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["atk_speed"].(float64); !_ok_ { err = errors.New("atk_speed error"); return }; _v.AtkSpeed = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["atk_range"].(float64); !_ok_ { err = errors.New("atk_range error"); return }; _v.AtkRange = float32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["atk_range"].(float64); !_ok_ { err = errors.New("atk_range error"); return }; _v.AtkRange = float32(_tempNum_) }
return return

View File

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

View File

@ -11,13 +11,19 @@ package cfg
import "errors" import "errors"
type GameTDMonsterAppearData struct { type GameTDMonsterAppearData struct {
Id int32 Subwave int32
CopyId int32 Wave int32
Num int32 Monsternum int32
Time int32 Subwavetime int32
Count int32 Stagetype int32
MonsterId int32 Stageid int32
HpMultiple int32 Monsterid int32
Isboss int32
Trigger int32
Triggerval int32
Subtriggerval int32
Hpgrow float32
Atkgrow float32
} }
const TypeId_GameTDMonsterAppearData = 44623341 const TypeId_GameTDMonsterAppearData = 44623341
@ -27,13 +33,19 @@ func (*GameTDMonsterAppearData) GetTypeId() int32 {
} }
func (_v *GameTDMonsterAppearData)Deserialize(_buf map[string]interface{}) (err error) { func (_v *GameTDMonsterAppearData)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["subwave"].(float64); !_ok_ { err = errors.New("subwave error"); return }; _v.Subwave = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["copy_id"].(float64); !_ok_ { err = errors.New("copy_id error"); return }; _v.CopyId = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["wave"].(float64); !_ok_ { err = errors.New("wave error"); return }; _v.Wave = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["num"].(float64); !_ok_ { err = errors.New("num error"); return }; _v.Num = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["monsternum"].(float64); !_ok_ { err = errors.New("monsternum error"); return }; _v.Monsternum = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["time"].(float64); !_ok_ { err = errors.New("time error"); return }; _v.Time = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["subwavetime"].(float64); !_ok_ { err = errors.New("subwavetime error"); return }; _v.Subwavetime = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["count"].(float64); !_ok_ { err = errors.New("count error"); return }; _v.Count = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["stagetype"].(float64); !_ok_ { err = errors.New("stagetype error"); return }; _v.Stagetype = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["monster_id"].(float64); !_ok_ { err = errors.New("monster_id error"); return }; _v.MonsterId = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["stageid"].(float64); !_ok_ { err = errors.New("stageid error"); return }; _v.Stageid = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["hp_multiple"].(float64); !_ok_ { err = errors.New("hp_multiple error"); return }; _v.HpMultiple = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["monsterid"].(float64); !_ok_ { err = errors.New("monsterid error"); return }; _v.Monsterid = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["isboss"].(float64); !_ok_ { err = errors.New("isboss error"); return }; _v.Isboss = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["trigger"].(float64); !_ok_ { err = errors.New("trigger error"); return }; _v.Trigger = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["triggerval"].(float64); !_ok_ { err = errors.New("triggerval error"); return }; _v.Triggerval = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["subtriggerval"].(float64); !_ok_ { err = errors.New("subtriggerval error"); return }; _v.Subtriggerval = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["hpgrow"].(float64); !_ok_ { err = errors.New("hpgrow error"); return }; _v.Hpgrow = float32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["atkgrow"].(float64); !_ok_ { err = errors.New("atkgrow error"); return }; _v.Atkgrow = float32(_tempNum_) }
return return
} }

View File

@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
StoryEStoryClickType_ClickNext = 0
StoryEStoryClickType_LongPress = 1
StoryEStoryClickType_ClickNextUI = 2
)

View File

@ -0,0 +1,16 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TDEAppearTriggerType_GameStart = 0
TDEAppearTriggerType_WaveEnd = 1
TDEAppearTriggerType_SubWaveEnd = 2
TDEAppearTriggerType_SubWaveProEnd = 3
)

View File

@ -0,0 +1,17 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TDECardEventType_None = 0
TDECardEventType_HeroLvUp = 1
TDECardEventType_Equip = 2
TDECardEventType_EquipUp = 3
TDECardEventType_AwakeSkill = 4
)

View File

@ -0,0 +1,13 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TEnumEArenaOpenType_Lv = 0
)

View File

@ -0,0 +1,14 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TEnumEAskLibraryType_Radio = 1
TEnumEAskLibraryType_Multiple = 2
)

View File

@ -0,0 +1,14 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TEnumEBubbleType_NPC = 1
TEnumEBubbleType_UI = 2
)

View File

@ -0,0 +1,19 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TEnumEChapterGameType_FlyPark = 0
TEnumEChapterGameType_Dragon = 1
TEnumEChapterGameType_Stonehenge = 2
TEnumEChapterGameType_Catchbug = 3
TEnumEChapterGameType_Monkey = 4
TEnumEChapterGameType_Donkey = 5
TEnumEChapterGameType_TD = 6
)

View File

@ -0,0 +1,16 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TEnumEChatDataType_Null = 0
TEnumEChatDataType_One = 1
TEnumEChatDataType_Two = 3
TEnumEChatDataType_Three = 4
)

View File

@ -0,0 +1,14 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TEnumECirculateType_Circulating = 1
TEnumECirculateType_Camp = 2
)

View File

@ -0,0 +1,19 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TEnumEColor_None = 0
TEnumEColor_Green = 1
TEnumEColor_Blue = 2
TEnumEColor_Purple = 3
TEnumEColor_Orange = 4
TEnumEColor_Red = 5
TEnumEColor_Color = 6
)

View File

@ -0,0 +1,14 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TEnumECombatMansterType_Hostile = 1
TEnumECombatMansterType_Neutrality = 2
)

View File

@ -0,0 +1,14 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TEnumEDrawcardPoolType_Hostile = 1
TEnumEDrawcardPoolType_Neutrality = 2
)

View File

@ -0,0 +1,22 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TEnumEEquipPos_None = -1
TEnumEEquipPos_Zero = 0
TEnumEEquipPos_One = 1
TEnumEEquipPos_Two = 2
TEnumEEquipPos_Three = 3
TEnumEEquipPos_Four = 4
TEnumEEquipPos_Five = 5
TEnumEEquipPos_Six = 6
TEnumEEquipPos_Seven = 7
TEnumEEquipPos_Eight = 8
)

View File

@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TEnumEEquipType_Ordinary = 1
TEnumEEquipType_Weapon = 2
TEnumEEquipType_Artifact = 3
)

View File

@ -0,0 +1,14 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TEnumEEventType_Disposable = 0
TEnumEEventType_Recycling = 1
)

View File

@ -0,0 +1,19 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TEnumEFmType_Collision = 1
TEnumEFmType_Dodge = 2
TEnumEFmType_Success = 3
TEnumEFmType_Fail = 4
TEnumEFmType_Sprint = 5
TEnumEFmType_Death = 6
TEnumEFmType_Cast = 7
)

View File

@ -0,0 +1,14 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TEnumEMatchType_Convention = 1
TEnumEMatchType_Rank = 2
)

View File

@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TEnumEMountType_Eggs = 1
TEnumEMountType_Young = 2
TEnumEMountType_Accomplish = 3
)

View File

@ -0,0 +1,14 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TEnumENewSpaperType_Text = 1
TEnumENewSpaperType_Picture = 2
)

View File

@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TEnumETaskQuality_Simple = 0
TEnumETaskQuality_Ordinary = 1
TEnumETaskQuality_Difficulty = 2
)

View File

@ -0,0 +1,17 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TEnumETrackMoveType_Accelerate = 0
TEnumETrackMoveType_Moderate = 1
TEnumETrackMoveType_Restore = 2
TEnumETrackMoveType_ContinuousAccelerate = 3
TEnumETrackMoveType_ContinuousModerate = 4
)

View File

@ -0,0 +1,14 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
const (
TEnumETrackType_Normal = 1
TEnumETrackType_Guide = 2
)

View File

@ -296,6 +296,7 @@ type Tables struct {
TDHero *GameTDHero TDHero *GameTDHero
TDHeroGrowup *GameTDHeroGrowup TDHeroGrowup *GameTDHeroGrowup
TDBuff *GameTDBuff TDBuff *GameTDBuff
TDCard *GameTDCard
PuggsyIsLand *GamePuggsyIsLand PuggsyIsLand *GamePuggsyIsLand
PuggsyEvent *GamePuggsyEvent PuggsyEvent *GamePuggsyEvent
PuggsyFight *GamePuggsyFight PuggsyFight *GamePuggsyFight
@ -2043,6 +2044,12 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.TDBuff, err = NewGameTDBuff(buf) ; err != nil { if tables.TDBuff, err = NewGameTDBuff(buf) ; err != nil {
return nil, err return nil, err
} }
if buf, err = loader("game_tdcard") ; err != nil {
return nil, err
}
if tables.TDCard, err = NewGameTDCard(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_puggsyisland") ; err != nil { if buf, err = loader("game_puggsyisland") ; err != nil {
return nil, err return nil, err
} }