上传代码
This commit is contained in:
parent
45cf2c411a
commit
bfadb09de6
File diff suppressed because it is too large
Load Diff
@ -1,18 +1,35 @@
|
||||
[
|
||||
{
|
||||
"itemid": "10000044",
|
||||
"exp": 1
|
||||
},
|
||||
{
|
||||
"itemid": "10000045",
|
||||
"exp": 500
|
||||
"exp": 500,
|
||||
"needgold": [
|
||||
{
|
||||
"a": "attr",
|
||||
"t": "gold",
|
||||
"n": 250
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"itemid": "10000046",
|
||||
"exp": 1000
|
||||
"exp": 1000,
|
||||
"needgold": [
|
||||
{
|
||||
"a": "attr",
|
||||
"t": "gold",
|
||||
"n": 500
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"itemid": "10000047",
|
||||
"exp": 2000
|
||||
"exp": 2000,
|
||||
"needgold": [
|
||||
{
|
||||
"a": "attr",
|
||||
"t": "gold",
|
||||
"n": 1000
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
@ -13,8 +13,14 @@
|
||||
"n": 1000
|
||||
}
|
||||
],
|
||||
"needexp": 0,
|
||||
"cost": [],
|
||||
"needexp": 1000,
|
||||
"cost": [
|
||||
{
|
||||
"a": "attr",
|
||||
"t": "gold",
|
||||
"n": 13000
|
||||
}
|
||||
],
|
||||
"change": 500
|
||||
},
|
||||
{
|
||||
@ -31,12 +37,12 @@
|
||||
"n": 1200
|
||||
}
|
||||
],
|
||||
"needexp": 1000,
|
||||
"needexp": 1200,
|
||||
"cost": [
|
||||
{
|
||||
"a": "attr",
|
||||
"t": "gold",
|
||||
"n": 13000
|
||||
"n": 14000
|
||||
}
|
||||
],
|
||||
"change": 1500
|
||||
@ -55,12 +61,12 @@
|
||||
"n": 1400
|
||||
}
|
||||
],
|
||||
"needexp": 1200,
|
||||
"needexp": 1400,
|
||||
"cost": [
|
||||
{
|
||||
"a": "attr",
|
||||
"t": "gold",
|
||||
"n": 14000
|
||||
"n": 15000
|
||||
}
|
||||
],
|
||||
"change": 1700
|
||||
@ -79,12 +85,12 @@
|
||||
"n": 1600
|
||||
}
|
||||
],
|
||||
"needexp": 1400,
|
||||
"needexp": 1600,
|
||||
"cost": [
|
||||
{
|
||||
"a": "attr",
|
||||
"t": "gold",
|
||||
"n": 15000
|
||||
"n": 16000
|
||||
}
|
||||
],
|
||||
"change": 1900
|
||||
@ -103,12 +109,12 @@
|
||||
"n": 1800
|
||||
}
|
||||
],
|
||||
"needexp": 1600,
|
||||
"needexp": 1800,
|
||||
"cost": [
|
||||
{
|
||||
"a": "attr",
|
||||
"t": "gold",
|
||||
"n": 16000
|
||||
"n": 17000
|
||||
}
|
||||
],
|
||||
"change": 2100
|
||||
@ -127,12 +133,12 @@
|
||||
"n": 2000
|
||||
}
|
||||
],
|
||||
"needexp": 1800,
|
||||
"needexp": 2000,
|
||||
"cost": [
|
||||
{
|
||||
"a": "attr",
|
||||
"t": "gold",
|
||||
"n": 17000
|
||||
"n": 18000
|
||||
}
|
||||
],
|
||||
"change": 2300
|
||||
@ -151,12 +157,12 @@
|
||||
"n": 2200
|
||||
}
|
||||
],
|
||||
"needexp": 2000,
|
||||
"needexp": 2200,
|
||||
"cost": [
|
||||
{
|
||||
"a": "attr",
|
||||
"t": "gold",
|
||||
"n": 18000
|
||||
"n": 19000
|
||||
}
|
||||
],
|
||||
"change": 2500
|
||||
@ -175,12 +181,12 @@
|
||||
"n": 2400
|
||||
}
|
||||
],
|
||||
"needexp": 2200,
|
||||
"needexp": 2400,
|
||||
"cost": [
|
||||
{
|
||||
"a": "attr",
|
||||
"t": "gold",
|
||||
"n": 19000
|
||||
"n": 20000
|
||||
}
|
||||
],
|
||||
"change": 2700
|
||||
@ -199,12 +205,12 @@
|
||||
"n": 2600
|
||||
}
|
||||
],
|
||||
"needexp": 2400,
|
||||
"needexp": 2600,
|
||||
"cost": [
|
||||
{
|
||||
"a": "attr",
|
||||
"t": "gold",
|
||||
"n": 20000
|
||||
"n": 21000
|
||||
}
|
||||
],
|
||||
"change": 2900
|
||||
@ -223,12 +229,12 @@
|
||||
"n": 2800
|
||||
}
|
||||
],
|
||||
"needexp": 2600,
|
||||
"needexp": 2800,
|
||||
"cost": [
|
||||
{
|
||||
"a": "attr",
|
||||
"t": "gold",
|
||||
"n": 21000
|
||||
"n": 22000
|
||||
}
|
||||
],
|
||||
"change": 3100
|
||||
|
@ -5,8 +5,8 @@
|
||||
"group_id": 100100,
|
||||
"previous_group_id": [],
|
||||
"previoustage": 0,
|
||||
"buried_type": 0,
|
||||
"buried": 0,
|
||||
"buried_type": 1,
|
||||
"buried": 11011001,
|
||||
"grouptype": [],
|
||||
"Episodetype": 0,
|
||||
"stage_param": 0,
|
||||
@ -10605,8 +10605,8 @@
|
||||
100130
|
||||
],
|
||||
"previoustage": 0,
|
||||
"buried_type": 0,
|
||||
"buried": 0,
|
||||
"buried_type": 1,
|
||||
"buried": 11011002,
|
||||
"grouptype": [],
|
||||
"Episodetype": 0,
|
||||
"stage_param": 0,
|
||||
@ -19020,8 +19020,8 @@
|
||||
100220
|
||||
],
|
||||
"previoustage": 0,
|
||||
"buried_type": 0,
|
||||
"buried": 0,
|
||||
"buried_type": 1,
|
||||
"buried": 11011003,
|
||||
"grouptype": [],
|
||||
"Episodetype": 0,
|
||||
"stage_param": 0,
|
||||
@ -25786,8 +25786,8 @@
|
||||
100312
|
||||
],
|
||||
"previoustage": 0,
|
||||
"buried_type": 0,
|
||||
"buried": 0,
|
||||
"buried_type": 1,
|
||||
"buried": 11011004,
|
||||
"grouptype": [],
|
||||
"Episodetype": 0,
|
||||
"stage_param": 0,
|
||||
|
@ -308,7 +308,7 @@
|
||||
"opencondi": [
|
||||
18000022
|
||||
],
|
||||
"wkqbx": 3,
|
||||
"wkqbx": 0,
|
||||
"img": "icon_sytj",
|
||||
"prompt": {
|
||||
"key": "opencond_opencond_prompt_8",
|
||||
@ -2264,7 +2264,7 @@
|
||||
"opencondi": [
|
||||
18000022
|
||||
],
|
||||
"wkqbx": 3,
|
||||
"wkqbx": 0,
|
||||
"img": "icon_sytj",
|
||||
"prompt": {
|
||||
"key": "opencond_opencond_prompt_84",
|
||||
|
@ -9,7 +9,7 @@
|
||||
"text": "这好像不是熊猫?"
|
||||
},
|
||||
"time": 90,
|
||||
"speed": 10369
|
||||
"speed": 12655
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
@ -20,8 +20,8 @@
|
||||
"key": "playerinfor_barrage_2",
|
||||
"text": "看起来像个画家。"
|
||||
},
|
||||
"time": 281,
|
||||
"speed": 7269
|
||||
"time": 258,
|
||||
"speed": 10208
|
||||
},
|
||||
{
|
||||
"id": "3",
|
||||
@ -32,8 +32,8 @@
|
||||
"key": "playerinfor_barrage_3",
|
||||
"text": "为什么会觉得是熊猫啊?"
|
||||
},
|
||||
"time": 486,
|
||||
"speed": 10212
|
||||
"time": 474,
|
||||
"speed": 9753
|
||||
},
|
||||
{
|
||||
"id": "4",
|
||||
@ -44,8 +44,8 @@
|
||||
"key": "playerinfor_barrage_4",
|
||||
"text": "从石头里蹦出来的人?怎么感觉有点熟悉……"
|
||||
},
|
||||
"time": 654,
|
||||
"speed": 7717
|
||||
"time": 645,
|
||||
"speed": 9799
|
||||
},
|
||||
{
|
||||
"id": "5",
|
||||
@ -56,8 +56,8 @@
|
||||
"key": "playerinfor_barrage_5",
|
||||
"text": "你可能是听说过从石头里蹦出来的猴子。"
|
||||
},
|
||||
"time": 813,
|
||||
"speed": 11321
|
||||
"time": 853,
|
||||
"speed": 7773
|
||||
},
|
||||
{
|
||||
"id": "6",
|
||||
@ -68,8 +68,8 @@
|
||||
"key": "playerinfor_barrage_6",
|
||||
"text": "你是从石头里蹦出来的?!"
|
||||
},
|
||||
"time": 1011,
|
||||
"speed": 10134
|
||||
"time": 1016,
|
||||
"speed": 10023
|
||||
},
|
||||
{
|
||||
"id": "7",
|
||||
@ -80,8 +80,8 @@
|
||||
"key": "playerinfor_barrage_7",
|
||||
"text": "不!那不是我!"
|
||||
},
|
||||
"time": 1160,
|
||||
"speed": 7069
|
||||
"time": 1232,
|
||||
"speed": 9892
|
||||
},
|
||||
{
|
||||
"id": "8",
|
||||
@ -92,8 +92,8 @@
|
||||
"key": "playerinfor_barrage_8",
|
||||
"text": "哦,传承之人……"
|
||||
},
|
||||
"time": 1373,
|
||||
"speed": 11470
|
||||
"time": 1411,
|
||||
"speed": 8760
|
||||
},
|
||||
{
|
||||
"id": "9",
|
||||
@ -104,8 +104,8 @@
|
||||
"key": "playerinfor_barrage_9",
|
||||
"text": "月光能量都汇集在他身上了!"
|
||||
},
|
||||
"time": 1599,
|
||||
"speed": 11857
|
||||
"time": 1607,
|
||||
"speed": 12464
|
||||
},
|
||||
{
|
||||
"id": "10",
|
||||
@ -116,8 +116,8 @@
|
||||
"key": "playerinfor_barrage_10",
|
||||
"text": "那应该不会爆炸吧?"
|
||||
},
|
||||
"time": 1705,
|
||||
"speed": 12106
|
||||
"time": 1740,
|
||||
"speed": 11612
|
||||
},
|
||||
{
|
||||
"id": "11",
|
||||
@ -128,8 +128,8 @@
|
||||
"key": "playerinfor_barrage_11",
|
||||
"text": "阿宝,你为什么站那么远?"
|
||||
},
|
||||
"time": 1812,
|
||||
"speed": 9184
|
||||
"time": 1903,
|
||||
"speed": 9197
|
||||
},
|
||||
{
|
||||
"id": "312",
|
||||
@ -141,7 +141,7 @@
|
||||
"text": "哦!那是什么?"
|
||||
},
|
||||
"time": 90,
|
||||
"speed": 12514
|
||||
"speed": 11393
|
||||
},
|
||||
{
|
||||
"id": "313",
|
||||
@ -152,8 +152,8 @@
|
||||
"key": "playerinfor_barrage_313",
|
||||
"text": "我有种被她注视的感觉……"
|
||||
},
|
||||
"time": 223,
|
||||
"speed": 10603
|
||||
"time": 312,
|
||||
"speed": 12934
|
||||
},
|
||||
{
|
||||
"id": "314",
|
||||
@ -164,8 +164,8 @@
|
||||
"key": "playerinfor_barrage_314",
|
||||
"text": "好像是一种叫做“照相”的魔法……"
|
||||
},
|
||||
"time": 338,
|
||||
"speed": 12422
|
||||
"time": 472,
|
||||
"speed": 8744
|
||||
},
|
||||
{
|
||||
"id": "315",
|
||||
@ -176,8 +176,8 @@
|
||||
"key": "playerinfor_barrage_315",
|
||||
"text": "我看这魔法不是很疼。"
|
||||
},
|
||||
"time": 448,
|
||||
"speed": 9121
|
||||
"time": 590,
|
||||
"speed": 10950
|
||||
},
|
||||
{
|
||||
"id": "316",
|
||||
@ -188,8 +188,8 @@
|
||||
"key": "playerinfor_barrage_316",
|
||||
"text": "据说它的作用是封印灵魂?"
|
||||
},
|
||||
"time": 566,
|
||||
"speed": 11591
|
||||
"time": 712,
|
||||
"speed": 11740
|
||||
},
|
||||
{
|
||||
"id": "317",
|
||||
@ -200,8 +200,8 @@
|
||||
"key": "playerinfor_barrage_317",
|
||||
"text": "月中人的传承居然这么可怕?!"
|
||||
},
|
||||
"time": 787,
|
||||
"speed": 12602
|
||||
"time": 937,
|
||||
"speed": 12250
|
||||
},
|
||||
{
|
||||
"id": "318",
|
||||
@ -212,8 +212,8 @@
|
||||
"key": "playerinfor_barrage_318",
|
||||
"text": "哦!你们真是够了!"
|
||||
},
|
||||
"time": 896,
|
||||
"speed": 12464
|
||||
"time": 1129,
|
||||
"speed": 10732
|
||||
},
|
||||
{
|
||||
"id": "319",
|
||||
@ -224,8 +224,8 @@
|
||||
"key": "playerinfor_barrage_319",
|
||||
"text": "照相不是魔法!也不能封印灵魂!"
|
||||
},
|
||||
"time": 1032,
|
||||
"speed": 8303
|
||||
"time": 1280,
|
||||
"speed": 12214
|
||||
},
|
||||
{
|
||||
"id": "320",
|
||||
@ -236,8 +236,8 @@
|
||||
"key": "playerinfor_barrage_320",
|
||||
"text": "那她是在干什么?"
|
||||
},
|
||||
"time": 1133,
|
||||
"speed": 10034
|
||||
"time": 1432,
|
||||
"speed": 8841
|
||||
},
|
||||
{
|
||||
"id": "321",
|
||||
@ -248,8 +248,8 @@
|
||||
"key": "playerinfor_barrage_321",
|
||||
"text": "……别问。"
|
||||
},
|
||||
"time": 1344,
|
||||
"speed": 9045
|
||||
"time": 1584,
|
||||
"speed": 8843
|
||||
},
|
||||
{
|
||||
"id": "322",
|
||||
@ -260,8 +260,8 @@
|
||||
"key": "playerinfor_barrage_322",
|
||||
"text": "那可以教我吗?"
|
||||
},
|
||||
"time": 1582,
|
||||
"speed": 8247
|
||||
"time": 1746,
|
||||
"speed": 7043
|
||||
},
|
||||
{
|
||||
"id": "323",
|
||||
@ -272,8 +272,8 @@
|
||||
"key": "playerinfor_barrage_323",
|
||||
"text": "我也想学。"
|
||||
},
|
||||
"time": 1721,
|
||||
"speed": 9506
|
||||
"time": 1968,
|
||||
"speed": 10290
|
||||
},
|
||||
{
|
||||
"id": "324",
|
||||
@ -284,7 +284,7 @@
|
||||
"key": "playerinfor_barrage_324",
|
||||
"text": "要不你们问问这个传承者?"
|
||||
},
|
||||
"time": 1852,
|
||||
"speed": 9637
|
||||
"time": 2184,
|
||||
"speed": 12189
|
||||
}
|
||||
]
|
@ -124,19 +124,19 @@
|
||||
"translate": 2,
|
||||
"sex": 1,
|
||||
"type": 1,
|
||||
"icon": "sbkp_js_nz",
|
||||
"playerhead": "tx_js_nz",
|
||||
"icon": "tx_js_nz_hzr",
|
||||
"playerhead": "tx_js_nz_hzr",
|
||||
"tujing": [
|
||||
107
|
||||
],
|
||||
"url": "",
|
||||
"tips": 10001,
|
||||
"resources": "Person/10001/10001M.prefab",
|
||||
"resources": "Person/10002/10002M.prefab",
|
||||
"pvpAnimator": "Person/10001/10001_MPvp.controller",
|
||||
"mainq": "Person/10000/10000M_q.prefab",
|
||||
"name": {
|
||||
"key": "playerinfor_playerinfor_overview_name_6",
|
||||
"text": "黑人男-默认皮肤"
|
||||
"text": "黄人男-默认皮肤"
|
||||
},
|
||||
"txt": {
|
||||
"key": "playerinfor_playerinfor_overview_txt_4",
|
||||
@ -148,19 +148,19 @@
|
||||
"translate": 2,
|
||||
"sex": 2,
|
||||
"type": 1,
|
||||
"icon": "sbkp_js_nvz",
|
||||
"playerhead": "tx_js_nvz",
|
||||
"icon": "tx_js_nvz_hzr",
|
||||
"playerhead": "tx_js_nvz_hzr",
|
||||
"tujing": [
|
||||
107
|
||||
],
|
||||
"url": "",
|
||||
"tips": 10001,
|
||||
"resources": "Person/10001/10001W.prefab",
|
||||
"resources": "Person/10002/10002W.prefab",
|
||||
"pvpAnimator": "Person/10001/10001_WPvp.controller",
|
||||
"mainq": "Person/10000/10000W_q.prefab",
|
||||
"name": {
|
||||
"key": "playerinfor_playerinfor_overview_name_7",
|
||||
"text": "黑人女-默认皮肤"
|
||||
"text": "黄人女-默认皮肤"
|
||||
},
|
||||
"txt": {
|
||||
"key": "playerinfor_playerinfor_overview_txt_5",
|
||||
@ -172,19 +172,19 @@
|
||||
"translate": 3,
|
||||
"sex": 1,
|
||||
"type": 1,
|
||||
"icon": "sbkp_js_nz",
|
||||
"playerhead": "tx_js_nz",
|
||||
"icon": "tx_js_nz_hr",
|
||||
"playerhead": "tx_js_nz_hr",
|
||||
"tujing": [
|
||||
107
|
||||
],
|
||||
"url": "",
|
||||
"tips": 10002,
|
||||
"resources": "Person/10002/10002M.prefab",
|
||||
"resources": "Person/10001/10001M.prefab",
|
||||
"pvpAnimator": "Person/10002/10002_MPvp.controller",
|
||||
"mainq": "Person/10000/10000M_q.prefab",
|
||||
"name": {
|
||||
"key": "playerinfor_playerinfor_overview_name_8",
|
||||
"text": "黄人男-默认皮肤"
|
||||
"text": "黑人男-默认皮肤"
|
||||
},
|
||||
"txt": {
|
||||
"key": "playerinfor_playerinfor_overview_txt_6",
|
||||
@ -196,19 +196,19 @@
|
||||
"translate": 3,
|
||||
"sex": 2,
|
||||
"type": 1,
|
||||
"icon": "sbkp_js_nvz",
|
||||
"playerhead": "tx_js_nvz",
|
||||
"icon": "tx_js_nvz_hr",
|
||||
"playerhead": "tx_js_nvz_hr",
|
||||
"tujing": [
|
||||
107
|
||||
],
|
||||
"url": "",
|
||||
"tips": 10002,
|
||||
"resources": "Person/10002/10002W.prefab",
|
||||
"resources": "Person/10001/10001W.prefab",
|
||||
"pvpAnimator": "Person/10002/10002_WPvp.controller",
|
||||
"mainq": "Person/10000/10000W_q.prefab",
|
||||
"name": {
|
||||
"key": "playerinfor_playerinfor_overview_name_9",
|
||||
"text": "黄人女-默认皮肤"
|
||||
"text": "黑人女-默认皮肤"
|
||||
},
|
||||
"txt": {
|
||||
"key": "playerinfor_playerinfor_overview_txt_7",
|
||||
|
@ -10459,7 +10459,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60430,
|
||||
"heroid": 25001,
|
||||
"heroid": 44001,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10474,7 +10474,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60440,
|
||||
"heroid": 25001,
|
||||
"heroid": 33003,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10489,7 +10489,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60450,
|
||||
"heroid": 25001,
|
||||
"heroid": 24008,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10504,7 +10504,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60460,
|
||||
"heroid": 25001,
|
||||
"heroid": 45004,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10519,7 +10519,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60470,
|
||||
"heroid": 25001,
|
||||
"heroid": 13003,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10534,7 +10534,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60480,
|
||||
"heroid": 25001,
|
||||
"heroid": 15002,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10549,7 +10549,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60490,
|
||||
"heroid": 25001,
|
||||
"heroid": 15002,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10564,7 +10564,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60500,
|
||||
"heroid": 25001,
|
||||
"heroid": 14003,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10579,7 +10579,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60510,
|
||||
"heroid": 25001,
|
||||
"heroid": 14003,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10594,7 +10594,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60520,
|
||||
"heroid": 25001,
|
||||
"heroid": 34003,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10609,7 +10609,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60530,
|
||||
"heroid": 25001,
|
||||
"heroid": 34003,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10624,7 +10624,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60540,
|
||||
"heroid": 25001,
|
||||
"heroid": 34004,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10639,7 +10639,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60550,
|
||||
"heroid": 25001,
|
||||
"heroid": 34004,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10654,7 +10654,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60560,
|
||||
"heroid": 25001,
|
||||
"heroid": 23003,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10669,7 +10669,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60570,
|
||||
"heroid": 25001,
|
||||
"heroid": 23003,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"CommandScene",
|
||||
@ -10684,7 +10684,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60580,
|
||||
"heroid": 25001,
|
||||
"heroid": 25003,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10699,7 +10699,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60590,
|
||||
"heroid": 25001,
|
||||
"heroid": 24001,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10714,7 +10714,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60600,
|
||||
"heroid": 25001,
|
||||
"heroid": 44006,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10729,7 +10729,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60610,
|
||||
"heroid": 25001,
|
||||
"heroid": 24001,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10744,7 +10744,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60620,
|
||||
"heroid": 25001,
|
||||
"heroid": 35001,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10759,7 +10759,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60630,
|
||||
"heroid": 25001,
|
||||
"heroid": 54026,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10774,7 +10774,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60640,
|
||||
"heroid": 25001,
|
||||
"heroid": 33002,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10789,7 +10789,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60650,
|
||||
"heroid": 25001,
|
||||
"heroid": 13005,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10804,7 +10804,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60660,
|
||||
"heroid": 25001,
|
||||
"heroid": 14006,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10819,7 +10819,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60670,
|
||||
"heroid": 25001,
|
||||
"heroid": 14007,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10834,7 +10834,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60720,
|
||||
"heroid": 25001,
|
||||
"heroid": 24002,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10849,7 +10849,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60730,
|
||||
"heroid": 25001,
|
||||
"heroid": 14005,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10864,7 +10864,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60740,
|
||||
"heroid": 25001,
|
||||
"heroid": 44002,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10879,7 +10879,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60750,
|
||||
"heroid": 25001,
|
||||
"heroid": 33005,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10894,7 +10894,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60581,
|
||||
"heroid": 25001,
|
||||
"heroid": 25003,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10909,11 +10909,11 @@
|
||||
},
|
||||
{
|
||||
"id": 60591,
|
||||
"heroid": 25001,
|
||||
"heroid": 24001,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
"跑环-调查点7",
|
||||
"跑环-调查点1",
|
||||
"901"
|
||||
],
|
||||
"event": [
|
||||
@ -10924,7 +10924,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60601,
|
||||
"heroid": 25001,
|
||||
"heroid": 44006,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"WuGuanScene",
|
||||
@ -10939,7 +10939,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60611,
|
||||
"heroid": 25001,
|
||||
"heroid": 24001,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10954,7 +10954,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60621,
|
||||
"heroid": 25001,
|
||||
"heroid": 35001,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10969,7 +10969,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60631,
|
||||
"heroid": 25001,
|
||||
"heroid": 54026,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10984,7 +10984,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60641,
|
||||
"heroid": 25001,
|
||||
"heroid": 33002,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -10999,7 +10999,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60651,
|
||||
"heroid": 25001,
|
||||
"heroid": 13005,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11014,7 +11014,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60661,
|
||||
"heroid": 25001,
|
||||
"heroid": 14006,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11029,7 +11029,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60671,
|
||||
"heroid": 25001,
|
||||
"heroid": 14007,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11044,7 +11044,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60721,
|
||||
"heroid": 25001,
|
||||
"heroid": 24002,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11059,7 +11059,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60731,
|
||||
"heroid": 25001,
|
||||
"heroid": 14005,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11074,7 +11074,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60741,
|
||||
"heroid": 25001,
|
||||
"heroid": 44002,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11089,7 +11089,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60751,
|
||||
"heroid": 25001,
|
||||
"heroid": 33005,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11104,7 +11104,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60439,
|
||||
"heroid": 25001,
|
||||
"heroid": 44001,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11119,7 +11119,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60449,
|
||||
"heroid": 25001,
|
||||
"heroid": 33003,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11134,7 +11134,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60459,
|
||||
"heroid": 25001,
|
||||
"heroid": 24008,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11149,7 +11149,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60469,
|
||||
"heroid": 25001,
|
||||
"heroid": 45004,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11164,7 +11164,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60479,
|
||||
"heroid": 25001,
|
||||
"heroid": 13003,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11179,7 +11179,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60499,
|
||||
"heroid": 25001,
|
||||
"heroid": 15002,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11194,7 +11194,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60519,
|
||||
"heroid": 25001,
|
||||
"heroid": 14003,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11209,11 +11209,11 @@
|
||||
},
|
||||
{
|
||||
"id": 60539,
|
||||
"heroid": 25001,
|
||||
"heroid": 34003,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
"跑环-连环-圣诞老人",
|
||||
"氛围npc-蒂姆",
|
||||
"901"
|
||||
],
|
||||
"event": [
|
||||
@ -11224,7 +11224,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60559,
|
||||
"heroid": 25001,
|
||||
"heroid": 34004,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11239,7 +11239,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60579,
|
||||
"heroid": 25001,
|
||||
"heroid": 23003,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11254,7 +11254,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60589,
|
||||
"heroid": 25001,
|
||||
"heroid": 25003,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11269,7 +11269,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60599,
|
||||
"heroid": 25001,
|
||||
"heroid": 24001,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11284,7 +11284,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60609,
|
||||
"heroid": 25001,
|
||||
"heroid": 44006,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11296,7 +11296,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60619,
|
||||
"heroid": 25001,
|
||||
"heroid": 24001,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11311,7 +11311,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60629,
|
||||
"heroid": 25001,
|
||||
"heroid": 35001,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11323,7 +11323,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60639,
|
||||
"heroid": 25001,
|
||||
"heroid": 54026,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11338,7 +11338,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60649,
|
||||
"heroid": 25001,
|
||||
"heroid": 33002,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11353,7 +11353,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60659,
|
||||
"heroid": 25001,
|
||||
"heroid": 13005,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11368,7 +11368,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60669,
|
||||
"heroid": 25001,
|
||||
"heroid": 14006,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11383,7 +11383,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60679,
|
||||
"heroid": 25001,
|
||||
"heroid": 14007,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11398,7 +11398,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60729,
|
||||
"heroid": 25001,
|
||||
"heroid": 24002,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11413,7 +11413,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60739,
|
||||
"heroid": 25001,
|
||||
"heroid": 14005,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11428,7 +11428,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60749,
|
||||
"heroid": 25001,
|
||||
"heroid": 44002,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
@ -11443,7 +11443,7 @@
|
||||
},
|
||||
{
|
||||
"id": 60759,
|
||||
"heroid": 25001,
|
||||
"heroid": 33005,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
|
@ -16,69 +16,9 @@
|
||||
"count_type": 0,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|Task|Daily",
|
||||
"path": "Root|Task|Unlock",
|
||||
"header": "赵长远"
|
||||
},
|
||||
{
|
||||
"id": 10102,
|
||||
"msg_type": 1,
|
||||
"show_type": 0,
|
||||
"count_type": 0,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|Task|Week",
|
||||
"header": "赵长远"
|
||||
},
|
||||
{
|
||||
"id": 10103,
|
||||
"msg_type": 1,
|
||||
"show_type": 0,
|
||||
"count_type": 0,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|Task|Achievement",
|
||||
"header": "赵长远"
|
||||
},
|
||||
{
|
||||
"id": 10200,
|
||||
"msg_type": 0,
|
||||
"show_type": 0,
|
||||
"count_type": 0,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|Task|Daily",
|
||||
"header": ""
|
||||
},
|
||||
{
|
||||
"id": 10201,
|
||||
"msg_type": 1,
|
||||
"show_type": 0,
|
||||
"count_type": 0,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|Task|Daily|Active",
|
||||
"header": ""
|
||||
},
|
||||
{
|
||||
"id": 10300,
|
||||
"msg_type": 0,
|
||||
"show_type": 0,
|
||||
"count_type": 0,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|Task|Week",
|
||||
"header": ""
|
||||
},
|
||||
{
|
||||
"id": 10301,
|
||||
"msg_type": 1,
|
||||
"show_type": 0,
|
||||
"count_type": 0,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|Task|Week|Active",
|
||||
"header": ""
|
||||
},
|
||||
{
|
||||
"id": 12100,
|
||||
"msg_type": 0,
|
||||
@ -715,6 +655,26 @@
|
||||
"path": "Root|Favorability|Bubble|Fetters|ListPage|UpLv",
|
||||
"header": ""
|
||||
},
|
||||
{
|
||||
"id": 19111,
|
||||
"msg_type": 1,
|
||||
"show_type": 0,
|
||||
"count_type": 1,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|Favorability|Bubble|New",
|
||||
"header": ""
|
||||
},
|
||||
{
|
||||
"id": 19112,
|
||||
"msg_type": 1,
|
||||
"show_type": 0,
|
||||
"count_type": 1,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|Favorability|Bubble|ItemNew",
|
||||
"header": ""
|
||||
},
|
||||
{
|
||||
"id": 23100,
|
||||
"msg_type": 0,
|
||||
@ -934,5 +894,125 @@
|
||||
"opencond": [],
|
||||
"path": "Root|MoonDream|Reward",
|
||||
"header": ""
|
||||
},
|
||||
{
|
||||
"id": 32100,
|
||||
"msg_type": 0,
|
||||
"show_type": 0,
|
||||
"count_type": 0,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|Recruit",
|
||||
"header": ""
|
||||
},
|
||||
{
|
||||
"id": 32101,
|
||||
"msg_type": 1,
|
||||
"show_type": 0,
|
||||
"count_type": 1,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|Recruit|NewHero",
|
||||
"header": ""
|
||||
},
|
||||
{
|
||||
"id": 33100,
|
||||
"msg_type": 0,
|
||||
"show_type": 0,
|
||||
"count_type": 0,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|Shop",
|
||||
"header": ""
|
||||
},
|
||||
{
|
||||
"id": 33101,
|
||||
"msg_type": 1,
|
||||
"show_type": 0,
|
||||
"count_type": 1,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|Shop|Refresh",
|
||||
"header": ""
|
||||
},
|
||||
{
|
||||
"id": 33102,
|
||||
"msg_type": 1,
|
||||
"show_type": 0,
|
||||
"count_type": 1,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|Shop|Unlock",
|
||||
"header": ""
|
||||
},
|
||||
{
|
||||
"id": 34100,
|
||||
"msg_type": 0,
|
||||
"show_type": 0,
|
||||
"count_type": 0,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|Achievement",
|
||||
"header": ""
|
||||
},
|
||||
{
|
||||
"id": 34101,
|
||||
"msg_type": 2,
|
||||
"show_type": 0,
|
||||
"count_type": 0,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|Achievement|Unlock",
|
||||
"header": ""
|
||||
},
|
||||
{
|
||||
"id": 35100,
|
||||
"msg_type": 0,
|
||||
"show_type": 0,
|
||||
"count_type": 0,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|Notice",
|
||||
"header": ""
|
||||
},
|
||||
{
|
||||
"id": 35101,
|
||||
"msg_type": 1,
|
||||
"show_type": 0,
|
||||
"count_type": 1,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|Notice|Game",
|
||||
"header": ""
|
||||
},
|
||||
{
|
||||
"id": 35102,
|
||||
"msg_type": 1,
|
||||
"show_type": 0,
|
||||
"count_type": 1,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|Notice|Activity",
|
||||
"header": ""
|
||||
},
|
||||
{
|
||||
"id": 36100,
|
||||
"msg_type": 0,
|
||||
"show_type": 0,
|
||||
"count_type": 0,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|MoonLevel",
|
||||
"header": ""
|
||||
},
|
||||
{
|
||||
"id": 36101,
|
||||
"msg_type": 2,
|
||||
"show_type": 0,
|
||||
"count_type": 0,
|
||||
"opencond_id": "",
|
||||
"opencond": [],
|
||||
"path": "Root|MoonLevel",
|
||||
"header": ""
|
||||
}
|
||||
]
|
@ -11652,7 +11652,7 @@
|
||||
},
|
||||
"task_details": {
|
||||
"key": "worldtask_world_task_task_details_203",
|
||||
"text": ""
|
||||
"text": "委托-美肚鲨寻物-接取"
|
||||
},
|
||||
"npctxt": {
|
||||
"key": "worldtask_world_task_npctxt_203",
|
||||
@ -11695,7 +11695,7 @@
|
||||
},
|
||||
"task_details": {
|
||||
"key": "worldtask_world_task_task_details_204",
|
||||
"text": ""
|
||||
"text": "委托-胡德先生寻物-接取"
|
||||
},
|
||||
"npctxt": {
|
||||
"key": "worldtask_world_task_npctxt_204",
|
||||
@ -11738,7 +11738,7 @@
|
||||
},
|
||||
"task_details": {
|
||||
"key": "worldtask_world_task_task_details_205",
|
||||
"text": ""
|
||||
"text": "委托-暴芙纳特寻物-接取"
|
||||
},
|
||||
"npctxt": {
|
||||
"key": "worldtask_world_task_npctxt_205",
|
||||
@ -11781,7 +11781,7 @@
|
||||
},
|
||||
"task_details": {
|
||||
"key": "worldtask_world_task_task_details_206",
|
||||
"text": ""
|
||||
"text": "委托-靴猫寻物-接取"
|
||||
},
|
||||
"npctxt": {
|
||||
"key": "worldtask_world_task_npctxt_206",
|
||||
@ -11824,7 +11824,7 @@
|
||||
},
|
||||
"task_details": {
|
||||
"key": "worldtask_world_task_task_details_207",
|
||||
"text": ""
|
||||
"text": "委托-啊啊寻物-接取"
|
||||
},
|
||||
"npctxt": {
|
||||
"key": "worldtask_world_task_npctxt_207",
|
||||
|
@ -15,11 +15,13 @@ func (this *apiComp) AddExpCheck(session comm.IUserSession, req *pb.ExclusiveAdd
|
||||
///获取用户装备列表
|
||||
func (this *apiComp) AddExp(session comm.IUserSession, req *pb.ExclusiveAddExpReq) (errdata *pb.ErrorData) {
|
||||
var (
|
||||
info *pb.DB_Exclusive
|
||||
confs map[string]*cfg.GameExclusiveItemData = make(map[string]*cfg.GameExclusiveItemData)
|
||||
conf *cfg.GameExclusiveItemData
|
||||
need []*cfg.Gameatn = make([]*cfg.Gameatn, 0)
|
||||
err error
|
||||
info *pb.DB_Exclusive
|
||||
ranconf *cfg.GameExclusiveRankData
|
||||
lvconf *cfg.GameExclusiveUpgradeData
|
||||
confs map[string]*cfg.GameExclusiveItemData = make(map[string]*cfg.GameExclusiveItemData)
|
||||
conf *cfg.GameExclusiveItemData
|
||||
need []*cfg.Gameatn = make([]*cfg.Gameatn, 0)
|
||||
err error
|
||||
)
|
||||
|
||||
if info, err = this.module.model.getExclusivesById(session.GetUserId(), req.Oid); err != nil {
|
||||
@ -29,6 +31,14 @@ func (this *apiComp) AddExp(session comm.IUserSession, req *pb.ExclusiveAddExpRe
|
||||
}
|
||||
return
|
||||
}
|
||||
if ranconf, err = this.module.configure.GetGameExclusiveRankData(info.CId, info.Step); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_ConfigNoFound,
|
||||
Message: err.Error(),
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
for k, n := range req.Items {
|
||||
if conf, err = this.module.configure.GetGameExclusiveItem(k); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
@ -43,9 +53,35 @@ func (this *apiComp) AddExp(session comm.IUserSession, req *pb.ExclusiveAddExpRe
|
||||
T: k,
|
||||
N: n,
|
||||
})
|
||||
for _, v := range conf.Needgold {
|
||||
need = append(need, &cfg.Gameatn{
|
||||
A: v.A,
|
||||
T: v.T,
|
||||
N: v.N * n,
|
||||
})
|
||||
}
|
||||
info.Exp += conf.Exp * n
|
||||
}
|
||||
|
||||
for {
|
||||
if lvconf, err = this.module.configure.GetGameExclusiveUpgradeData(info.CId, info.Lv); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_ConfigNoFound,
|
||||
Message: err.Error(),
|
||||
}
|
||||
return
|
||||
}
|
||||
if info.Lv >= ranconf.Lvmax { //当前阶段最大等级
|
||||
info.Exp = lvconf.Needexp
|
||||
break
|
||||
}
|
||||
if lvconf.Needexp < info.Exp {
|
||||
info.Lv++
|
||||
} else {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
if errdata = this.module.ConsumeRes(session, need, true); errdata != nil {
|
||||
return
|
||||
}
|
||||
|
@ -1,54 +1,54 @@
|
||||
package exclusive
|
||||
|
||||
import (
|
||||
"go_dreamfactory/comm"
|
||||
"go_dreamfactory/pb"
|
||||
cfg "go_dreamfactory/sys/configure/structs"
|
||||
)
|
||||
// import (
|
||||
// "go_dreamfactory/comm"
|
||||
// "go_dreamfactory/pb"
|
||||
// cfg "go_dreamfactory/sys/configure/structs"
|
||||
// )
|
||||
|
||||
//参数校验
|
||||
func (this *apiComp) UpgradeCheck(session comm.IUserSession, req *pb.ExclusiveUpgradeReq) (errdata *pb.ErrorData) {
|
||||
// //参数校验
|
||||
// func (this *apiComp) UpgradeCheck(session comm.IUserSession, req *pb.ExclusiveUpgradeReq) (errdata *pb.ErrorData) {
|
||||
|
||||
return
|
||||
}
|
||||
// return
|
||||
// }
|
||||
|
||||
///获取用户装备列表
|
||||
func (this *apiComp) Upgrade(session comm.IUserSession, req *pb.ExclusiveUpgradeReq) (errdata *pb.ErrorData) {
|
||||
var (
|
||||
info *pb.DB_Exclusive
|
||||
conf *cfg.GameExclusiveUpgradeData
|
||||
err error
|
||||
)
|
||||
// ///获取用户装备列表
|
||||
// func (this *apiComp) Upgrade(session comm.IUserSession, req *pb.ExclusiveUpgradeReq) (errdata *pb.ErrorData) {
|
||||
// var (
|
||||
// info *pb.DB_Exclusive
|
||||
// conf *cfg.GameExclusiveUpgradeData
|
||||
// err error
|
||||
// )
|
||||
|
||||
if info, err = this.module.model.getExclusivesById(session.GetUserId(), req.Oid); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_DBError,
|
||||
Message: err.Error(),
|
||||
}
|
||||
return
|
||||
}
|
||||
if conf, err = this.module.configure.GetGameExclusiveUpgradeData(info.CId, info.Lv); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_ConfigNoFound,
|
||||
Message: err.Error(),
|
||||
}
|
||||
return
|
||||
}
|
||||
if info.Exp < conf.Needexp {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_ReqParameterError,
|
||||
Message: "exp not enough!",
|
||||
}
|
||||
return
|
||||
}
|
||||
if errdata = this.module.ConsumeRes(session, conf.Cost, true); errdata != nil {
|
||||
return
|
||||
}
|
||||
info.Lv++
|
||||
info.Property = make(map[int32]int32)
|
||||
for _, v := range conf.Attribute {
|
||||
info.Property[v.A] = v.N
|
||||
}
|
||||
session.SendMsg(string(this.module.GetType()), "upgrade", &pb.ExclusiveUpgradeResp{Exclusives: info})
|
||||
return
|
||||
}
|
||||
// if info, err = this.module.model.getExclusivesById(session.GetUserId(), req.Oid); err != nil {
|
||||
// errdata = &pb.ErrorData{
|
||||
// Code: pb.ErrorCode_DBError,
|
||||
// Message: err.Error(),
|
||||
// }
|
||||
// return
|
||||
// }
|
||||
// if conf, err = this.module.configure.GetGameExclusiveUpgradeData(info.CId, info.Lv); err != nil {
|
||||
// errdata = &pb.ErrorData{
|
||||
// Code: pb.ErrorCode_ConfigNoFound,
|
||||
// Message: err.Error(),
|
||||
// }
|
||||
// return
|
||||
// }
|
||||
// if info.Exp < conf.Needexp {
|
||||
// errdata = &pb.ErrorData{
|
||||
// Code: pb.ErrorCode_ReqParameterError,
|
||||
// Message: "exp not enough!",
|
||||
// }
|
||||
// return
|
||||
// }
|
||||
// if errdata = this.module.ConsumeRes(session, conf.Cost, true); errdata != nil {
|
||||
// return
|
||||
// }
|
||||
// info.Lv++
|
||||
// info.Property = make(map[int32]int32)
|
||||
// for _, v := range conf.Attribute {
|
||||
// info.Property[v.A] = v.N
|
||||
// }
|
||||
// session.SendMsg(string(this.module.GetType()), "upgrade", &pb.ExclusiveUpgradeResp{Exclusives: info})
|
||||
// return
|
||||
// }
|
||||
|
@ -101,6 +101,25 @@ func (this *configureComp) GetAllGameExclusiveWeapon() (conf *cfg.GameExclusiveW
|
||||
return
|
||||
}
|
||||
|
||||
//获取全部资源
|
||||
func (this *configureComp) GetGameExclusiveWeapon(id string) (conf *cfg.GameExclusiveWeaponData, err error) {
|
||||
var (
|
||||
v interface{}
|
||||
ok bool
|
||||
)
|
||||
if v, err = this.GetConfigure(game_exclusiveweapon); err != nil {
|
||||
this.module.Errorf("err:%v", err)
|
||||
return
|
||||
} else {
|
||||
if conf, ok = v.(*cfg.GameExclusiveWeapon).GetDataMap()[id]; !ok {
|
||||
err = comm.NewNotFoundConfErr(string(this.module.GetType()), game_exclusiveweapon, id)
|
||||
this.module.Errorf("err:%v", err)
|
||||
return
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
//获取全部资源
|
||||
func (this *configureComp) GetGameExclusiveItem(id string) (conf *cfg.GameExclusiveItemData, err error) {
|
||||
|
||||
|
@ -605,6 +605,100 @@ func (x *ExclusiveWearResp) GetExclusives() *DB_Exclusive {
|
||||
return nil
|
||||
}
|
||||
|
||||
type ExclusiveSellReq struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid"`
|
||||
}
|
||||
|
||||
func (x *ExclusiveSellReq) Reset() {
|
||||
*x = ExclusiveSellReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_exclusive_exclusive_msg_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ExclusiveSellReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ExclusiveSellReq) ProtoMessage() {}
|
||||
|
||||
func (x *ExclusiveSellReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_exclusive_exclusive_msg_proto_msgTypes[12]
|
||||
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 ExclusiveSellReq.ProtoReflect.Descriptor instead.
|
||||
func (*ExclusiveSellReq) Descriptor() ([]byte, []int) {
|
||||
return file_exclusive_exclusive_msg_proto_rawDescGZIP(), []int{12}
|
||||
}
|
||||
|
||||
func (x *ExclusiveSellReq) GetOid() string {
|
||||
if x != nil {
|
||||
return x.Oid
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type ExclusiveSellResp struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Reward []*UserAtno `protobuf:"bytes,1,rep,name=reward,proto3" json:"reward"`
|
||||
}
|
||||
|
||||
func (x *ExclusiveSellResp) Reset() {
|
||||
*x = ExclusiveSellResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_exclusive_exclusive_msg_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ExclusiveSellResp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ExclusiveSellResp) ProtoMessage() {}
|
||||
|
||||
func (x *ExclusiveSellResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_exclusive_exclusive_msg_proto_msgTypes[13]
|
||||
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 ExclusiveSellResp.ProtoReflect.Descriptor instead.
|
||||
func (*ExclusiveSellResp) Descriptor() ([]byte, []int) {
|
||||
return file_exclusive_exclusive_msg_proto_rawDescGZIP(), []int{13}
|
||||
}
|
||||
|
||||
func (x *ExclusiveSellResp) GetReward() []*UserAtno {
|
||||
if x != nil {
|
||||
return x.Reward
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
//推送装备背包变化
|
||||
type ExclusiveChangePush struct {
|
||||
state protoimpl.MessageState
|
||||
@ -617,7 +711,7 @@ type ExclusiveChangePush struct {
|
||||
func (x *ExclusiveChangePush) Reset() {
|
||||
*x = ExclusiveChangePush{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_exclusive_exclusive_msg_proto_msgTypes[12]
|
||||
mi := &file_exclusive_exclusive_msg_proto_msgTypes[14]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -630,7 +724,7 @@ func (x *ExclusiveChangePush) String() string {
|
||||
func (*ExclusiveChangePush) ProtoMessage() {}
|
||||
|
||||
func (x *ExclusiveChangePush) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_exclusive_exclusive_msg_proto_msgTypes[12]
|
||||
mi := &file_exclusive_exclusive_msg_proto_msgTypes[14]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -643,7 +737,7 @@ func (x *ExclusiveChangePush) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ExclusiveChangePush.ProtoReflect.Descriptor instead.
|
||||
func (*ExclusiveChangePush) Descriptor() ([]byte, []int) {
|
||||
return file_exclusive_exclusive_msg_proto_rawDescGZIP(), []int{12}
|
||||
return file_exclusive_exclusive_msg_proto_rawDescGZIP(), []int{14}
|
||||
}
|
||||
|
||||
func (x *ExclusiveChangePush) GetExclusives() []*DB_Exclusive {
|
||||
@ -659,63 +753,69 @@ var file_exclusive_exclusive_msg_proto_rawDesc = []byte{
|
||||
0x0a, 0x1d, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x2f, 0x65, 0x78, 0x63, 0x6c,
|
||||
0x75, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
|
||||
0x1c, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x2f, 0x65, 0x78, 0x63, 0x6c, 0x75,
|
||||
0x73, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a,
|
||||
0x13, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73,
|
||||
0x74, 0x52, 0x65, 0x71, 0x22, 0x45, 0x0a, 0x14, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76,
|
||||
0x65, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2d, 0x0a, 0x0a,
|
||||
0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
||||
0x32, 0x0d, 0x2e, 0x44, 0x42, 0x5f, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x52,
|
||||
0x0a, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x22, 0x96, 0x01, 0x0a, 0x12,
|
||||
0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x41, 0x64, 0x64, 0x45, 0x78, 0x70, 0x52,
|
||||
0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x03, 0x6f, 0x69, 0x64, 0x12, 0x34, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20,
|
||||
0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x41,
|
||||
0x64, 0x64, 0x45, 0x78, 0x70, 0x52, 0x65, 0x71, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e,
|
||||
0x74, 0x72, 0x79, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x1a, 0x38, 0x0a, 0x0a, 0x49, 0x74,
|
||||
0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x3a, 0x02, 0x38, 0x01, 0x22, 0x44, 0x0a, 0x13, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76,
|
||||
0x65, 0x41, 0x64, 0x64, 0x45, 0x78, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2d, 0x0a, 0x0a, 0x45,
|
||||
0x73, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63,
|
||||
0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x45, 0x78, 0x63,
|
||||
0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71,
|
||||
0x22, 0x45, 0x0a, 0x14, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x47, 0x65, 0x74,
|
||||
0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2d, 0x0a, 0x0a, 0x45, 0x78, 0x63, 0x6c,
|
||||
0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44,
|
||||
0x42, 0x5f, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x52, 0x0a, 0x45, 0x78, 0x63,
|
||||
0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x22, 0x96, 0x01, 0x0a, 0x12, 0x45, 0x78, 0x63, 0x6c,
|
||||
0x75, 0x73, 0x69, 0x76, 0x65, 0x41, 0x64, 0x64, 0x45, 0x78, 0x70, 0x52, 0x65, 0x71, 0x12, 0x10,
|
||||
0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64,
|
||||
0x12, 0x34, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||
0x1e, 0x2e, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x41, 0x64, 0x64, 0x45, 0x78,
|
||||
0x70, 0x52, 0x65, 0x71, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
||||
0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x1a, 0x38, 0x0a, 0x0a, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45,
|
||||
0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
|
||||
0x22, 0x44, 0x0a, 0x13, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x41, 0x64, 0x64,
|
||||
0x45, 0x78, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2d, 0x0a, 0x0a, 0x45, 0x78, 0x63, 0x6c, 0x75,
|
||||
0x73, 0x69, 0x76, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42,
|
||||
0x5f, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x52, 0x0a, 0x45, 0x78, 0x63, 0x6c,
|
||||
0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x22, 0x27, 0x0a, 0x13, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73,
|
||||
0x69, 0x76, 0x65, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a,
|
||||
0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x22,
|
||||
0x45, 0x0a, 0x14, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x55, 0x70, 0x67, 0x72,
|
||||
0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2d, 0x0a, 0x0a, 0x45, 0x78, 0x63, 0x6c, 0x75,
|
||||
0x73, 0x69, 0x76, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42,
|
||||
0x5f, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x52, 0x0a, 0x45, 0x78, 0x63, 0x6c,
|
||||
0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x22, 0x3c, 0x0a, 0x12, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73,
|
||||
0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x72, 0x55, 0x70, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03,
|
||||
0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x14,
|
||||
0x0a, 0x05, 0x65, 0x61, 0x74, 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x65,
|
||||
0x61, 0x74, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x13, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76,
|
||||
0x65, 0x53, 0x74, 0x61, 0x72, 0x55, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2d, 0x0a, 0x0a, 0x45,
|
||||
0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x0d, 0x2e, 0x44, 0x42, 0x5f, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x52, 0x0a,
|
||||
0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x22, 0x27, 0x0a, 0x13, 0x45, 0x78,
|
||||
0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65,
|
||||
0x71, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
|
||||
0x6f, 0x69, 0x64, 0x22, 0x45, 0x0a, 0x14, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65,
|
||||
0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2d, 0x0a, 0x0a, 0x45,
|
||||
0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x22, 0x26, 0x0a, 0x12, 0x45, 0x78,
|
||||
0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x52, 0x61, 0x6e, 0x6b, 0x55, 0x70, 0x52, 0x65, 0x71,
|
||||
0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f,
|
||||
0x69, 0x64, 0x22, 0x44, 0x0a, 0x13, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x52,
|
||||
0x61, 0x6e, 0x6b, 0x55, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2d, 0x0a, 0x0a, 0x45, 0x78, 0x63,
|
||||
0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
|
||||
0x44, 0x42, 0x5f, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x52, 0x0a, 0x45, 0x78,
|
||||
0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x22, 0x3c, 0x0a, 0x10, 0x45, 0x78, 0x63, 0x6c,
|
||||
0x75, 0x73, 0x69, 0x76, 0x65, 0x57, 0x65, 0x61, 0x72, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03,
|
||||
0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x16,
|
||||
0x0a, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
||||
0x68, 0x65, 0x72, 0x6f, 0x69, 0x64, 0x22, 0x42, 0x0a, 0x11, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73,
|
||||
0x69, 0x76, 0x65, 0x57, 0x65, 0x61, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2d, 0x0a, 0x0a, 0x45,
|
||||
0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x0d, 0x2e, 0x44, 0x42, 0x5f, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x52, 0x0a,
|
||||
0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x22, 0x3c, 0x0a, 0x12, 0x45, 0x78,
|
||||
0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x72, 0x55, 0x70, 0x52, 0x65, 0x71,
|
||||
0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f,
|
||||
0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x61, 0x74, 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28,
|
||||
0x09, 0x52, 0x05, 0x65, 0x61, 0x74, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x13, 0x45, 0x78, 0x63, 0x6c,
|
||||
0x75, 0x73, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x72, 0x55, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12,
|
||||
0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x22, 0x24, 0x0a, 0x10, 0x45, 0x78,
|
||||
0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x10,
|
||||
0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64,
|
||||
0x22, 0x36, 0x0a, 0x11, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x53, 0x65, 0x6c,
|
||||
0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18,
|
||||
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f,
|
||||
0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x22, 0x44, 0x0a, 0x13, 0x45, 0x78, 0x63, 0x6c,
|
||||
0x75, 0x73, 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12,
|
||||
0x2d, 0x0a, 0x0a, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x5f, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69,
|
||||
0x76, 0x65, 0x52, 0x0a, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x22, 0x26,
|
||||
0x0a, 0x12, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x52, 0x61, 0x6e, 0x6b, 0x55,
|
||||
0x70, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x13, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73,
|
||||
0x69, 0x76, 0x65, 0x52, 0x61, 0x6e, 0x6b, 0x55, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2d, 0x0a,
|
||||
0x0a, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x5f, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65,
|
||||
0x52, 0x0a, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x22, 0x3c, 0x0a, 0x10,
|
||||
0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x57, 0x65, 0x61, 0x72, 0x52, 0x65, 0x71,
|
||||
0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f,
|
||||
0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x69, 0x64, 0x22, 0x42, 0x0a, 0x11, 0x45, 0x78,
|
||||
0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x57, 0x65, 0x61, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12,
|
||||
0x2d, 0x0a, 0x0a, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x5f, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69,
|
||||
0x76, 0x65, 0x52, 0x0a, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x22, 0x44,
|
||||
0x0a, 0x13, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67,
|
||||
0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x2d, 0x0a, 0x0a, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69,
|
||||
0x76, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x5f, 0x45,
|
||||
0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x52, 0x0a, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73,
|
||||
0x69, 0x76, 0x65, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x33,
|
||||
0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x5f, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69,
|
||||
0x76, 0x65, 0x52, 0x0a, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x73, 0x42, 0x06,
|
||||
0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@ -730,7 +830,7 @@ func file_exclusive_exclusive_msg_proto_rawDescGZIP() []byte {
|
||||
return file_exclusive_exclusive_msg_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_exclusive_exclusive_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
||||
var file_exclusive_exclusive_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
||||
var file_exclusive_exclusive_msg_proto_goTypes = []interface{}{
|
||||
(*ExclusiveGetListReq)(nil), // 0: ExclusiveGetListReq
|
||||
(*ExclusiveGetListResp)(nil), // 1: ExclusiveGetListResp
|
||||
@ -744,24 +844,28 @@ var file_exclusive_exclusive_msg_proto_goTypes = []interface{}{
|
||||
(*ExclusiveRankUpResp)(nil), // 9: ExclusiveRankUpResp
|
||||
(*ExclusiveWearReq)(nil), // 10: ExclusiveWearReq
|
||||
(*ExclusiveWearResp)(nil), // 11: ExclusiveWearResp
|
||||
(*ExclusiveChangePush)(nil), // 12: ExclusiveChangePush
|
||||
nil, // 13: ExclusiveAddExpReq.ItemsEntry
|
||||
(*DB_Exclusive)(nil), // 14: DB_Exclusive
|
||||
(*ExclusiveSellReq)(nil), // 12: ExclusiveSellReq
|
||||
(*ExclusiveSellResp)(nil), // 13: ExclusiveSellResp
|
||||
(*ExclusiveChangePush)(nil), // 14: ExclusiveChangePush
|
||||
nil, // 15: ExclusiveAddExpReq.ItemsEntry
|
||||
(*DB_Exclusive)(nil), // 16: DB_Exclusive
|
||||
(*UserAtno)(nil), // 17: UserAtno
|
||||
}
|
||||
var file_exclusive_exclusive_msg_proto_depIdxs = []int32{
|
||||
14, // 0: ExclusiveGetListResp.Exclusives:type_name -> DB_Exclusive
|
||||
13, // 1: ExclusiveAddExpReq.items:type_name -> ExclusiveAddExpReq.ItemsEntry
|
||||
14, // 2: ExclusiveAddExpResp.Exclusives:type_name -> DB_Exclusive
|
||||
14, // 3: ExclusiveUpgradeResp.Exclusives:type_name -> DB_Exclusive
|
||||
14, // 4: ExclusiveStarUpResp.Exclusives:type_name -> DB_Exclusive
|
||||
14, // 5: ExclusiveRankUpResp.Exclusives:type_name -> DB_Exclusive
|
||||
14, // 6: ExclusiveWearResp.Exclusives:type_name -> DB_Exclusive
|
||||
14, // 7: ExclusiveChangePush.Exclusives:type_name -> DB_Exclusive
|
||||
8, // [8:8] is the sub-list for method output_type
|
||||
8, // [8:8] is the sub-list for method input_type
|
||||
8, // [8:8] is the sub-list for extension type_name
|
||||
8, // [8:8] is the sub-list for extension extendee
|
||||
0, // [0:8] is the sub-list for field type_name
|
||||
16, // 0: ExclusiveGetListResp.Exclusives:type_name -> DB_Exclusive
|
||||
15, // 1: ExclusiveAddExpReq.items:type_name -> ExclusiveAddExpReq.ItemsEntry
|
||||
16, // 2: ExclusiveAddExpResp.Exclusives:type_name -> DB_Exclusive
|
||||
16, // 3: ExclusiveUpgradeResp.Exclusives:type_name -> DB_Exclusive
|
||||
16, // 4: ExclusiveStarUpResp.Exclusives:type_name -> DB_Exclusive
|
||||
16, // 5: ExclusiveRankUpResp.Exclusives:type_name -> DB_Exclusive
|
||||
16, // 6: ExclusiveWearResp.Exclusives:type_name -> DB_Exclusive
|
||||
17, // 7: ExclusiveSellResp.reward:type_name -> UserAtno
|
||||
16, // 8: ExclusiveChangePush.Exclusives:type_name -> DB_Exclusive
|
||||
9, // [9:9] is the sub-list for method output_type
|
||||
9, // [9:9] is the sub-list for method input_type
|
||||
9, // [9:9] is the sub-list for extension type_name
|
||||
9, // [9:9] is the sub-list for extension extendee
|
||||
0, // [0:9] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_exclusive_exclusive_msg_proto_init() }
|
||||
@ -770,6 +874,7 @@ func file_exclusive_exclusive_msg_proto_init() {
|
||||
return
|
||||
}
|
||||
file_exclusive_exclusive_db_proto_init()
|
||||
file_comm_proto_init()
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_exclusive_exclusive_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ExclusiveGetListReq); i {
|
||||
@ -916,6 +1021,30 @@ func file_exclusive_exclusive_msg_proto_init() {
|
||||
}
|
||||
}
|
||||
file_exclusive_exclusive_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ExclusiveSellReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_exclusive_exclusive_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ExclusiveSellResp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_exclusive_exclusive_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ExclusiveChangePush); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@ -934,7 +1063,7 @@ func file_exclusive_exclusive_msg_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_exclusive_exclusive_msg_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 14,
|
||||
NumMessages: 16,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
@ -13,6 +13,7 @@ import "errors"
|
||||
type GameExclusiveItemData struct {
|
||||
Itemid string
|
||||
Exp int32
|
||||
Needgold []*Gameatn
|
||||
}
|
||||
|
||||
const TypeId_GameExclusiveItemData = -1706015969
|
||||
@ -24,6 +25,20 @@ func (*GameExclusiveItemData) GetTypeId() int32 {
|
||||
func (_v *GameExclusiveItemData)Deserialize(_buf map[string]interface{}) (err error) {
|
||||
{ var _ok_ bool; if _v.Itemid, _ok_ = _buf["itemid"].(string); !_ok_ { err = errors.New("itemid error"); return } }
|
||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["exp"].(float64); !_ok_ { err = errors.New("exp error"); return }; _v.Exp = int32(_tempNum_) }
|
||||
{
|
||||
var _arr_ []interface{}
|
||||
var _ok_ bool
|
||||
if _arr_, _ok_ = _buf["needgold"].([]interface{}); !_ok_ { err = errors.New("needgold error"); return }
|
||||
|
||||
_v.Needgold = 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.Needgold = append(_v.Needgold, _list_v_)
|
||||
}
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user