上传工会boos战代码
This commit is contained in:
parent
2015c30bc6
commit
cddf0dfc54
@ -775,6 +775,20 @@
|
|||||||
"a": "attr",
|
"a": "attr",
|
||||||
"t": "arenacoin",
|
"t": "arenacoin",
|
||||||
"n": 1000
|
"n": 1000
|
||||||
}
|
},
|
||||||
|
"guildboss_kill_Preview": [
|
||||||
|
{
|
||||||
|
"a": "attr",
|
||||||
|
"t": "gold",
|
||||||
|
"n": 1000
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"guildboss_challenge_preview": [
|
||||||
|
{
|
||||||
|
"a": "attr",
|
||||||
|
"t": "gold",
|
||||||
|
"n": 1000
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -14679,5 +14679,42 @@
|
|||||||
"n": 1000
|
"n": 1000
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "10000036",
|
||||||
|
"name": {
|
||||||
|
"key": "item_item_name_347",
|
||||||
|
"text": "石阵玩法货币"
|
||||||
|
},
|
||||||
|
"usetype": 1,
|
||||||
|
"color": 5,
|
||||||
|
"bagtype": 1,
|
||||||
|
"index": 1,
|
||||||
|
"special_type": 0,
|
||||||
|
"time": 0,
|
||||||
|
"reddottype": 0,
|
||||||
|
"effects": "",
|
||||||
|
"modelName": "",
|
||||||
|
"box_id": 0,
|
||||||
|
"synthetize_num": 0,
|
||||||
|
"synthetize_deplete": [],
|
||||||
|
"synthetize_get": [],
|
||||||
|
"decompose_deplete": [],
|
||||||
|
"decompose_get": [],
|
||||||
|
"access": [],
|
||||||
|
"use_skip": 0,
|
||||||
|
"upper_limit": 0,
|
||||||
|
"img": "item_10000035",
|
||||||
|
"intr": {
|
||||||
|
"key": "item_item_intr_378",
|
||||||
|
"text": "暂无包装"
|
||||||
|
},
|
||||||
|
"sale": [
|
||||||
|
{
|
||||||
|
"a": "attr",
|
||||||
|
"t": "gold",
|
||||||
|
"n": 1000
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
@ -23470,5 +23470,29 @@
|
|||||||
"playerlvmin": 0,
|
"playerlvmin": 0,
|
||||||
"playerlvmax": 0,
|
"playerlvmax": 0,
|
||||||
"notice": 0
|
"notice": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 979,
|
||||||
|
"lotteryid": 21160001,
|
||||||
|
"description": "石阵秘境捡垃圾事件",
|
||||||
|
"type": 2,
|
||||||
|
"groupwt": 1000,
|
||||||
|
"groupid": 10001,
|
||||||
|
"subtype": 1,
|
||||||
|
"groupnum": 1,
|
||||||
|
"itemid": {
|
||||||
|
"a": "item",
|
||||||
|
"t": "10000036",
|
||||||
|
"n": 1
|
||||||
|
},
|
||||||
|
"itemdes": "石阵玩法货币",
|
||||||
|
"itemwt": 1000,
|
||||||
|
"min": 5,
|
||||||
|
"max": 10,
|
||||||
|
"VIPmin": 0,
|
||||||
|
"VIPmax": 15,
|
||||||
|
"playerlvmin": 0,
|
||||||
|
"playerlvmax": 0,
|
||||||
|
"notice": 0
|
||||||
}
|
}
|
||||||
]
|
]
|
File diff suppressed because it is too large
Load Diff
@ -28,12 +28,7 @@
|
|||||||
"key": "opencond_opencond_name_2",
|
"key": "opencond_opencond_name_2",
|
||||||
"text": "守护者回响"
|
"text": "守护者回响"
|
||||||
},
|
},
|
||||||
"main": [
|
"main": [],
|
||||||
{
|
|
||||||
"key": 2,
|
|
||||||
"param": 1100308
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"wkqbx": 2,
|
"wkqbx": 2,
|
||||||
"kqbx": 0,
|
"kqbx": 0,
|
||||||
"img": "zc_icon_01",
|
"img": "zc_icon_01",
|
||||||
@ -120,12 +115,7 @@
|
|||||||
"key": "opencond_opencond_name_6",
|
"key": "opencond_opencond_name_6",
|
||||||
"text": "商城"
|
"text": "商城"
|
||||||
},
|
},
|
||||||
"main": [
|
"main": [],
|
||||||
{
|
|
||||||
"key": 2,
|
|
||||||
"param": 1100108
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"wkqbx": 2,
|
"wkqbx": 2,
|
||||||
"kqbx": 0,
|
"kqbx": 0,
|
||||||
"img": "zc_icon_01",
|
"img": "zc_icon_01",
|
||||||
@ -580,12 +570,7 @@
|
|||||||
"key": "opencond_opencond_name_26",
|
"key": "opencond_opencond_name_26",
|
||||||
"text": "藏书馆"
|
"text": "藏书馆"
|
||||||
},
|
},
|
||||||
"main": [
|
"main": [],
|
||||||
{
|
|
||||||
"key": 2,
|
|
||||||
"param": 1100608
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"wkqbx": 2,
|
"wkqbx": 2,
|
||||||
"kqbx": 0,
|
"kqbx": 0,
|
||||||
"img": "zc_icon_01",
|
"img": "zc_icon_01",
|
||||||
@ -695,12 +680,7 @@
|
|||||||
"key": "opencond_opencond_name_31",
|
"key": "opencond_opencond_name_31",
|
||||||
"text": "狩猎"
|
"text": "狩猎"
|
||||||
},
|
},
|
||||||
"main": [
|
"main": [],
|
||||||
{
|
|
||||||
"key": 2,
|
|
||||||
"param": 1100308
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"wkqbx": 0,
|
"wkqbx": 0,
|
||||||
"kqbx": 0,
|
"kqbx": 0,
|
||||||
"img": "zc_icon_01",
|
"img": "zc_icon_01",
|
||||||
@ -764,12 +744,7 @@
|
|||||||
"key": "opencond_opencond_name_34",
|
"key": "opencond_opencond_name_34",
|
||||||
"text": "公会聊天"
|
"text": "公会聊天"
|
||||||
},
|
},
|
||||||
"main": [
|
"main": [],
|
||||||
{
|
|
||||||
"key": 2,
|
|
||||||
"param": 1100304
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"wkqbx": 0,
|
"wkqbx": 0,
|
||||||
"kqbx": 0,
|
"kqbx": 0,
|
||||||
"img": "zc_icon_01",
|
"img": "zc_icon_01",
|
||||||
@ -879,12 +854,7 @@
|
|||||||
"key": "opencond_opencond_name_39",
|
"key": "opencond_opencond_name_39",
|
||||||
"text": "竞技场"
|
"text": "竞技场"
|
||||||
},
|
},
|
||||||
"main": [
|
"main": [],
|
||||||
{
|
|
||||||
"key": 2,
|
|
||||||
"param": 1100508
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"wkqbx": 0,
|
"wkqbx": 0,
|
||||||
"kqbx": 0,
|
"kqbx": 0,
|
||||||
"img": "zc_icon_01",
|
"img": "zc_icon_01",
|
||||||
@ -1251,10 +1221,6 @@
|
|||||||
{
|
{
|
||||||
"key": 1,
|
"key": 1,
|
||||||
"param": 1
|
"param": 1
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": 2,
|
|
||||||
"param": 1100408
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"wkqbx": 0,
|
"wkqbx": 0,
|
||||||
@ -1389,12 +1355,7 @@
|
|||||||
"key": "opencond_opencond_name_61",
|
"key": "opencond_opencond_name_61",
|
||||||
"text": "维京远征总入口"
|
"text": "维京远征总入口"
|
||||||
},
|
},
|
||||||
"main": [
|
"main": [],
|
||||||
{
|
|
||||||
"key": 2,
|
|
||||||
"param": 1100107
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"wkqbx": 1,
|
"wkqbx": 1,
|
||||||
"kqbx": 0,
|
"kqbx": 0,
|
||||||
"img": "zc_icon_01",
|
"img": "zc_icon_01",
|
||||||
@ -1504,12 +1465,7 @@
|
|||||||
"key": "opencond_opencond_name_66",
|
"key": "opencond_opencond_name_66",
|
||||||
"text": "功夫大师挑战塔"
|
"text": "功夫大师挑战塔"
|
||||||
},
|
},
|
||||||
"main": [
|
"main": [],
|
||||||
{
|
|
||||||
"key": 2,
|
|
||||||
"param": 1100108
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"wkqbx": 1,
|
"wkqbx": 1,
|
||||||
"kqbx": 0,
|
"kqbx": 0,
|
||||||
"img": "",
|
"img": "",
|
||||||
@ -1625,12 +1581,7 @@
|
|||||||
"key": "opencond_opencond_name_71",
|
"key": "opencond_opencond_name_71",
|
||||||
"text": "经验副本"
|
"text": "经验副本"
|
||||||
},
|
},
|
||||||
"main": [
|
"main": [],
|
||||||
{
|
|
||||||
"key": 2,
|
|
||||||
"param": 1100204
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"wkqbx": 0,
|
"wkqbx": 0,
|
||||||
"kqbx": 0,
|
"kqbx": 0,
|
||||||
"img": "",
|
"img": "",
|
||||||
@ -1702,10 +1653,6 @@
|
|||||||
{
|
{
|
||||||
"key": 1,
|
"key": 1,
|
||||||
"param": 1
|
"param": 1
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": 2,
|
|
||||||
"param": 1100808
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"wkqbx": 0,
|
"wkqbx": 0,
|
||||||
@ -1729,10 +1676,6 @@
|
|||||||
{
|
{
|
||||||
"key": 1,
|
"key": 1,
|
||||||
"param": 1
|
"param": 1
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": 2,
|
|
||||||
"param": 1301208
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"wkqbx": 0,
|
"wkqbx": 0,
|
||||||
@ -1752,12 +1695,7 @@
|
|||||||
"key": "opencond_opencond_name_76",
|
"key": "opencond_opencond_name_76",
|
||||||
"text": "波比周常"
|
"text": "波比周常"
|
||||||
},
|
},
|
||||||
"main": [
|
"main": [],
|
||||||
{
|
|
||||||
"key": 2,
|
|
||||||
"param": 1100208
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"wkqbx": 0,
|
"wkqbx": 0,
|
||||||
"kqbx": 0,
|
"kqbx": 0,
|
||||||
"img": "",
|
"img": "",
|
||||||
@ -1776,10 +1714,6 @@
|
|||||||
"text": "每日一练"
|
"text": "每日一练"
|
||||||
},
|
},
|
||||||
"main": [
|
"main": [
|
||||||
{
|
|
||||||
"key": 2,
|
|
||||||
"param": 1100504
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"key": 3,
|
"key": 3,
|
||||||
"param": 20080
|
"param": 20080
|
||||||
@ -1802,12 +1736,7 @@
|
|||||||
"key": "opencond_opencond_name_78",
|
"key": "opencond_opencond_name_78",
|
||||||
"text": "悬赏任务"
|
"text": "悬赏任务"
|
||||||
},
|
},
|
||||||
"main": [
|
"main": [],
|
||||||
{
|
|
||||||
"key": 2,
|
|
||||||
"param": 1100504
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"wkqbx": 0,
|
"wkqbx": 0,
|
||||||
"kqbx": 0,
|
"kqbx": 0,
|
||||||
"img": "",
|
"img": "",
|
||||||
@ -1843,12 +1772,7 @@
|
|||||||
"key": "opencond_opencond_name_80",
|
"key": "opencond_opencond_name_80",
|
||||||
"text": "烹饪功能"
|
"text": "烹饪功能"
|
||||||
},
|
},
|
||||||
"main": [
|
"main": [],
|
||||||
{
|
|
||||||
"key": 2,
|
|
||||||
"param": 1100608
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"wkqbx": 0,
|
"wkqbx": 0,
|
||||||
"kqbx": 0,
|
"kqbx": 0,
|
||||||
"img": "",
|
"img": "",
|
||||||
|
@ -5,7 +5,8 @@
|
|||||||
"reward": [],
|
"reward": [],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 60,
|
"cops_ps_ceiling": 60,
|
||||||
"hero_lv": 20
|
"hero_lv": 20,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 2,
|
"lv": 2,
|
||||||
@ -24,7 +25,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 62,
|
"cops_ps_ceiling": 62,
|
||||||
"hero_lv": 20
|
"hero_lv": 20,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 3,
|
"lv": 3,
|
||||||
@ -43,7 +45,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 64,
|
"cops_ps_ceiling": 64,
|
||||||
"hero_lv": 20
|
"hero_lv": 20,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 4,
|
"lv": 4,
|
||||||
@ -62,7 +65,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 66,
|
"cops_ps_ceiling": 66,
|
||||||
"hero_lv": 20
|
"hero_lv": 20,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 5,
|
"lv": 5,
|
||||||
@ -81,7 +85,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 68,
|
"cops_ps_ceiling": 68,
|
||||||
"hero_lv": 20
|
"hero_lv": 20,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 6,
|
"lv": 6,
|
||||||
@ -100,7 +105,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 70,
|
"cops_ps_ceiling": 70,
|
||||||
"hero_lv": 20
|
"hero_lv": 20,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 7,
|
"lv": 7,
|
||||||
@ -119,7 +125,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 72,
|
"cops_ps_ceiling": 72,
|
||||||
"hero_lv": 20
|
"hero_lv": 20,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 8,
|
"lv": 8,
|
||||||
@ -138,7 +145,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 74,
|
"cops_ps_ceiling": 74,
|
||||||
"hero_lv": 20
|
"hero_lv": 20,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 9,
|
"lv": 9,
|
||||||
@ -157,7 +165,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 76,
|
"cops_ps_ceiling": 76,
|
||||||
"hero_lv": 20
|
"hero_lv": 20,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 10,
|
"lv": 10,
|
||||||
@ -176,7 +185,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 78,
|
"cops_ps_ceiling": 78,
|
||||||
"hero_lv": 20
|
"hero_lv": 20,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 11,
|
"lv": 11,
|
||||||
@ -195,7 +205,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 80,
|
"cops_ps_ceiling": 80,
|
||||||
"hero_lv": 20
|
"hero_lv": 20,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 12,
|
"lv": 12,
|
||||||
@ -214,7 +225,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 82,
|
"cops_ps_ceiling": 82,
|
||||||
"hero_lv": 20
|
"hero_lv": 20,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 13,
|
"lv": 13,
|
||||||
@ -233,7 +245,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 84,
|
"cops_ps_ceiling": 84,
|
||||||
"hero_lv": 20
|
"hero_lv": 20,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 14,
|
"lv": 14,
|
||||||
@ -252,7 +265,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 86,
|
"cops_ps_ceiling": 86,
|
||||||
"hero_lv": 20
|
"hero_lv": 20,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 15,
|
"lv": 15,
|
||||||
@ -271,7 +285,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 88,
|
"cops_ps_ceiling": 88,
|
||||||
"hero_lv": 25
|
"hero_lv": 25,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 16,
|
"lv": 16,
|
||||||
@ -290,7 +305,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 90,
|
"cops_ps_ceiling": 90,
|
||||||
"hero_lv": 25
|
"hero_lv": 25,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 17,
|
"lv": 17,
|
||||||
@ -309,7 +325,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 92,
|
"cops_ps_ceiling": 92,
|
||||||
"hero_lv": 25
|
"hero_lv": 25,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 18,
|
"lv": 18,
|
||||||
@ -328,7 +345,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 94,
|
"cops_ps_ceiling": 94,
|
||||||
"hero_lv": 25
|
"hero_lv": 25,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 19,
|
"lv": 19,
|
||||||
@ -347,7 +365,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 96,
|
"cops_ps_ceiling": 96,
|
||||||
"hero_lv": 25
|
"hero_lv": 25,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 20,
|
"lv": 20,
|
||||||
@ -366,7 +385,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 98,
|
"cops_ps_ceiling": 98,
|
||||||
"hero_lv": 25
|
"hero_lv": 25,
|
||||||
|
"guild_boss_ceiling": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 21,
|
"lv": 21,
|
||||||
@ -385,7 +405,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 100,
|
"cops_ps_ceiling": 100,
|
||||||
"hero_lv": 30
|
"hero_lv": 30,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 22,
|
"lv": 22,
|
||||||
@ -404,7 +425,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 102,
|
"cops_ps_ceiling": 102,
|
||||||
"hero_lv": 30
|
"hero_lv": 30,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 23,
|
"lv": 23,
|
||||||
@ -423,7 +445,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 104,
|
"cops_ps_ceiling": 104,
|
||||||
"hero_lv": 30
|
"hero_lv": 30,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 24,
|
"lv": 24,
|
||||||
@ -442,7 +465,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 106,
|
"cops_ps_ceiling": 106,
|
||||||
"hero_lv": 30
|
"hero_lv": 30,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 25,
|
"lv": 25,
|
||||||
@ -461,7 +485,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 108,
|
"cops_ps_ceiling": 108,
|
||||||
"hero_lv": 30
|
"hero_lv": 30,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 26,
|
"lv": 26,
|
||||||
@ -480,7 +505,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 110,
|
"cops_ps_ceiling": 110,
|
||||||
"hero_lv": 35
|
"hero_lv": 35,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 27,
|
"lv": 27,
|
||||||
@ -499,7 +525,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 112,
|
"cops_ps_ceiling": 112,
|
||||||
"hero_lv": 35
|
"hero_lv": 35,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 28,
|
"lv": 28,
|
||||||
@ -518,7 +545,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 114,
|
"cops_ps_ceiling": 114,
|
||||||
"hero_lv": 35
|
"hero_lv": 35,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 29,
|
"lv": 29,
|
||||||
@ -537,7 +565,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 116,
|
"cops_ps_ceiling": 116,
|
||||||
"hero_lv": 35
|
"hero_lv": 35,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 30,
|
"lv": 30,
|
||||||
@ -556,7 +585,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 118,
|
"cops_ps_ceiling": 118,
|
||||||
"hero_lv": 35
|
"hero_lv": 35,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 31,
|
"lv": 31,
|
||||||
@ -575,7 +605,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 120,
|
"cops_ps_ceiling": 120,
|
||||||
"hero_lv": 40
|
"hero_lv": 40,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 32,
|
"lv": 32,
|
||||||
@ -594,7 +625,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 122,
|
"cops_ps_ceiling": 122,
|
||||||
"hero_lv": 40
|
"hero_lv": 40,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 33,
|
"lv": 33,
|
||||||
@ -613,7 +645,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 124,
|
"cops_ps_ceiling": 124,
|
||||||
"hero_lv": 40
|
"hero_lv": 40,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 34,
|
"lv": 34,
|
||||||
@ -632,7 +665,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 126,
|
"cops_ps_ceiling": 126,
|
||||||
"hero_lv": 40
|
"hero_lv": 40,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 35,
|
"lv": 35,
|
||||||
@ -651,7 +685,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 128,
|
"cops_ps_ceiling": 128,
|
||||||
"hero_lv": 40
|
"hero_lv": 40,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 36,
|
"lv": 36,
|
||||||
@ -670,7 +705,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 130,
|
"cops_ps_ceiling": 130,
|
||||||
"hero_lv": 45
|
"hero_lv": 45,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 37,
|
"lv": 37,
|
||||||
@ -689,7 +725,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 132,
|
"cops_ps_ceiling": 132,
|
||||||
"hero_lv": 45
|
"hero_lv": 45,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 38,
|
"lv": 38,
|
||||||
@ -708,7 +745,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 134,
|
"cops_ps_ceiling": 134,
|
||||||
"hero_lv": 45
|
"hero_lv": 45,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 39,
|
"lv": 39,
|
||||||
@ -727,7 +765,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 136,
|
"cops_ps_ceiling": 136,
|
||||||
"hero_lv": 45
|
"hero_lv": 45,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 40,
|
"lv": 40,
|
||||||
@ -746,7 +785,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 138,
|
"cops_ps_ceiling": 138,
|
||||||
"hero_lv": 45
|
"hero_lv": 45,
|
||||||
|
"guild_boss_ceiling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 41,
|
"lv": 41,
|
||||||
@ -765,7 +805,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 140,
|
"cops_ps_ceiling": 140,
|
||||||
"hero_lv": 50
|
"hero_lv": 50,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 42,
|
"lv": 42,
|
||||||
@ -784,7 +825,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 142,
|
"cops_ps_ceiling": 142,
|
||||||
"hero_lv": 50
|
"hero_lv": 50,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 43,
|
"lv": 43,
|
||||||
@ -803,7 +845,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 144,
|
"cops_ps_ceiling": 144,
|
||||||
"hero_lv": 50
|
"hero_lv": 50,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 44,
|
"lv": 44,
|
||||||
@ -822,7 +865,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 146,
|
"cops_ps_ceiling": 146,
|
||||||
"hero_lv": 50
|
"hero_lv": 50,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 45,
|
"lv": 45,
|
||||||
@ -841,7 +885,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 148,
|
"cops_ps_ceiling": 148,
|
||||||
"hero_lv": 50
|
"hero_lv": 50,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 46,
|
"lv": 46,
|
||||||
@ -860,7 +905,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 150,
|
"cops_ps_ceiling": 150,
|
||||||
"hero_lv": 55
|
"hero_lv": 55,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 47,
|
"lv": 47,
|
||||||
@ -879,7 +925,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 152,
|
"cops_ps_ceiling": 152,
|
||||||
"hero_lv": 55
|
"hero_lv": 55,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 48,
|
"lv": 48,
|
||||||
@ -898,7 +945,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 154,
|
"cops_ps_ceiling": 154,
|
||||||
"hero_lv": 55
|
"hero_lv": 55,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 49,
|
"lv": 49,
|
||||||
@ -917,7 +965,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 156,
|
"cops_ps_ceiling": 156,
|
||||||
"hero_lv": 55
|
"hero_lv": 55,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 50,
|
"lv": 50,
|
||||||
@ -936,7 +985,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 158,
|
"cops_ps_ceiling": 158,
|
||||||
"hero_lv": 55
|
"hero_lv": 55,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 51,
|
"lv": 51,
|
||||||
@ -955,7 +1005,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 160,
|
"cops_ps_ceiling": 160,
|
||||||
"hero_lv": 60
|
"hero_lv": 60,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 52,
|
"lv": 52,
|
||||||
@ -974,7 +1025,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 162,
|
"cops_ps_ceiling": 162,
|
||||||
"hero_lv": 60
|
"hero_lv": 60,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 53,
|
"lv": 53,
|
||||||
@ -993,7 +1045,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 164,
|
"cops_ps_ceiling": 164,
|
||||||
"hero_lv": 60
|
"hero_lv": 60,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 54,
|
"lv": 54,
|
||||||
@ -1012,7 +1065,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 166,
|
"cops_ps_ceiling": 166,
|
||||||
"hero_lv": 60
|
"hero_lv": 60,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 55,
|
"lv": 55,
|
||||||
@ -1031,7 +1085,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 168,
|
"cops_ps_ceiling": 168,
|
||||||
"hero_lv": 60
|
"hero_lv": 60,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 56,
|
"lv": 56,
|
||||||
@ -1050,7 +1105,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 170,
|
"cops_ps_ceiling": 170,
|
||||||
"hero_lv": 60
|
"hero_lv": 60,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 57,
|
"lv": 57,
|
||||||
@ -1069,7 +1125,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 172,
|
"cops_ps_ceiling": 172,
|
||||||
"hero_lv": 60
|
"hero_lv": 60,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 58,
|
"lv": 58,
|
||||||
@ -1088,7 +1145,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 174,
|
"cops_ps_ceiling": 174,
|
||||||
"hero_lv": 60
|
"hero_lv": 60,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 59,
|
"lv": 59,
|
||||||
@ -1107,7 +1165,8 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 176,
|
"cops_ps_ceiling": 176,
|
||||||
"hero_lv": 60
|
"hero_lv": 60,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lv": 60,
|
"lv": 60,
|
||||||
@ -1126,6 +1185,7 @@
|
|||||||
],
|
],
|
||||||
"ps_ceiling": 180,
|
"ps_ceiling": 180,
|
||||||
"cops_ps_ceiling": 178,
|
"cops_ps_ceiling": 178,
|
||||||
"hero_lv": 60
|
"hero_lv": 60,
|
||||||
|
"guild_boss_ceiling": 3
|
||||||
}
|
}
|
||||||
]
|
]
|
@ -51,7 +51,7 @@
|
|||||||
},
|
},
|
||||||
"content": {
|
"content": {
|
||||||
"key": "ruledesc_ruledesc_content_5",
|
"key": "ruledesc_ruledesc_content_5",
|
||||||
"text": "这里可以查看各种功夫陪练,完成陪练可以获得高额奖励。<br>完成3/6/9次的陪练还有格外奖励可以领取。"
|
"text": "这里可以查看各种功夫陪练,完成陪练可以获得高额奖励。<br>完成3/6/9次的陪练还有额外奖励可以领取。"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -62,7 +62,7 @@
|
|||||||
},
|
},
|
||||||
"content": {
|
"content": {
|
||||||
"key": "ruledesc_ruledesc_content_6",
|
"key": "ruledesc_ruledesc_content_6",
|
||||||
"text": "这里可以选择守护者去完成陪练任务,每个陪练任务有不同的等级与阵容要求,满足格外需求还可以获得格外的道具奖励,完成任务可以获得高额奖励。"
|
"text": "这里可以选择守护者去完成陪练任务,每个陪练任务有不同的等级与阵容要求,满足额外需求还可以获得额外的道具奖励,完成任务可以获得高额奖励。"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -260,7 +260,7 @@
|
|||||||
},
|
},
|
||||||
"content": {
|
"content": {
|
||||||
"key": "ruledesc_ruledesc_content_24",
|
"key": "ruledesc_ruledesc_content_24",
|
||||||
"text": "这里可以查看关卡星完成条件,积累一定的关卡星可以获得格外的道具奖励。"
|
"text": "这里可以查看关卡星完成条件,积累一定的关卡星可以获得额外的道具奖励。"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -381,7 +381,7 @@
|
|||||||
},
|
},
|
||||||
"content": {
|
"content": {
|
||||||
"key": "ruledesc_ruledesc_content_35",
|
"key": "ruledesc_ruledesc_content_35",
|
||||||
"text": "这里可以登记不同职业类别,登记类别提升后,该类别的守护者可以获得格外的木桩锻炼经验加成。"
|
"text": "这里可以登记不同职业类别,登记类别提升后,该类别的守护者可以获得额外的木桩锻炼经验加成。"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1,242 +1,222 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"BuffId": 251023111,
|
"BuffId": 143006311,
|
||||||
"BuffGroupId": 1001,
|
"BuffGroupId": 1001,
|
||||||
"Type": 1,
|
"Type": 1,
|
||||||
"BuffLevel": 1,
|
"BuffLevel": 1,
|
||||||
"Quality": 1,
|
"Quality": 1,
|
||||||
"BuffIcon": "",
|
"BuffIcon": "",
|
||||||
"buffName": {
|
|
||||||
"key": "stonehenge_eventconfig_buffName_1",
|
|
||||||
"text": "攻击buff"
|
|
||||||
},
|
|
||||||
"BuffDescription": {
|
|
||||||
"key": "stonehenge_buffconfig_BuffDescription_1",
|
|
||||||
"text": "描述描述描述"
|
|
||||||
},
|
|
||||||
"BuffStory": {
|
"BuffStory": {
|
||||||
"key": "stonehenge_buffconfig_BuffStory_1",
|
"key": "stonehenge_buffconfig_BuffStory_1",
|
||||||
"text": "描述描述描述"
|
"text": "描述描述描述1"
|
||||||
},
|
},
|
||||||
"BuffUpgradeCost": {
|
"BuffUpgradeCost": {
|
||||||
"a": "attr",
|
"a": "atn",
|
||||||
"t": "gold",
|
"t": "10000002",
|
||||||
"n": 1
|
"n": 10
|
||||||
},
|
},
|
||||||
"BuffSell": {
|
"BuffSell": {
|
||||||
"a": "attr",
|
"a": "atn",
|
||||||
"t": "gold",
|
"t": "10000002",
|
||||||
"n": 2
|
"n": 10
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"BuffId": 251023112,
|
"BuffId": 125004311,
|
||||||
"BuffGroupId": 1001,
|
"BuffGroupId": 1001,
|
||||||
"Type": 1,
|
"Type": 1,
|
||||||
"BuffLevel": 2,
|
"BuffLevel": 2,
|
||||||
"Quality": 1,
|
"Quality": 1,
|
||||||
"BuffIcon": "",
|
"BuffIcon": "",
|
||||||
"buffName": {
|
|
||||||
"key": "stonehenge_eventconfig_buffName_2",
|
|
||||||
"text": "攻击buff"
|
|
||||||
},
|
|
||||||
"BuffDescription": {
|
|
||||||
"key": "stonehenge_buffconfig_BuffDescription_2",
|
|
||||||
"text": "描述描述描述"
|
|
||||||
},
|
|
||||||
"BuffStory": {
|
"BuffStory": {
|
||||||
"key": "stonehenge_buffconfig_BuffStory_2",
|
"key": "stonehenge_buffconfig_BuffStory_2",
|
||||||
"text": "描述描述描述"
|
"text": "描述描述描述2"
|
||||||
},
|
},
|
||||||
"BuffUpgradeCost": {
|
"BuffUpgradeCost": {
|
||||||
"a": "attr",
|
"a": "atn",
|
||||||
"t": "gold",
|
"t": "10000002",
|
||||||
"n": 1
|
"n": 11
|
||||||
},
|
},
|
||||||
"BuffSell": {
|
"BuffSell": {
|
||||||
"a": "attr",
|
"a": "atn",
|
||||||
"t": "gold",
|
"t": "10000002",
|
||||||
"n": 2
|
"n": 11
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"BuffId": 200000001,
|
"BuffId": 135006211,
|
||||||
"BuffGroupId": 1002,
|
"BuffGroupId": 1002,
|
||||||
"Type": 2,
|
"Type": 2,
|
||||||
"BuffLevel": 1,
|
"BuffLevel": 1,
|
||||||
"Quality": 2,
|
"Quality": 2,
|
||||||
"BuffIcon": "",
|
"BuffIcon": "",
|
||||||
"buffName": {
|
|
||||||
"key": "stonehenge_eventconfig_buffName_3",
|
|
||||||
"text": "防御buff"
|
|
||||||
},
|
|
||||||
"BuffDescription": {
|
|
||||||
"key": "stonehenge_buffconfig_BuffDescription_3",
|
|
||||||
"text": "描述描述描述"
|
|
||||||
},
|
|
||||||
"BuffStory": {
|
"BuffStory": {
|
||||||
"key": "stonehenge_buffconfig_BuffStory_3",
|
"key": "stonehenge_buffconfig_BuffStory_3",
|
||||||
"text": "描述描述描述"
|
"text": "描述描述描述3"
|
||||||
},
|
},
|
||||||
"BuffUpgradeCost": {
|
"BuffUpgradeCost": {
|
||||||
"a": "attr",
|
"a": "atn",
|
||||||
"t": "gold",
|
"t": "10000002",
|
||||||
"n": 2
|
"n": 12
|
||||||
},
|
},
|
||||||
"BuffSell": {
|
"BuffSell": {
|
||||||
"a": "attr",
|
"a": "atn",
|
||||||
"t": "gold",
|
"t": "10000002",
|
||||||
"n": 3
|
"n": 12
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"BuffId": 200000002,
|
"BuffId": 135006311,
|
||||||
"BuffGroupId": 1002,
|
"BuffGroupId": 1002,
|
||||||
"Type": 2,
|
"Type": 2,
|
||||||
"BuffLevel": 2,
|
"BuffLevel": 2,
|
||||||
"Quality": 2,
|
"Quality": 2,
|
||||||
"BuffIcon": "",
|
"BuffIcon": "",
|
||||||
"buffName": {
|
|
||||||
"key": "stonehenge_eventconfig_buffName_4",
|
|
||||||
"text": "防御buff"
|
|
||||||
},
|
|
||||||
"BuffDescription": {
|
|
||||||
"key": "stonehenge_buffconfig_BuffDescription_4",
|
|
||||||
"text": "描述描述描述"
|
|
||||||
},
|
|
||||||
"BuffStory": {
|
"BuffStory": {
|
||||||
"key": "stonehenge_buffconfig_BuffStory_4",
|
"key": "stonehenge_buffconfig_BuffStory_4",
|
||||||
"text": "描述描述描述"
|
"text": "描述描述描述4"
|
||||||
},
|
},
|
||||||
"BuffUpgradeCost": {
|
"BuffUpgradeCost": {
|
||||||
"a": "attr",
|
"a": "atn",
|
||||||
"t": "gold",
|
"t": "10000002",
|
||||||
"n": 3
|
"n": 13
|
||||||
},
|
},
|
||||||
"BuffSell": {
|
"BuffSell": {
|
||||||
"a": "attr",
|
"a": "atn",
|
||||||
"t": "gold",
|
"t": "10000002",
|
||||||
"n": 4
|
"n": 13
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"BuffId": 253005111,
|
"BuffId": 144004311,
|
||||||
"BuffGroupId": 1003,
|
"BuffGroupId": 1003,
|
||||||
"Type": 3,
|
"Type": 3,
|
||||||
"BuffLevel": 1,
|
"BuffLevel": 1,
|
||||||
"Quality": 1,
|
"Quality": 1,
|
||||||
"BuffIcon": "",
|
"BuffIcon": "",
|
||||||
"buffName": {
|
|
||||||
"key": "stonehenge_eventconfig_buffName_5",
|
|
||||||
"text": "辅助buff"
|
|
||||||
},
|
|
||||||
"BuffDescription": {
|
|
||||||
"key": "stonehenge_buffconfig_BuffDescription_5",
|
|
||||||
"text": "描述描述描述"
|
|
||||||
},
|
|
||||||
"BuffStory": {
|
"BuffStory": {
|
||||||
"key": "stonehenge_buffconfig_BuffStory_5",
|
"key": "stonehenge_buffconfig_BuffStory_5",
|
||||||
"text": "描述描述描述"
|
"text": "描述描述描述5"
|
||||||
},
|
},
|
||||||
"BuffUpgradeCost": {
|
"BuffUpgradeCost": {
|
||||||
"a": "attr",
|
"a": "atn",
|
||||||
"t": "gold",
|
"t": "10000002",
|
||||||
"n": 4
|
"n": 14
|
||||||
},
|
},
|
||||||
"BuffSell": {
|
"BuffSell": {
|
||||||
"a": "attr",
|
"a": "atn",
|
||||||
"t": "gold",
|
"t": "10000002",
|
||||||
"n": 5
|
"n": 14
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"BuffId": 253005112,
|
"BuffId": 124006311,
|
||||||
"BuffGroupId": 1003,
|
"BuffGroupId": 1003,
|
||||||
"Type": 3,
|
"Type": 3,
|
||||||
"BuffLevel": 2,
|
"BuffLevel": 2,
|
||||||
"Quality": 1,
|
"Quality": 1,
|
||||||
"BuffIcon": "",
|
"BuffIcon": "",
|
||||||
"buffName": {
|
|
||||||
"key": "stonehenge_eventconfig_buffName_6",
|
|
||||||
"text": "辅助buff"
|
|
||||||
},
|
|
||||||
"BuffDescription": {
|
|
||||||
"key": "stonehenge_buffconfig_BuffDescription_6",
|
|
||||||
"text": "描述描述描述"
|
|
||||||
},
|
|
||||||
"BuffStory": {
|
"BuffStory": {
|
||||||
"key": "stonehenge_buffconfig_BuffStory_6",
|
"key": "stonehenge_buffconfig_BuffStory_6",
|
||||||
"text": "描述描述描述"
|
"text": "描述描述描述6"
|
||||||
},
|
},
|
||||||
"BuffUpgradeCost": {
|
"BuffUpgradeCost": {
|
||||||
"a": "attr",
|
"a": "atn",
|
||||||
"t": "gold",
|
"t": "10000002",
|
||||||
"n": 5
|
"n": 15
|
||||||
},
|
},
|
||||||
"BuffSell": {
|
"BuffSell": {
|
||||||
"a": "attr",
|
"a": "atn",
|
||||||
"t": "gold",
|
"t": "10000002",
|
||||||
"n": 6
|
"n": 15
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"BuffId": 225002011,
|
"BuffId": 144002311,
|
||||||
"BuffGroupId": 1004,
|
"BuffGroupId": 1004,
|
||||||
"Type": 4,
|
"Type": 4,
|
||||||
"BuffLevel": 1,
|
"BuffLevel": 1,
|
||||||
"Quality": 2,
|
"Quality": 2,
|
||||||
"BuffIcon": "",
|
"BuffIcon": "",
|
||||||
"buffName": {
|
|
||||||
"key": "stonehenge_eventconfig_buffName_7",
|
|
||||||
"text": "控制buff"
|
|
||||||
},
|
|
||||||
"BuffDescription": {
|
|
||||||
"key": "stonehenge_buffconfig_BuffDescription_7",
|
|
||||||
"text": "描述描述描述"
|
|
||||||
},
|
|
||||||
"BuffStory": {
|
"BuffStory": {
|
||||||
"key": "stonehenge_buffconfig_BuffStory_7",
|
"key": "stonehenge_buffconfig_BuffStory_7",
|
||||||
"text": "描述描述描述"
|
"text": "描述描述描述7"
|
||||||
},
|
},
|
||||||
"BuffUpgradeCost": {
|
"BuffUpgradeCost": {
|
||||||
"a": "attr",
|
"a": "atn",
|
||||||
"t": "gold",
|
"t": "10000002",
|
||||||
"n": 6
|
"n": 16
|
||||||
},
|
},
|
||||||
"BuffSell": {
|
"BuffSell": {
|
||||||
"a": "attr",
|
"a": "atn",
|
||||||
"t": "gold",
|
"t": "10000002",
|
||||||
"n": 7
|
"n": 16
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"BuffId": 225002012,
|
"BuffId": 151513211,
|
||||||
"BuffGroupId": 1004,
|
"BuffGroupId": 1004,
|
||||||
"Type": 4,
|
"Type": 4,
|
||||||
"BuffLevel": 2,
|
"BuffLevel": 2,
|
||||||
"Quality": 2,
|
"Quality": 2,
|
||||||
"BuffIcon": "",
|
"BuffIcon": "",
|
||||||
"buffName": {
|
|
||||||
"key": "stonehenge_eventconfig_buffName_8",
|
|
||||||
"text": "控制buff"
|
|
||||||
},
|
|
||||||
"BuffDescription": {
|
|
||||||
"key": "stonehenge_buffconfig_BuffDescription_8",
|
|
||||||
"text": "描述描述描述"
|
|
||||||
},
|
|
||||||
"BuffStory": {
|
"BuffStory": {
|
||||||
"key": "stonehenge_buffconfig_BuffStory_8",
|
"key": "stonehenge_buffconfig_BuffStory_8",
|
||||||
"text": "描述描述描述"
|
"text": "描述描述描述8"
|
||||||
},
|
},
|
||||||
"BuffUpgradeCost": {
|
"BuffUpgradeCost": {
|
||||||
"a": "attr",
|
"a": "atn",
|
||||||
"t": "gold",
|
"t": "10000002",
|
||||||
"n": 7
|
"n": 17
|
||||||
},
|
},
|
||||||
"BuffSell": {
|
"BuffSell": {
|
||||||
"a": "attr",
|
"a": "atn",
|
||||||
"t": "gold",
|
"t": "10000002",
|
||||||
"n": 8
|
"n": 17
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"BuffId": 143002311,
|
||||||
|
"BuffGroupId": 1005,
|
||||||
|
"Type": 4,
|
||||||
|
"BuffLevel": 1,
|
||||||
|
"Quality": 3,
|
||||||
|
"BuffIcon": "",
|
||||||
|
"BuffStory": {
|
||||||
|
"key": "stonehenge_buffconfig_BuffStory_9",
|
||||||
|
"text": "描述描述描述9"
|
||||||
|
},
|
||||||
|
"BuffUpgradeCost": {
|
||||||
|
"a": "atn",
|
||||||
|
"t": "10000002",
|
||||||
|
"n": 18
|
||||||
|
},
|
||||||
|
"BuffSell": {
|
||||||
|
"a": "atn",
|
||||||
|
"t": "10000002",
|
||||||
|
"n": 18
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"BuffId": 115005311,
|
||||||
|
"BuffGroupId": 1005,
|
||||||
|
"Type": 4,
|
||||||
|
"BuffLevel": 2,
|
||||||
|
"Quality": 3,
|
||||||
|
"BuffIcon": "",
|
||||||
|
"BuffStory": {
|
||||||
|
"key": "stonehenge_buffconfig_BuffStory_10",
|
||||||
|
"text": "描述描述描述10"
|
||||||
|
},
|
||||||
|
"BuffUpgradeCost": {
|
||||||
|
"a": "atn",
|
||||||
|
"t": "10000002",
|
||||||
|
"n": 19
|
||||||
|
},
|
||||||
|
"BuffSell": {
|
||||||
|
"a": "atn",
|
||||||
|
"t": "10000002",
|
||||||
|
"n": 19
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
@ -1,91 +1,17 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"EventId": 10000001,
|
"EventId": 160101,
|
||||||
"EventTitle": {
|
"EventTitle": {
|
||||||
"key": "stonehenge_eventconfig_EventTitle_1",
|
"key": "",
|
||||||
"text": "预留用"
|
"text": ""
|
||||||
},
|
},
|
||||||
"EventType": 16,
|
"EventType": 16,
|
||||||
"EventResource": "",
|
"EventResource": "",
|
||||||
"Value1": 10001001,
|
"Value1": 10001,
|
||||||
"Value2": 0,
|
|
||||||
"Value3": 0,
|
|
||||||
"Value4": 0,
|
|
||||||
"PostEvent": 11000002,
|
|
||||||
"probability": 500
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"EventId": 10000002,
|
|
||||||
"EventTitle": {
|
|
||||||
"key": "stonehenge_eventconfig_EventTitle_2",
|
|
||||||
"text": "预留用"
|
|
||||||
},
|
|
||||||
"EventType": 16,
|
|
||||||
"EventResource": "",
|
|
||||||
"Value1": 10001001,
|
|
||||||
"Value2": 0,
|
|
||||||
"Value3": 0,
|
|
||||||
"Value4": 0,
|
|
||||||
"PostEvent": 0,
|
|
||||||
"probability": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"EventId": 10000003,
|
|
||||||
"EventTitle": {
|
|
||||||
"key": "stonehenge_eventconfig_EventTitle_3",
|
|
||||||
"text": "预留用"
|
|
||||||
},
|
|
||||||
"EventType": 16,
|
|
||||||
"EventResource": "",
|
|
||||||
"Value1": 10001001,
|
|
||||||
"Value2": 0,
|
|
||||||
"Value3": 0,
|
|
||||||
"Value4": 0,
|
|
||||||
"PostEvent": 0,
|
|
||||||
"probability": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"EventId": 10000004,
|
|
||||||
"EventTitle": {
|
|
||||||
"key": "stonehenge_eventconfig_EventTitle_4",
|
|
||||||
"text": "预留用"
|
|
||||||
},
|
|
||||||
"EventType": 16,
|
|
||||||
"EventResource": "",
|
|
||||||
"Value1": 10001001,
|
|
||||||
"Value2": 0,
|
|
||||||
"Value3": 0,
|
|
||||||
"Value4": 0,
|
|
||||||
"PostEvent": 0,
|
|
||||||
"probability": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"EventId": 10000005,
|
|
||||||
"EventTitle": {
|
|
||||||
"key": "stonehenge_eventconfig_EventTitle_5",
|
|
||||||
"text": "预留用"
|
|
||||||
},
|
|
||||||
"EventType": 16,
|
|
||||||
"EventResource": "",
|
|
||||||
"Value1": 10001001,
|
|
||||||
"Value2": 0,
|
|
||||||
"Value3": 0,
|
|
||||||
"Value4": 0,
|
|
||||||
"PostEvent": 0,
|
|
||||||
"probability": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"EventId": 10000006,
|
|
||||||
"EventTitle": {
|
|
||||||
"key": "stonehenge_eventconfig_EventTitle_6",
|
|
||||||
"text": "预留用"
|
|
||||||
},
|
|
||||||
"EventType": 16,
|
|
||||||
"EventResource": "",
|
|
||||||
"Value1": 10001001,
|
|
||||||
"Value2": 0,
|
"Value2": 0,
|
||||||
"Value3": 0,
|
"Value3": 0,
|
||||||
"Value4": 0,
|
"Value4": 0,
|
||||||
|
"CostItem": [],
|
||||||
"PostEvent": 0,
|
"PostEvent": 0,
|
||||||
"probability": 0
|
"probability": 0
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"key": "stonehenge_roomconfig_RoomName_1",
|
"key": "stonehenge_roomconfig_RoomName_1",
|
||||||
"text": "战斗"
|
"text": "战斗"
|
||||||
},
|
},
|
||||||
"SceneName": "",
|
"SceneName": "scenesfight_secret_realm_01",
|
||||||
"PortalName": "",
|
"PortalName": "",
|
||||||
"EventrewardGroup": 1001001,
|
"EventrewardGroup": 1001001,
|
||||||
"EventBattleGroup": 0,
|
"EventBattleGroup": 0,
|
||||||
@ -21,7 +21,7 @@
|
|||||||
"key": "stonehenge_roomconfig_RoomName_2",
|
"key": "stonehenge_roomconfig_RoomName_2",
|
||||||
"text": "战斗"
|
"text": "战斗"
|
||||||
},
|
},
|
||||||
"SceneName": "",
|
"SceneName": "scenesfight_secret_realm_01",
|
||||||
"PortalName": "",
|
"PortalName": "",
|
||||||
"EventrewardGroup": 1001001,
|
"EventrewardGroup": 1001001,
|
||||||
"EventBattleGroup": 0,
|
"EventBattleGroup": 0,
|
||||||
@ -37,7 +37,7 @@
|
|||||||
"key": "stonehenge_roomconfig_RoomName_3",
|
"key": "stonehenge_roomconfig_RoomName_3",
|
||||||
"text": "战斗"
|
"text": "战斗"
|
||||||
},
|
},
|
||||||
"SceneName": "",
|
"SceneName": "scenesfight_secret_realm_01",
|
||||||
"PortalName": "",
|
"PortalName": "",
|
||||||
"EventrewardGroup": 1001001,
|
"EventrewardGroup": 1001001,
|
||||||
"EventBattleGroup": 0,
|
"EventBattleGroup": 0,
|
||||||
|
@ -106,5 +106,200 @@
|
|||||||
"text": ""
|
"text": ""
|
||||||
},
|
},
|
||||||
"reword": []
|
"reword": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 302,
|
||||||
|
"name": {
|
||||||
|
"key": "worldtask_world_all_name_7",
|
||||||
|
"text": "支线测试A"
|
||||||
|
},
|
||||||
|
"task_icon": "",
|
||||||
|
"task_txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"reword": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 303,
|
||||||
|
"name": {
|
||||||
|
"key": "worldtask_world_all_name_8",
|
||||||
|
"text": "支线测试B"
|
||||||
|
},
|
||||||
|
"task_icon": "",
|
||||||
|
"task_txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"reword": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 304,
|
||||||
|
"name": {
|
||||||
|
"key": "worldtask_world_all_name_9",
|
||||||
|
"text": "支线测试C"
|
||||||
|
},
|
||||||
|
"task_icon": "",
|
||||||
|
"task_txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"reword": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 305,
|
||||||
|
"name": {
|
||||||
|
"key": "worldtask_world_all_name_10",
|
||||||
|
"text": "支线测试D"
|
||||||
|
},
|
||||||
|
"task_icon": "",
|
||||||
|
"task_txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"reword": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1010,
|
||||||
|
"name": {
|
||||||
|
"key": "worldtask_world_all_name_11",
|
||||||
|
"text": "日常测试1"
|
||||||
|
},
|
||||||
|
"task_icon": "",
|
||||||
|
"task_txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"reword": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1020,
|
||||||
|
"name": {
|
||||||
|
"key": "worldtask_world_all_name_12",
|
||||||
|
"text": "日常测试2"
|
||||||
|
},
|
||||||
|
"task_icon": "",
|
||||||
|
"task_txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"reword": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1030,
|
||||||
|
"name": {
|
||||||
|
"key": "worldtask_world_all_name_13",
|
||||||
|
"text": "日常测试3"
|
||||||
|
},
|
||||||
|
"task_icon": "",
|
||||||
|
"task_txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"reword": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1040,
|
||||||
|
"name": {
|
||||||
|
"key": "worldtask_world_all_name_14",
|
||||||
|
"text": "日常测试4"
|
||||||
|
},
|
||||||
|
"task_icon": "",
|
||||||
|
"task_txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"reword": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1050,
|
||||||
|
"name": {
|
||||||
|
"key": "worldtask_world_all_name_15",
|
||||||
|
"text": "日常测试5"
|
||||||
|
},
|
||||||
|
"task_icon": "",
|
||||||
|
"task_txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"reword": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1060,
|
||||||
|
"name": {
|
||||||
|
"key": "worldtask_world_all_name_16",
|
||||||
|
"text": "日常测试6"
|
||||||
|
},
|
||||||
|
"task_icon": "",
|
||||||
|
"task_txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"reword": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1070,
|
||||||
|
"name": {
|
||||||
|
"key": "worldtask_world_all_name_17",
|
||||||
|
"text": "日常测试7"
|
||||||
|
},
|
||||||
|
"task_icon": "",
|
||||||
|
"task_txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"reword": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1080,
|
||||||
|
"name": {
|
||||||
|
"key": "worldtask_world_all_name_18",
|
||||||
|
"text": "日常测试8"
|
||||||
|
},
|
||||||
|
"task_icon": "",
|
||||||
|
"task_txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"reword": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1090,
|
||||||
|
"name": {
|
||||||
|
"key": "worldtask_world_all_name_19",
|
||||||
|
"text": "日常测试9"
|
||||||
|
},
|
||||||
|
"task_icon": "",
|
||||||
|
"task_txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"reword": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1100,
|
||||||
|
"name": {
|
||||||
|
"key": "worldtask_world_all_name_20",
|
||||||
|
"text": "日常测试10"
|
||||||
|
},
|
||||||
|
"task_icon": "",
|
||||||
|
"task_txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"reword": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1110,
|
||||||
|
"name": {
|
||||||
|
"key": "worldtask_world_all_name_21",
|
||||||
|
"text": "日常测试11"
|
||||||
|
},
|
||||||
|
"task_icon": "",
|
||||||
|
"task_txt": {
|
||||||
|
"key": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"reword": []
|
||||||
}
|
}
|
||||||
]
|
]
|
@ -91,7 +91,7 @@ const (
|
|||||||
ModuleWtask core.M_Modules = "wtask" //世界任务
|
ModuleWtask core.M_Modules = "wtask" //世界任务
|
||||||
ModulePasson core.M_Modules = "passon" //传功房
|
ModulePasson core.M_Modules = "passon" //传功房
|
||||||
ModuleWarorder core.M_Modules = "warorder" //战令
|
ModuleWarorder core.M_Modules = "warorder" //战令
|
||||||
ModuleUnionGve core.M_Modules = "uniongve" //工会boos战
|
ModuleGuildGve core.M_Modules = "guildgve" //工会boos战
|
||||||
ModuleDailytask core.M_Modules = "dailytask" //每日任务
|
ModuleDailytask core.M_Modules = "dailytask" //每日任务
|
||||||
ModuleQuestionnaire core.M_Modules = "questionnaire" //问卷调查
|
ModuleQuestionnaire core.M_Modules = "questionnaire" //问卷调查
|
||||||
)
|
)
|
||||||
@ -294,7 +294,11 @@ const (
|
|||||||
TableRaceRecord = "pagodarace"
|
TableRaceRecord = "pagodarace"
|
||||||
|
|
||||||
///工会战
|
///工会战
|
||||||
TableUniongve = "uniongve"
|
TableGuildgve = "guildgve"
|
||||||
|
|
||||||
|
///工会成员表
|
||||||
|
TableGuildMember = "guildmember"
|
||||||
|
|
||||||
///工会轮盘
|
///工会轮盘
|
||||||
TableUnionroulette = "unionroulette"
|
TableUnionroulette = "unionroulette"
|
||||||
///工会排行榜
|
///工会排行榜
|
||||||
|
@ -516,6 +516,9 @@ type (
|
|||||||
GetGrormetLlame(id string) (data int32, err error)
|
GetGrormetLlame(id string) (data int32, err error)
|
||||||
GetGroupDataByLotteryId(id int32) (data *cfg.GameLotteryData, err error)
|
GetGroupDataByLotteryId(id int32) (data *cfg.GameLotteryData, err error)
|
||||||
|
|
||||||
|
//获取用户等级配置
|
||||||
|
GetPlayerlvConf(uid string) (conf *cfg.GamePlayerlvData, errdata *pb.ErrorData)
|
||||||
|
|
||||||
//读取全局表 db层
|
//读取全局表 db层
|
||||||
GetGlobalData(key string, v interface{}) (err error)
|
GetGlobalData(key string, v interface{}) (err error)
|
||||||
//更新全局表 db层
|
//更新全局表 db层
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package uniongve
|
package guildgve
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"go_dreamfactory/lego/base"
|
"go_dreamfactory/lego/base"
|
||||||
@ -9,12 +9,12 @@ import (
|
|||||||
type apiComp struct {
|
type apiComp struct {
|
||||||
modules.MCompGate
|
modules.MCompGate
|
||||||
service base.IRPCXService
|
service base.IRPCXService
|
||||||
module *UnionGve
|
module *GuildGve
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *apiComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
func (this *apiComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
||||||
_ = this.MCompGate.Init(service, module, comp, options)
|
_ = this.MCompGate.Init(service, module, comp, options)
|
||||||
this.service = service.(base.IRPCXService)
|
this.service = service.(base.IRPCXService)
|
||||||
this.module = module.(*UnionGve)
|
this.module = module.(*GuildGve)
|
||||||
return
|
return
|
||||||
}
|
}
|
@ -1,14 +1,16 @@
|
|||||||
package uniongve
|
package guildgve
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"go_dreamfactory/comm"
|
"go_dreamfactory/comm"
|
||||||
"go_dreamfactory/pb"
|
"go_dreamfactory/pb"
|
||||||
|
"go_dreamfactory/sys/configure"
|
||||||
cfg "go_dreamfactory/sys/configure/structs"
|
cfg "go_dreamfactory/sys/configure/structs"
|
||||||
|
"go_dreamfactory/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
// 参数校验
|
// 参数校验
|
||||||
func (this *apiComp) ChallengeCheck(session comm.IUserSession, req *pb.UniongveChallengeReq) (errdata *pb.ErrorData) {
|
func (this *apiComp) ChallengeCheck(session comm.IUserSession, req *pb.GuildGveChallengeReq) (errdata *pb.ErrorData) {
|
||||||
if req.Unionid == "" || req.Boosid == 0 {
|
if req.Guildid == "" || req.Boosid == 0 {
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
Code: pb.ErrorCode_ReqParameterError,
|
Code: pb.ErrorCode_ReqParameterError,
|
||||||
Title: pb.ErrorCode_ReqParameterError.ToString(),
|
Title: pb.ErrorCode_ReqParameterError.ToString(),
|
||||||
@ -19,11 +21,13 @@ func (this *apiComp) ChallengeCheck(session comm.IUserSession, req *pb.UniongveC
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 获取工会boos战信息
|
// 获取工会boos战信息
|
||||||
func (this *apiComp) Challenge(session comm.IUserSession, req *pb.UniongveChallengeReq) (errdata *pb.ErrorData) {
|
func (this *apiComp) Challenge(session comm.IUserSession, req *pb.GuildGveChallengeReq) (errdata *pb.ErrorData) {
|
||||||
var (
|
var (
|
||||||
record *pb.DBBattleRecord
|
member *pb.DBGuildMember
|
||||||
conf *cfg.GameGuildBossData
|
record *pb.DBBattleRecord
|
||||||
err error
|
playerlvconf *cfg.GamePlayerlvData
|
||||||
|
conf *cfg.GameGuildBossData
|
||||||
|
err error
|
||||||
)
|
)
|
||||||
|
|
||||||
if errdata = this.ChallengeCheck(session, req); errdata != nil {
|
if errdata = this.ChallengeCheck(session, req); errdata != nil {
|
||||||
@ -39,6 +43,31 @@ func (this *apiComp) Challenge(session comm.IUserSession, req *pb.UniongveChalle
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if member, err = this.module.modelGuildMember.getGuildMember(req.Guildid, session.GetUserId()); err != nil {
|
||||||
|
errdata = &pb.ErrorData{
|
||||||
|
Code: pb.ErrorCode_DBError,
|
||||||
|
Title: pb.ErrorCode_DBError.ToString(),
|
||||||
|
Message: err.Error(),
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if !utils.IsToday(member.Refreshtime) {
|
||||||
|
if playerlvconf, errdata = this.module.ModuleTools.GetPlayerlvConf(session.GetUserId()); errdata != nil {
|
||||||
|
member.Boosticket = playerlvconf.GuildBossCeiling
|
||||||
|
member.Refreshtime = configure.Now().Unix()
|
||||||
|
this.module.modelGuildMember.updateGuildMember(member)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if member.Boosticket == 0 {
|
||||||
|
errdata = &pb.ErrorData{
|
||||||
|
Code: pb.ErrorCode_ReqParameterError,
|
||||||
|
Title: pb.ErrorCode_ReqParameterError.ToString(),
|
||||||
|
Message: err.Error(),
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if errdata, record = this.module.battle.CreatePveBattle(session, &pb.BattlePVEReq{
|
if errdata, record = this.module.battle.CreatePveBattle(session, &pb.BattlePVEReq{
|
||||||
Ptype: pb.PlayType_moonfantasy,
|
Ptype: pb.PlayType_moonfantasy,
|
||||||
Format: req.Battle,
|
Format: req.Battle,
|
||||||
@ -46,9 +75,10 @@ func (this *apiComp) Challenge(session comm.IUserSession, req *pb.UniongveChalle
|
|||||||
}); err != nil {
|
}); err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
session.SendMsg(string(this.module.GetType()), "challenge", &pb.UniongveChallengeResp{
|
session.SendMsg(string(this.module.GetType()), "challenge", &pb.GuildGveChallengeResp{
|
||||||
Unionid: req.Unionid,
|
Guildid: req.Guildid,
|
||||||
Boosid: req.Boosid,
|
Boosid: req.Boosid,
|
||||||
|
Boosticket: member.Boosticket,
|
||||||
Info: &pb.BattleInfo{
|
Info: &pb.BattleInfo{
|
||||||
Id: record.Id,
|
Id: record.Id,
|
||||||
Rulesid: conf.BattleReadyID,
|
Rulesid: conf.BattleReadyID,
|
@ -1,4 +1,4 @@
|
|||||||
package uniongve
|
package guildgve
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
@ -10,21 +10,22 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// 参数校验
|
// 参数校验
|
||||||
func (this *apiComp) ChallengeFinishCheck(session comm.IUserSession, req *pb.UniongveChallengeFinishReq) (errdata *pb.ErrorData) {
|
func (this *apiComp) ChallengeFinishCheck(session comm.IUserSession, req *pb.GuildGveChallengeFinishReq) (errdata *pb.ErrorData) {
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取工会boos战信息
|
// 获取工会boos战信息
|
||||||
func (this *apiComp) ChallengeFinish(session comm.IUserSession, req *pb.UniongveChallengeFinishReq) (errdata *pb.ErrorData) {
|
func (this *apiComp) ChallengeFinish(session comm.IUserSession, req *pb.GuildGveChallengeFinishReq) (errdata *pb.ErrorData) {
|
||||||
var (
|
var (
|
||||||
conf *cfg.GameGuildBossData
|
conf *cfg.GameGuildBossData
|
||||||
score *cfg.GameGuildBossScoreData
|
member *pb.DBGuildMember
|
||||||
info *pb.DBUnionGve
|
score *cfg.GameGuildBossScoreData
|
||||||
prop []*cfg.Gameatn
|
info *pb.DBGuildGve
|
||||||
award []*pb.UserAssets
|
prop []*cfg.Gameatn
|
||||||
ok bool
|
award []*pb.UserAssets
|
||||||
err error
|
ok bool
|
||||||
|
err error
|
||||||
)
|
)
|
||||||
if errdata = this.ChallengeFinishCheck(session, req); errdata != nil {
|
if errdata = this.ChallengeFinishCheck(session, req); errdata != nil {
|
||||||
return
|
return
|
||||||
@ -48,16 +49,33 @@ func (this *apiComp) ChallengeFinish(session comm.IUserSession, req *pb.Uniongve
|
|||||||
Title: pb.ErrorCode_ConfigNoFound.ToString(),
|
Title: pb.ErrorCode_ConfigNoFound.ToString(),
|
||||||
Message: err.Error(),
|
Message: err.Error(),
|
||||||
}
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if member, err = this.module.modelGuildMember.getGuildMember(req.Guildid, session.GetUserId()); err != nil {
|
||||||
|
errdata = &pb.ErrorData{
|
||||||
|
Code: pb.ErrorCode_DBError,
|
||||||
|
Title: pb.ErrorCode_DBError.ToString(),
|
||||||
|
Message: err.Error(),
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if member.Boosticket <= 0 {
|
||||||
|
errdata = &pb.ErrorData{
|
||||||
|
Code: pb.ErrorCode_ReqParameterError,
|
||||||
|
Title: pb.ErrorCode_ReqParameterError.ToString(),
|
||||||
|
Message: fmt.Sprintf("Boosticket is ", member.Boosticket),
|
||||||
|
}
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
lock, _ := this.module.modelUniongve.userlock(req.Unionid)
|
lock, _ := this.module.modelGuildGve.userlock(req.Guildid)
|
||||||
err = lock.Lock()
|
err = lock.Lock()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
this.module.Error("公会战分布式锁 err!", log.Field{Key: "Unionid", Value: req.Unionid}, log.Field{Key: "err", Value: err.Error()})
|
this.module.Error("公会战分布式锁 err!", log.Field{Key: "Unionid", Value: req.Guildid}, log.Field{Key: "err", Value: err.Error()})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
defer lock.Unlock()
|
defer lock.Unlock()
|
||||||
if info, err = this.module.modelUniongve.getUnionGve(req.Unionid); err != nil {
|
if info, err = this.module.modelGuildGve.getGuildGve(req.Guildid); err != nil {
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
Code: pb.ErrorCode_DBError,
|
Code: pb.ErrorCode_DBError,
|
||||||
Title: pb.ErrorCode_DBError.ToString(),
|
Title: pb.ErrorCode_DBError.ToString(),
|
||||||
@ -83,13 +101,13 @@ func (this *apiComp) ChallengeFinish(session comm.IUserSession, req *pb.Uniongve
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
v.Record = append(v.Record)
|
v.Record = append(v.Record)
|
||||||
go this.module.modelUniongve.booshpchangepush(req.Unionid, info)
|
go this.module.modelGuildGve.booshpchangepush(req.Guildid, info)
|
||||||
if v.Hp < 0 {
|
if v.Hp < 0 {
|
||||||
v.Hp = 0
|
v.Hp = 0
|
||||||
info.Kills++
|
info.Kills++
|
||||||
info.Lastkilltime = configure.Now().Unix()
|
info.Lastkilltime = configure.Now().Unix()
|
||||||
this.module.modelRank.updateRank(info)
|
this.module.modelRank.updateRank(info)
|
||||||
go this.module.modelUniongve.booskill(req.Unionid, req.Boosid, info)
|
go this.module.modelGuildGve.booskill(req.Guildid, req.Boosid, info)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
@ -97,6 +115,8 @@ func (this *apiComp) ChallengeFinish(session comm.IUserSession, req *pb.Uniongve
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ok {
|
if ok {
|
||||||
|
member.Boosticket--
|
||||||
|
this.module.modelGuildMember.updateGuildMember(member)
|
||||||
user := this.module.ModuleUser.GetUser(session.GetUserId())
|
user := this.module.ModuleUser.GetUser(session.GetUserId())
|
||||||
if prop = this.module.ModuleTools.GetGroupDataByLottery(score.Drop, user.Vip, user.Lv); len(prop) == 0 {
|
if prop = this.module.ModuleTools.GetGroupDataByLottery(score.Drop, user.Vip, user.Lv); len(prop) == 0 {
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
@ -118,7 +138,7 @@ func (this *apiComp) ChallengeFinish(session comm.IUserSession, req *pb.Uniongve
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
if err = this.module.modelUniongve.updateUnionGve(info); err != nil {
|
if err = this.module.modelGuildGve.updateGuildGve(info); err != nil {
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
Code: pb.ErrorCode_DBError,
|
Code: pb.ErrorCode_DBError,
|
||||||
Title: pb.ErrorCode_DBError.ToString(),
|
Title: pb.ErrorCode_DBError.ToString(),
|
||||||
@ -128,12 +148,13 @@ func (this *apiComp) ChallengeFinish(session comm.IUserSession, req *pb.Uniongve
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
session.SendMsg(string(this.module.GetType()), "challengefinish", &pb.UniongveChallengeFinishResp{
|
session.SendMsg(string(this.module.GetType()), "challengefinish", &pb.GuildGveChallengeFinishResp{
|
||||||
Unionid: req.Unionid,
|
Guildid: req.Guildid,
|
||||||
Boosid: req.Boosid,
|
Boosid: req.Boosid,
|
||||||
Efficient: ok,
|
Efficient: ok,
|
||||||
Award: award,
|
Award: award,
|
||||||
Score: score.Id,
|
Score: score.Id,
|
||||||
|
Boosticket: member.Boosticket,
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
65
modules/guildgve/api_info.go
Normal file
65
modules/guildgve/api_info.go
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
package guildgve
|
||||||
|
|
||||||
|
import (
|
||||||
|
"go_dreamfactory/comm"
|
||||||
|
"go_dreamfactory/lego/sys/log"
|
||||||
|
"go_dreamfactory/pb"
|
||||||
|
"go_dreamfactory/sys/configure"
|
||||||
|
cfg "go_dreamfactory/sys/configure/structs"
|
||||||
|
"go_dreamfactory/utils"
|
||||||
|
)
|
||||||
|
|
||||||
|
// 参数校验
|
||||||
|
func (this *apiComp) InfoCheck(session comm.IUserSession, req *pb.GuildGveInfoReq) (errdata *pb.ErrorData) {
|
||||||
|
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取工会boos战信息
|
||||||
|
func (this *apiComp) Info(session comm.IUserSession, req *pb.GuildGveInfoReq) (errdata *pb.ErrorData) {
|
||||||
|
var (
|
||||||
|
conf *cfg.GamePlayerlvData
|
||||||
|
member *pb.DBGuildMember
|
||||||
|
info *pb.DBGuildGve
|
||||||
|
err error
|
||||||
|
)
|
||||||
|
if errdata = this.InfoCheck(session, req); errdata != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
if member, err = this.module.modelGuildMember.getGuildMember(req.Guildid, session.GetUserId()); err != nil {
|
||||||
|
errdata = &pb.ErrorData{
|
||||||
|
Code: pb.ErrorCode_DBError,
|
||||||
|
Title: pb.ErrorCode_DBError.ToString(),
|
||||||
|
Message: err.Error(),
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
if !utils.IsToday(member.Refreshtime) {
|
||||||
|
if conf, errdata = this.module.ModuleTools.GetPlayerlvConf(session.GetUserId()); errdata != nil {
|
||||||
|
member.Boosticket = conf.GuildBossCeiling
|
||||||
|
member.Refreshtime = configure.Now().Unix()
|
||||||
|
this.module.modelGuildMember.updateGuildMember(member)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
lock, _ := this.module.modelGuildGve.userlock(req.Guildid)
|
||||||
|
err = lock.Lock()
|
||||||
|
if err != nil {
|
||||||
|
this.module.Error("公会战分布式锁 err!", log.Field{Key: "Unionid", Value: req.Guildid}, log.Field{Key: "err", Value: err.Error()})
|
||||||
|
return
|
||||||
|
}
|
||||||
|
defer lock.Unlock()
|
||||||
|
if info, err = this.module.modelGuildGve.getGuildGve(req.Guildid); err != nil {
|
||||||
|
errdata = &pb.ErrorData{
|
||||||
|
Code: pb.ErrorCode_DBError,
|
||||||
|
Title: pb.ErrorCode_DBError.ToString(),
|
||||||
|
Message: err.Error(),
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
session.SendMsg(string(this.module.GetType()), "info", &pb.GuildGveInfoResp{Info: info, Boosticket: member.Boosticket})
|
||||||
|
return
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package uniongve
|
package guildgve
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"go_dreamfactory/comm"
|
"go_dreamfactory/comm"
|
||||||
@ -6,18 +6,18 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// 参数校验
|
// 参数校验
|
||||||
func (this *apiComp) RankCheck(session comm.IUserSession, req *pb.UniongveRankReq) (errdata *pb.ErrorData) {
|
func (this *apiComp) RankCheck(session comm.IUserSession, req *pb.GuildGveRankReq) (errdata *pb.ErrorData) {
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取工会boos战信息
|
// 获取工会boos战信息
|
||||||
func (this *apiComp) Rank(session comm.IUserSession, req *pb.UniongveRankReq) (errdata *pb.ErrorData) {
|
func (this *apiComp) Rank(session comm.IUserSession, req *pb.GuildGveRankReq) (errdata *pb.ErrorData) {
|
||||||
var (
|
var (
|
||||||
err error
|
err error
|
||||||
ids []string
|
ids []string
|
||||||
sociatys []*pb.DBSociaty
|
sociatys []*pb.DBSociaty
|
||||||
ranks []*pb.UniongveRankItem
|
ranks []*pb.GuildGveRankItem
|
||||||
)
|
)
|
||||||
if errdata = this.RankCheck(session, req); errdata != nil {
|
if errdata = this.RankCheck(session, req); errdata != nil {
|
||||||
return
|
return
|
||||||
@ -36,12 +36,12 @@ func (this *apiComp) Rank(session comm.IUserSession, req *pb.UniongveRankReq) (e
|
|||||||
}
|
}
|
||||||
|
|
||||||
for i, v := range sociatys {
|
for i, v := range sociatys {
|
||||||
ranks = append(ranks, &pb.UniongveRankItem{
|
ranks = append(ranks, &pb.GuildGveRankItem{
|
||||||
Unionid: v.Id,
|
Guildid: v.Id,
|
||||||
Name: v.Name,
|
Name: v.Name,
|
||||||
Rank: int32(i),
|
Rank: int32(i),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
session.SendMsg(string(this.module.GetType()), "rank", &pb.UniongveRankResp{List: ranks})
|
session.SendMsg(string(this.module.GetType()), "rank", &pb.GuildGveRankResp{List: ranks})
|
||||||
return
|
return
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package uniongve
|
package guildgve
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"go_dreamfactory/comm"
|
"go_dreamfactory/comm"
|
||||||
@ -7,13 +7,13 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// 参数校验
|
// 参数校验
|
||||||
func (this *apiComp) RouletteCheck(session comm.IUserSession, req *pb.UniongveRouletteReq) (errdata *pb.ErrorData) {
|
func (this *apiComp) RouletteCheck(session comm.IUserSession, req *pb.GuildGveRouletteReq) (errdata *pb.ErrorData) {
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取工会 转轮
|
// 获取工会 转轮
|
||||||
func (this *apiComp) Roulette(session comm.IUserSession, req *pb.UniongveRouletteReq) (errdata *pb.ErrorData) {
|
func (this *apiComp) Roulette(session comm.IUserSession, req *pb.GuildGveRouletteReq) (errdata *pb.ErrorData) {
|
||||||
var (
|
var (
|
||||||
confs []*cfg.GameGuildBossRouletteData
|
confs []*cfg.GameGuildBossRouletteData
|
||||||
award []*pb.UserAssets = make([]*pb.UserAssets, 0)
|
award []*pb.UserAssets = make([]*pb.UserAssets, 0)
|
||||||
@ -58,9 +58,9 @@ func (this *apiComp) Roulette(session comm.IUserSession, req *pb.UniongveRoulett
|
|||||||
}
|
}
|
||||||
|
|
||||||
if confs[index].Push == 1 { //推送通知
|
if confs[index].Push == 1 { //推送通知
|
||||||
go this.module.modelUnionroulette.roulettechangePush(req.Unionid, session.GetUserId(), award)
|
go this.module.modelUnionroulette.roulettechangePush(req.Guildid, session.GetUserId(), award)
|
||||||
}
|
}
|
||||||
|
|
||||||
session.SendMsg(string(this.module.GetType()), "roulette", &pb.UniongveRouletteResp{Cid: confs[index].Id, Award: award})
|
session.SendMsg(string(this.module.GetType()), "roulette", &pb.GuildGveRouletteResp{Cid: confs[index].Id, Award: award})
|
||||||
return
|
return
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package uniongve
|
package guildgve
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"go_dreamfactory/comm"
|
"go_dreamfactory/comm"
|
||||||
@ -7,30 +7,30 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// 参数校验
|
// 参数校验
|
||||||
func (this *apiComp) SetFireCheck(session comm.IUserSession, req *pb.UniongveSetFireReq) (errdata *pb.ErrorData) {
|
func (this *apiComp) SetFireCheck(session comm.IUserSession, req *pb.GuildGveSetFireReq) (errdata *pb.ErrorData) {
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取工会设置集火
|
// 获取工会设置集火
|
||||||
func (this *apiComp) SetFire(session comm.IUserSession, req *pb.UniongveSetFireReq) (errdata *pb.ErrorData) {
|
func (this *apiComp) SetFire(session comm.IUserSession, req *pb.GuildGveSetFireReq) (errdata *pb.ErrorData) {
|
||||||
var (
|
var (
|
||||||
info *pb.DBUnionGve
|
info *pb.DBGuildGve
|
||||||
err error
|
err error
|
||||||
)
|
)
|
||||||
if errdata = this.SetFireCheck(session, req); errdata != nil {
|
if errdata = this.SetFireCheck(session, req); errdata != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
lock, _ := this.module.modelUniongve.userlock(req.Unionid)
|
lock, _ := this.module.modelGuildGve.userlock(req.Guildid)
|
||||||
err = lock.Lock()
|
err = lock.Lock()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
this.module.Error("公会战分布式锁 err!", log.Field{Key: "Unionid", Value: req.Unionid}, log.Field{Key: "err", Value: err.Error()})
|
this.module.Error("公会战分布式锁 err!", log.Field{Key: "Unionid", Value: req.Guildid}, log.Field{Key: "err", Value: err.Error()})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
defer lock.Unlock()
|
defer lock.Unlock()
|
||||||
|
|
||||||
if info, err = this.module.modelUniongve.getUnionGve(req.Unionid); err != nil {
|
if info, err = this.module.modelGuildGve.getGuildGve(req.Guildid); err != nil {
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
Code: pb.ErrorCode_DBError,
|
Code: pb.ErrorCode_DBError,
|
||||||
Title: pb.ErrorCode_DBError.ToString(),
|
Title: pb.ErrorCode_DBError.ToString(),
|
||||||
@ -41,7 +41,7 @@ func (this *apiComp) SetFire(session comm.IUserSession, req *pb.UniongveSetFireR
|
|||||||
info.Notice = req.Notice
|
info.Notice = req.Notice
|
||||||
info.Fire = req.Boosid
|
info.Fire = req.Boosid
|
||||||
|
|
||||||
if err = this.module.modelUniongve.updateUnionGve(info); err != nil {
|
if err = this.module.modelGuildGve.updateGuildGve(info); err != nil {
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
Code: pb.ErrorCode_DBError,
|
Code: pb.ErrorCode_DBError,
|
||||||
Title: pb.ErrorCode_DBError.ToString(),
|
Title: pb.ErrorCode_DBError.ToString(),
|
||||||
@ -49,7 +49,7 @@ func (this *apiComp) SetFire(session comm.IUserSession, req *pb.UniongveSetFireR
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
go this.module.modelUniongve.infochangepush(req.Unionid, info)
|
go this.module.modelGuildGve.infochangepush(req.Guildid, info)
|
||||||
session.SendMsg(string(this.module.GetType()), "info", &pb.UniongveInfoResp{Info: info})
|
session.SendMsg(string(this.module.GetType()), "info", &pb.GuildGveInfoResp{Info: info})
|
||||||
return
|
return
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package uniongve
|
package guildgve
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
@ -18,13 +18,13 @@ const (
|
|||||||
// /配置管理基础组件
|
// /配置管理基础组件
|
||||||
type MCompConfigure struct {
|
type MCompConfigure struct {
|
||||||
modules.MCompConfigure
|
modules.MCompConfigure
|
||||||
module *UnionGve
|
module *GuildGve
|
||||||
}
|
}
|
||||||
|
|
||||||
// 组件初始化接口
|
// 组件初始化接口
|
||||||
func (this *MCompConfigure) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
func (this *MCompConfigure) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
||||||
err = this.ModuleCompBase.Init(service, module, comp, options)
|
err = this.ModuleCompBase.Init(service, module, comp, options)
|
||||||
this.module = module.(*UnionGve)
|
this.module = module.(*GuildGve)
|
||||||
err = this.LoadMultiConfigure(map[string]interface{}{
|
err = this.LoadMultiConfigure(map[string]interface{}{
|
||||||
game_guildboss: cfg.NewGameGuildBoss,
|
game_guildboss: cfg.NewGameGuildBoss,
|
||||||
game_guildbossrank: cfg.NewGameGuildBossRank,
|
game_guildbossrank: cfg.NewGameGuildBossRank,
|
@ -1,4 +1,4 @@
|
|||||||
package uniongve
|
package guildgve
|
||||||
|
|
||||||
const (
|
const (
|
||||||
UnionGveBoosCoonfKey = "UnionGveBoosCoonf"
|
UnionGveBoosCoonfKey = "UnionGveBoosCoonf"
|
84
modules/guildgve/modelGuildMember.go
Normal file
84
modules/guildgve/modelGuildMember.go
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
package guildgve
|
||||||
|
|
||||||
|
import (
|
||||||
|
"errors"
|
||||||
|
"go_dreamfactory/comm"
|
||||||
|
"go_dreamfactory/lego/core"
|
||||||
|
"go_dreamfactory/lego/sys/log"
|
||||||
|
"go_dreamfactory/lego/sys/mgo"
|
||||||
|
"go_dreamfactory/modules"
|
||||||
|
"go_dreamfactory/pb"
|
||||||
|
"go_dreamfactory/sys/configure"
|
||||||
|
cfg "go_dreamfactory/sys/configure/structs"
|
||||||
|
"sync"
|
||||||
|
|
||||||
|
"go.mongodb.org/mongo-driver/bson/primitive"
|
||||||
|
"go.mongodb.org/mongo-driver/mongo"
|
||||||
|
"go.mongodb.org/mongo-driver/x/bsonx"
|
||||||
|
)
|
||||||
|
|
||||||
|
type ModelGuildMember struct {
|
||||||
|
modules.MCompModel
|
||||||
|
module *GuildGve
|
||||||
|
conflock sync.RWMutex
|
||||||
|
bossconf *pb.DBGuildGveBossConf
|
||||||
|
}
|
||||||
|
|
||||||
|
func (this *ModelGuildMember) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
||||||
|
err = this.MCompModel.Init(service, module, comp, options)
|
||||||
|
this.TableName = comm.TableGuildMember
|
||||||
|
this.module = module.(*GuildGve)
|
||||||
|
this.DB.CreateIndex(core.SqlTable(this.TableName), mongo.IndexModel{
|
||||||
|
Keys: bsonx.Doc{{Key: "uid", Value: bsonx.Int32(1)}},
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
func (this *ModelGuildMember) Start() (err error) {
|
||||||
|
err = this.MCompModel.Start()
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取用户全部的埋点数据
|
||||||
|
func (this *ModelGuildMember) getGuildMember(guild, uid string) (results *pb.DBGuildMember, err error) {
|
||||||
|
var (
|
||||||
|
conf *cfg.GamePlayerlvData
|
||||||
|
errdata *pb.ErrorData
|
||||||
|
)
|
||||||
|
results = &pb.DBGuildMember{}
|
||||||
|
if err = this.Get(uid, results); err != nil && err != mgo.MongodbNil {
|
||||||
|
this.module.Errorln(err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if err == mgo.MongodbNil {
|
||||||
|
if conf, errdata = this.module.ModuleTools.GetPlayerlvConf(uid); errdata != nil {
|
||||||
|
err = errors.New(errdata.Message)
|
||||||
|
this.module.Errorln(errdata)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
results = &pb.DBGuildMember{
|
||||||
|
Id: primitive.NewObjectID().Hex(),
|
||||||
|
Uid: uid,
|
||||||
|
Guild: guild,
|
||||||
|
Boosticket: conf.GuildBossCeiling,
|
||||||
|
Refreshtime: configure.Now().Unix(),
|
||||||
|
}
|
||||||
|
err = this.Add(uid, results)
|
||||||
|
}
|
||||||
|
if results.Guild != guild {
|
||||||
|
results.Guild = guild
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
func (this *ModelGuildMember) updateGuildMember(data *pb.DBGuildMember) (err error) {
|
||||||
|
if err = this.Change(data.Uid, map[string]interface{}{
|
||||||
|
"guild": data.Guild,
|
||||||
|
"boosticket": data.Boosticket,
|
||||||
|
"refreshtime": data.Refreshtime,
|
||||||
|
}); err != nil {
|
||||||
|
this.module.Error("更新工会成员信息 错误!", log.Field{Key: "err", Value: err.Error()})
|
||||||
|
return
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package uniongve
|
package guildgve
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
@ -14,15 +14,15 @@ import (
|
|||||||
|
|
||||||
type ModelUnionroulette struct {
|
type ModelUnionroulette struct {
|
||||||
modules.MCompModel
|
modules.MCompModel
|
||||||
module *UnionGve
|
module *GuildGve
|
||||||
conflock sync.RWMutex
|
conflock sync.RWMutex
|
||||||
bossconf *pb.DBUnionGveBossConf
|
bossconf *pb.DBGuildGveBossConf
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *ModelUnionroulette) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
func (this *ModelUnionroulette) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
||||||
err = this.MCompModel.Init(service, module, comp, options)
|
err = this.MCompModel.Init(service, module, comp, options)
|
||||||
this.TableName = comm.TableUnionroulette
|
this.TableName = comm.TableUnionroulette
|
||||||
this.module = module.(*UnionGve)
|
this.module = module.(*GuildGve)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -32,24 +32,24 @@ func (this *ModelUnionroulette) Start() (err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 获取用户全部的埋点数据
|
// 获取用户全部的埋点数据
|
||||||
func (this *ModelUnionroulette) getUnionRoulette(unionid string) (results *pb.DBUnionRouletteRecord, err error) {
|
func (this *ModelUnionroulette) getUnionRoulette(Guildid string) (results *pb.DBGuildRouletteRecord, err error) {
|
||||||
results = &pb.DBUnionRouletteRecord{}
|
results = &pb.DBGuildRouletteRecord{}
|
||||||
if err = this.Get(unionid, results); err != nil && err != mgo.MongodbNil {
|
if err = this.Get(Guildid, results); err != nil && err != mgo.MongodbNil {
|
||||||
this.module.Errorln(err)
|
this.module.Errorln(err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if err == mgo.MongodbNil {
|
if err == mgo.MongodbNil {
|
||||||
results = &pb.DBUnionRouletteRecord{
|
results = &pb.DBGuildRouletteRecord{
|
||||||
Unionid: unionid,
|
Guildid: Guildid,
|
||||||
Roulette: make([]*pb.DBGveRouletteRecord, 0),
|
Roulette: make([]*pb.DBGveRouletteRecord, 0),
|
||||||
}
|
}
|
||||||
err = this.Add(unionid, results)
|
err = this.Add(Guildid, results)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *ModelUnionroulette) updateUnionRoulette(data *pb.DBUnionRouletteRecord) (err error) {
|
func (this *ModelUnionroulette) updateUnionRoulette(data *pb.DBGuildRouletteRecord) (err error) {
|
||||||
if err = this.Change(data.Unionid, map[string]interface{}{
|
if err = this.Change(data.Guildid, map[string]interface{}{
|
||||||
"roulette": data.Roulette,
|
"roulette": data.Roulette,
|
||||||
}); err != nil {
|
}); err != nil {
|
||||||
this.module.Error("更新用户任务数据 错误!", log.Field{Key: "err", Value: err.Error()})
|
this.module.Error("更新用户任务数据 错误!", log.Field{Key: "err", Value: err.Error()})
|
||||||
@ -66,7 +66,7 @@ func (this *ModelUnionroulette) userlock(id string) (result *redis.RedisMutex, e
|
|||||||
// boos 信息变化推送
|
// boos 信息变化推送
|
||||||
func (this *ModelUnionroulette) roulettechangePush(unionid string, uid string, award []*pb.UserAssets) {
|
func (this *ModelUnionroulette) roulettechangePush(unionid string, uid string, award []*pb.UserAssets) {
|
||||||
var (
|
var (
|
||||||
info *pb.DBUnionRouletteRecord
|
info *pb.DBGuildRouletteRecord
|
||||||
members []*pb.SociatyMemberInfo
|
members []*pb.SociatyMemberInfo
|
||||||
users []string = make([]string, 0)
|
users []string = make([]string, 0)
|
||||||
errdata *pb.ErrorData
|
errdata *pb.ErrorData
|
||||||
@ -80,7 +80,7 @@ func (this *ModelUnionroulette) roulettechangePush(unionid string, uid string, a
|
|||||||
users = append(users, v.Uid)
|
users = append(users, v.Uid)
|
||||||
}
|
}
|
||||||
|
|
||||||
lock, _ := this.module.modelUniongve.userlock(unionid)
|
lock, _ := this.module.modelGuildGve.userlock(unionid)
|
||||||
err = lock.Lock()
|
err = lock.Lock()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
this.module.Error("公会战分布式锁 err!", log.Field{Key: "Unionid", Value: unionid}, log.Field{Key: "err", Value: err.Error()})
|
this.module.Error("公会战分布式锁 err!", log.Field{Key: "Unionid", Value: unionid}, log.Field{Key: "err", Value: err.Error()})
|
||||||
@ -96,7 +96,7 @@ func (this *ModelUnionroulette) roulettechangePush(unionid string, uid string, a
|
|||||||
Award: award,
|
Award: award,
|
||||||
})
|
})
|
||||||
|
|
||||||
this.module.SendMsgToUsers(string(this.module.GetType()), "roulettechange", &pb.UniongveRouletteChangePush{
|
this.module.SendMsgToUsers(string(this.module.GetType()), "roulettechange", &pb.GuildGveRouletteChangePush{
|
||||||
Record: info,
|
Record: info,
|
||||||
}, users...)
|
}, users...)
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package uniongve
|
package guildgve
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
@ -18,15 +18,15 @@ import (
|
|||||||
|
|
||||||
type ModelUniongve struct {
|
type ModelUniongve struct {
|
||||||
modules.MCompModel
|
modules.MCompModel
|
||||||
module *UnionGve
|
module *GuildGve
|
||||||
conflock sync.RWMutex
|
conflock sync.RWMutex
|
||||||
bossconf *pb.DBUnionGveBossConf
|
bossconf *pb.DBGuildGveBossConf
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *ModelUniongve) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
func (this *ModelUniongve) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
||||||
err = this.MCompModel.Init(service, module, comp, options)
|
err = this.MCompModel.Init(service, module, comp, options)
|
||||||
this.TableName = comm.TableUniongve
|
this.TableName = comm.TableGuildgve
|
||||||
this.module = module.(*UnionGve)
|
this.module = module.(*GuildGve)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -41,15 +41,15 @@ func (this *ModelUniongve) Start() (err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 获取用户全部的埋点数据
|
// 获取用户全部的埋点数据
|
||||||
func (this *ModelUniongve) getUnionGve(unionid string) (results *pb.DBUnionGve, err error) {
|
func (this *ModelUniongve) getGuildGve(guildid string) (results *pb.DBGuildGve, err error) {
|
||||||
var (
|
var (
|
||||||
confs *pb.DBUnionGveBossConf
|
confs *pb.DBGuildGveBossConf
|
||||||
conf *cfg.GameGuildBossData
|
conf *cfg.GameGuildBossData
|
||||||
)
|
)
|
||||||
results = &pb.DBUnionGve{
|
results = &pb.DBGuildGve{
|
||||||
Boos: make([]*pb.DBUnionGveBoss, 0),
|
Boos: make([]*pb.DBGuildGveBoss, 0),
|
||||||
}
|
}
|
||||||
if err = this.GetByID(unionid, results); err != nil && err != mgo.MongodbNil {
|
if err = this.GetByID(guildid, results); err != nil && err != mgo.MongodbNil {
|
||||||
this.module.Errorln(err)
|
this.module.Errorln(err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -58,29 +58,29 @@ func (this *ModelUniongve) getUnionGve(unionid string) (results *pb.DBUnionGve,
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
results = &pb.DBUnionGve{
|
results = &pb.DBGuildGve{
|
||||||
Unionid: unionid,
|
Guildid: guildid,
|
||||||
Currstage: 0,
|
Currstage: 0,
|
||||||
Rtime: confs.Rtime,
|
Rtime: confs.Rtime,
|
||||||
Boos: make([]*pb.DBUnionGveBoss, 0),
|
Boos: make([]*pb.DBGuildGveBoss, 0),
|
||||||
}
|
}
|
||||||
for _, v := range confs.Boos {
|
for _, v := range confs.Boos {
|
||||||
if conf, err = this.module.configure.getguildbossByid(v); err != nil {
|
if conf, err = this.module.configure.getguildbossByid(v); err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
results.Boos = append(results.Boos, &pb.DBUnionGveBoss{
|
results.Boos = append(results.Boos, &pb.DBGuildGveBoss{
|
||||||
Boosid: v,
|
Boosid: v,
|
||||||
Hp: conf.Hp,
|
Hp: conf.Hp,
|
||||||
Record: make([]*pb.DBGveRecord, 0),
|
Record: make([]*pb.DBGveRecord, 0),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
err = this.Add(unionid, results)
|
err = this.Add(guildid, results)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *ModelUniongve) updateUnionGve(data *pb.DBUnionGve) (err error) {
|
func (this *ModelUniongve) updateGuildGve(data *pb.DBGuildGve) (err error) {
|
||||||
if err = this.Change(data.Unionid, map[string]interface{}{
|
if err = this.Change(data.Guildid, map[string]interface{}{
|
||||||
"fire": data.Fire,
|
"fire": data.Fire,
|
||||||
"notice": data.Notice,
|
"notice": data.Notice,
|
||||||
"currstage": data.Currstage,
|
"currstage": data.Currstage,
|
||||||
@ -99,7 +99,7 @@ func (this *ModelUniongve) updateUnionGve(data *pb.DBUnionGve) (err error) {
|
|||||||
// 刷新全局配置
|
// 刷新全局配置
|
||||||
func (this *ModelUniongve) loadGlobalBoos() (err error) {
|
func (this *ModelUniongve) loadGlobalBoos() (err error) {
|
||||||
var (
|
var (
|
||||||
bossconf *pb.DBUnionGveBossConf = &pb.DBUnionGveBossConf{}
|
bossconf *pb.DBGuildGveBossConf = &pb.DBGuildGveBossConf{}
|
||||||
)
|
)
|
||||||
if err = this.module.ModuleTools.GetGlobalData(UnionGveBoosCoonfKey, bossconf); err != nil && err != mgo.MongodbNil {
|
if err = this.module.ModuleTools.GetGlobalData(UnionGveBoosCoonfKey, bossconf); err != nil && err != mgo.MongodbNil {
|
||||||
this.module.Errorln(err)
|
this.module.Errorln(err)
|
||||||
@ -116,9 +116,9 @@ func (this *ModelUniongve) loadGlobalBoos() (err error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *ModelUniongve) getGlobalBoos() (conf *pb.DBUnionGveBossConf, err error) {
|
func (this *ModelUniongve) getGlobalBoos() (conf *pb.DBGuildGveBossConf, err error) {
|
||||||
var (
|
var (
|
||||||
bossconf *pb.DBUnionGveBossConf
|
bossconf *pb.DBGuildGveBossConf
|
||||||
)
|
)
|
||||||
this.conflock.RLock()
|
this.conflock.RLock()
|
||||||
bossconf = this.bossconf
|
bossconf = this.bossconf
|
||||||
@ -136,7 +136,7 @@ func (this *ModelUniongve) getGlobalBoos() (conf *pb.DBUnionGveBossConf, err err
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 刷新全局配置
|
// 刷新全局配置
|
||||||
func (this *ModelUniongve) refreshGlobalBoos() (conf *pb.DBUnionGveBossConf, err error) {
|
func (this *ModelUniongve) refreshGlobalBoos() (conf *pb.DBGuildGveBossConf, err error) {
|
||||||
var (
|
var (
|
||||||
booss []*cfg.GameGuildBossData
|
booss []*cfg.GameGuildBossData
|
||||||
rands []int
|
rands []int
|
||||||
@ -149,7 +149,7 @@ func (this *ModelUniongve) refreshGlobalBoos() (conf *pb.DBUnionGveBossConf, err
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
rands = comm.RandShuffle(len(booss))
|
rands = comm.RandShuffle(len(booss))
|
||||||
conf = &pb.DBUnionGveBossConf{
|
conf = &pb.DBGuildGveBossConf{
|
||||||
Key: UnionGveBoosCoonfKey,
|
Key: UnionGveBoosCoonfKey,
|
||||||
Rtime: configure.Now().Unix(),
|
Rtime: configure.Now().Unix(),
|
||||||
Boos: make([]int32, 5),
|
Boos: make([]int32, 5),
|
||||||
@ -173,7 +173,7 @@ func (this *ModelUniongve) userlock(id string) (result *redis.RedisMutex, err er
|
|||||||
}
|
}
|
||||||
|
|
||||||
// boos 血量变化推送
|
// boos 血量变化推送
|
||||||
func (this *ModelUniongve) booshpchangepush(unionid string, info *pb.DBUnionGve) {
|
func (this *ModelUniongve) booshpchangepush(unionid string, info *pb.DBGuildGve) {
|
||||||
var (
|
var (
|
||||||
members []*pb.SociatyMemberInfo
|
members []*pb.SociatyMemberInfo
|
||||||
users []string = make([]string, 0)
|
users []string = make([]string, 0)
|
||||||
@ -187,13 +187,13 @@ func (this *ModelUniongve) booshpchangepush(unionid string, info *pb.DBUnionGve)
|
|||||||
users = append(users, v.Uid)
|
users = append(users, v.Uid)
|
||||||
|
|
||||||
}
|
}
|
||||||
this.module.SendMsgToUsers(string(this.module.GetType()), "booschange", &pb.UniongveBoosChangePush{
|
this.module.SendMsgToUsers(string(this.module.GetType()), "booschange", &pb.GuildGveBoosChangePush{
|
||||||
Info: info,
|
Info: info,
|
||||||
}, users...)
|
}, users...)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 击杀boos
|
// 击杀boos
|
||||||
func (this *ModelUniongve) booskill(unionid string, boosid int32, info *pb.DBUnionGve) {
|
func (this *ModelUniongve) booskill(unionid string, boosid int32, info *pb.DBGuildGve) {
|
||||||
var (
|
var (
|
||||||
conf *cfg.GameGuildBossData
|
conf *cfg.GameGuildBossData
|
||||||
members []*pb.SociatyMemberInfo
|
members []*pb.SociatyMemberInfo
|
||||||
@ -222,7 +222,7 @@ func (this *ModelUniongve) booskill(unionid string, boosid int32, info *pb.DBUni
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
lock, _ := this.module.modelUniongve.userlock(unionid)
|
lock, _ := this.module.modelGuildGve.userlock(unionid)
|
||||||
err = lock.Lock()
|
err = lock.Lock()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
this.module.Error("公会战分布式锁 err!", log.Field{Key: "Unionid", Value: unionid}, log.Field{Key: "err", Value: err.Error()})
|
this.module.Error("公会战分布式锁 err!", log.Field{Key: "Unionid", Value: unionid}, log.Field{Key: "err", Value: err.Error()})
|
||||||
@ -241,17 +241,17 @@ func (this *ModelUniongve) booskill(unionid string, boosid int32, info *pb.DBUni
|
|||||||
v.Hp = v.Hp
|
v.Hp = v.Hp
|
||||||
v.Record = make([]*pb.DBGveRecord, 0)
|
v.Record = make([]*pb.DBGveRecord, 0)
|
||||||
}
|
}
|
||||||
if err = this.updateUnionGve(info); err != nil {
|
if err = this.updateGuildGve(info); err != nil {
|
||||||
this.module.Errorln(err)
|
this.module.Errorln(err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.module.SendMsgToUsers(string(this.module.GetType()), "stagechange", &pb.UniongveStageChangePush{
|
this.module.SendMsgToUsers(string(this.module.GetType()), "stagechange", &pb.GuildGveStageChangePush{
|
||||||
Info: info,
|
Info: info,
|
||||||
}, users...)
|
}, users...)
|
||||||
}
|
}
|
||||||
|
|
||||||
// boos 信息变化推送
|
// boos 信息变化推送
|
||||||
func (this *ModelUniongve) infochangepush(unionid string, info *pb.DBUnionGve) {
|
func (this *ModelUniongve) infochangepush(unionid string, info *pb.DBGuildGve) {
|
||||||
var (
|
var (
|
||||||
members []*pb.SociatyMemberInfo
|
members []*pb.SociatyMemberInfo
|
||||||
users []string = make([]string, 0)
|
users []string = make([]string, 0)
|
||||||
@ -265,7 +265,7 @@ func (this *ModelUniongve) infochangepush(unionid string, info *pb.DBUnionGve) {
|
|||||||
users = append(users, v.Uid)
|
users = append(users, v.Uid)
|
||||||
|
|
||||||
}
|
}
|
||||||
this.module.SendMsgToUsers(string(this.module.GetType()), "infochange", &pb.UniongveInfoChangePush{
|
this.module.SendMsgToUsers(string(this.module.GetType()), "infochange", &pb.GuildGveInfoChangePush{
|
||||||
Info: info,
|
Info: info,
|
||||||
}, users...)
|
}, users...)
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package uniongve
|
package guildgve
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
@ -18,15 +18,15 @@ import (
|
|||||||
|
|
||||||
type modelRank struct {
|
type modelRank struct {
|
||||||
modules.MCompModel
|
modules.MCompModel
|
||||||
module *UnionGve
|
module *GuildGve
|
||||||
conflock sync.RWMutex
|
conflock sync.RWMutex
|
||||||
bossconf *pb.DBUnionGveBossConf
|
bossconf *pb.DBGuildGveBossConf
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *modelRank) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
func (this *modelRank) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
||||||
err = this.MCompModel.Init(service, module, comp, options)
|
err = this.MCompModel.Init(service, module, comp, options)
|
||||||
this.TableName = comm.TableUnionrank
|
this.TableName = comm.TableUnionrank
|
||||||
this.module = module.(*UnionGve)
|
this.module = module.(*GuildGve)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -52,7 +52,7 @@ func (this *modelRank) queryRankUser() (ranks []string, err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 更新排名
|
// 更新排名
|
||||||
func (this *modelRank) updateRank(guilds ...*pb.DBUnionGve) (err error) {
|
func (this *modelRank) updateRank(guilds ...*pb.DBGuildGve) (err error) {
|
||||||
var (
|
var (
|
||||||
pipe *pipe.RedisPipe = this.DBModel.Redis.RedisPipe(context.TODO())
|
pipe *pipe.RedisPipe = this.DBModel.Redis.RedisPipe(context.TODO())
|
||||||
menbers []*redis.Z
|
menbers []*redis.Z
|
||||||
@ -66,13 +66,13 @@ func (this *modelRank) updateRank(guilds ...*pb.DBUnionGve) (err error) {
|
|||||||
start := time.Unix(v.Lastkilltime, 0)
|
start := time.Unix(v.Lastkilltime, 0)
|
||||||
seconds := endtime.Sub(start).Seconds()
|
seconds := endtime.Sub(start).Seconds()
|
||||||
Integral := float64(v.Kills)*float64(10000000000) + seconds
|
Integral := float64(v.Kills)*float64(10000000000) + seconds
|
||||||
menbers[i] = &redis.Z{Score: Integral, Member: v.Unionid}
|
menbers[i] = &redis.Z{Score: Integral, Member: v.Guildid}
|
||||||
}
|
}
|
||||||
if cmd = pipe.ZAdd(this.TableName, menbers...); err != nil {
|
if cmd = pipe.ZAdd(this.TableName, menbers...); err != nil {
|
||||||
this.module.Errorln(err)
|
this.module.Errorln(err)
|
||||||
}
|
}
|
||||||
for i, v := range guilds {
|
for i, v := range guilds {
|
||||||
menbersCmd[i] = pipe.ZRevRank(this.TableName, v.Unionid)
|
menbersCmd[i] = pipe.ZRevRank(this.TableName, v.Guildid)
|
||||||
}
|
}
|
||||||
if _, err = pipe.Exec(); err != nil {
|
if _, err = pipe.Exec(); err != nil {
|
||||||
this.module.Errorln(err)
|
this.module.Errorln(err)
|
@ -1,4 +1,4 @@
|
|||||||
package uniongve
|
package guildgve
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
@ -9,35 +9,36 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func NewModule() core.IModule {
|
func NewModule() core.IModule {
|
||||||
m := new(UnionGve)
|
m := new(GuildGve)
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
|
|
||||||
type UnionGve struct {
|
type GuildGve struct {
|
||||||
modules.ModuleBase
|
modules.ModuleBase
|
||||||
service comm.IService
|
service comm.IService
|
||||||
sociaty comm.ISociaty
|
sociaty comm.ISociaty
|
||||||
mail comm.Imail
|
mail comm.Imail
|
||||||
battle comm.IBattle
|
battle comm.IBattle
|
||||||
api *apiComp
|
api *apiComp
|
||||||
modelUniongve *ModelUniongve
|
modelGuildGve *ModelUniongve
|
||||||
modelUnionroulette *ModelUnionroulette
|
modelUnionroulette *ModelUnionroulette
|
||||||
|
modelGuildMember *ModelGuildMember
|
||||||
modelRank *modelRank
|
modelRank *modelRank
|
||||||
configure *MCompConfigure
|
configure *MCompConfigure
|
||||||
}
|
}
|
||||||
|
|
||||||
// 模块名
|
// 模块名
|
||||||
func (this *UnionGve) GetType() core.M_Modules {
|
func (this *GuildGve) GetType() core.M_Modules {
|
||||||
return comm.ModuleUnionGve
|
return comm.ModuleGuildGve
|
||||||
}
|
}
|
||||||
|
|
||||||
// 模块初始化接口 注册用户创建角色事件
|
// 模块初始化接口 注册用户创建角色事件
|
||||||
func (this *UnionGve) Init(service core.IService, module core.IModule, options core.IModuleOptions) (err error) {
|
func (this *GuildGve) Init(service core.IService, module core.IModule, options core.IModuleOptions) (err error) {
|
||||||
err = this.ModuleBase.Init(service, module, options)
|
err = this.ModuleBase.Init(service, module, options)
|
||||||
this.service = service.(comm.IService)
|
this.service = service.(comm.IService)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
func (this *UnionGve) Start() (err error) {
|
func (this *GuildGve) Start() (err error) {
|
||||||
err = this.ModuleBase.Start()
|
err = this.ModuleBase.Start()
|
||||||
var module core.IModule
|
var module core.IModule
|
||||||
if module, err = this.service.GetModule(comm.ModuleSociaty); err != nil {
|
if module, err = this.service.GetModule(comm.ModuleSociaty); err != nil {
|
||||||
@ -57,17 +58,18 @@ func (this *UnionGve) Start() (err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 装备组件
|
// 装备组件
|
||||||
func (this *UnionGve) OnInstallComp() {
|
func (this *GuildGve) OnInstallComp() {
|
||||||
this.ModuleBase.OnInstallComp()
|
this.ModuleBase.OnInstallComp()
|
||||||
this.api = this.RegisterComp(new(apiComp)).(*apiComp)
|
this.api = this.RegisterComp(new(apiComp)).(*apiComp)
|
||||||
this.configure = this.RegisterComp(new(MCompConfigure)).(*MCompConfigure)
|
this.configure = this.RegisterComp(new(MCompConfigure)).(*MCompConfigure)
|
||||||
this.modelUniongve = this.RegisterComp(new(ModelUniongve)).(*ModelUniongve)
|
this.modelGuildGve = this.RegisterComp(new(ModelUniongve)).(*ModelUniongve)
|
||||||
|
this.modelGuildMember = this.RegisterComp(new(ModelGuildMember)).(*ModelGuildMember)
|
||||||
this.modelUnionroulette = this.RegisterComp(new(ModelUnionroulette)).(*ModelUnionroulette)
|
this.modelUnionroulette = this.RegisterComp(new(ModelUnionroulette)).(*ModelUnionroulette)
|
||||||
this.modelRank = this.RegisterComp(new(modelRank)).(*modelRank)
|
this.modelRank = this.RegisterComp(new(modelRank)).(*modelRank)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 工会Boos战结算通知
|
// 工会Boos战结算通知
|
||||||
func (this *UnionGve) Rpc_ModuleGuildBossSettlement(ctx context.Context, req *pb.EmptyReq, resp interface{}) (err error) {
|
func (this *GuildGve) Rpc_ModuleGuildBossSettlement(ctx context.Context, req *pb.EmptyReq, resp interface{}) (err error) {
|
||||||
this.Debug("Rpc_ModuleGuildBossSettlement 工会Boos战结算通知 !")
|
this.Debug("Rpc_ModuleGuildBossSettlement 工会Boos战结算通知 !")
|
||||||
this.modelRank.raceSettlement()
|
this.modelRank.raceSettlement()
|
||||||
return
|
return
|
@ -663,7 +663,7 @@ func (this *ModelSociaty) extendJob(srcMasterId string, sociaty *pb.DBSociaty) e
|
|||||||
|
|
||||||
// 选举新会长
|
// 选举新会长
|
||||||
func (this *ModelSociaty) electNewMaster(srcMasterId string, sociaty *pb.DBSociaty) error {
|
func (this *ModelSociaty) electNewMaster(srcMasterId string, sociaty *pb.DBSociaty) error {
|
||||||
vpIds := []*pb.SociatyMember{} // 副会长
|
vpIds := []*pb.SociatyMember{} //副会长
|
||||||
aIds := []*pb.SociatyMember{} //管理员
|
aIds := []*pb.SociatyMember{} //管理员
|
||||||
mIds := []*pb.SociatyMember{} //普通成员
|
mIds := []*pb.SociatyMember{} //普通成员
|
||||||
|
|
||||||
|
@ -37,6 +37,7 @@ const (
|
|||||||
// /配置管理基础组件
|
// /配置管理基础组件
|
||||||
type MCompConfigure struct {
|
type MCompConfigure struct {
|
||||||
cbase.ModuleCompBase
|
cbase.ModuleCompBase
|
||||||
|
module *Tools
|
||||||
hlock sync.RWMutex
|
hlock sync.RWMutex
|
||||||
_dropMap map[int32][]*cfg.GameDropData // 掉落表 key 是DiropId
|
_dropMap map[int32][]*cfg.GameDropData // 掉落表 key 是DiropId
|
||||||
_sign map[int32]*cfg.GameSignData
|
_sign map[int32]*cfg.GameSignData
|
||||||
@ -60,6 +61,7 @@ type MCompConfigure struct {
|
|||||||
// 组件初始化接口
|
// 组件初始化接口
|
||||||
func (this *MCompConfigure) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
func (this *MCompConfigure) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
|
||||||
err = this.ModuleCompBase.Init(service, module, comp, options)
|
err = this.ModuleCompBase.Init(service, module, comp, options)
|
||||||
|
this.module = module.(*Tools)
|
||||||
err = this.LoadConfigure(game_global, cfg.NewGameGlobal)
|
err = this.LoadConfigure(game_global, cfg.NewGameGlobal)
|
||||||
err = this.LoadConfigure(game_initial, cfg.NewGameInitial)
|
err = this.LoadConfigure(game_initial, cfg.NewGameInitial)
|
||||||
err = this.LoadConfigure(new_hero, cfg.NewGameHero)
|
err = this.LoadConfigure(new_hero, cfg.NewGameHero)
|
||||||
@ -402,17 +404,17 @@ func (this *MCompConfigure) GetPlayerlvConfList() (list []*cfg.GamePlayerlvData)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 玩家等级经验配置表
|
// 玩家等级经验配置表
|
||||||
func (this *MCompConfigure) GetPlayerlvConf(lv int32) (data *cfg.GamePlayerlvData) {
|
func (this *MCompConfigure) GetPlayerlvConf(lv int32) (data *cfg.GamePlayerlvData, err error) {
|
||||||
if v, err := this.GetConfigure(game_playerlv); err != nil {
|
var (
|
||||||
|
v interface{}
|
||||||
|
ok bool
|
||||||
|
)
|
||||||
|
if v, err = this.GetConfigure(game_playerlv); err != nil {
|
||||||
return
|
return
|
||||||
} else {
|
} else {
|
||||||
if configure, ok := v.(*cfg.GamePlayerlv); !ok {
|
if data, ok = v.(*cfg.GamePlayerlv).GetDataMap()[lv]; !ok {
|
||||||
err = fmt.Errorf("%T no is *cfg.Game_playerlv", v)
|
err = comm.NewNotFoundConfErr(string(this.module.GetType()), game_playerlv, lv)
|
||||||
return
|
return
|
||||||
} else {
|
|
||||||
if configure != nil {
|
|
||||||
data = configure.GetDataMap()[lv]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
package tools
|
package tools
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"go_dreamfactory/comm"
|
"go_dreamfactory/comm"
|
||||||
"go_dreamfactory/lego/core"
|
"go_dreamfactory/lego/core"
|
||||||
"go_dreamfactory/modules"
|
"go_dreamfactory/modules"
|
||||||
|
"go_dreamfactory/pb"
|
||||||
cfg "go_dreamfactory/sys/configure/structs"
|
cfg "go_dreamfactory/sys/configure/structs"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -67,6 +69,29 @@ func (this *Tools) GetGroupDataByLotteryId(id int32) (data *cfg.GameLotteryData,
|
|||||||
func (this *Tools) GetGlobalConf() *cfg.GameGlobalData {
|
func (this *Tools) GetGlobalConf() *cfg.GameGlobalData {
|
||||||
return this.configure.GetGlobalConf()
|
return this.configure.GetGlobalConf()
|
||||||
}
|
}
|
||||||
|
func (this *Tools) GetPlayerlvConf(uid string) (conf *cfg.GamePlayerlvData, errdata *pb.ErrorData) {
|
||||||
|
var (
|
||||||
|
user *pb.DBUser
|
||||||
|
err error
|
||||||
|
)
|
||||||
|
if user = this.ModuleUser.GetUser(uid); user != nil {
|
||||||
|
errdata = &pb.ErrorData{
|
||||||
|
Code: pb.ErrorCode_DBError,
|
||||||
|
Title: pb.ErrorCode_DBError.String(),
|
||||||
|
Message: fmt.Sprintf("found user:%s", uid),
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if conf, err = this.configure.GetPlayerlvConf(user.Lv); err != nil {
|
||||||
|
errdata = &pb.ErrorData{
|
||||||
|
Code: pb.ErrorCode_ConfigNoFound,
|
||||||
|
Title: pb.ErrorCode_ConfigNoFound.String(),
|
||||||
|
Message: err.Error(),
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
func (this *Tools) GetPriceGroupCost(pricegroupId int32, purchase int32) (res []*cfg.Gameatn, err error) {
|
func (this *Tools) GetPriceGroupCost(pricegroupId int32, purchase int32) (res []*cfg.Gameatn, err error) {
|
||||||
return this.configure.GetPriceGroupCost(pricegroupId, purchase)
|
return this.configure.GetPriceGroupCost(pricegroupId, purchase)
|
||||||
|
@ -1,41 +0,0 @@
|
|||||||
package uniongve
|
|
||||||
|
|
||||||
import (
|
|
||||||
"go_dreamfactory/comm"
|
|
||||||
"go_dreamfactory/lego/sys/log"
|
|
||||||
"go_dreamfactory/pb"
|
|
||||||
)
|
|
||||||
|
|
||||||
// 参数校验
|
|
||||||
func (this *apiComp) InfoCheck(session comm.IUserSession, req *pb.UniongveInfoReq) (errdata *pb.ErrorData) {
|
|
||||||
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// 获取工会boos战信息
|
|
||||||
func (this *apiComp) Info(session comm.IUserSession, req *pb.UniongveInfoReq) (errdata *pb.ErrorData) {
|
|
||||||
var (
|
|
||||||
info *pb.DBUnionGve
|
|
||||||
err error
|
|
||||||
)
|
|
||||||
if errdata = this.InfoCheck(session, req); errdata != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
lock, _ := this.module.modelUniongve.userlock(req.Unionid)
|
|
||||||
err = lock.Lock()
|
|
||||||
if err != nil {
|
|
||||||
this.module.Error("公会战分布式锁 err!", log.Field{Key: "Unionid", Value: req.Unionid}, log.Field{Key: "err", Value: err.Error()})
|
|
||||||
return
|
|
||||||
}
|
|
||||||
defer lock.Unlock()
|
|
||||||
if info, err = this.module.modelUniongve.getUnionGve(req.Unionid); err != nil {
|
|
||||||
errdata = &pb.ErrorData{
|
|
||||||
Code: pb.ErrorCode_DBError,
|
|
||||||
Title: pb.ErrorCode_DBError.ToString(),
|
|
||||||
Message: err.Error(),
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
session.SendMsg(string(this.module.GetType()), "info", &pb.UniongveInfoResp{Info: info})
|
|
||||||
return
|
|
||||||
}
|
|
733
pb/guildgve_db.pb.go
Normal file
733
pb/guildgve_db.pb.go
Normal file
@ -0,0 +1,733 @@
|
|||||||
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
|
// versions:
|
||||||
|
// protoc-gen-go v1.28.0
|
||||||
|
// protoc v3.20.0
|
||||||
|
// source: guildgve/guildgve_db.proto
|
||||||
|
|
||||||
|
package pb
|
||||||
|
|
||||||
|
import (
|
||||||
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
|
sync "sync"
|
||||||
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
// Verify that this generated code is sufficiently up-to-date.
|
||||||
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||||
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||||
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
|
)
|
||||||
|
|
||||||
|
//工会boos战 全局配置数据
|
||||||
|
type DBGuildGveBossConf struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key" bson:"_id"` //唯一ID
|
||||||
|
Rtime int64 `protobuf:"varint,2,opt,name=rtime,proto3" json:"rtime"` //刷新时间
|
||||||
|
Boos []int32 `protobuf:"varint,3,rep,packed,name=boos,proto3" json:"boos"` //boosid
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGveBossConf) Reset() {
|
||||||
|
*x = DBGuildGveBossConf{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_guildgve_guildgve_db_proto_msgTypes[0]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGveBossConf) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*DBGuildGveBossConf) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *DBGuildGveBossConf) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_guildgve_guildgve_db_proto_msgTypes[0]
|
||||||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
return ms
|
||||||
|
}
|
||||||
|
return mi.MessageOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use DBGuildGveBossConf.ProtoReflect.Descriptor instead.
|
||||||
|
func (*DBGuildGveBossConf) Descriptor() ([]byte, []int) {
|
||||||
|
return file_guildgve_guildgve_db_proto_rawDescGZIP(), []int{0}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGveBossConf) GetKey() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Key
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGveBossConf) GetRtime() int64 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Rtime
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGveBossConf) GetBoos() []int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Boos
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
//工会战Boos
|
||||||
|
type DBGuildGve struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Guildid string `protobuf:"bytes,1,opt,name=Guildid,proto3" json:"Guildid" bson:"_id"`
|
||||||
|
Notice string `protobuf:"bytes,2,opt,name=notice,proto3" json:"notice"` //公告
|
||||||
|
Fire int32 `protobuf:"varint,3,opt,name=fire,proto3" json:"fire"` //火力
|
||||||
|
Currstage int32 `protobuf:"varint,4,opt,name=currstage,proto3" json:"currstage"` //当前第几阶段
|
||||||
|
Rtime int64 `protobuf:"varint,5,opt,name=rtime,proto3" json:"rtime"` //刷新时间
|
||||||
|
Kills int32 `protobuf:"varint,6,opt,name=kills,proto3" json:"kills"` //击杀数
|
||||||
|
Lastkilltime int64 `protobuf:"varint,7,opt,name=lastkilltime,proto3" json:"lastkilltime"` //最后击杀时间
|
||||||
|
Rank int32 `protobuf:"varint,8,opt,name=rank,proto3" json:"rank"` //排名
|
||||||
|
Boos []*DBGuildGveBoss `protobuf:"bytes,9,rep,name=boos,proto3" json:"boos"` //boos列表
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGve) Reset() {
|
||||||
|
*x = DBGuildGve{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_guildgve_guildgve_db_proto_msgTypes[1]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGve) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*DBGuildGve) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *DBGuildGve) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_guildgve_guildgve_db_proto_msgTypes[1]
|
||||||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
return ms
|
||||||
|
}
|
||||||
|
return mi.MessageOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use DBGuildGve.ProtoReflect.Descriptor instead.
|
||||||
|
func (*DBGuildGve) Descriptor() ([]byte, []int) {
|
||||||
|
return file_guildgve_guildgve_db_proto_rawDescGZIP(), []int{1}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGve) GetGuildid() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Guildid
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGve) GetNotice() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Notice
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGve) GetFire() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Fire
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGve) GetCurrstage() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Currstage
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGve) GetRtime() int64 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Rtime
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGve) GetKills() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Kills
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGve) GetLastkilltime() int64 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Lastkilltime
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGve) GetRank() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Rank
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGve) GetBoos() []*DBGuildGveBoss {
|
||||||
|
if x != nil {
|
||||||
|
return x.Boos
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
//工会成员信息
|
||||||
|
type DBGuildMember struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"`
|
||||||
|
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"` //用户id
|
||||||
|
Guild string `protobuf:"bytes,3,opt,name=guild,proto3" json:"guild"` //工会id
|
||||||
|
Boosticket int32 `protobuf:"varint,4,opt,name=boosticket,proto3" json:"boosticket"` //工会boos战门票
|
||||||
|
Refreshtime int64 `protobuf:"varint,5,opt,name=refreshtime,proto3" json:"refreshtime"` //门票刷新时间
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildMember) Reset() {
|
||||||
|
*x = DBGuildMember{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_guildgve_guildgve_db_proto_msgTypes[2]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildMember) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*DBGuildMember) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *DBGuildMember) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_guildgve_guildgve_db_proto_msgTypes[2]
|
||||||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
return ms
|
||||||
|
}
|
||||||
|
return mi.MessageOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use DBGuildMember.ProtoReflect.Descriptor instead.
|
||||||
|
func (*DBGuildMember) Descriptor() ([]byte, []int) {
|
||||||
|
return file_guildgve_guildgve_db_proto_rawDescGZIP(), []int{2}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildMember) GetId() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Id
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildMember) GetUid() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Uid
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildMember) GetGuild() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Guild
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildMember) GetBoosticket() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Boosticket
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildMember) GetRefreshtime() int64 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Refreshtime
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
//工会轮盘记录
|
||||||
|
type DBGuildRouletteRecord struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Guildid string `protobuf:"bytes,1,opt,name=Guildid,proto3" json:"Guildid"` //工会id
|
||||||
|
Roulette []*DBGveRouletteRecord `protobuf:"bytes,7,rep,name=roulette,proto3" json:"roulette"` //轮盘记录
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildRouletteRecord) Reset() {
|
||||||
|
*x = DBGuildRouletteRecord{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_guildgve_guildgve_db_proto_msgTypes[3]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildRouletteRecord) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*DBGuildRouletteRecord) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *DBGuildRouletteRecord) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_guildgve_guildgve_db_proto_msgTypes[3]
|
||||||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
return ms
|
||||||
|
}
|
||||||
|
return mi.MessageOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use DBGuildRouletteRecord.ProtoReflect.Descriptor instead.
|
||||||
|
func (*DBGuildRouletteRecord) Descriptor() ([]byte, []int) {
|
||||||
|
return file_guildgve_guildgve_db_proto_rawDescGZIP(), []int{3}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildRouletteRecord) GetGuildid() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Guildid
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildRouletteRecord) GetRoulette() []*DBGveRouletteRecord {
|
||||||
|
if x != nil {
|
||||||
|
return x.Roulette
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
//工会boos
|
||||||
|
type DBGuildGveBoss struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Boosid int32 `protobuf:"varint,1,opt,name=boosid,proto3" json:"boosid"`
|
||||||
|
Hp int32 `protobuf:"varint,2,opt,name=hp,proto3" json:"hp"`
|
||||||
|
Record []*DBGveRecord `protobuf:"bytes,3,rep,name=record,proto3" json:"record"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGveBoss) Reset() {
|
||||||
|
*x = DBGuildGveBoss{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_guildgve_guildgve_db_proto_msgTypes[4]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGveBoss) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*DBGuildGveBoss) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *DBGuildGveBoss) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_guildgve_guildgve_db_proto_msgTypes[4]
|
||||||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
return ms
|
||||||
|
}
|
||||||
|
return mi.MessageOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use DBGuildGveBoss.ProtoReflect.Descriptor instead.
|
||||||
|
func (*DBGuildGveBoss) Descriptor() ([]byte, []int) {
|
||||||
|
return file_guildgve_guildgve_db_proto_rawDescGZIP(), []int{4}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGveBoss) GetBoosid() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Boosid
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGveBoss) GetHp() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Hp
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGuildGveBoss) GetRecord() []*DBGveRecord {
|
||||||
|
if x != nil {
|
||||||
|
return x.Record
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
//战斗记录
|
||||||
|
type DBGveRecord struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` //uid
|
||||||
|
Formation []string `protobuf:"bytes,2,rep,name=formation,proto3" json:"formation"` //阵型
|
||||||
|
Rating int32 `protobuf:"varint,3,opt,name=rating,proto3" json:"rating"` //评级
|
||||||
|
Harm int32 `protobuf:"varint,4,opt,name=harm,proto3" json:"harm"` //伤害血量
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGveRecord) Reset() {
|
||||||
|
*x = DBGveRecord{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_guildgve_guildgve_db_proto_msgTypes[5]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGveRecord) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*DBGveRecord) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *DBGveRecord) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_guildgve_guildgve_db_proto_msgTypes[5]
|
||||||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
return ms
|
||||||
|
}
|
||||||
|
return mi.MessageOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use DBGveRecord.ProtoReflect.Descriptor instead.
|
||||||
|
func (*DBGveRecord) Descriptor() ([]byte, []int) {
|
||||||
|
return file_guildgve_guildgve_db_proto_rawDescGZIP(), []int{5}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGveRecord) GetUid() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Uid
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGveRecord) GetFormation() []string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Formation
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGveRecord) GetRating() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Rating
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGveRecord) GetHarm() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Harm
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
type DBGveRouletteRecord struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"`
|
||||||
|
Award []*UserAssets `protobuf:"bytes,2,rep,name=award,proto3" json:"award"` //奖励
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGveRouletteRecord) Reset() {
|
||||||
|
*x = DBGveRouletteRecord{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_guildgve_guildgve_db_proto_msgTypes[6]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGveRouletteRecord) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*DBGveRouletteRecord) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *DBGveRouletteRecord) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_guildgve_guildgve_db_proto_msgTypes[6]
|
||||||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
return ms
|
||||||
|
}
|
||||||
|
return mi.MessageOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use DBGveRouletteRecord.ProtoReflect.Descriptor instead.
|
||||||
|
func (*DBGveRouletteRecord) Descriptor() ([]byte, []int) {
|
||||||
|
return file_guildgve_guildgve_db_proto_rawDescGZIP(), []int{6}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGveRouletteRecord) GetUid() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Uid
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBGveRouletteRecord) GetAward() []*UserAssets {
|
||||||
|
if x != nil {
|
||||||
|
return x.Award
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
var File_guildgve_guildgve_db_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
|
var file_guildgve_guildgve_db_proto_rawDesc = []byte{
|
||||||
|
0x0a, 0x1a, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x67, 0x76, 0x65, 0x2f, 0x67, 0x75, 0x69, 0x6c, 0x64,
|
||||||
|
0x67, 0x76, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f,
|
||||||
|
0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x12, 0x44, 0x42, 0x47, 0x75,
|
||||||
|
0x69, 0x6c, 0x64, 0x47, 0x76, 0x65, 0x42, 0x6f, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x10,
|
||||||
|
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
|
||||||
|
0x12, 0x14, 0x0a, 0x05, 0x72, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||||
|
0x05, 0x72, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x6f, 0x73, 0x18, 0x03,
|
||||||
|
0x20, 0x03, 0x28, 0x05, 0x52, 0x04, 0x62, 0x6f, 0x6f, 0x73, 0x22, 0xf9, 0x01, 0x0a, 0x0a, 0x44,
|
||||||
|
0x42, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x47, 0x76, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x47, 0x75, 0x69,
|
||||||
|
0x6c, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x47, 0x75, 0x69, 0x6c,
|
||||||
|
0x64, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20,
|
||||||
|
0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66,
|
||||||
|
0x69, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x66, 0x69, 0x72, 0x65, 0x12,
|
||||||
|
0x1c, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x72, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01,
|
||||||
|
0x28, 0x05, 0x52, 0x09, 0x63, 0x75, 0x72, 0x72, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a,
|
||||||
|
0x05, 0x72, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x72, 0x74,
|
||||||
|
0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6b, 0x69, 0x6c, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x01,
|
||||||
|
0x28, 0x05, 0x52, 0x05, 0x6b, 0x69, 0x6c, 0x6c, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x61, 0x73,
|
||||||
|
0x74, 0x6b, 0x69, 0x6c, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||||
|
0x0c, 0x6c, 0x61, 0x73, 0x74, 0x6b, 0x69, 0x6c, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a,
|
||||||
|
0x04, 0x72, 0x61, 0x6e, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x72, 0x61, 0x6e,
|
||||||
|
0x6b, 0x12, 0x23, 0x0a, 0x04, 0x62, 0x6f, 0x6f, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||||
|
0x0f, 0x2e, 0x44, 0x42, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x47, 0x76, 0x65, 0x42, 0x6f, 0x73, 0x73,
|
||||||
|
0x52, 0x04, 0x62, 0x6f, 0x6f, 0x73, 0x22, 0x89, 0x01, 0x0a, 0x0d, 0x44, 0x42, 0x47, 0x75, 0x69,
|
||||||
|
0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 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, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x75,
|
||||||
|
0x69, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x75, 0x69, 0x6c, 0x64,
|
||||||
|
0x12, 0x1e, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x04,
|
||||||
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x62, 0x6f, 0x6f, 0x73, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74,
|
||||||
|
0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x74, 0x69, 0x6d, 0x65, 0x18,
|
||||||
|
0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x74, 0x69,
|
||||||
|
0x6d, 0x65, 0x22, 0x63, 0x0a, 0x15, 0x44, 0x42, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x6f, 0x75,
|
||||||
|
0x6c, 0x65, 0x74, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x47,
|
||||||
|
0x75, 0x69, 0x6c, 0x64, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x47, 0x75,
|
||||||
|
0x69, 0x6c, 0x64, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x08, 0x72, 0x6f, 0x75, 0x6c, 0x65, 0x74, 0x74,
|
||||||
|
0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x42, 0x47, 0x76, 0x65, 0x52,
|
||||||
|
0x6f, 0x75, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x08, 0x72,
|
||||||
|
0x6f, 0x75, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x22, 0x5e, 0x0a, 0x0e, 0x44, 0x42, 0x47, 0x75, 0x69,
|
||||||
|
0x6c, 0x64, 0x47, 0x76, 0x65, 0x42, 0x6f, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x6f, 0x6f,
|
||||||
|
0x73, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62, 0x6f, 0x6f, 0x73, 0x69,
|
||||||
|
0x64, 0x12, 0x0e, 0x0a, 0x02, 0x68, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x68,
|
||||||
|
0x70, 0x12, 0x24, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28,
|
||||||
|
0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x47, 0x76, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52,
|
||||||
|
0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x69, 0x0a, 0x0b, 0x44, 0x42, 0x47, 0x76, 0x65,
|
||||||
|
0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||||
|
0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6d,
|
||||||
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x66, 0x6f, 0x72,
|
||||||
|
0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67,
|
||||||
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x12,
|
||||||
|
0x0a, 0x04, 0x68, 0x61, 0x72, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x68, 0x61,
|
||||||
|
0x72, 0x6d, 0x22, 0x4a, 0x0a, 0x13, 0x44, 0x42, 0x47, 0x76, 0x65, 0x52, 0x6f, 0x75, 0x6c, 0x65,
|
||||||
|
0x74, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64,
|
||||||
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x05, 0x61,
|
||||||
|
0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65,
|
||||||
|
0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x42, 0x06,
|
||||||
|
0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
|
}
|
||||||
|
|
||||||
|
var (
|
||||||
|
file_guildgve_guildgve_db_proto_rawDescOnce sync.Once
|
||||||
|
file_guildgve_guildgve_db_proto_rawDescData = file_guildgve_guildgve_db_proto_rawDesc
|
||||||
|
)
|
||||||
|
|
||||||
|
func file_guildgve_guildgve_db_proto_rawDescGZIP() []byte {
|
||||||
|
file_guildgve_guildgve_db_proto_rawDescOnce.Do(func() {
|
||||||
|
file_guildgve_guildgve_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_guildgve_guildgve_db_proto_rawDescData)
|
||||||
|
})
|
||||||
|
return file_guildgve_guildgve_db_proto_rawDescData
|
||||||
|
}
|
||||||
|
|
||||||
|
var file_guildgve_guildgve_db_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
||||||
|
var file_guildgve_guildgve_db_proto_goTypes = []interface{}{
|
||||||
|
(*DBGuildGveBossConf)(nil), // 0: DBGuildGveBossConf
|
||||||
|
(*DBGuildGve)(nil), // 1: DBGuildGve
|
||||||
|
(*DBGuildMember)(nil), // 2: DBGuildMember
|
||||||
|
(*DBGuildRouletteRecord)(nil), // 3: DBGuildRouletteRecord
|
||||||
|
(*DBGuildGveBoss)(nil), // 4: DBGuildGveBoss
|
||||||
|
(*DBGveRecord)(nil), // 5: DBGveRecord
|
||||||
|
(*DBGveRouletteRecord)(nil), // 6: DBGveRouletteRecord
|
||||||
|
(*UserAssets)(nil), // 7: UserAssets
|
||||||
|
}
|
||||||
|
var file_guildgve_guildgve_db_proto_depIdxs = []int32{
|
||||||
|
4, // 0: DBGuildGve.boos:type_name -> DBGuildGveBoss
|
||||||
|
6, // 1: DBGuildRouletteRecord.roulette:type_name -> DBGveRouletteRecord
|
||||||
|
5, // 2: DBGuildGveBoss.record:type_name -> DBGveRecord
|
||||||
|
7, // 3: DBGveRouletteRecord.award:type_name -> UserAssets
|
||||||
|
4, // [4:4] is the sub-list for method output_type
|
||||||
|
4, // [4:4] is the sub-list for method input_type
|
||||||
|
4, // [4:4] is the sub-list for extension type_name
|
||||||
|
4, // [4:4] is the sub-list for extension extendee
|
||||||
|
0, // [0:4] is the sub-list for field type_name
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() { file_guildgve_guildgve_db_proto_init() }
|
||||||
|
func file_guildgve_guildgve_db_proto_init() {
|
||||||
|
if File_guildgve_guildgve_db_proto != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
file_comm_proto_init()
|
||||||
|
if !protoimpl.UnsafeEnabled {
|
||||||
|
file_guildgve_guildgve_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*DBGuildGveBossConf); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_guildgve_guildgve_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*DBGuildGve); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_guildgve_guildgve_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*DBGuildMember); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_guildgve_guildgve_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*DBGuildRouletteRecord); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_guildgve_guildgve_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*DBGuildGveBoss); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_guildgve_guildgve_db_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*DBGveRecord); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_guildgve_guildgve_db_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*DBGveRouletteRecord); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
type x struct{}
|
||||||
|
out := protoimpl.TypeBuilder{
|
||||||
|
File: protoimpl.DescBuilder{
|
||||||
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
|
RawDescriptor: file_guildgve_guildgve_db_proto_rawDesc,
|
||||||
|
NumEnums: 0,
|
||||||
|
NumMessages: 7,
|
||||||
|
NumExtensions: 0,
|
||||||
|
NumServices: 0,
|
||||||
|
},
|
||||||
|
GoTypes: file_guildgve_guildgve_db_proto_goTypes,
|
||||||
|
DependencyIndexes: file_guildgve_guildgve_db_proto_depIdxs,
|
||||||
|
MessageInfos: file_guildgve_guildgve_db_proto_msgTypes,
|
||||||
|
}.Build()
|
||||||
|
File_guildgve_guildgve_db_proto = out.File
|
||||||
|
file_guildgve_guildgve_db_proto_rawDesc = nil
|
||||||
|
file_guildgve_guildgve_db_proto_goTypes = nil
|
||||||
|
file_guildgve_guildgve_db_proto_depIdxs = nil
|
||||||
|
}
|
1362
pb/guildgve_msg.pb.go
Normal file
1362
pb/guildgve_msg.pb.go
Normal file
File diff suppressed because it is too large
Load Diff
@ -321,11 +321,10 @@ type SociatyMember struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid" bson:"uid"` //成员ID
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid" bson:"uid"` //成员ID
|
||||||
Job SociatyJob `protobuf:"varint,2,opt,name=job,proto3,enum=SociatyJob" json:"job" bson:"job"` //职位
|
Job SociatyJob `protobuf:"varint,2,opt,name=job,proto3,enum=SociatyJob" json:"job" bson:"job"` //职位
|
||||||
Ctime int64 `protobuf:"varint,3,opt,name=ctime,proto3" json:"ctime" bson:"ctime"` //入会时间
|
Ctime int64 `protobuf:"varint,3,opt,name=ctime,proto3" json:"ctime" bson:"ctime"` //入会时间
|
||||||
Contribution int32 `protobuf:"varint,4,opt,name=contribution,proto3" json:"contribution" bson:"contribution"` //贡献值
|
Contribution int32 `protobuf:"varint,4,opt,name=contribution,proto3" json:"contribution" bson:"contribution"` //贡献值
|
||||||
Teams map[int32]*ChallengeTeam `protobuf:"bytes,5,rep,name=teams,proto3" json:"teams" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" bson:"teams"` // 公会BOSS 队伍
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SociatyMember) Reset() {
|
func (x *SociatyMember) Reset() {
|
||||||
@ -388,13 +387,6 @@ func (x *SociatyMember) GetContribution() int32 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SociatyMember) GetTeams() map[int32]*ChallengeTeam {
|
|
||||||
if x != nil {
|
|
||||||
return x.Teams
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
// 日志
|
// 日志
|
||||||
type SociatyLog struct {
|
type SociatyLog struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@ -1220,116 +1212,108 @@ var file_sociaty_sociaty_db_proto_rawDesc = []byte{
|
|||||||
0x35, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x10,
|
0x35, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x10,
|
||||||
0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64,
|
0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64,
|
||||||
0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||||
0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xf5, 0x01, 0x0a, 0x0d, 0x53, 0x6f, 0x63, 0x69, 0x61,
|
0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x7a, 0x0a, 0x0d, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74,
|
||||||
0x74, 0x79, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18,
|
0x79, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01,
|
||||||
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x03, 0x6a, 0x6f,
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x03, 0x6a, 0x6f, 0x62,
|
||||||
0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0b, 0x2e, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74,
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0b, 0x2e, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79,
|
||||||
0x79, 0x4a, 0x6f, 0x62, 0x52, 0x03, 0x6a, 0x6f, 0x62, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69,
|
0x4a, 0x6f, 0x62, 0x52, 0x03, 0x6a, 0x6f, 0x62, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d,
|
||||||
0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12,
|
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x22,
|
||||||
0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18,
|
0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04,
|
||||||
0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69,
|
||||||
0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x05, 0x74, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x03,
|
0x6f, 0x6e, 0x22, 0x3c, 0x0a, 0x0a, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x4c, 0x6f, 0x67,
|
||||||
0x28, 0x0b, 0x32, 0x19, 0x2e, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x4d, 0x65, 0x6d, 0x62,
|
0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
0x65, 0x72, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x74,
|
0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74,
|
||||||
0x65, 0x61, 0x6d, 0x73, 0x1a, 0x48, 0x0a, 0x0a, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74,
|
0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65,
|
||||||
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
0x22, 0x4d, 0x0a, 0x0c, 0x44, 0x42, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x4c, 0x6f, 0x67,
|
||||||
0x03, 0x6b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
|
|
||||||
0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x54,
|
|
||||||
0x65, 0x61, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3c,
|
|
||||||
0x0a, 0x0a, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x4c, 0x6f, 0x67, 0x12, 0x18, 0x0a, 0x07,
|
|
||||||
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63,
|
|
||||||
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18,
|
|
||||||
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x4d, 0x0a, 0x0c,
|
|
||||||
0x44, 0x42, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x4c, 0x6f, 0x67, 0x12, 0x1c, 0x0a, 0x09,
|
|
||||||
0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
||||||
0x09, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x04, 0x6c, 0x69,
|
|
||||||
0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x53, 0x6f, 0x63, 0x69, 0x61,
|
|
||||||
0x74, 0x79, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0xc7, 0x01, 0x0a, 0x0d,
|
|
||||||
0x44, 0x42, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x1c, 0x0a,
|
|
||||||
0x09, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
||||||
0x52, 0x09, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75,
|
|
||||||
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x28, 0x0a,
|
|
||||||
0x08, 0x74, 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
||||||
0x0c, 0x2e, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x74,
|
|
||||||
0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x76,
|
|
||||||
0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e,
|
|
||||||
0x53, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52,
|
|
||||||
0x0c, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, 0x0a,
|
|
||||||
0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18,
|
|
||||||
0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74,
|
|
||||||
0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x7c, 0x0a, 0x0b, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79,
|
|
||||||
0x54, 0x61, 0x73, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01,
|
|
||||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06,
|
|
||||||
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74,
|
|
||||||
0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64,
|
|
||||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64,
|
|
||||||
0x12, 0x21, 0x0a, 0x04, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d,
|
|
||||||
0x2e, 0x43, 0x6f, 0x6e, 0x49, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x04, 0x63,
|
|
||||||
0x6f, 0x6e, 0x64, 0x22, 0x39, 0x0a, 0x0f, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x41, 0x63,
|
|
||||||
0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
||||||
0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
||||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x83,
|
|
||||||
0x01, 0x0a, 0x0d, 0x44, 0x42, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x52, 0x61, 0x6e, 0x6b,
|
|
||||||
0x12, 0x1c, 0x0a, 0x09, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20,
|
0x12, 0x1c, 0x0a, 0x09, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20,
|
||||||
0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x49, 0x64, 0x12, 0x12,
|
0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1f,
|
||||||
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x53,
|
||||||
0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02,
|
0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22,
|
||||||
0x6c, 0x76, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x18, 0x04,
|
0xc7, 0x01, 0x0a, 0x0d, 0x44, 0x42, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x54, 0x61, 0x73,
|
||||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x12, 0x14,
|
0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x49, 0x64, 0x18, 0x01,
|
||||||
0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63,
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x49, 0x64, 0x12,
|
||||||
0x74, 0x69, 0x6d, 0x65, 0x22, 0x2b, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67,
|
0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69,
|
||||||
0x65, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x72,
|
0x64, 0x12, 0x28, 0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20,
|
||||||
0x6f, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x49,
|
0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x54, 0x61, 0x73,
|
||||||
0x64, 0x22, 0x3f, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x54, 0x65,
|
0x6b, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x0c, 0x61,
|
||||||
0x61, 0x6d, 0x12, 0x2e, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
|
0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28,
|
||||||
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f,
|
0x0b, 0x32, 0x10, 0x2e, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76,
|
||||||
0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69,
|
0x69, 0x74, 0x79, 0x52, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73,
|
||||||
0x6f, 0x6e, 0x22, 0x6b, 0x0a, 0x13, 0x44, 0x42, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x42,
|
0x74, 0x12, 0x26, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54,
|
||||||
0x6f, 0x73, 0x73, 0x53, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x64,
|
0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55,
|
||||||
0x54, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54,
|
0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x7c, 0x0a, 0x0b, 0x53, 0x6f, 0x63,
|
||||||
0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e,
|
0x69, 0x61, 0x74, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b,
|
||||||
0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x73, 0x65, 0x74,
|
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64,
|
||||||
0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75,
|
0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
||||||
0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x75, 0x69, 0x64, 0x73, 0x22,
|
0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x63, 0x65,
|
||||||
0xdc, 0x01, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63,
|
0x69, 0x76, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x65, 0x63, 0x65,
|
||||||
0x6f, 0x72, 0x64, 0x12, 0x31, 0x0a, 0x05, 0x74, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03,
|
0x69, 0x76, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x04, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01,
|
||||||
0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65,
|
0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x43, 0x6f, 0x6e, 0x49, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73,
|
||||||
0x63, 0x6f, 0x72, 0x64, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
0x73, 0x52, 0x04, 0x63, 0x6f, 0x6e, 0x64, 0x22, 0x39, 0x0a, 0x0f, 0x53, 0x6f, 0x63, 0x69, 0x61,
|
||||||
0x05, 0x74, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72,
|
0x74, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
|
||||||
0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72,
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74,
|
||||||
0x61, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
|
0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74,
|
||||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14,
|
0x75, 0x73, 0x22, 0x83, 0x01, 0x0a, 0x0d, 0x44, 0x42, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79,
|
||||||
0x0a, 0x05, 0x72, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x72,
|
0x52, 0x61, 0x6e, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x49,
|
||||||
0x74, 0x69, 0x6d, 0x65, 0x1a, 0x48, 0x0a, 0x0a, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74,
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79,
|
||||||
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||||||
0x03, 0x6b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
|
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x03, 0x20, 0x01,
|
||||||
0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x54,
|
0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69,
|
||||||
0x65, 0x61, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3f,
|
0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69,
|
||||||
0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12,
|
0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||||||
0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
0x03, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x2b, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6c,
|
||||||
0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
|
0x6c, 0x65, 0x6e, 0x67, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a,
|
||||||
0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22,
|
0x06, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68,
|
||||||
0xe1, 0x01, 0x0a, 0x13, 0x44, 0x42, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x42, 0x6f, 0x73,
|
0x65, 0x72, 0x6f, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e,
|
||||||
0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01,
|
0x67, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x12, 0x2e, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74,
|
||||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x6f, 0x63,
|
0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74,
|
||||||
0x69, 0x61, 0x74, 0x79, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x6f,
|
0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x66, 0x6f, 0x72,
|
||||||
0x63, 0x69, 0x61, 0x74, 0x79, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72,
|
0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6b, 0x0a, 0x13, 0x44, 0x42, 0x53, 0x6f, 0x63, 0x69,
|
||||||
0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65,
|
0x61, 0x74, 0x79, 0x42, 0x6f, 0x73, 0x73, 0x53, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x18, 0x0a,
|
||||||
0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72,
|
0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07,
|
||||||
0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03,
|
0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x65, 0x74, 0x74, 0x6c,
|
||||||
0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x67,
|
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||||
0x72, 0x61, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x69, 0x6e, 0x74, 0x65,
|
0x0e, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12,
|
||||||
0x67, 0x72, 0x61, 0x6c, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
|
0x12, 0x0a, 0x04, 0x75, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x75,
|
||||||
0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a,
|
0x69, 0x64, 0x73, 0x22, 0xdc, 0x01, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67,
|
||||||
0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x43,
|
0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x31, 0x0a, 0x05, 0x74, 0x65, 0x61, 0x6d, 0x73,
|
||||||
0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x74, 0x61,
|
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e,
|
||||||
0x73, 0x6b, 0x73, 0x2a, 0x50, 0x0a, 0x0a, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x4a, 0x6f,
|
0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x73, 0x45, 0x6e,
|
||||||
0x62, 0x12, 0x09, 0x0a, 0x05, 0x4e, 0x4f, 0x4a, 0x4f, 0x42, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06,
|
0x74, 0x72, 0x79, 0x52, 0x05, 0x74, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e,
|
||||||
0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x44, 0x4d, 0x49,
|
0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x6e,
|
||||||
0x4e, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x56, 0x49, 0x43, 0x45, 0x50, 0x52, 0x45, 0x53, 0x49,
|
0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69,
|
||||||
0x44, 0x45, 0x4e, 0x54, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x52, 0x45, 0x53, 0x49, 0x44,
|
0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69,
|
||||||
0x45, 0x4e, 0x54, 0x10, 0x04, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70,
|
0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
|
||||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x03, 0x52, 0x05, 0x72, 0x74, 0x69, 0x6d, 0x65, 0x1a, 0x48, 0x0a, 0x0a, 0x54, 0x65, 0x61, 0x6d,
|
||||||
|
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
|
||||||
|
0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
||||||
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65,
|
||||||
|
0x6e, 0x67, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
|
||||||
|
0x38, 0x01, 0x22, 0x3f, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x54,
|
||||||
|
0x61, 0x73, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20,
|
||||||
|
0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73,
|
||||||
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61,
|
||||||
|
0x74, 0x75, 0x73, 0x22, 0xe1, 0x01, 0x0a, 0x13, 0x44, 0x42, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x74,
|
||||||
|
0x79, 0x42, 0x6f, 0x73, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75,
|
||||||
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a,
|
||||||
|
0x09, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||||||
|
0x52, 0x09, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x06, 0x72,
|
||||||
|
0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x43, 0x68,
|
||||||
|
0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x06, 0x72,
|
||||||
|
0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x05,
|
||||||
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x69,
|
||||||
|
0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09,
|
||||||
|
0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61,
|
||||||
|
0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
|
||||||
|
0x73, 0x12, 0x24, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b,
|
||||||
|
0x32, 0x0e, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
||||||
|
0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2a, 0x50, 0x0a, 0x0a, 0x53, 0x6f, 0x63, 0x69, 0x61,
|
||||||
|
0x74, 0x79, 0x4a, 0x6f, 0x62, 0x12, 0x09, 0x0a, 0x05, 0x4e, 0x4f, 0x4a, 0x4f, 0x42, 0x10, 0x00,
|
||||||
|
0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05,
|
||||||
|
0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x56, 0x49, 0x43, 0x45, 0x50,
|
||||||
|
0x52, 0x45, 0x53, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x52,
|
||||||
|
0x45, 0x53, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x10, 0x04, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70,
|
||||||
|
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -1345,7 +1329,7 @@ func file_sociaty_sociaty_db_proto_rawDescGZIP() []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var file_sociaty_sociaty_db_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
var file_sociaty_sociaty_db_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||||
var file_sociaty_sociaty_db_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
|
var file_sociaty_sociaty_db_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
||||||
var file_sociaty_sociaty_db_proto_goTypes = []interface{}{
|
var file_sociaty_sociaty_db_proto_goTypes = []interface{}{
|
||||||
(SociatyJob)(0), // 0: SociatyJob
|
(SociatyJob)(0), // 0: SociatyJob
|
||||||
(*DBSociaty)(nil), // 1: DBSociaty
|
(*DBSociaty)(nil), // 1: DBSociaty
|
||||||
@ -1363,31 +1347,28 @@ var file_sociaty_sociaty_db_proto_goTypes = []interface{}{
|
|||||||
(*ChallengeRecord)(nil), // 13: ChallengeRecord
|
(*ChallengeRecord)(nil), // 13: ChallengeRecord
|
||||||
(*ChallengeTask)(nil), // 14: ChallengeTask
|
(*ChallengeTask)(nil), // 14: ChallengeTask
|
||||||
(*DBSociatyBossRecord)(nil), // 15: DBSociatyBossRecord
|
(*DBSociatyBossRecord)(nil), // 15: DBSociatyBossRecord
|
||||||
nil, // 16: SociatyMember.TeamsEntry
|
nil, // 16: ChallengeRecord.TeamsEntry
|
||||||
nil, // 17: ChallengeRecord.TeamsEntry
|
(*ConIProgress)(nil), // 17: ConIProgress
|
||||||
(*ConIProgress)(nil), // 18: ConIProgress
|
(*BattleFormation)(nil), // 18: BattleFormation
|
||||||
(*BattleFormation)(nil), // 19: BattleFormation
|
|
||||||
}
|
}
|
||||||
var file_sociaty_sociaty_db_proto_depIdxs = []int32{
|
var file_sociaty_sociaty_db_proto_depIdxs = []int32{
|
||||||
2, // 0: DBSociaty.applyRecord:type_name -> ApplyRecord
|
2, // 0: DBSociaty.applyRecord:type_name -> ApplyRecord
|
||||||
3, // 1: DBSociaty.members:type_name -> SociatyMember
|
3, // 1: DBSociaty.members:type_name -> SociatyMember
|
||||||
0, // 2: SociatyMember.job:type_name -> SociatyJob
|
0, // 2: SociatyMember.job:type_name -> SociatyJob
|
||||||
16, // 3: SociatyMember.teams:type_name -> SociatyMember.TeamsEntry
|
4, // 3: DBSociatyLog.list:type_name -> SociatyLog
|
||||||
4, // 4: DBSociatyLog.list:type_name -> SociatyLog
|
7, // 4: DBSociatyTask.taskList:type_name -> SociatyTask
|
||||||
7, // 5: DBSociatyTask.taskList:type_name -> SociatyTask
|
8, // 5: DBSociatyTask.activityList:type_name -> SociatyActivity
|
||||||
8, // 6: DBSociatyTask.activityList:type_name -> SociatyActivity
|
17, // 6: SociatyTask.cond:type_name -> ConIProgress
|
||||||
18, // 7: SociatyTask.cond:type_name -> ConIProgress
|
18, // 7: ChallengeTeam.formation:type_name -> BattleFormation
|
||||||
19, // 8: ChallengeTeam.formation:type_name -> BattleFormation
|
16, // 8: ChallengeRecord.teams:type_name -> ChallengeRecord.TeamsEntry
|
||||||
17, // 9: ChallengeRecord.teams:type_name -> ChallengeRecord.TeamsEntry
|
13, // 9: DBSociatyBossRecord.record:type_name -> ChallengeRecord
|
||||||
13, // 10: DBSociatyBossRecord.record:type_name -> ChallengeRecord
|
14, // 10: DBSociatyBossRecord.tasks:type_name -> ChallengeTask
|
||||||
14, // 11: DBSociatyBossRecord.tasks:type_name -> ChallengeTask
|
11, // 11: ChallengeRecord.TeamsEntry.value:type_name -> ChallengeTeam
|
||||||
11, // 12: SociatyMember.TeamsEntry.value:type_name -> ChallengeTeam
|
12, // [12:12] is the sub-list for method output_type
|
||||||
11, // 13: ChallengeRecord.TeamsEntry.value:type_name -> ChallengeTeam
|
12, // [12:12] is the sub-list for method input_type
|
||||||
14, // [14:14] is the sub-list for method output_type
|
12, // [12:12] is the sub-list for extension type_name
|
||||||
14, // [14:14] is the sub-list for method input_type
|
12, // [12:12] is the sub-list for extension extendee
|
||||||
14, // [14:14] is the sub-list for extension type_name
|
0, // [0:12] 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_sociaty_sociaty_db_proto_init() }
|
func init() { file_sociaty_sociaty_db_proto_init() }
|
||||||
@ -1585,7 +1566,7 @@ func file_sociaty_sociaty_db_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_sociaty_sociaty_db_proto_rawDesc,
|
RawDescriptor: file_sociaty_sociaty_db_proto_rawDesc,
|
||||||
NumEnums: 1,
|
NumEnums: 1,
|
||||||
NumMessages: 17,
|
NumMessages: 16,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
@ -1,632 +0,0 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.28.0
|
|
||||||
// protoc v3.20.0
|
|
||||||
// source: uniongve/uniongve_db.proto
|
|
||||||
|
|
||||||
package pb
|
|
||||||
|
|
||||||
import (
|
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
||||||
reflect "reflect"
|
|
||||||
sync "sync"
|
|
||||||
)
|
|
||||||
|
|
||||||
const (
|
|
||||||
// Verify that this generated code is sufficiently up-to-date.
|
|
||||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
||||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
||||||
)
|
|
||||||
|
|
||||||
//工会boos战 全局配置数据
|
|
||||||
type DBUnionGveBossConf struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key" bson:"_id"` //唯一ID
|
|
||||||
Rtime int64 `protobuf:"varint,2,opt,name=rtime,proto3" json:"rtime"` //刷新时间
|
|
||||||
Boos []int32 `protobuf:"varint,3,rep,packed,name=boos,proto3" json:"boos"` //boosid
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGveBossConf) Reset() {
|
|
||||||
*x = DBUnionGveBossConf{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_uniongve_uniongve_db_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGveBossConf) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*DBUnionGveBossConf) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *DBUnionGveBossConf) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_uniongve_uniongve_db_proto_msgTypes[0]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use DBUnionGveBossConf.ProtoReflect.Descriptor instead.
|
|
||||||
func (*DBUnionGveBossConf) Descriptor() ([]byte, []int) {
|
|
||||||
return file_uniongve_uniongve_db_proto_rawDescGZIP(), []int{0}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGveBossConf) GetKey() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Key
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGveBossConf) GetRtime() int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Rtime
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGveBossConf) GetBoos() []int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Boos
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
//工会战Boos
|
|
||||||
type DBUnionGve struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Unionid string `protobuf:"bytes,1,opt,name=unionid,proto3" json:"unionid" bson:"_id"` // 背包格子Id
|
|
||||||
Notice string `protobuf:"bytes,2,opt,name=notice,proto3" json:"notice"` //公告
|
|
||||||
Fire int32 `protobuf:"varint,3,opt,name=fire,proto3" json:"fire"` //火力
|
|
||||||
Currstage int32 `protobuf:"varint,4,opt,name=currstage,proto3" json:"currstage"` //当前第几阶段
|
|
||||||
Rtime int64 `protobuf:"varint,5,opt,name=rtime,proto3" json:"rtime"` //刷新时间
|
|
||||||
Kills int32 `protobuf:"varint,6,opt,name=kills,proto3" json:"kills"` //击杀数
|
|
||||||
Lastkilltime int64 `protobuf:"varint,7,opt,name=lastkilltime,proto3" json:"lastkilltime"` //最后击杀时间
|
|
||||||
Rank int32 `protobuf:"varint,8,opt,name=rank,proto3" json:"rank"` //排名
|
|
||||||
Boos []*DBUnionGveBoss `protobuf:"bytes,9,rep,name=boos,proto3" json:"boos"` //boos列表
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGve) Reset() {
|
|
||||||
*x = DBUnionGve{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_uniongve_uniongve_db_proto_msgTypes[1]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGve) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*DBUnionGve) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *DBUnionGve) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_uniongve_uniongve_db_proto_msgTypes[1]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use DBUnionGve.ProtoReflect.Descriptor instead.
|
|
||||||
func (*DBUnionGve) Descriptor() ([]byte, []int) {
|
|
||||||
return file_uniongve_uniongve_db_proto_rawDescGZIP(), []int{1}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGve) GetUnionid() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Unionid
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGve) GetNotice() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Notice
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGve) GetFire() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Fire
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGve) GetCurrstage() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Currstage
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGve) GetRtime() int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Rtime
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGve) GetKills() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Kills
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGve) GetLastkilltime() int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Lastkilltime
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGve) GetRank() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Rank
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGve) GetBoos() []*DBUnionGveBoss {
|
|
||||||
if x != nil {
|
|
||||||
return x.Boos
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
//工会轮盘记录
|
|
||||||
type DBUnionRouletteRecord struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Unionid string `protobuf:"bytes,1,opt,name=unionid,proto3" json:"unionid"` //工会id
|
|
||||||
Roulette []*DBGveRouletteRecord `protobuf:"bytes,7,rep,name=roulette,proto3" json:"roulette"` //轮盘记录
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionRouletteRecord) Reset() {
|
|
||||||
*x = DBUnionRouletteRecord{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_uniongve_uniongve_db_proto_msgTypes[2]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionRouletteRecord) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*DBUnionRouletteRecord) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *DBUnionRouletteRecord) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_uniongve_uniongve_db_proto_msgTypes[2]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use DBUnionRouletteRecord.ProtoReflect.Descriptor instead.
|
|
||||||
func (*DBUnionRouletteRecord) Descriptor() ([]byte, []int) {
|
|
||||||
return file_uniongve_uniongve_db_proto_rawDescGZIP(), []int{2}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionRouletteRecord) GetUnionid() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Unionid
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionRouletteRecord) GetRoulette() []*DBGveRouletteRecord {
|
|
||||||
if x != nil {
|
|
||||||
return x.Roulette
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
//工会boos
|
|
||||||
type DBUnionGveBoss struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Boosid int32 `protobuf:"varint,1,opt,name=boosid,proto3" json:"boosid"`
|
|
||||||
Hp int32 `protobuf:"varint,2,opt,name=hp,proto3" json:"hp"`
|
|
||||||
Record []*DBGveRecord `protobuf:"bytes,3,rep,name=record,proto3" json:"record"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGveBoss) Reset() {
|
|
||||||
*x = DBUnionGveBoss{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_uniongve_uniongve_db_proto_msgTypes[3]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGveBoss) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*DBUnionGveBoss) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *DBUnionGveBoss) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_uniongve_uniongve_db_proto_msgTypes[3]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use DBUnionGveBoss.ProtoReflect.Descriptor instead.
|
|
||||||
func (*DBUnionGveBoss) Descriptor() ([]byte, []int) {
|
|
||||||
return file_uniongve_uniongve_db_proto_rawDescGZIP(), []int{3}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGveBoss) GetBoosid() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Boosid
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGveBoss) GetHp() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Hp
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBUnionGveBoss) GetRecord() []*DBGveRecord {
|
|
||||||
if x != nil {
|
|
||||||
return x.Record
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
//战斗记录
|
|
||||||
type DBGveRecord struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` //uid
|
|
||||||
Formation []string `protobuf:"bytes,2,rep,name=formation,proto3" json:"formation"` //阵型
|
|
||||||
Rating int32 `protobuf:"varint,3,opt,name=rating,proto3" json:"rating"` //评级
|
|
||||||
Harm int32 `protobuf:"varint,4,opt,name=harm,proto3" json:"harm"` //伤害血量
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBGveRecord) Reset() {
|
|
||||||
*x = DBGveRecord{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_uniongve_uniongve_db_proto_msgTypes[4]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBGveRecord) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*DBGveRecord) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *DBGveRecord) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_uniongve_uniongve_db_proto_msgTypes[4]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use DBGveRecord.ProtoReflect.Descriptor instead.
|
|
||||||
func (*DBGveRecord) Descriptor() ([]byte, []int) {
|
|
||||||
return file_uniongve_uniongve_db_proto_rawDescGZIP(), []int{4}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBGveRecord) GetUid() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Uid
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBGveRecord) GetFormation() []string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Formation
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBGveRecord) GetRating() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Rating
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBGveRecord) GetHarm() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Harm
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
type DBGveRouletteRecord struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"`
|
|
||||||
Award []*UserAssets `protobuf:"bytes,2,rep,name=award,proto3" json:"award"` //奖励
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBGveRouletteRecord) Reset() {
|
|
||||||
*x = DBGveRouletteRecord{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_uniongve_uniongve_db_proto_msgTypes[5]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBGveRouletteRecord) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*DBGveRouletteRecord) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *DBGveRouletteRecord) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_uniongve_uniongve_db_proto_msgTypes[5]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use DBGveRouletteRecord.ProtoReflect.Descriptor instead.
|
|
||||||
func (*DBGveRouletteRecord) Descriptor() ([]byte, []int) {
|
|
||||||
return file_uniongve_uniongve_db_proto_rawDescGZIP(), []int{5}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBGveRouletteRecord) GetUid() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Uid
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBGveRouletteRecord) GetAward() []*UserAssets {
|
|
||||||
if x != nil {
|
|
||||||
return x.Award
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
var File_uniongve_uniongve_db_proto protoreflect.FileDescriptor
|
|
||||||
|
|
||||||
var file_uniongve_uniongve_db_proto_rawDesc = []byte{
|
|
||||||
0x0a, 0x1a, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x67, 0x76, 0x65, 0x2f, 0x75, 0x6e, 0x69, 0x6f, 0x6e,
|
|
||||||
0x67, 0x76, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f,
|
|
||||||
0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x12, 0x44, 0x42, 0x55, 0x6e,
|
|
||||||
0x69, 0x6f, 0x6e, 0x47, 0x76, 0x65, 0x42, 0x6f, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x10,
|
|
||||||
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
|
|
||||||
0x12, 0x14, 0x0a, 0x05, 0x72, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
||||||
0x05, 0x72, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x6f, 0x73, 0x18, 0x03,
|
|
||||||
0x20, 0x03, 0x28, 0x05, 0x52, 0x04, 0x62, 0x6f, 0x6f, 0x73, 0x22, 0xf9, 0x01, 0x0a, 0x0a, 0x44,
|
|
||||||
0x42, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x47, 0x76, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x6e, 0x69,
|
|
||||||
0x6f, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x6e, 0x69, 0x6f,
|
|
||||||
0x6e, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20,
|
|
||||||
0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66,
|
|
||||||
0x69, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x66, 0x69, 0x72, 0x65, 0x12,
|
|
||||||
0x1c, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x72, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01,
|
|
||||||
0x28, 0x05, 0x52, 0x09, 0x63, 0x75, 0x72, 0x72, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a,
|
|
||||||
0x05, 0x72, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x72, 0x74,
|
|
||||||
0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6b, 0x69, 0x6c, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x01,
|
|
||||||
0x28, 0x05, 0x52, 0x05, 0x6b, 0x69, 0x6c, 0x6c, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x61, 0x73,
|
|
||||||
0x74, 0x6b, 0x69, 0x6c, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
||||||
0x0c, 0x6c, 0x61, 0x73, 0x74, 0x6b, 0x69, 0x6c, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a,
|
|
||||||
0x04, 0x72, 0x61, 0x6e, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x72, 0x61, 0x6e,
|
|
||||||
0x6b, 0x12, 0x23, 0x0a, 0x04, 0x62, 0x6f, 0x6f, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
||||||
0x0f, 0x2e, 0x44, 0x42, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x47, 0x76, 0x65, 0x42, 0x6f, 0x73, 0x73,
|
|
||||||
0x52, 0x04, 0x62, 0x6f, 0x6f, 0x73, 0x22, 0x63, 0x0a, 0x15, 0x44, 0x42, 0x55, 0x6e, 0x69, 0x6f,
|
|
||||||
0x6e, 0x52, 0x6f, 0x75, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12,
|
|
||||||
0x18, 0x0a, 0x07, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
||||||
0x52, 0x07, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x08, 0x72, 0x6f, 0x75,
|
|
||||||
0x6c, 0x65, 0x74, 0x74, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x42,
|
|
||||||
0x47, 0x76, 0x65, 0x52, 0x6f, 0x75, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72,
|
|
||||||
0x64, 0x52, 0x08, 0x72, 0x6f, 0x75, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x22, 0x5e, 0x0a, 0x0e, 0x44,
|
|
||||||
0x42, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x47, 0x76, 0x65, 0x42, 0x6f, 0x73, 0x73, 0x12, 0x16, 0x0a,
|
|
||||||
0x06, 0x62, 0x6f, 0x6f, 0x73, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62,
|
|
||||||
0x6f, 0x6f, 0x73, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x68, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
||||||
0x05, 0x52, 0x02, 0x68, 0x70, 0x12, 0x24, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18,
|
|
||||||
0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x47, 0x76, 0x65, 0x52, 0x65, 0x63,
|
|
||||||
0x6f, 0x72, 0x64, 0x52, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x69, 0x0a, 0x0b, 0x44,
|
|
||||||
0x42, 0x47, 0x76, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69,
|
|
||||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09,
|
|
||||||
0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52,
|
|
||||||
0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x61,
|
|
||||||
0x74, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x61, 0x74, 0x69,
|
|
||||||
0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x72, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05,
|
|
||||||
0x52, 0x04, 0x68, 0x61, 0x72, 0x6d, 0x22, 0x4a, 0x0a, 0x13, 0x44, 0x42, 0x47, 0x76, 0x65, 0x52,
|
|
||||||
0x6f, 0x75, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x10, 0x0a,
|
|
||||||
0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12,
|
|
||||||
0x21, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b,
|
|
||||||
0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x61, 0x77, 0x61,
|
|
||||||
0x72, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
|
||||||
0x6f, 0x33,
|
|
||||||
}
|
|
||||||
|
|
||||||
var (
|
|
||||||
file_uniongve_uniongve_db_proto_rawDescOnce sync.Once
|
|
||||||
file_uniongve_uniongve_db_proto_rawDescData = file_uniongve_uniongve_db_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_uniongve_uniongve_db_proto_rawDescGZIP() []byte {
|
|
||||||
file_uniongve_uniongve_db_proto_rawDescOnce.Do(func() {
|
|
||||||
file_uniongve_uniongve_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_uniongve_uniongve_db_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_uniongve_uniongve_db_proto_rawDescData
|
|
||||||
}
|
|
||||||
|
|
||||||
var file_uniongve_uniongve_db_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
||||||
var file_uniongve_uniongve_db_proto_goTypes = []interface{}{
|
|
||||||
(*DBUnionGveBossConf)(nil), // 0: DBUnionGveBossConf
|
|
||||||
(*DBUnionGve)(nil), // 1: DBUnionGve
|
|
||||||
(*DBUnionRouletteRecord)(nil), // 2: DBUnionRouletteRecord
|
|
||||||
(*DBUnionGveBoss)(nil), // 3: DBUnionGveBoss
|
|
||||||
(*DBGveRecord)(nil), // 4: DBGveRecord
|
|
||||||
(*DBGveRouletteRecord)(nil), // 5: DBGveRouletteRecord
|
|
||||||
(*UserAssets)(nil), // 6: UserAssets
|
|
||||||
}
|
|
||||||
var file_uniongve_uniongve_db_proto_depIdxs = []int32{
|
|
||||||
3, // 0: DBUnionGve.boos:type_name -> DBUnionGveBoss
|
|
||||||
5, // 1: DBUnionRouletteRecord.roulette:type_name -> DBGveRouletteRecord
|
|
||||||
4, // 2: DBUnionGveBoss.record:type_name -> DBGveRecord
|
|
||||||
6, // 3: DBGveRouletteRecord.award:type_name -> UserAssets
|
|
||||||
4, // [4:4] is the sub-list for method output_type
|
|
||||||
4, // [4:4] is the sub-list for method input_type
|
|
||||||
4, // [4:4] is the sub-list for extension type_name
|
|
||||||
4, // [4:4] is the sub-list for extension extendee
|
|
||||||
0, // [0:4] is the sub-list for field type_name
|
|
||||||
}
|
|
||||||
|
|
||||||
func init() { file_uniongve_uniongve_db_proto_init() }
|
|
||||||
func file_uniongve_uniongve_db_proto_init() {
|
|
||||||
if File_uniongve_uniongve_db_proto != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
file_comm_proto_init()
|
|
||||||
if !protoimpl.UnsafeEnabled {
|
|
||||||
file_uniongve_uniongve_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*DBUnionGveBossConf); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_uniongve_uniongve_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*DBUnionGve); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_uniongve_uniongve_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*DBUnionRouletteRecord); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_uniongve_uniongve_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*DBUnionGveBoss); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_uniongve_uniongve_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*DBGveRecord); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_uniongve_uniongve_db_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*DBGveRouletteRecord); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
type x struct{}
|
|
||||||
out := protoimpl.TypeBuilder{
|
|
||||||
File: protoimpl.DescBuilder{
|
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
||||||
RawDescriptor: file_uniongve_uniongve_db_proto_rawDesc,
|
|
||||||
NumEnums: 0,
|
|
||||||
NumMessages: 6,
|
|
||||||
NumExtensions: 0,
|
|
||||||
NumServices: 0,
|
|
||||||
},
|
|
||||||
GoTypes: file_uniongve_uniongve_db_proto_goTypes,
|
|
||||||
DependencyIndexes: file_uniongve_uniongve_db_proto_depIdxs,
|
|
||||||
MessageInfos: file_uniongve_uniongve_db_proto_msgTypes,
|
|
||||||
}.Build()
|
|
||||||
File_uniongve_uniongve_db_proto = out.File
|
|
||||||
file_uniongve_uniongve_db_proto_rawDesc = nil
|
|
||||||
file_uniongve_uniongve_db_proto_goTypes = nil
|
|
||||||
file_uniongve_uniongve_db_proto_depIdxs = nil
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load Diff
@ -172,204 +172,6 @@ func (x *DBWTaskItem) GetConlds() []*ConIProgress {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
//日常任务
|
|
||||||
type DBWTaskDaily struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
|
|
||||||
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"`
|
|
||||||
Key int32 `protobuf:"varint,3,opt,name=key,proto3" json:"key"`
|
|
||||||
Groups []*DBWTaskDailyGroup `protobuf:"bytes,4,rep,name=groups,proto3" json:"groups"`
|
|
||||||
Rtime int64 `protobuf:"varint,5,opt,name=rtime,proto3" json:"rtime"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBWTaskDaily) Reset() {
|
|
||||||
*x = DBWTaskDaily{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_wtask_wtask_db_proto_msgTypes[2]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBWTaskDaily) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*DBWTaskDaily) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *DBWTaskDaily) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_wtask_wtask_db_proto_msgTypes[2]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use DBWTaskDaily.ProtoReflect.Descriptor instead.
|
|
||||||
func (*DBWTaskDaily) Descriptor() ([]byte, []int) {
|
|
||||||
return file_wtask_wtask_db_proto_rawDescGZIP(), []int{2}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBWTaskDaily) GetId() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Id
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBWTaskDaily) GetUid() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Uid
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBWTaskDaily) GetKey() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Key
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBWTaskDaily) GetGroups() []*DBWTaskDailyGroup {
|
|
||||||
if x != nil {
|
|
||||||
return x.Groups
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBWTaskDaily) GetRtime() int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Rtime
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
type DBWTaskDailyGroup struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Group int32 `protobuf:"varint,1,opt,name=group,proto3" json:"group"`
|
|
||||||
Tasks []int32 `protobuf:"varint,2,rep,packed,name=tasks,proto3" json:"tasks"`
|
|
||||||
Complete bool `protobuf:"varint,3,opt,name=complete,proto3" json:"complete"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBWTaskDailyGroup) Reset() {
|
|
||||||
*x = DBWTaskDailyGroup{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_wtask_wtask_db_proto_msgTypes[3]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBWTaskDailyGroup) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*DBWTaskDailyGroup) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *DBWTaskDailyGroup) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_wtask_wtask_db_proto_msgTypes[3]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use DBWTaskDailyGroup.ProtoReflect.Descriptor instead.
|
|
||||||
func (*DBWTaskDailyGroup) Descriptor() ([]byte, []int) {
|
|
||||||
return file_wtask_wtask_db_proto_rawDescGZIP(), []int{3}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBWTaskDailyGroup) GetGroup() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Group
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBWTaskDailyGroup) GetTasks() []int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Tasks
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBWTaskDailyGroup) GetComplete() bool {
|
|
||||||
if x != nil {
|
|
||||||
return x.Complete
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
type DBWTaskDailyGroupProgress struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Group int32 `protobuf:"varint,3,opt,name=group,proto3" json:"group"`
|
|
||||||
Tasks []*DBWTaskItem `protobuf:"bytes,2,rep,name=tasks,proto3" json:"tasks"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBWTaskDailyGroupProgress) Reset() {
|
|
||||||
*x = DBWTaskDailyGroupProgress{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_wtask_wtask_db_proto_msgTypes[4]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBWTaskDailyGroupProgress) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*DBWTaskDailyGroupProgress) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *DBWTaskDailyGroupProgress) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_wtask_wtask_db_proto_msgTypes[4]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use DBWTaskDailyGroupProgress.ProtoReflect.Descriptor instead.
|
|
||||||
func (*DBWTaskDailyGroupProgress) Descriptor() ([]byte, []int) {
|
|
||||||
return file_wtask_wtask_db_proto_rawDescGZIP(), []int{4}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBWTaskDailyGroupProgress) GetGroup() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Group
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *DBWTaskDailyGroupProgress) GetTasks() []*DBWTaskItem {
|
|
||||||
if x != nil {
|
|
||||||
return x.Tasks
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
var File_wtask_wtask_db_proto protoreflect.FileDescriptor
|
var File_wtask_wtask_db_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
var file_wtask_wtask_db_proto_rawDesc = []byte{
|
var file_wtask_wtask_db_proto_rawDesc = []byte{
|
||||||
@ -397,28 +199,8 @@ var file_wtask_wtask_db_proto_rawDesc = []byte{
|
|||||||
0x12, 0x10, 0x0a, 0x03, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74,
|
0x12, 0x10, 0x0a, 0x03, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74,
|
||||||
0x69, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03,
|
0x69, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03,
|
||||||
0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x43, 0x6f, 0x6e, 0x49, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73,
|
0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x43, 0x6f, 0x6e, 0x49, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73,
|
||||||
0x73, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x6c, 0x64, 0x73, 0x22, 0x84, 0x01, 0x0a, 0x0c, 0x44, 0x42,
|
0x73, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x6c, 0x64, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70,
|
||||||
0x57, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
|
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69,
|
|
||||||
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03,
|
|
||||||
0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a,
|
|
||||||
0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12,
|
|
||||||
0x2e, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x47, 0x72, 0x6f,
|
|
||||||
0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x74,
|
|
||||||
0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x72, 0x74, 0x69, 0x6d, 0x65,
|
|
||||||
0x22, 0x5b, 0x0a, 0x11, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x61, 0x69, 0x6c, 0x79,
|
|
||||||
0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01,
|
|
||||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74,
|
|
||||||
0x61, 0x73, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b,
|
|
||||||
0x73, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x03, 0x20,
|
|
||||||
0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x22, 0x55, 0x0a,
|
|
||||||
0x19, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x47, 0x72, 0x6f,
|
|
||||||
0x75, 0x70, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72,
|
|
||||||
0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70,
|
|
||||||
0x12, 0x22, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
||||||
0x0c, 0x2e, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x74,
|
|
||||||
0x61, 0x73, 0x6b, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
|
|
||||||
0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -433,26 +215,21 @@ func file_wtask_wtask_db_proto_rawDescGZIP() []byte {
|
|||||||
return file_wtask_wtask_db_proto_rawDescData
|
return file_wtask_wtask_db_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_wtask_wtask_db_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
var file_wtask_wtask_db_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
||||||
var file_wtask_wtask_db_proto_goTypes = []interface{}{
|
var file_wtask_wtask_db_proto_goTypes = []interface{}{
|
||||||
(*DBWTask)(nil), // 0: DBWTask
|
(*DBWTask)(nil), // 0: DBWTask
|
||||||
(*DBWTaskItem)(nil), // 1: DBWTaskItem
|
(*DBWTaskItem)(nil), // 1: DBWTaskItem
|
||||||
(*DBWTaskDaily)(nil), // 2: DBWTaskDaily
|
nil, // 2: DBWTask.GroupsEntry
|
||||||
(*DBWTaskDailyGroup)(nil), // 3: DBWTaskDailyGroup
|
(*ConIProgress)(nil), // 3: ConIProgress
|
||||||
(*DBWTaskDailyGroupProgress)(nil), // 4: DBWTaskDailyGroupProgress
|
|
||||||
nil, // 5: DBWTask.GroupsEntry
|
|
||||||
(*ConIProgress)(nil), // 6: ConIProgress
|
|
||||||
}
|
}
|
||||||
var file_wtask_wtask_db_proto_depIdxs = []int32{
|
var file_wtask_wtask_db_proto_depIdxs = []int32{
|
||||||
5, // 0: DBWTask.groups:type_name -> DBWTask.GroupsEntry
|
2, // 0: DBWTask.groups:type_name -> DBWTask.GroupsEntry
|
||||||
6, // 1: DBWTaskItem.conlds:type_name -> ConIProgress
|
3, // 1: DBWTaskItem.conlds:type_name -> ConIProgress
|
||||||
3, // 2: DBWTaskDaily.groups:type_name -> DBWTaskDailyGroup
|
2, // [2:2] is the sub-list for method output_type
|
||||||
1, // 3: DBWTaskDailyGroupProgress.tasks:type_name -> DBWTaskItem
|
2, // [2:2] is the sub-list for method input_type
|
||||||
4, // [4:4] is the sub-list for method output_type
|
2, // [2:2] is the sub-list for extension type_name
|
||||||
4, // [4:4] is the sub-list for method input_type
|
2, // [2:2] is the sub-list for extension extendee
|
||||||
4, // [4:4] is the sub-list for extension type_name
|
0, // [0:2] is the sub-list for field type_name
|
||||||
4, // [4:4] is the sub-list for extension extendee
|
|
||||||
0, // [0:4] is the sub-list for field type_name
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_wtask_wtask_db_proto_init() }
|
func init() { file_wtask_wtask_db_proto_init() }
|
||||||
@ -486,42 +263,6 @@ func file_wtask_wtask_db_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_wtask_wtask_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*DBWTaskDaily); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_wtask_wtask_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*DBWTaskDailyGroup); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_wtask_wtask_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*DBWTaskDailyGroupProgress); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
type x struct{}
|
type x struct{}
|
||||||
out := protoimpl.TypeBuilder{
|
out := protoimpl.TypeBuilder{
|
||||||
@ -529,7 +270,7 @@ func file_wtask_wtask_db_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_wtask_wtask_db_proto_rawDesc,
|
RawDescriptor: file_wtask_wtask_db_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 6,
|
NumMessages: 3,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
@ -67,7 +67,6 @@ type WTaskInfoResp struct {
|
|||||||
|
|
||||||
Info *DBWTask `protobuf:"bytes,1,opt,name=info,proto3" json:"info"` //可接取任务列表
|
Info *DBWTask `protobuf:"bytes,1,opt,name=info,proto3" json:"info"` //可接取任务列表
|
||||||
Accepts []*DBWTaskItem `protobuf:"bytes,2,rep,name=accepts,proto3" json:"accepts"` //已接取任务列表
|
Accepts []*DBWTaskItem `protobuf:"bytes,2,rep,name=accepts,proto3" json:"accepts"` //已接取任务列表
|
||||||
Daytask *DBWTaskDaily `protobuf:"bytes,3,opt,name=daytask,proto3" json:"daytask"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *WTaskInfoResp) Reset() {
|
func (x *WTaskInfoResp) Reset() {
|
||||||
@ -116,13 +115,6 @@ func (x *WTaskInfoResp) GetAccepts() []*DBWTaskItem {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *WTaskInfoResp) GetDaytask() *DBWTaskDaily {
|
|
||||||
if x != nil {
|
|
||||||
return x.Daytask
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
// 接取任务 请求
|
// 接取任务 请求
|
||||||
type WTaskAcceptReq struct {
|
type WTaskAcceptReq struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@ -891,180 +883,6 @@ func (x *WTaskBattleFinishResp) GetBattleConfId() int32 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
//日常任务信息获取
|
|
||||||
type WTaskDailyInfoReq struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *WTaskDailyInfoReq) Reset() {
|
|
||||||
*x = WTaskDailyInfoReq{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_wtask_wtask_msg_proto_msgTypes[16]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *WTaskDailyInfoReq) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*WTaskDailyInfoReq) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *WTaskDailyInfoReq) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_wtask_wtask_msg_proto_msgTypes[16]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use WTaskDailyInfoReq.ProtoReflect.Descriptor instead.
|
|
||||||
func (*WTaskDailyInfoReq) Descriptor() ([]byte, []int) {
|
|
||||||
return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{16}
|
|
||||||
}
|
|
||||||
|
|
||||||
//日常任务信息获取 回应
|
|
||||||
type WTaskDailyInfoResp struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Task []*DBWTaskDailyGroupProgress `protobuf:"bytes,1,rep,name=task,proto3" json:"task"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *WTaskDailyInfoResp) Reset() {
|
|
||||||
*x = WTaskDailyInfoResp{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_wtask_wtask_msg_proto_msgTypes[17]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *WTaskDailyInfoResp) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*WTaskDailyInfoResp) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *WTaskDailyInfoResp) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_wtask_wtask_msg_proto_msgTypes[17]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use WTaskDailyInfoResp.ProtoReflect.Descriptor instead.
|
|
||||||
func (*WTaskDailyInfoResp) Descriptor() ([]byte, []int) {
|
|
||||||
return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{17}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *WTaskDailyInfoResp) GetTask() []*DBWTaskDailyGroupProgress {
|
|
||||||
if x != nil {
|
|
||||||
return x.Task
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
//日常任务 领奖请求
|
|
||||||
type WTaskDailyReceiveReq struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *WTaskDailyReceiveReq) Reset() {
|
|
||||||
*x = WTaskDailyReceiveReq{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_wtask_wtask_msg_proto_msgTypes[18]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *WTaskDailyReceiveReq) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*WTaskDailyReceiveReq) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *WTaskDailyReceiveReq) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_wtask_wtask_msg_proto_msgTypes[18]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use WTaskDailyReceiveReq.ProtoReflect.Descriptor instead.
|
|
||||||
func (*WTaskDailyReceiveReq) Descriptor() ([]byte, []int) {
|
|
||||||
return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{18}
|
|
||||||
}
|
|
||||||
|
|
||||||
//日常任务 领奖请求 回应
|
|
||||||
type WTaskDailyReceiveResp struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Award []*UserAssets `protobuf:"bytes,1,rep,name=award,proto3" json:"award"` //奖励
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *WTaskDailyReceiveResp) Reset() {
|
|
||||||
*x = WTaskDailyReceiveResp{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_wtask_wtask_msg_proto_msgTypes[19]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *WTaskDailyReceiveResp) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*WTaskDailyReceiveResp) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *WTaskDailyReceiveResp) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_wtask_wtask_msg_proto_msgTypes[19]
|
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
if ms.LoadMessageInfo() == nil {
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
return ms
|
|
||||||
}
|
|
||||||
return mi.MessageOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Deprecated: Use WTaskDailyReceiveResp.ProtoReflect.Descriptor instead.
|
|
||||||
func (*WTaskDailyReceiveResp) Descriptor() ([]byte, []int) {
|
|
||||||
return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{19}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *WTaskDailyReceiveResp) GetAward() []*UserAssets {
|
|
||||||
if x != nil {
|
|
||||||
return x.Award
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
var File_wtask_wtask_msg_proto protoreflect.FileDescriptor
|
var File_wtask_wtask_msg_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
var file_wtask_wtask_msg_proto_rawDesc = []byte{
|
var file_wtask_wtask_msg_proto_rawDesc = []byte{
|
||||||
@ -1074,102 +892,88 @@ var file_wtask_wtask_msg_proto_rawDesc = []byte{
|
|||||||
0x61, 0x74, 0x74, 0x6c, 0x65, 0x2f, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x6d, 0x73, 0x67,
|
0x61, 0x74, 0x74, 0x6c, 0x65, 0x2f, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x6d, 0x73, 0x67,
|
||||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f,
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f,
|
||||||
0x74, 0x6f, 0x22, 0x0e, 0x0a, 0x0c, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52,
|
0x74, 0x6f, 0x22, 0x0e, 0x0a, 0x0c, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52,
|
||||||
0x65, 0x71, 0x22, 0x7e, 0x0a, 0x0d, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52,
|
0x65, 0x71, 0x22, 0x55, 0x0a, 0x0d, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52,
|
||||||
0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28,
|
0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
0x0b, 0x32, 0x08, 0x2e, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x04, 0x69, 0x6e, 0x66,
|
0x0b, 0x32, 0x08, 0x2e, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x04, 0x69, 0x6e, 0x66,
|
||||||
0x6f, 0x12, 0x26, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03,
|
0x6f, 0x12, 0x26, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03,
|
||||||
0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x74, 0x65, 0x6d,
|
0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x74, 0x65, 0x6d,
|
||||||
0x52, 0x07, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x12, 0x27, 0x0a, 0x07, 0x64, 0x61, 0x79,
|
0x52, 0x07, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x22, 0x22, 0x0a, 0x0e, 0x57, 0x54, 0x61,
|
||||||
0x74, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x57,
|
0x73, 0x6b, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x74,
|
||||||
0x54, 0x61, 0x73, 0x6b, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x52, 0x07, 0x64, 0x61, 0x79, 0x74, 0x61,
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 0x69, 0x64, 0x22, 0x6d, 0x0a,
|
||||||
0x73, 0x6b, 0x22, 0x22, 0x0a, 0x0e, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x41, 0x63, 0x63, 0x65, 0x70,
|
0x0f, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70,
|
||||||
0x74, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
0x12, 0x10, 0x0a, 0x03, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74,
|
||||||
0x05, 0x52, 0x03, 0x74, 0x69, 0x64, 0x22, 0x6d, 0x0a, 0x0f, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x41,
|
0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
||||||
0x63, 0x63, 0x65, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x69, 0x64,
|
0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74,
|
||||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x61,
|
0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x18,
|
||||||
0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05,
|
0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x49,
|
||||||
0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a,
|
0x74, 0x65, 0x6d, 0x52, 0x07, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x22, 0x49, 0x0a, 0x15,
|
||||||
0x07, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c,
|
0x57, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e,
|
||||||
0x2e, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x07, 0x61, 0x63,
|
0x64, 0x69, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18,
|
||||||
0x63, 0x65, 0x70, 0x74, 0x73, 0x22, 0x49, 0x0a, 0x15, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6f,
|
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x18, 0x0a,
|
||||||
0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x52, 0x65, 0x71, 0x12, 0x16,
|
0x07, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
|
||||||
0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06,
|
0x63, 0x6f, 0x6e, 0x64, 0x69, 0x49, 0x64, 0x22, 0x74, 0x0a, 0x16, 0x57, 0x54, 0x61, 0x73, 0x6b,
|
||||||
0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x49,
|
0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x52, 0x65, 0x73,
|
||||||
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x49, 0x64,
|
0x70, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
0x22, 0x74, 0x0a, 0x16, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74,
|
0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e,
|
||||||
0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61,
|
0x64, 0x69, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x64,
|
||||||
0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b,
|
0x69, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18,
|
||||||
0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x49, 0x64, 0x18, 0x02, 0x20,
|
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x49,
|
||||||
0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x08,
|
0x74, 0x65, 0x6d, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x22, 0x0a,
|
||||||
0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c,
|
0x0e, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x12,
|
||||||
0x2e, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x08, 0x70, 0x72,
|
0x10, 0x0a, 0x03, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 0x69,
|
||||||
0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x22, 0x0a, 0x0e, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x46,
|
0x64, 0x22, 0xd5, 0x01, 0x0a, 0x0f, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x46, 0x69, 0x6e, 0x69, 0x73,
|
||||||
0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x69, 0x64, 0x18,
|
0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||||
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 0x69, 0x64, 0x22, 0xd5, 0x01, 0x0a, 0x0f, 0x57,
|
0x28, 0x05, 0x52, 0x03, 0x74, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64,
|
||||||
0x54, 0x61, 0x73, 0x6b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10,
|
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73,
|
||||||
0x0a, 0x03, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 0x69, 0x64,
|
0x65, 0x74, 0x73, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f,
|
||||||
0x12, 0x21, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09, 0x63,
|
||||||
0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x61, 0x77,
|
0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75,
|
||||||
0x61, 0x72, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x73,
|
0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x57, 0x54, 0x61, 0x73, 0x6b,
|
||||||
0x18, 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65,
|
0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70,
|
||||||
0x73, 0x12, 0x34, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28,
|
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x1a, 0x39,
|
||||||
0x0b, 0x32, 0x1c, 0x2e, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52,
|
0x0a, 0x0b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
||||||
0x65, 0x73, 0x70, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
|
||||||
0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x47, 0x72, 0x6f, 0x75, 0x70,
|
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
|
||||||
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2d, 0x0a, 0x15, 0x57, 0x54, 0x61,
|
||||||
0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
0x73, 0x6b, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52,
|
||||||
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
|
0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
0x38, 0x01, 0x22, 0x2d, 0x0a, 0x15, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x68, 0x61, 0x70, 0x74,
|
0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x51, 0x0a, 0x16, 0x57, 0x54, 0x61, 0x73,
|
||||||
0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x67,
|
0x6b, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65,
|
||||||
0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75,
|
0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
0x70, 0x22, 0x51, 0x0a, 0x16, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65,
|
0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x21, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72,
|
||||||
0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x67,
|
0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73,
|
||||||
0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75,
|
0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x22, 0x3e, 0x0a, 0x1a, 0x57,
|
||||||
0x70, 0x12, 0x21, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
|
0x54, 0x61, 0x73, 0x6b, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x43,
|
||||||
0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x61,
|
0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x63, 0x74,
|
||||||
0x77, 0x61, 0x72, 0x64, 0x22, 0x3e, 0x0a, 0x1a, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x41, 0x63, 0x74,
|
0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0b,
|
||||||
0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75,
|
0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x3f, 0x0a, 0x15, 0x57,
|
||||||
0x73, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
0x54, 0x61, 0x73, 0x6b, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
|
||||||
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74,
|
0x50, 0x75, 0x73, 0x68, 0x12, 0x26, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x18,
|
||||||
0x69, 0x6f, 0x6e, 0x73, 0x22, 0x3f, 0x0a, 0x15, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x41, 0x63, 0x63,
|
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x49,
|
||||||
0x65, 0x70, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x26, 0x0a,
|
0x74, 0x65, 0x6d, 0x52, 0x07, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x22, 0x63, 0x0a, 0x13,
|
||||||
0x07, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c,
|
0x57, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74,
|
||||||
0x2e, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x07, 0x61, 0x63,
|
0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e,
|
||||||
0x63, 0x65, 0x70, 0x74, 0x73, 0x22, 0x63, 0x0a, 0x13, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x61,
|
|
||||||
0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c,
|
|
||||||
0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
||||||
0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64,
|
|
||||||
0x12, 0x28, 0x0a, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
|
||||||
0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69,
|
|
||||||
0x6f, 0x6e, 0x52, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x22, 0x5b, 0x0a, 0x14, 0x57, 0x54,
|
|
||||||
0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65,
|
|
||||||
0x73, 0x70, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66,
|
|
||||||
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65,
|
|
||||||
0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02,
|
|
||||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66,
|
|
||||||
0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x61, 0x0a, 0x14, 0x57, 0x54, 0x61, 0x73, 0x6b,
|
|
||||||
0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x12,
|
|
||||||
0x22, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x18,
|
|
||||||
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e,
|
|
||||||
0x66, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20,
|
|
||||||
0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6f,
|
|
||||||
0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x3b, 0x0a, 0x15, 0x57, 0x54,
|
|
||||||
0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52,
|
|
||||||
0x65, 0x73, 0x70, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e,
|
|
||||||
0x66, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c,
|
0x66, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c,
|
||||||
0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x22, 0x13, 0x0a, 0x11, 0x57, 0x54, 0x61, 0x73, 0x6b,
|
0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c,
|
||||||
0x44, 0x61, 0x69, 0x6c, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x22, 0x44, 0x0a, 0x12,
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65,
|
||||||
0x57, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65,
|
0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c,
|
||||||
0x73, 0x70, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
0x65, 0x22, 0x5b, 0x0a, 0x14, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65,
|
||||||
0x32, 0x1a, 0x2e, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x47,
|
0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x74,
|
||||||
0x72, 0x6f, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x04, 0x74, 0x61,
|
0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||||
0x73, 0x6b, 0x22, 0x16, 0x0a, 0x14, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x61, 0x69, 0x6c, 0x79,
|
0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x12, 0x1f, 0x0a,
|
||||||
0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x22, 0x3a, 0x0a, 0x15, 0x57, 0x54,
|
0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61,
|
||||||
0x61, 0x73, 0x6b, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52,
|
0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x61,
|
||||||
0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x03,
|
0x0a, 0x14, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x69, 0x6e,
|
||||||
0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52,
|
0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65,
|
||||||
0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06,
|
0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61,
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x65,
|
||||||
|
0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x74,
|
||||||
|
0x74, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72,
|
||||||
|
0x74, 0x22, 0x3b, 0x0a, 0x15, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65,
|
||||||
|
0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61,
|
||||||
|
0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
||||||
|
0x52, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x42, 0x06,
|
||||||
|
0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -1184,7 +988,7 @@ func file_wtask_wtask_msg_proto_rawDescGZIP() []byte {
|
|||||||
return file_wtask_wtask_msg_proto_rawDescData
|
return file_wtask_wtask_msg_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_wtask_wtask_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
|
var file_wtask_wtask_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
|
||||||
var file_wtask_wtask_msg_proto_goTypes = []interface{}{
|
var file_wtask_wtask_msg_proto_goTypes = []interface{}{
|
||||||
(*WTaskInfoReq)(nil), // 0: WTaskInfoReq
|
(*WTaskInfoReq)(nil), // 0: WTaskInfoReq
|
||||||
(*WTaskInfoResp)(nil), // 1: WTaskInfoResp
|
(*WTaskInfoResp)(nil), // 1: WTaskInfoResp
|
||||||
@ -1202,40 +1006,31 @@ var file_wtask_wtask_msg_proto_goTypes = []interface{}{
|
|||||||
(*WTaskBattleStartResp)(nil), // 13: WTaskBattleStartResp
|
(*WTaskBattleStartResp)(nil), // 13: WTaskBattleStartResp
|
||||||
(*WTaskBattleFinishReq)(nil), // 14: WTaskBattleFinishReq
|
(*WTaskBattleFinishReq)(nil), // 14: WTaskBattleFinishReq
|
||||||
(*WTaskBattleFinishResp)(nil), // 15: WTaskBattleFinishResp
|
(*WTaskBattleFinishResp)(nil), // 15: WTaskBattleFinishResp
|
||||||
(*WTaskDailyInfoReq)(nil), // 16: WTaskDailyInfoReq
|
nil, // 16: WTaskFinishResp.GroupsEntry
|
||||||
(*WTaskDailyInfoResp)(nil), // 17: WTaskDailyInfoResp
|
(*DBWTask)(nil), // 17: DBWTask
|
||||||
(*WTaskDailyReceiveReq)(nil), // 18: WTaskDailyReceiveReq
|
(*DBWTaskItem)(nil), // 18: DBWTaskItem
|
||||||
(*WTaskDailyReceiveResp)(nil), // 19: WTaskDailyReceiveResp
|
(*UserAssets)(nil), // 19: UserAssets
|
||||||
nil, // 20: WTaskFinishResp.GroupsEntry
|
(*BattleFormation)(nil), // 20: BattleFormation
|
||||||
(*DBWTask)(nil), // 21: DBWTask
|
(*BattleInfo)(nil), // 21: BattleInfo
|
||||||
(*DBWTaskItem)(nil), // 22: DBWTaskItem
|
(*BattleReport)(nil), // 22: BattleReport
|
||||||
(*DBWTaskDaily)(nil), // 23: DBWTaskDaily
|
|
||||||
(*UserAssets)(nil), // 24: UserAssets
|
|
||||||
(*BattleFormation)(nil), // 25: BattleFormation
|
|
||||||
(*BattleInfo)(nil), // 26: BattleInfo
|
|
||||||
(*BattleReport)(nil), // 27: BattleReport
|
|
||||||
(*DBWTaskDailyGroupProgress)(nil), // 28: DBWTaskDailyGroupProgress
|
|
||||||
}
|
}
|
||||||
var file_wtask_wtask_msg_proto_depIdxs = []int32{
|
var file_wtask_wtask_msg_proto_depIdxs = []int32{
|
||||||
21, // 0: WTaskInfoResp.info:type_name -> DBWTask
|
17, // 0: WTaskInfoResp.info:type_name -> DBWTask
|
||||||
22, // 1: WTaskInfoResp.accepts:type_name -> DBWTaskItem
|
18, // 1: WTaskInfoResp.accepts:type_name -> DBWTaskItem
|
||||||
23, // 2: WTaskInfoResp.daytask:type_name -> DBWTaskDaily
|
18, // 2: WTaskAcceptResp.accepts:type_name -> DBWTaskItem
|
||||||
22, // 3: WTaskAcceptResp.accepts:type_name -> DBWTaskItem
|
18, // 3: WTaskCompleteCondiResp.progress:type_name -> DBWTaskItem
|
||||||
22, // 4: WTaskCompleteCondiResp.progress:type_name -> DBWTaskItem
|
19, // 4: WTaskFinishResp.award:type_name -> UserAssets
|
||||||
24, // 5: WTaskFinishResp.award:type_name -> UserAssets
|
16, // 5: WTaskFinishResp.groups:type_name -> WTaskFinishResp.GroupsEntry
|
||||||
20, // 6: WTaskFinishResp.groups:type_name -> WTaskFinishResp.GroupsEntry
|
19, // 6: WTaskChapterRewardResp.award:type_name -> UserAssets
|
||||||
24, // 7: WTaskChapterRewardResp.award:type_name -> UserAssets
|
18, // 7: WTaskAcceptChangePush.accepts:type_name -> DBWTaskItem
|
||||||
22, // 8: WTaskAcceptChangePush.accepts:type_name -> DBWTaskItem
|
20, // 8: WTaskBattleStartReq.battle:type_name -> BattleFormation
|
||||||
25, // 9: WTaskBattleStartReq.battle:type_name -> BattleFormation
|
21, // 9: WTaskBattleStartResp.info:type_name -> BattleInfo
|
||||||
26, // 10: WTaskBattleStartResp.info:type_name -> BattleInfo
|
22, // 10: WTaskBattleFinishReq.report:type_name -> BattleReport
|
||||||
27, // 11: WTaskBattleFinishReq.report:type_name -> BattleReport
|
11, // [11:11] is the sub-list for method output_type
|
||||||
28, // 12: WTaskDailyInfoResp.task:type_name -> DBWTaskDailyGroupProgress
|
11, // [11:11] is the sub-list for method input_type
|
||||||
24, // 13: WTaskDailyReceiveResp.award:type_name -> UserAssets
|
11, // [11:11] is the sub-list for extension type_name
|
||||||
14, // [14:14] is the sub-list for method output_type
|
11, // [11:11] is the sub-list for extension extendee
|
||||||
14, // [14:14] is the sub-list for method input_type
|
0, // [0:11] is the sub-list for field type_name
|
||||||
14, // [14:14] is the sub-list for extension 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_wtask_wtask_msg_proto_init() }
|
func init() { file_wtask_wtask_msg_proto_init() }
|
||||||
@ -1439,54 +1234,6 @@ func file_wtask_wtask_msg_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_wtask_wtask_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*WTaskDailyInfoReq); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_wtask_wtask_msg_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*WTaskDailyInfoResp); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_wtask_wtask_msg_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*WTaskDailyReceiveReq); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_wtask_wtask_msg_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*WTaskDailyReceiveResp); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
type x struct{}
|
type x struct{}
|
||||||
out := protoimpl.TypeBuilder{
|
out := protoimpl.TypeBuilder{
|
||||||
@ -1494,7 +1241,7 @@ func file_wtask_wtask_msg_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_wtask_wtask_msg_proto_rawDesc,
|
RawDescriptor: file_wtask_wtask_msg_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 21,
|
NumMessages: 17,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
@ -22,6 +22,7 @@ import (
|
|||||||
"go_dreamfactory/modules/gourmet"
|
"go_dreamfactory/modules/gourmet"
|
||||||
"go_dreamfactory/modules/growtask"
|
"go_dreamfactory/modules/growtask"
|
||||||
"go_dreamfactory/modules/guidance"
|
"go_dreamfactory/modules/guidance"
|
||||||
|
"go_dreamfactory/modules/guildgve"
|
||||||
"go_dreamfactory/modules/hero"
|
"go_dreamfactory/modules/hero"
|
||||||
"go_dreamfactory/modules/horoscope"
|
"go_dreamfactory/modules/horoscope"
|
||||||
"go_dreamfactory/modules/hunting"
|
"go_dreamfactory/modules/hunting"
|
||||||
@ -50,7 +51,6 @@ import (
|
|||||||
"go_dreamfactory/modules/sys"
|
"go_dreamfactory/modules/sys"
|
||||||
"go_dreamfactory/modules/task"
|
"go_dreamfactory/modules/task"
|
||||||
"go_dreamfactory/modules/tools"
|
"go_dreamfactory/modules/tools"
|
||||||
"go_dreamfactory/modules/uniongve"
|
|
||||||
"go_dreamfactory/modules/user"
|
"go_dreamfactory/modules/user"
|
||||||
"go_dreamfactory/modules/viking"
|
"go_dreamfactory/modules/viking"
|
||||||
"go_dreamfactory/modules/warorder"
|
"go_dreamfactory/modules/warorder"
|
||||||
@ -136,7 +136,7 @@ func main() {
|
|||||||
wtask.NewModule(),
|
wtask.NewModule(),
|
||||||
passon.NewModule(),
|
passon.NewModule(),
|
||||||
warorder.NewModule(),
|
warorder.NewModule(),
|
||||||
uniongve.NewModule(),
|
guildgve.NewModule(),
|
||||||
stonehenge.NewModule(),
|
stonehenge.NewModule(),
|
||||||
dailytask.NewModule(),
|
dailytask.NewModule(),
|
||||||
questionnaire.NewModule(),
|
questionnaire.NewModule(),
|
||||||
|
@ -17,7 +17,8 @@ type GameGuildBossData struct {
|
|||||||
BossLv int32
|
BossLv int32
|
||||||
Hp int32
|
Hp int32
|
||||||
BattleReadyID int32
|
BattleReadyID int32
|
||||||
BossImg int32
|
HeroId string
|
||||||
|
PreviewReward []*Gameatn
|
||||||
KillReward []*Gameatn
|
KillReward []*Gameatn
|
||||||
Boss []int32
|
Boss []int32
|
||||||
Score int32
|
Score int32
|
||||||
@ -38,7 +39,21 @@ func (_v *GameGuildBossData)Deserialize(_buf map[string]interface{}) (err error)
|
|||||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["boss_lv"].(float64); !_ok_ { err = errors.New("boss_lv error"); return }; _v.BossLv = int32(_tempNum_) }
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["boss_lv"].(float64); !_ok_ { err = errors.New("boss_lv error"); return }; _v.BossLv = 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["hp"].(float64); !_ok_ { err = errors.New("hp error"); return }; _v.Hp = int32(_tempNum_) }
|
||||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["BattleReadyID"].(float64); !_ok_ { err = errors.New("BattleReadyID error"); return }; _v.BattleReadyID = int32(_tempNum_) }
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["BattleReadyID"].(float64); !_ok_ { err = errors.New("BattleReadyID error"); return }; _v.BattleReadyID = int32(_tempNum_) }
|
||||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["boss_img"].(float64); !_ok_ { err = errors.New("boss_img error"); return }; _v.BossImg = int32(_tempNum_) }
|
{ var _ok_ bool; if _v.HeroId, _ok_ = _buf["heroId"].(string); !_ok_ { err = errors.New("heroId error"); return } }
|
||||||
|
{
|
||||||
|
var _arr_ []interface{}
|
||||||
|
var _ok_ bool
|
||||||
|
if _arr_, _ok_ = _buf["preview_reward"].([]interface{}); !_ok_ { err = errors.New("preview_reward error"); return }
|
||||||
|
|
||||||
|
_v.PreviewReward = make([]*Gameatn, 0, len(_arr_))
|
||||||
|
|
||||||
|
for _, _e_ := range _arr_ {
|
||||||
|
var _list_v_ *Gameatn
|
||||||
|
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _e_.(map[string]interface{}); !_ok_ { err = errors.New("_list_v_ error"); return }; if _list_v_, err = DeserializeGameatn(_x_); err != nil { return } }
|
||||||
|
_v.PreviewReward = append(_v.PreviewReward, _list_v_)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
var _arr_ []interface{}
|
var _arr_ []interface{}
|
||||||
var _ok_ bool
|
var _ok_ bool
|
||||||
|
@ -22,6 +22,7 @@ type GameMainStageData struct {
|
|||||||
Venturemodel string
|
Venturemodel string
|
||||||
Venturetype int32
|
Venturetype int32
|
||||||
Ventureavatar []string
|
Ventureavatar []string
|
||||||
|
Herocolor int32
|
||||||
Heroimg string
|
Heroimg string
|
||||||
Bubbletext string
|
Bubbletext string
|
||||||
Animation string
|
Animation string
|
||||||
@ -45,6 +46,7 @@ type GameMainStageData struct {
|
|||||||
Star []int32
|
Star []int32
|
||||||
StarType []int32
|
StarType []int32
|
||||||
StarValue []int32
|
StarValue []int32
|
||||||
|
Challengeward int32
|
||||||
}
|
}
|
||||||
|
|
||||||
const TypeId_GameMainStageData = -1084910317
|
const TypeId_GameMainStageData = -1084910317
|
||||||
@ -91,6 +93,7 @@ func (_v *GameMainStageData)Deserialize(_buf map[string]interface{}) (err error)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["herocolor"].(float64); !_ok_ { err = errors.New("herocolor error"); return }; _v.Herocolor = int32(_tempNum_) }
|
||||||
{ var _ok_ bool; if _v.Heroimg, _ok_ = _buf["heroimg"].(string); !_ok_ { err = errors.New("heroimg error"); return } }
|
{ var _ok_ bool; if _v.Heroimg, _ok_ = _buf["heroimg"].(string); !_ok_ { err = errors.New("heroimg error"); return } }
|
||||||
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["bubbletext"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Bubbletext error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Bubbletext, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
|
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["bubbletext"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Bubbletext error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Bubbletext, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
|
||||||
{ var _ok_ bool; if _v.Animation, _ok_ = _buf["animation"].(string); !_ok_ { err = errors.New("animation error"); return } }
|
{ var _ok_ bool; if _v.Animation, _ok_ = _buf["animation"].(string); !_ok_ { err = errors.New("animation error"); return } }
|
||||||
@ -218,6 +221,7 @@ func (_v *GameMainStageData)Deserialize(_buf map[string]interface{}) (err error)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["challengeward"].(float64); !_ok_ { err = errors.New("challengeward error"); return }; _v.Challengeward = int32(_tempNum_) }
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,8 +17,6 @@ type GameStroneBuffData struct {
|
|||||||
BuffLevel int32
|
BuffLevel int32
|
||||||
Quality int32
|
Quality int32
|
||||||
BuffIcon string
|
BuffIcon string
|
||||||
BuffName string
|
|
||||||
BuffDescription string
|
|
||||||
BuffStory string
|
BuffStory string
|
||||||
BuffUpgradeCost *Gameatn
|
BuffUpgradeCost *Gameatn
|
||||||
BuffSell *Gameatn
|
BuffSell *Gameatn
|
||||||
@ -37,8 +35,6 @@ func (_v *GameStroneBuffData)Deserialize(_buf map[string]interface{}) (err error
|
|||||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["BuffLevel"].(float64); !_ok_ { err = errors.New("BuffLevel error"); return }; _v.BuffLevel = int32(_tempNum_) }
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["BuffLevel"].(float64); !_ok_ { err = errors.New("BuffLevel error"); return }; _v.BuffLevel = int32(_tempNum_) }
|
||||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["Quality"].(float64); !_ok_ { err = errors.New("Quality error"); return }; _v.Quality = int32(_tempNum_) }
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["Quality"].(float64); !_ok_ { err = errors.New("Quality error"); return }; _v.Quality = int32(_tempNum_) }
|
||||||
{ var _ok_ bool; if _v.BuffIcon, _ok_ = _buf["BuffIcon"].(string); !_ok_ { err = errors.New("BuffIcon error"); return } }
|
{ var _ok_ bool; if _v.BuffIcon, _ok_ = _buf["BuffIcon"].(string); !_ok_ { err = errors.New("BuffIcon error"); return } }
|
||||||
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["buffName"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.BuffName error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.BuffName, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
|
|
||||||
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["BuffDescription"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.BuffDescription error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.BuffDescription, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
|
|
||||||
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["BuffStory"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.BuffStory error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.BuffStory, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
|
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["BuffStory"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.BuffStory error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.BuffStory, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
|
||||||
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["BuffUpgradeCost"].(map[string]interface{}); !_ok_ { err = errors.New("BuffUpgradeCost error"); return }; if _v.BuffUpgradeCost, err = DeserializeGameatn(_x_); err != nil { return } }
|
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["BuffUpgradeCost"].(map[string]interface{}); !_ok_ { err = errors.New("BuffUpgradeCost error"); return }; if _v.BuffUpgradeCost, err = DeserializeGameatn(_x_); err != nil { return } }
|
||||||
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["BuffSell"].(map[string]interface{}); !_ok_ { err = errors.New("BuffSell error"); return }; if _v.BuffSell, err = DeserializeGameatn(_x_); err != nil { return } }
|
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["BuffSell"].(map[string]interface{}); !_ok_ { err = errors.New("BuffSell error"); return }; if _v.BuffSell, err = DeserializeGameatn(_x_); err != nil { return } }
|
||||||
|
@ -19,6 +19,7 @@ type GameStroneEventData struct {
|
|||||||
Value2 int32
|
Value2 int32
|
||||||
Value3 int32
|
Value3 int32
|
||||||
Value4 int32
|
Value4 int32
|
||||||
|
CostItem []*Gameatn
|
||||||
PostEvent int32
|
PostEvent int32
|
||||||
Probability int32
|
Probability int32
|
||||||
}
|
}
|
||||||
@ -38,6 +39,20 @@ func (_v *GameStroneEventData)Deserialize(_buf map[string]interface{}) (err erro
|
|||||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["Value2"].(float64); !_ok_ { err = errors.New("Value2 error"); return }; _v.Value2 = int32(_tempNum_) }
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["Value2"].(float64); !_ok_ { err = errors.New("Value2 error"); return }; _v.Value2 = int32(_tempNum_) }
|
||||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["Value3"].(float64); !_ok_ { err = errors.New("Value3 error"); return }; _v.Value3 = int32(_tempNum_) }
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["Value3"].(float64); !_ok_ { err = errors.New("Value3 error"); return }; _v.Value3 = int32(_tempNum_) }
|
||||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["Value4"].(float64); !_ok_ { err = errors.New("Value4 error"); return }; _v.Value4 = int32(_tempNum_) }
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["Value4"].(float64); !_ok_ { err = errors.New("Value4 error"); return }; _v.Value4 = int32(_tempNum_) }
|
||||||
|
{
|
||||||
|
var _arr_ []interface{}
|
||||||
|
var _ok_ bool
|
||||||
|
if _arr_, _ok_ = _buf["CostItem"].([]interface{}); !_ok_ { err = errors.New("CostItem error"); return }
|
||||||
|
|
||||||
|
_v.CostItem = make([]*Gameatn, 0, len(_arr_))
|
||||||
|
|
||||||
|
for _, _e_ := range _arr_ {
|
||||||
|
var _list_v_ *Gameatn
|
||||||
|
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _e_.(map[string]interface{}); !_ok_ { err = errors.New("_list_v_ error"); return }; if _list_v_, err = DeserializeGameatn(_x_); err != nil { return } }
|
||||||
|
_v.CostItem = append(_v.CostItem, _list_v_)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["PostEvent"].(float64); !_ok_ { err = errors.New("PostEvent error"); return }; _v.PostEvent = int32(_tempNum_) }
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["PostEvent"].(float64); !_ok_ { err = errors.New("PostEvent error"); return }; _v.PostEvent = int32(_tempNum_) }
|
||||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["probability"].(float64); !_ok_ { err = errors.New("probability error"); return }; _v.Probability = int32(_tempNum_) }
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["probability"].(float64); !_ok_ { err = errors.New("probability error"); return }; _v.Probability = int32(_tempNum_) }
|
||||||
return
|
return
|
||||||
|
@ -249,6 +249,8 @@ type GameGlobalData struct {
|
|||||||
Voucher *Gameatn
|
Voucher *Gameatn
|
||||||
Passlvmax int32
|
Passlvmax int32
|
||||||
GuildbossRoulette *Gameatn
|
GuildbossRoulette *Gameatn
|
||||||
|
GuildbossKillPreview []*Gameatn
|
||||||
|
GuildbossChallengePreview []*Gameatn
|
||||||
}
|
}
|
||||||
|
|
||||||
const TypeId_GameGlobalData = 477542761
|
const TypeId_GameGlobalData = 477542761
|
||||||
@ -1003,6 +1005,34 @@ func (_v *GameGlobalData)Deserialize(_buf map[string]interface{}) (err error) {
|
|||||||
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["voucher"].(map[string]interface{}); !_ok_ { err = errors.New("voucher error"); return }; if _v.Voucher, err = DeserializeGameatn(_x_); err != nil { return } }
|
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["voucher"].(map[string]interface{}); !_ok_ { err = errors.New("voucher error"); return }; if _v.Voucher, err = DeserializeGameatn(_x_); err != nil { return } }
|
||||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["passlvmax"].(float64); !_ok_ { err = errors.New("passlvmax error"); return }; _v.Passlvmax = int32(_tempNum_) }
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["passlvmax"].(float64); !_ok_ { err = errors.New("passlvmax error"); return }; _v.Passlvmax = int32(_tempNum_) }
|
||||||
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["guildboss_roulette"].(map[string]interface{}); !_ok_ { err = errors.New("guildboss_roulette error"); return }; if _v.GuildbossRoulette, err = DeserializeGameatn(_x_); err != nil { return } }
|
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["guildboss_roulette"].(map[string]interface{}); !_ok_ { err = errors.New("guildboss_roulette error"); return }; if _v.GuildbossRoulette, err = DeserializeGameatn(_x_); err != nil { return } }
|
||||||
|
{
|
||||||
|
var _arr_ []interface{}
|
||||||
|
var _ok_ bool
|
||||||
|
if _arr_, _ok_ = _buf["guildboss_kill_Preview"].([]interface{}); !_ok_ { err = errors.New("guildboss_kill_Preview error"); return }
|
||||||
|
|
||||||
|
_v.GuildbossKillPreview = make([]*Gameatn, 0, len(_arr_))
|
||||||
|
|
||||||
|
for _, _e_ := range _arr_ {
|
||||||
|
var _list_v_ *Gameatn
|
||||||
|
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _e_.(map[string]interface{}); !_ok_ { err = errors.New("_list_v_ error"); return }; if _list_v_, err = DeserializeGameatn(_x_); err != nil { return } }
|
||||||
|
_v.GuildbossKillPreview = append(_v.GuildbossKillPreview, _list_v_)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
var _arr_ []interface{}
|
||||||
|
var _ok_ bool
|
||||||
|
if _arr_, _ok_ = _buf["guildboss_challenge_preview"].([]interface{}); !_ok_ { err = errors.New("guildboss_challenge_preview error"); return }
|
||||||
|
|
||||||
|
_v.GuildbossChallengePreview = make([]*Gameatn, 0, len(_arr_))
|
||||||
|
|
||||||
|
for _, _e_ := range _arr_ {
|
||||||
|
var _list_v_ *Gameatn
|
||||||
|
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _e_.(map[string]interface{}); !_ok_ { err = errors.New("_list_v_ error"); return }; if _list_v_, err = DeserializeGameatn(_x_); err != nil { return } }
|
||||||
|
_v.GuildbossChallengePreview = append(_v.GuildbossChallengePreview, _list_v_)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@ type GamePlayerlvData struct {
|
|||||||
PsCeiling int32
|
PsCeiling int32
|
||||||
CopsPsCeiling int32
|
CopsPsCeiling int32
|
||||||
HeroLv int32
|
HeroLv int32
|
||||||
|
GuildBossCeiling int32
|
||||||
}
|
}
|
||||||
|
|
||||||
const TypeId_GamePlayerlvData = 927774449
|
const TypeId_GamePlayerlvData = 927774449
|
||||||
@ -45,6 +46,7 @@ func (_v *GamePlayerlvData)Deserialize(_buf map[string]interface{}) (err error)
|
|||||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["ps_ceiling"].(float64); !_ok_ { err = errors.New("ps_ceiling error"); return }; _v.PsCeiling = int32(_tempNum_) }
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["ps_ceiling"].(float64); !_ok_ { err = errors.New("ps_ceiling error"); return }; _v.PsCeiling = int32(_tempNum_) }
|
||||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["cops_ps_ceiling"].(float64); !_ok_ { err = errors.New("cops_ps_ceiling error"); return }; _v.CopsPsCeiling = int32(_tempNum_) }
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["cops_ps_ceiling"].(float64); !_ok_ { err = errors.New("cops_ps_ceiling error"); return }; _v.CopsPsCeiling = int32(_tempNum_) }
|
||||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["hero_lv"].(float64); !_ok_ { err = errors.New("hero_lv error"); return }; _v.HeroLv = int32(_tempNum_) }
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["hero_lv"].(float64); !_ok_ { err = errors.New("hero_lv error"); return }; _v.HeroLv = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["guild_boss_ceiling"].(float64); !_ok_ { err = errors.New("guild_boss_ceiling error"); return }; _v.GuildBossCeiling = int32(_tempNum_) }
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user