上传代码

This commit is contained in:
liwei 2023-08-02 15:03:27 +08:00
parent 48160400dc
commit cc022d0ac2
43 changed files with 6166 additions and 14034 deletions

View File

@ -20653,7 +20653,7 @@
"type_sp": 1,
"tasktxt": {
"key": "buried_buried_condi_tasktxt_728",
"text": "领教浣熊师傅的功夫"
"text": "接受师父的教诲"
},
"type": 70,
"valid": 0,
@ -20796,7 +20796,7 @@
"type_sp": 1,
"tasktxt": {
"key": "buried_buried_condi_tasktxt_733",
"text": "冒险关卡【1-3】"
"text": "冒险之旅【1-3】"
},
"type": 61,
"valid": 1,
@ -20825,7 +20825,7 @@
"type_sp": 1,
"tasktxt": {
"key": "buried_buried_condi_tasktxt_734",
"text": "给骇客蛛穿5件装备"
"text": "给邦尼兔穿5件装备"
},
"type": 5,
"valid": 0,
@ -20854,7 +20854,7 @@
"type_sp": 1,
"tasktxt": {
"key": "buried_buried_condi_tasktxt_735",
"text": "冒险关卡【1-7】"
"text": "冒险之旅【1-7】"
},
"type": 61,
"valid": 1,
@ -20998,7 +20998,7 @@
"type_sp": 1,
"tasktxt": {
"key": "buried_buried_condi_tasktxt_740",
"text": "通过冒险关卡【1-8】"
"text": "通过冒险之旅【1-8】"
},
"type": 61,
"valid": 0,
@ -21313,7 +21313,7 @@
"type_sp": 1,
"tasktxt": {
"key": "buried_buried_condi_tasktxt_751",
"text": "通关冒险关卡【2-8】"
"text": "通关冒险之旅【2-8】"
},
"type": 61,
"valid": 0,
@ -21517,7 +21517,7 @@
"type_sp": 1,
"tasktxt": {
"key": "buried_buried_condi_tasktxt_758",
"text": "通关冒险关卡【3-4】"
"text": "通关冒险之旅【3-4】"
},
"type": 61,
"valid": 0,
@ -21634,7 +21634,7 @@
"type_sp": 1,
"tasktxt": {
"key": "buried_buried_condi_tasktxt_762",
"text": "通关冒险关卡【3-8】"
"text": "通关冒险之旅【3-8】"
},
"type": 61,
"valid": 0,
@ -21836,7 +21836,7 @@
"type_sp": 1,
"tasktxt": {
"key": "buried_buried_condi_tasktxt_769",
"text": "通关冒险关卡【4-8】"
"text": "通关冒险之旅【4-8】"
},
"type": 61,
"valid": 0,

View File

@ -500,7 +500,7 @@
{
"a": "attr",
"t": "gold",
"n": 88900
"n": 20000
}
],
"bonus": 3333,
@ -517,7 +517,7 @@
{
"a": "attr",
"t": "gold",
"n": 122233
"n": 23333
}
],
"bonus": 3666,
@ -534,7 +534,7 @@
{
"a": "attr",
"t": "gold",
"n": 166666
"n": 26666
}
],
"bonus": 4000,
@ -715,7 +715,7 @@
{
"a": "attr",
"t": "gold",
"n": 133350
"n": 30000
}
],
"bonus": 3333,
@ -732,7 +732,7 @@
{
"a": "attr",
"t": "gold",
"n": 183350
"n": 35000
}
],
"bonus": 3666,
@ -749,7 +749,7 @@
{
"a": "attr",
"t": "gold",
"n": 250000
"n": 40000
}
],
"bonus": 4000,
@ -766,7 +766,7 @@
{
"a": "attr",
"t": "gold",
"n": 350000
"n": 50000
}
],
"bonus": 4333,
@ -783,7 +783,7 @@
{
"a": "attr",
"t": "gold",
"n": 500000
"n": 60000
}
],
"bonus": 4666,
@ -800,7 +800,7 @@
{
"a": "attr",
"t": "gold",
"n": 750000
"n": 75000
}
],
"bonus": 5666,
@ -981,7 +981,7 @@
{
"a": "attr",
"t": "gold",
"n": 266700
"n": 60000
}
],
"bonus": 3333,
@ -998,7 +998,7 @@
{
"a": "attr",
"t": "gold",
"n": 366700
"n": 70000
}
],
"bonus": 3666,
@ -1015,7 +1015,7 @@
{
"a": "attr",
"t": "gold",
"n": 500000
"n": 80000
}
],
"bonus": 4000,
@ -1032,7 +1032,7 @@
{
"a": "attr",
"t": "gold",
"n": 700000
"n": 100000
}
],
"bonus": 4333,
@ -1049,7 +1049,7 @@
{
"a": "attr",
"t": "gold",
"n": 1000000
"n": 120000
}
],
"bonus": 4666,
@ -1066,7 +1066,7 @@
{
"a": "attr",
"t": "gold",
"n": 1500000
"n": 150000
}
],
"bonus": 5666,

View File

@ -0,0 +1,80 @@
[
{
"id": 1,
"exp": "日常任务",
"jumpid": 109,
"index": 20
},
{
"id": 2,
"exp": "每日一练",
"jumpid": 10002,
"index": 21
},
{
"id": 3,
"exp": "云朵先生签到",
"jumpid": 719,
"index": 22
},
{
"id": 4,
"exp": "巨怪商队跑商",
"jumpid": 11001,
"index": 23
},
{
"id": 5,
"exp": "公会签到",
"jumpid": 804,
"index": 24
},
{
"id": 6,
"exp": "公会副本",
"jumpid": 11005,
"index": 25
},
{
"id": 7,
"exp": "公会任务",
"jumpid": 161,
"index": 26
},
{
"id": 8,
"exp": "竞技挑战",
"jumpid": 156,
"index": 27
},
{
"id": 9,
"exp": "熊猫武馆训练",
"jumpid": 10002,
"index": 28
},
{
"id": 10,
"exp": "种族塔",
"jumpid": 10018,
"index": 29
},
{
"id": 11,
"exp": "维京远征",
"jumpid": 11012,
"index": 30
},
{
"id": 12,
"exp": "狩猎",
"jumpid": 168,
"index": 31
},
{
"id": 13,
"exp": "经验副本",
"jumpid": 10013,
"index": 32
}
]

View File

@ -28,7 +28,7 @@
{
"a": "attr",
"t": "gold",
"n": 600000
"n": 200000
}
]
},
@ -39,7 +39,7 @@
{
"a": "attr",
"t": "gold",
"n": 1500000
"n": 400000
}
]
},

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@
"n": 1
}
],
"weight": 1,
"weight": 50,
"need": [
{
"a": "item",
@ -16,18 +16,18 @@
"n": 1
}
],
"push": 0
"push": 1
},
{
"id": 2,
"reward": [
{
"a": "item",
"t": "10000002",
"n": 1
"a": "attr",
"t": "guildcoin",
"n": 50
}
],
"weight": 1,
"weight": 250,
"need": [
{
"a": "item",
@ -42,11 +42,11 @@
"reward": [
{
"a": "item",
"t": "10000003",
"t": "10000024",
"n": 1
}
],
"weight": 1,
"weight": 10,
"need": [
{
"a": "item",
@ -60,12 +60,12 @@
"id": 4,
"reward": [
{
"a": "item",
"t": "10000004",
"n": 1
"a": "attr",
"t": "gold",
"n": 100000
}
],
"weight": 1,
"weight": 200,
"need": [
{
"a": "item",
@ -73,18 +73,18 @@
"n": 1
}
],
"push": 1
"push": 0
},
{
"id": 5,
"reward": [
{
"a": "item",
"t": "10000005",
"t": "13000001",
"n": 1
}
],
"weight": 1,
"weight": 30,
"need": [
{
"a": "item",
@ -98,12 +98,12 @@
"id": 6,
"reward": [
{
"a": "item",
"t": "10000006",
"n": 1
"a": "attr",
"t": "ps",
"n": 20
}
],
"weight": 1,
"weight": 200,
"need": [
{
"a": "item",
@ -118,11 +118,11 @@
"reward": [
{
"a": "item",
"t": "10000007",
"t": "10000006",
"n": 1
}
],
"weight": 1,
"weight": 5,
"need": [
{
"a": "item",
@ -130,18 +130,18 @@
"n": 1
}
],
"push": 0
"push": 1
},
{
"id": 8,
"reward": [
{
"a": "item",
"t": "10000008",
"n": 1
"t": "10000004",
"n": 20
}
],
"weight": 1,
"weight": 250,
"need": [
{
"a": "item",

View File

@ -3,260 +3,221 @@
"id": 1,
"score_name": {
"key": "guild_guild_boss_score_name_1",
"text": "e-"
"text": "e"
},
"score": 1,
"rank_low": 1,
"rank_up": 19999,
"hp": 20,
"drop": 10001001,
"grade": "gh_img_e0"
"hp": 30,
"drop": 19100001,
"grade": "gh_img_e"
},
{
"id": 2,
"score_name": {
"key": "guild_guild_boss_score_name_2",
"text": "e"
"text": "e+"
},
"score": 1,
"rank_low": 20000,
"rank_up": 49999,
"hp": 20,
"drop": 10001002,
"grade": "gh_img_e"
"hp": 32,
"drop": 19100001,
"grade": "gh_img_e1"
},
{
"id": 3,
"score_name": {
"key": "guild_guild_boss_score_name_3",
"text": "e+"
"text": "d"
},
"score": 1,
"rank_low": 50000,
"rank_up": 79999,
"hp": 20,
"drop": 10001003,
"grade": "gh_img_e1"
"hp": 36,
"drop": 19100001,
"grade": "gh_img_d"
},
{
"id": 4,
"score_name": {
"key": "guild_guild_boss_score_name_4",
"text": "d-"
"text": "d+"
},
"score": 1,
"rank_low": 80000,
"rank_up": 99999,
"hp": 20,
"drop": 10001003,
"grade": "gh_img_d0"
"hp": 38,
"drop": 19100001,
"grade": "gh_img_d1"
},
{
"id": 5,
"score_name": {
"key": "guild_guild_boss_score_name_5",
"text": "d"
"text": "c"
},
"score": 1,
"rank_low": 100000,
"rank_up": 149999,
"hp": 20,
"drop": 10001003,
"grade": "gh_img_d"
"hp": 40,
"drop": 19100002,
"grade": "gh_img_c"
},
{
"id": 6,
"score_name": {
"key": "guild_guild_boss_score_name_6",
"text": "d+"
"text": "c+"
},
"score": 1,
"rank_low": 150000,
"rank_up": 199999,
"hp": 20,
"drop": 10001003,
"grade": "gh_img_d1"
"hp": 42,
"drop": 19100002,
"grade": "gh_img_c1"
},
{
"id": 7,
"score_name": {
"key": "guild_guild_boss_score_name_7",
"text": "c-"
"text": "b"
},
"score": 1,
"rank_low": 200000,
"rank_up": 249999,
"hp": 20,
"drop": 10001003,
"grade": "gh_img_c0"
"hp": 44,
"drop": 19100002,
"grade": "gh_img_b"
},
{
"id": 8,
"score_name": {
"key": "guild_guild_boss_score_name_8",
"text": "c"
"text": "b+"
},
"score": 1,
"rank_low": 250000,
"rank_up": 319999,
"hp": 20,
"drop": 10001003,
"grade": "gh_img_c"
"hp": 46,
"drop": 19100002,
"grade": "gh_img_b1"
},
{
"id": 9,
"score_name": {
"key": "guild_guild_boss_score_name_9",
"text": "c+"
"text": "a"
},
"score": 1,
"rank_low": 320000,
"rank_up": 399999,
"hp": 20,
"drop": 10001003,
"grade": "gh_img_c1"
"hp": 48,
"drop": 19100003,
"grade": "gh_img_a"
},
{
"id": 10,
"score_name": {
"key": "guild_guild_boss_score_name_10",
"text": "a+"
},
"score": 1,
"rank_low": 400000,
"rank_up": 499999,
"hp": 50,
"drop": 19100003,
"grade": "gh_img_a1"
},
{
"id": 11,
"score_name": {
"key": "guild_guild_boss_score_name_11",
"text": "b"
"text": "s"
},
"score": 1,
"rank_low": 400000,
"rank_up": 499999,
"hp": 20,
"drop": 10001003,
"grade": "gh_img_b"
"rank_low": 500000,
"rank_up": 599999,
"hp": 55,
"drop": 19100004,
"grade": "gh_img_s"
},
{
"id": 12,
"score_name": {
"key": "guild_guild_boss_score_name_12",
"text": "b+"
"text": "ss"
},
"score": 1,
"rank_low": 500000,
"rank_up": 599999,
"hp": 20,
"drop": 10001003,
"grade": "gh_img_b1"
"rank_low": 600000,
"rank_up": 699999,
"hp": 60,
"drop": 19100004,
"grade": "gh_img_ss"
},
{
"id": 13,
"score_name": {
"key": "guild_guild_boss_score_name_13",
"text": "sss"
},
"score": 1,
"rank_low": 700000,
"rank_up": 999999,
"hp": 65,
"drop": 19100004,
"grade": "gh_img_sss"
},
{
"id": 14,
"score_name": {
"key": "guild_guild_boss_score_name_14",
"text": "a"
"text": "sss+"
},
"score": 1,
"rank_low": 600000,
"rank_up": 699999,
"hp": 20,
"drop": 10001003,
"grade": "gh_img_a"
"rank_low": 1000000,
"rank_up": 1199999,
"hp": 70,
"drop": 19100005,
"grade": "gh_img_sss1"
},
{
"id": 15,
"score_name": {
"key": "guild_guild_boss_score_name_15",
"text": "a+"
"text": "ex"
},
"score": 1,
"rank_low": 700000,
"rank_up": 999999,
"hp": 20,
"drop": 10001003,
"grade": "gh_img_a1"
"rank_low": 1200000,
"rank_up": 1599999,
"hp": 80,
"drop": 19100005,
"grade": "gh_img_ex3"
},
{
"id": 16,
"score_name": {
"key": "guild_guild_boss_score_name_16",
"text": "s"
"text": "ex+"
},
"score": 1,
"rank_low": 1000000,
"rank_up": 1199999,
"hp": 20,
"drop": 10001003,
"grade": "gh_img_s"
"rank_low": 1600000,
"rank_up": 3799999,
"hp": 90,
"drop": 19100005,
"grade": "gh_img_ex2"
},
{
"id": 17,
"score_name": {
"key": "guild_guild_boss_score_name_17",
"text": "ss"
},
"score": 1,
"rank_low": 1200000,
"rank_up": 1599999,
"hp": 20,
"drop": 10001003,
"grade": "gh_img_ss"
},
{
"id": 18,
"score_name": {
"key": "guild_guild_boss_score_name_18",
"text": "sss"
},
"score": 1,
"rank_low": 1600000,
"rank_up": 1999999,
"hp": 20,
"drop": 10001003,
"grade": "gh_img_sss"
},
{
"id": 19,
"score_name": {
"key": "guild_guild_boss_score_name_19",
"text": "sss+"
},
"score": 1,
"rank_low": 2000000,
"rank_up": 2799999,
"hp": 20,
"drop": 10001003,
"grade": "gh_img_sss1"
},
{
"id": 20,
"score_name": {
"key": "guild_guild_boss_score_name_20",
"text": "ex"
},
"score": 1,
"rank_low": 2800000,
"rank_up": 3799999,
"hp": 20,
"drop": 10001003,
"grade": "gh_img_ex3"
},
{
"id": 21,
"score_name": {
"key": "guild_guild_boss_score_name_21",
"text": "ex+"
},
"score": 1,
"rank_low": 3800000,
"rank_up": 4999999,
"hp": 20,
"drop": 10001003,
"grade": "gh_img_ex2"
},
{
"id": 22,
"score_name": {
"key": "guild_guild_boss_score_name_22",
"text": "ex++"
},
"score": 1,
"rank_low": 5000000,
"rank_low": 3800000,
"rank_up": -1,
"hp": 20,
"drop": 10001003,
"hp": 100,
"drop": 19100006,
"grade": "gh_img_ex1"
}
]

View File

@ -1,56 +1,51 @@
[
{
"lv": 1,
"exp": 1200,
"member_max": 20
"exp": 1800,
"member_max": 30
},
{
"lv": 2,
"exp": 2520,
"member_max": 21
"exp": 3600,
"member_max": 30
},
{
"lv": 3,
"exp": 3960,
"member_max": 22
"exp": 5400,
"member_max": 30
},
{
"lv": 4,
"exp": 5520,
"member_max": 23
"exp": 7200,
"member_max": 30
},
{
"lv": 5,
"exp": 7200,
"member_max": 24
"exp": 9000,
"member_max": 30
},
{
"lv": 6,
"exp": 9000,
"member_max": 25
"exp": 10800,
"member_max": 30
},
{
"lv": 7,
"exp": 10920,
"member_max": 26
"exp": 12600,
"member_max": 30
},
{
"lv": 8,
"exp": 12960,
"member_max": 27
"exp": 14400,
"member_max": 30
},
{
"lv": 9,
"exp": 15120,
"member_max": 28
"exp": 16200,
"member_max": 30
},
{
"lv": 10,
"exp": 18000,
"member_max": 29
},
{
"lv": 11,
"exp": 0,
"member_max": 30
}

View File

@ -11,7 +11,7 @@
{
"a": "attr",
"t": "guildcoin",
"n": 50
"n": 10
},
{
"a": "attr",
@ -42,7 +42,7 @@
{
"a": "attr",
"t": "guildcoin",
"n": 75
"n": 20
},
{
"a": "attr",
@ -58,13 +58,13 @@
"exp": {
"a": "attr",
"t": "guildexp",
"n": 50
"n": 0
}
},
{
"id": 3,
"down": 10,
"up": 15,
"up": 200,
"SignIn_text": {
"key": "guild_guild_sign_SignIn_text_3",
"text": "昨日10人签到"
@ -73,7 +73,7 @@
{
"a": "attr",
"t": "guildcoin",
"n": 100
"n": 30
},
{
"a": "attr",
@ -89,69 +89,7 @@
"exp": {
"a": "attr",
"t": "guildexp",
"n": 100
}
},
{
"id": 4,
"down": 15,
"up": 20,
"SignIn_text": {
"key": "guild_guild_sign_SignIn_text_4",
"text": "昨日15人签到"
},
"reward": [
{
"a": "attr",
"t": "guildcoin",
"n": 100
},
{
"a": "attr",
"t": "ps",
"n": 15
},
{
"a": "item",
"t": "17060008",
"n": 1
}
],
"exp": {
"a": "attr",
"t": "guildexp",
"n": 150
}
},
{
"id": 5,
"down": 20,
"up": 100,
"SignIn_text": {
"key": "guild_guild_sign_SignIn_text_5",
"text": "昨日20人签到"
},
"reward": [
{
"a": "attr",
"t": "guildcoin",
"n": 100
},
{
"a": "attr",
"t": "ps",
"n": 15
},
{
"a": "item",
"t": "17060008",
"n": 1
}
],
"exp": {
"a": "attr",
"t": "guildexp",
"n": 200
"n": 0
}
}
]

View File

@ -31,7 +31,7 @@
"n": 10
}
],
"contribution": 50
"contribution": 10
},
{
"type_id": 50000002,
@ -65,7 +65,7 @@
"n": 10
}
],
"contribution": 50
"contribution": 10
},
{
"type_id": 50000003,
@ -99,7 +99,7 @@
"n": 10
}
],
"contribution": 50
"contribution": 10
},
{
"type_id": 50000004,
@ -133,7 +133,7 @@
"n": 10
}
],
"contribution": 50
"contribution": 10
},
{
"type_id": 50000005,
@ -167,7 +167,7 @@
"n": 10
}
],
"contribution": 50
"contribution": 10
},
{
"type_id": 50000006,
@ -201,7 +201,7 @@
"n": 10
}
],
"contribution": 50
"contribution": 10
},
{
"type_id": 50000007,
@ -235,7 +235,7 @@
"n": 10
}
],
"contribution": 50
"contribution": 10
},
{
"type_id": 50000008,
@ -269,7 +269,7 @@
"n": 10
}
],
"contribution": 50
"contribution": 10
},
{
"type_id": 50000009,
@ -303,7 +303,7 @@
"n": 10
}
],
"contribution": 50
"contribution": 10
},
{
"type_id": 50000010,
@ -337,6 +337,6 @@
"n": 10
}
],
"contribution": 50
"contribution": 10
}
]

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -400,7 +400,7 @@
"key": "itemlink_itemlink_desc_24",
"text": "挑战主线,消耗体力,升级角色可以获得"
},
"jumpid": 113,
"jumpid": 166,
"btnTitle": {
"key": "itemlink_itemlink_button_1",
"text": "立即前往"

View File

@ -23518,5 +23518,437 @@
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 981,
"lotteryid": 19100001,
"description": "公会boss挑战奖励",
"type": 2,
"groupwt": 1000,
"groupid": 100001,
"subtype": 2,
"groupnum": 1,
"itemid": {
"a": "item",
"t": "13000005",
"n": 1
},
"itemdes": "公会boss挑战奖励",
"itemwt": 1000,
"min": 20,
"max": 20,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 982,
"lotteryid": 19100001,
"description": "公会boss挑战奖励",
"type": 2,
"groupwt": 1000,
"groupid": 100001,
"subtype": 2,
"groupnum": 1,
"itemid": {
"a": "attr",
"t": "guildcoin",
"n": 1
},
"itemdes": "公会boss挑战奖励",
"itemwt": 1000,
"min": 25,
"max": 25,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 983,
"lotteryid": 19100001,
"description": "公会boss挑战奖励",
"type": 2,
"groupwt": 1000,
"groupid": 100001,
"subtype": 2,
"groupnum": 1,
"itemid": {
"a": "attr",
"t": "gold",
"n": 1
},
"itemdes": "公会boss挑战奖励",
"itemwt": 1000,
"min": 40000,
"max": 40000,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 984,
"lotteryid": 19100002,
"description": "公会boss挑战奖励",
"type": 2,
"groupwt": 1000,
"groupid": 100002,
"subtype": 2,
"groupnum": 1,
"itemid": {
"a": "item",
"t": "13000005",
"n": 1
},
"itemdes": "公会boss挑战奖励",
"itemwt": 1000,
"min": 30,
"max": 30,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 985,
"lotteryid": 19100002,
"description": "公会boss挑战奖励",
"type": 2,
"groupwt": 1000,
"groupid": 100002,
"subtype": 2,
"groupnum": 1,
"itemid": {
"a": "attr",
"t": "guildcoin",
"n": 1
},
"itemdes": "公会boss挑战奖励",
"itemwt": 1000,
"min": 30,
"max": 30,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 986,
"lotteryid": 19100002,
"description": "公会boss挑战奖励",
"type": 2,
"groupwt": 1000,
"groupid": 100002,
"subtype": 2,
"groupnum": 1,
"itemid": {
"a": "attr",
"t": "gold",
"n": 1
},
"itemdes": "公会boss挑战奖励",
"itemwt": 1000,
"min": 60000,
"max": 60000,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 987,
"lotteryid": 19100003,
"description": "公会boss挑战奖励",
"type": 2,
"groupwt": 1000,
"groupid": 100003,
"subtype": 2,
"groupnum": 1,
"itemid": {
"a": "item",
"t": "13000002",
"n": 1
},
"itemdes": "公会boss挑战奖励",
"itemwt": 1000,
"min": 20,
"max": 20,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 988,
"lotteryid": 19100003,
"description": "公会boss挑战奖励",
"type": 2,
"groupwt": 1000,
"groupid": 100003,
"subtype": 2,
"groupnum": 1,
"itemid": {
"a": "attr",
"t": "guildcoin",
"n": 1
},
"itemdes": "公会boss挑战奖励",
"itemwt": 1000,
"min": 35,
"max": 35,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 989,
"lotteryid": 19100003,
"description": "公会boss挑战奖励",
"type": 2,
"groupwt": 1000,
"groupid": 100003,
"subtype": 2,
"groupnum": 1,
"itemid": {
"a": "attr",
"t": "gold",
"n": 1
},
"itemdes": "公会boss挑战奖励",
"itemwt": 1000,
"min": 80000,
"max": 80000,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 990,
"lotteryid": 19100004,
"description": "公会boss挑战奖励",
"type": 2,
"groupwt": 1000,
"groupid": 100004,
"subtype": 2,
"groupnum": 1,
"itemid": {
"a": "item",
"t": "13000002",
"n": 1
},
"itemdes": "公会boss挑战奖励",
"itemwt": 1000,
"min": 30,
"max": 30,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 991,
"lotteryid": 19100004,
"description": "公会boss挑战奖励",
"type": 2,
"groupwt": 1000,
"groupid": 100004,
"subtype": 2,
"groupnum": 1,
"itemid": {
"a": "attr",
"t": "guildcoin",
"n": 1
},
"itemdes": "公会boss挑战奖励",
"itemwt": 1000,
"min": 40,
"max": 40,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 992,
"lotteryid": 19100004,
"description": "公会boss挑战奖励",
"type": 2,
"groupwt": 1000,
"groupid": 100004,
"subtype": 2,
"groupnum": 1,
"itemid": {
"a": "attr",
"t": "gold",
"n": 1
},
"itemdes": "公会boss挑战奖励",
"itemwt": 1000,
"min": 100000,
"max": 100000,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 993,
"lotteryid": 19100005,
"description": "公会boss挑战奖励",
"type": 2,
"groupwt": 1000,
"groupid": 100005,
"subtype": 2,
"groupnum": 1,
"itemid": {
"a": "item",
"t": "13000006",
"n": 1
},
"itemdes": "公会boss挑战奖励",
"itemwt": 1000,
"min": 20,
"max": 20,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 994,
"lotteryid": 19100005,
"description": "公会boss挑战奖励",
"type": 2,
"groupwt": 1000,
"groupid": 100005,
"subtype": 2,
"groupnum": 1,
"itemid": {
"a": "attr",
"t": "guildcoin",
"n": 1
},
"itemdes": "公会boss挑战奖励",
"itemwt": 1000,
"min": 45,
"max": 45,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 995,
"lotteryid": 19100005,
"description": "公会boss挑战奖励",
"type": 2,
"groupwt": 1000,
"groupid": 100005,
"subtype": 2,
"groupnum": 1,
"itemid": {
"a": "attr",
"t": "gold",
"n": 1
},
"itemdes": "公会boss挑战奖励",
"itemwt": 1000,
"min": 110000,
"max": 110000,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 996,
"lotteryid": 19100006,
"description": "公会boss挑战奖励",
"type": 2,
"groupwt": 1000,
"groupid": 100006,
"subtype": 2,
"groupnum": 1,
"itemid": {
"a": "item",
"t": "13000006",
"n": 1
},
"itemdes": "公会boss挑战奖励",
"itemwt": 1000,
"min": 25,
"max": 25,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 997,
"lotteryid": 19100006,
"description": "公会boss挑战奖励",
"type": 2,
"groupwt": 1000,
"groupid": 100006,
"subtype": 2,
"groupnum": 1,
"itemid": {
"a": "attr",
"t": "guildcoin",
"n": 1
},
"itemdes": "公会boss挑战奖励",
"itemwt": 1000,
"min": 50,
"max": 50,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
},
{
"id": 998,
"lotteryid": 19100006,
"description": "公会boss挑战奖励",
"type": 2,
"groupwt": 1000,
"groupid": 100006,
"subtype": 2,
"groupnum": 1,
"itemid": {
"a": "attr",
"t": "gold",
"n": 1
},
"itemdes": "公会boss挑战奖励",
"itemwt": 1000,
"min": 120000,
"max": 120000,
"VIPmin": 0,
"VIPmax": 15,
"playerlvmin": 0,
"playerlvmax": 0,
"notice": 0
}
]

View File

@ -20,7 +20,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
@ -40,7 +40,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
@ -60,7 +60,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
@ -80,7 +80,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
@ -100,7 +100,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
@ -120,7 +120,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
@ -140,7 +140,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
@ -160,7 +160,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
@ -180,7 +180,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
@ -200,7 +200,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
@ -220,7 +220,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
@ -240,7 +240,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
@ -260,7 +260,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
@ -280,7 +280,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
@ -300,7 +300,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
@ -320,7 +320,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
@ -340,7 +340,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
@ -360,7 +360,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
@ -380,7 +380,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
@ -400,13 +400,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 100,
"hero_lv": 30,
"guild_boss_ceiling": 2
"guild_boss_ceiling": 1
},
{
"lv": 22,
@ -420,13 +420,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 102,
"hero_lv": 30,
"guild_boss_ceiling": 2
"guild_boss_ceiling": 1
},
{
"lv": 23,
@ -440,13 +440,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 104,
"hero_lv": 30,
"guild_boss_ceiling": 2
"guild_boss_ceiling": 1
},
{
"lv": 24,
@ -460,13 +460,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 106,
"hero_lv": 30,
"guild_boss_ceiling": 2
"guild_boss_ceiling": 1
},
{
"lv": 25,
@ -480,13 +480,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 108,
"hero_lv": 30,
"guild_boss_ceiling": 2
"guild_boss_ceiling": 1
},
{
"lv": 26,
@ -500,13 +500,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 110,
"hero_lv": 35,
"guild_boss_ceiling": 2
"guild_boss_ceiling": 1
},
{
"lv": 27,
@ -520,13 +520,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 112,
"hero_lv": 35,
"guild_boss_ceiling": 2
"guild_boss_ceiling": 1
},
{
"lv": 28,
@ -540,13 +540,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 114,
"hero_lv": 35,
"guild_boss_ceiling": 2
"guild_boss_ceiling": 1
},
{
"lv": 29,
@ -560,13 +560,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 116,
"hero_lv": 35,
"guild_boss_ceiling": 2
"guild_boss_ceiling": 1
},
{
"lv": 30,
@ -580,13 +580,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 1
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 118,
"hero_lv": 35,
"guild_boss_ceiling": 2
"guild_boss_ceiling": 1
},
{
"lv": 31,
@ -600,13 +600,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 120,
"hero_lv": 40,
"guild_boss_ceiling": 2
"guild_boss_ceiling": 1
},
{
"lv": 32,
@ -620,13 +620,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 122,
"hero_lv": 40,
"guild_boss_ceiling": 2
"guild_boss_ceiling": 1
},
{
"lv": 33,
@ -640,13 +640,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 124,
"hero_lv": 40,
"guild_boss_ceiling": 2
"guild_boss_ceiling": 1
},
{
"lv": 34,
@ -660,13 +660,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 126,
"hero_lv": 40,
"guild_boss_ceiling": 2
"guild_boss_ceiling": 1
},
{
"lv": 35,
@ -680,13 +680,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 128,
"hero_lv": 40,
"guild_boss_ceiling": 2
"guild_boss_ceiling": 1
},
{
"lv": 36,
@ -700,13 +700,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 130,
"hero_lv": 45,
"guild_boss_ceiling": 2
"guild_boss_ceiling": 1
},
{
"lv": 37,
@ -720,13 +720,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 132,
"hero_lv": 45,
"guild_boss_ceiling": 2
"guild_boss_ceiling": 1
},
{
"lv": 38,
@ -740,13 +740,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 134,
"hero_lv": 45,
"guild_boss_ceiling": 2
"guild_boss_ceiling": 1
},
{
"lv": 39,
@ -760,13 +760,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 136,
"hero_lv": 45,
"guild_boss_ceiling": 2
"guild_boss_ceiling": 1
},
{
"lv": 40,
@ -780,7 +780,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
@ -800,13 +800,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 140,
"hero_lv": 50,
"guild_boss_ceiling": 3
"guild_boss_ceiling": 2
},
{
"lv": 42,
@ -820,13 +820,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 142,
"hero_lv": 50,
"guild_boss_ceiling": 3
"guild_boss_ceiling": 2
},
{
"lv": 43,
@ -840,13 +840,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 144,
"hero_lv": 50,
"guild_boss_ceiling": 3
"guild_boss_ceiling": 2
},
{
"lv": 44,
@ -860,13 +860,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 146,
"hero_lv": 50,
"guild_boss_ceiling": 3
"guild_boss_ceiling": 2
},
{
"lv": 45,
@ -880,13 +880,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 148,
"hero_lv": 50,
"guild_boss_ceiling": 3
"guild_boss_ceiling": 2
},
{
"lv": 46,
@ -900,13 +900,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 150,
"hero_lv": 55,
"guild_boss_ceiling": 3
"guild_boss_ceiling": 2
},
{
"lv": 47,
@ -920,13 +920,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 152,
"hero_lv": 55,
"guild_boss_ceiling": 3
"guild_boss_ceiling": 2
},
{
"lv": 48,
@ -940,13 +940,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 154,
"hero_lv": 55,
"guild_boss_ceiling": 3
"guild_boss_ceiling": 2
},
{
"lv": 49,
@ -960,13 +960,13 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
"cops_ps_ceiling": 156,
"hero_lv": 55,
"guild_boss_ceiling": 3
"guild_boss_ceiling": 2
},
{
"lv": 50,
@ -980,7 +980,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
@ -1000,7 +1000,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
@ -1020,7 +1020,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
@ -1040,7 +1040,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
@ -1060,7 +1060,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
@ -1080,7 +1080,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
@ -1100,7 +1100,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
@ -1120,7 +1120,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
@ -1140,7 +1140,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
@ -1160,7 +1160,7 @@
{
"a": "attr",
"t": "starcoin",
"n": 400
"n": 2
}
],
"ps_ceiling": 180,
@ -1176,11 +1176,6 @@
"a": "attr",
"t": "ps",
"n": 30
},
{
"a": "attr",
"t": "starcoin",
"n": 400
}
],
"ps_ceiling": 180,

View File

@ -0,0 +1,149 @@
[
{
"id": 10001,
"text": {
"key": "Purchase the pack and complete all Easy Mode mainlines to earn a total of 3000% bonus!",
"text": "冒险基金-普通"
},
"type": 1,
"index": 1,
"slogan": {
"key": "Purchase the pack and complete all Easy Mode mainlines to earn a total of 3000% bonus!",
"text": "购买礼包并通关所有简单模式主线总计可获得超值3000%奖励!"
},
"point": "passcheck_4",
"restriction": 1,
"lv": 1,
"on": 0,
"time": 0,
"times": 0,
"duration": 0,
"loop": 0
},
{
"id": 10002,
"text": {
"key": "Purchase the pack and complete all Easy Mode mainlines to earn a total of 3001% bonus!",
"text": "冒险基金-困难"
},
"type": 1,
"index": 2,
"slogan": {
"key": "Purchase the pack and complete all Easy Mode mainlines to earn a total of 3001% bonus!",
"text": "购买礼包并通关所有困难模式主线总计可获得超值3000%奖励!"
},
"point": "passcheck_5",
"restriction": 1,
"lv": 2,
"on": 0,
"time": 0,
"times": 0,
"duration": 0,
"loop": 0
},
{
"id": 10003,
"text": {
"key": "Purchase the pack and complete all Easy Mode mainlines to earn a total of 3002% bonus!",
"text": "冒险基金-地狱"
},
"type": 1,
"index": 3,
"slogan": {
"key": "Purchase the pack and complete all Easy Mode mainlines to earn a total of 3002% bonus!",
"text": "购买礼包并通关所有地狱模式主线总计可获得超值3000%奖励!"
},
"point": "passcheck_6",
"restriction": 1,
"lv": 3,
"on": 0,
"time": 0,
"times": 0,
"duration": 0,
"loop": 0
},
{
"id": 10004,
"text": {
"key": "Purchase the pack and complete all Easy Mode mainlines to earn a total of 3003% bonus!",
"text": "等级基金"
},
"type": 2,
"index": 0,
"slogan": {
"key": "Purchase the pack and complete all Easy Mode mainlines to earn a total of 3003% bonus!",
"text": "购买礼包并达到相应的守护者等级总计可获得超值3000%奖励!"
},
"point": "passcheck_7",
"restriction": 1,
"lv": 1,
"on": 0,
"time": 0,
"times": 0,
"duration": 0,
"loop": 0
},
{
"id": 10005,
"text": {
"key": "Purchase the pack and complete all Easy Mode mainlines to earn a total of 3004% bonus!",
"text": "限时基金-体力"
},
"type": 3,
"index": 0,
"slogan": {
"key": "Purchase the pack and complete all Easy Mode mainlines to earn a total of 3004% bonus!",
"text": "购买礼包累计登录游戏总计可获得超值3000%奖励!"
},
"point": "passcheck_8",
"restriction": 1,
"lv": 1,
"on": 1,
"time": 1,
"times": 0,
"duration": 30,
"loop": 1
},
{
"id": 10006,
"text": {
"key": "Purchase the pack and complete all Easy Mode mainlines to earn a total of 3005% bonus!",
"text": "限时基金-招募"
},
"type": 4,
"index": 0,
"slogan": {
"key": "Purchase the pack and complete all Easy Mode mainlines to earn a total of 3005% bonus!",
"text": "购买礼包累计登录游戏总计可获得超值3000%奖励!"
},
"point": "passcheck_9",
"restriction": 1,
"lv": 1,
"on": 2,
"time": 0,
"times": 30,
"duration": 20,
"loop": 1
},
{
"id": 10007,
"text": {
"key": "Purchase the pack and complete all Easy Mode mainlines to earn a total of 3006% bonus!",
"text": "限时基金-经验"
},
"type": 5,
"index": 0,
"slogan": {
"key": "Purchase the pack and complete all Easy Mode mainlines to earn a total of 3006% bonus!",
"text": "购买礼包累计登录游戏总计可获得超值3000%奖励!"
},
"point": "passcheck_10",
"restriction": 1,
"lv": 1,
"on": 1,
"time": 1,
"times": 0,
"duration": 10,
"loop": 1
}
]

View File

@ -0,0 +1,338 @@
[
{
"id": 200001,
"type": 2,
"unlock": 5,
"group": 980,
"position": 1
},
{
"id": 200002,
"type": 2,
"unlock": 10,
"group": 981,
"position": 2
},
{
"id": 200003,
"type": 2,
"unlock": 15,
"group": 982,
"position": 3
},
{
"id": 200004,
"type": 2,
"unlock": 20,
"group": 983,
"position": 4
},
{
"id": 200005,
"type": 2,
"unlock": 25,
"group": 984,
"position": 5
},
{
"id": 200006,
"type": 2,
"unlock": 30,
"group": 985,
"position": 6
},
{
"id": 200007,
"type": 2,
"unlock": 35,
"group": 986,
"position": 7
},
{
"id": 200008,
"type": 2,
"unlock": 40,
"group": 987,
"position": 8
},
{
"id": 200009,
"type": 2,
"unlock": 45,
"group": 988,
"position": 9
},
{
"id": 200010,
"type": 2,
"unlock": 50,
"group": 989,
"position": 10
},
{
"id": 200011,
"type": 2,
"unlock": 55,
"group": 990,
"position": 11
},
{
"id": 200012,
"type": 2,
"unlock": 60,
"group": 991,
"position": 12
},
{
"id": 200013,
"type": 3,
"unlock": 1,
"group": 992,
"position": 1
},
{
"id": 200014,
"type": 3,
"unlock": 2,
"group": 993,
"position": 2
},
{
"id": 200015,
"type": 3,
"unlock": 3,
"group": 994,
"position": 3
},
{
"id": 200016,
"type": 3,
"unlock": 4,
"group": 995,
"position": 4
},
{
"id": 200017,
"type": 3,
"unlock": 5,
"group": 996,
"position": 5
},
{
"id": 200018,
"type": 3,
"unlock": 6,
"group": 997,
"position": 6
},
{
"id": 200019,
"type": 3,
"unlock": 7,
"group": 998,
"position": 7
},
{
"id": 200020,
"type": 3,
"unlock": 8,
"group": 999,
"position": 8
},
{
"id": 200021,
"type": 3,
"unlock": 9,
"group": 1000,
"position": 9
},
{
"id": 200022,
"type": 3,
"unlock": 10,
"group": 1001,
"position": 10
},
{
"id": 200023,
"type": 3,
"unlock": 11,
"group": 1002,
"position": 11
},
{
"id": 200024,
"type": 3,
"unlock": 12,
"group": 1003,
"position": 12
},
{
"id": 200025,
"type": 4,
"unlock": 1,
"group": 1004,
"position": 1
},
{
"id": 200026,
"type": 4,
"unlock": 2,
"group": 1005,
"position": 2
},
{
"id": 200027,
"type": 4,
"unlock": 3,
"group": 1006,
"position": 3
},
{
"id": 200028,
"type": 4,
"unlock": 4,
"group": 1007,
"position": 4
},
{
"id": 200029,
"type": 4,
"unlock": 5,
"group": 1008,
"position": 5
},
{
"id": 200030,
"type": 4,
"unlock": 6,
"group": 1009,
"position": 6
},
{
"id": 200031,
"type": 4,
"unlock": 7,
"group": 1010,
"position": 7
},
{
"id": 200032,
"type": 4,
"unlock": 8,
"group": 1011,
"position": 8
},
{
"id": 200033,
"type": 4,
"unlock": 9,
"group": 1012,
"position": 9
},
{
"id": 200034,
"type": 4,
"unlock": 10,
"group": 1013,
"position": 10
},
{
"id": 200035,
"type": 4,
"unlock": 11,
"group": 1014,
"position": 11
},
{
"id": 200036,
"type": 4,
"unlock": 12,
"group": 1015,
"position": 12
},
{
"id": 200037,
"type": 5,
"unlock": 1,
"group": 1015,
"position": 1
},
{
"id": 200038,
"type": 5,
"unlock": 2,
"group": 1015,
"position": 2
},
{
"id": 200039,
"type": 5,
"unlock": 3,
"group": 1015,
"position": 3
},
{
"id": 200040,
"type": 5,
"unlock": 4,
"group": 1015,
"position": 4
},
{
"id": 200041,
"type": 5,
"unlock": 5,
"group": 1015,
"position": 5
},
{
"id": 200042,
"type": 5,
"unlock": 6,
"group": 1015,
"position": 6
},
{
"id": 200043,
"type": 5,
"unlock": 7,
"group": 1015,
"position": 7
},
{
"id": 200044,
"type": 5,
"unlock": 8,
"group": 1015,
"position": 8
},
{
"id": 200045,
"type": 5,
"unlock": 9,
"group": 1015,
"position": 9
},
{
"id": 200046,
"type": 5,
"unlock": 10,
"group": 1015,
"position": 10
},
{
"id": 200047,
"type": 5,
"unlock": 11,
"group": 1015,
"position": 11
},
{
"id": 200048,
"type": 5,
"unlock": 12,
"group": 1015,
"position": 12
}
]

View File

@ -0,0 +1,254 @@
[
{
"id": 100001,
"index": 1,
"mianlevel": 20080,
"group": 980,
"position": 1
},
{
"id": 100002,
"index": 1,
"mianlevel": 20080,
"group": 981,
"position": 2
},
{
"id": 100003,
"index": 1,
"mianlevel": 20080,
"group": 982,
"position": 3
},
{
"id": 100004,
"index": 1,
"mianlevel": 20080,
"group": 983,
"position": 4
},
{
"id": 100005,
"index": 1,
"mianlevel": 20080,
"group": 984,
"position": 5
},
{
"id": 100006,
"index": 1,
"mianlevel": 20080,
"group": 985,
"position": 6
},
{
"id": 100007,
"index": 1,
"mianlevel": 20080,
"group": 986,
"position": 7
},
{
"id": 100008,
"index": 1,
"mianlevel": 20080,
"group": 987,
"position": 8
},
{
"id": 100009,
"index": 1,
"mianlevel": 20080,
"group": 988,
"position": 9
},
{
"id": 100010,
"index": 1,
"mianlevel": 20080,
"group": 989,
"position": 10
},
{
"id": 100011,
"index": 1,
"mianlevel": 20080,
"group": 990,
"position": 11
},
{
"id": 100012,
"index": 1,
"mianlevel": 20080,
"group": 991,
"position": 12
},
{
"id": 100013,
"index": 2,
"mianlevel": 20080,
"group": 992,
"position": 1
},
{
"id": 100014,
"index": 2,
"mianlevel": 20080,
"group": 993,
"position": 2
},
{
"id": 100015,
"index": 2,
"mianlevel": 20080,
"group": 994,
"position": 3
},
{
"id": 100016,
"index": 2,
"mianlevel": 20080,
"group": 995,
"position": 4
},
{
"id": 100017,
"index": 2,
"mianlevel": 20080,
"group": 996,
"position": 5
},
{
"id": 100018,
"index": 2,
"mianlevel": 20080,
"group": 997,
"position": 6
},
{
"id": 100019,
"index": 2,
"mianlevel": 20080,
"group": 998,
"position": 7
},
{
"id": 100020,
"index": 2,
"mianlevel": 20080,
"group": 999,
"position": 8
},
{
"id": 100021,
"index": 2,
"mianlevel": 20080,
"group": 1000,
"position": 9
},
{
"id": 100022,
"index": 2,
"mianlevel": 20080,
"group": 1001,
"position": 10
},
{
"id": 100023,
"index": 2,
"mianlevel": 20080,
"group": 1002,
"position": 11
},
{
"id": 100024,
"index": 2,
"mianlevel": 20080,
"group": 1003,
"position": 12
},
{
"id": 100025,
"index": 3,
"mianlevel": 20080,
"group": 1004,
"position": 1
},
{
"id": 100026,
"index": 3,
"mianlevel": 20080,
"group": 1005,
"position": 2
},
{
"id": 100027,
"index": 3,
"mianlevel": 20080,
"group": 1006,
"position": 3
},
{
"id": 100028,
"index": 3,
"mianlevel": 20080,
"group": 1007,
"position": 4
},
{
"id": 100029,
"index": 3,
"mianlevel": 20080,
"group": 1008,
"position": 5
},
{
"id": 100030,
"index": 3,
"mianlevel": 20080,
"group": 1009,
"position": 6
},
{
"id": 100031,
"index": 3,
"mianlevel": 20080,
"group": 1010,
"position": 7
},
{
"id": 100032,
"index": 3,
"mianlevel": 20080,
"group": 1011,
"position": 8
},
{
"id": 100033,
"index": 3,
"mianlevel": 20080,
"group": 1012,
"position": 9
},
{
"id": 100034,
"index": 3,
"mianlevel": 20080,
"group": 1013,
"position": 10
},
{
"id": 100035,
"index": 3,
"mianlevel": 20080,
"group": 1014,
"position": 11
},
{
"id": 100036,
"index": 3,
"mianlevel": 20080,
"group": 1015,
"position": 12
}
]

View File

@ -12,7 +12,8 @@
"a": "item",
"t": "23000001",
"n": 50
}
},
"type": 1
},
{
"drawkey": 2,
@ -27,7 +28,8 @@
"a": "item",
"t": "23000001",
"n": 50
}
},
"type": 1
},
{
"drawkey": 3,
@ -42,7 +44,8 @@
"a": "item",
"t": "23000001",
"n": 50
}
},
"type": 1
},
{
"drawkey": 4,
@ -57,7 +60,8 @@
"a": "item",
"t": "23000001",
"n": 100
}
},
"type": 1
},
{
"drawkey": 5,
@ -72,7 +76,8 @@
"a": "item",
"t": "23000001",
"n": 100
}
},
"type": 1
},
{
"drawkey": 6,
@ -87,7 +92,8 @@
"a": "item",
"t": "23000001",
"n": 100
}
},
"type": 1
},
{
"drawkey": 7,
@ -102,7 +108,8 @@
"a": "item",
"t": "23000001",
"n": 150
}
},
"type": 2
},
{
"drawkey": 8,
@ -117,7 +124,8 @@
"a": "item",
"t": "23000001",
"n": 150
}
},
"type": 2
},
{
"drawkey": 9,
@ -132,7 +140,8 @@
"a": "item",
"t": "23000001",
"n": 150
}
},
"type": 2
},
{
"drawkey": 10,
@ -147,7 +156,8 @@
"a": "item",
"t": "23000001",
"n": 200
}
},
"type": 2
},
{
"drawkey": 11,
@ -162,7 +172,8 @@
"a": "item",
"t": "23000001",
"n": 200
}
},
"type": 2
},
{
"drawkey": 12,
@ -177,6 +188,7 @@
"a": "item",
"t": "23000001",
"n": 200
}
},
"type": 2
}
]

View File

@ -60,15 +60,15 @@
"icon": "25001",
"task_name": {
"key": "worldtask_world_task_task_name_2",
"text": "半透明的困扰"
"text": "向阿宝打听更多情况"
},
"task_details": {
"key": "worldtask_world_task_task_details_2",
"text": "你面临身体半透明的困扰,骇客蛛发挥强大的黑客技术,帮忙寻找恢复实体化的方法。"
"text": "趁骇客蛛搜索互联网,寻找恢复实体化的方法时,向阿宝了解更多中轴城和守护者的信息。"
},
"npctxt": {
"key": "worldtask_world_task_npctxt_2",
"text": "和阿宝聊聊"
"text": "继续向阿宝询问"
},
"get_item": [],
"trigger": 0,
@ -100,11 +100,11 @@
"icon": "25001",
"task_name": {
"key": "worldtask_world_task_task_name_3",
"text": "踏入中轴城"
"text": "和阿宝交流感受"
},
"task_details": {
"key": "worldtask_world_task_task_details_3",
"text": "跟着阿宝在中轴城逛逛,寻找来自《守护者联盟》的邦尼兔。"
"text": "跟着阿宝在中轴城逛逛,寻找传说中的守护神——邦尼兔。"
},
"npctxt": {
"key": "worldtask_world_task_npctxt_3",
@ -182,7 +182,7 @@
"icon": "25001",
"task_name": {
"key": "worldtask_world_task_task_name_5",
"text": "安全守卫员邦尼兔!"
"text": "你就是邦尼兔?"
},
"task_details": {
"key": "worldtask_world_task_task_details_5",
@ -269,7 +269,7 @@
"icon": "25001",
"task_name": {
"key": "worldtask_world_task_task_name_7",
"text": "可疑人物入侵"
"text": "战后交流"
},
"task_details": {
"key": "worldtask_world_task_task_details_7",
@ -316,7 +316,7 @@
"icon": "25001",
"task_name": {
"key": "worldtask_world_task_task_name_8",
"text": "召唤守护者"
"text": "接下来的计划"
},
"task_details": {
"key": "worldtask_world_task_task_details_8",
@ -358,7 +358,7 @@
"icon": "25001",
"task_name": {
"key": "worldtask_world_task_task_name_9",
"text": "初识浣熊师父"
"text": "结识这位打坐大师"
},
"task_details": {
"key": "worldtask_world_task_task_details_9",
@ -400,7 +400,7 @@
"icon": "25001",
"task_name": {
"key": "worldtask_world_task_task_name_10",
"text": "调查熊猫武馆"
"text": "听听师父的评价"
},
"task_details": {
"key": "worldtask_world_task_task_details_10",
@ -489,7 +489,7 @@
"icon": "25001",
"task_name": {
"key": "worldtask_world_task_task_name_12",
"text": "返回指挥部"
"text": "进一步询问"
},
"task_details": {
"key": "worldtask_world_task_task_details_12",

View File

@ -988,5 +988,8 @@ const (
HdTypeWarorder = 1 // 圣桃战令类型
HdTypePay = 2 // 圣桃充值礼包
KFSevenTask = 3 //开服任务
KFSevenTask = 3 //开服任务
XSFundPhysical = 4 //现时活动 体力基金
XSFundRecruit = 5 //现时活动 招募基金
XSFundExp = 6 //现时活动 经验基金
)

View File

@ -608,6 +608,8 @@ type (
IGetReddot
// bingo 关卡
BingoJumpLevel(session IUserSession, level int32) (errdata *pb.ErrorData)
//查询主线通关进度
InquireMainLinePassLevel(uid string) (levels map[int32]int32)
}
//工会boos战
IGuildgve interface {

View File

@ -137,3 +137,19 @@ func (this *Mainline) BingoJumpLevel(session comm.IUserSession, level int32) (er
}
return
}
// 查询用户主线通关
func (this *Mainline) InquireMainLinePassLevel(uid string) (levels map[int32]int32) {
var (
info *pb.DBMainline
err error
)
levels = make(map[int32]int32)
info, err = this.modelMline.getMainlineData(uid)
if err != nil {
this.Errorln(err)
return
}
levels = info.Level
return
}

20
modules/shopcenter/api.go Normal file
View File

@ -0,0 +1,20 @@
package shopcenter
import (
"go_dreamfactory/lego/base"
"go_dreamfactory/lego/core"
"go_dreamfactory/modules"
)
type apiComp struct {
modules.MCompGate
service base.IRPCXService
module *ShopCenter
}
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.service = service.(base.IRPCXService)
this.module = module.(*ShopCenter)
return
}

View File

@ -0,0 +1,35 @@
package shopcenter
import (
"go_dreamfactory/comm"
"go_dreamfactory/pb"
)
// 参数校验
func (this *apiComp) InfoCheck(session comm.IUserSession, req *pb.ShopCenterInfoReq) (errdata *pb.ErrorData) {
return
}
// /获取自己的排行榜信息
func (this *apiComp) Info(session comm.IUserSession, req *pb.ShopCenterInfoReq) (errdata *pb.ErrorData) {
var (
info *pb.DBShopCenter
err error
)
if errdata = this.InfoCheck(session, req); errdata != nil {
return
}
if info, err = this.module.modelshop.getUserShopCenter(session.GetUserId()); 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.ShopCenterInfoResp{Info: info})
return
}

View File

@ -0,0 +1,124 @@
package shopcenter
import (
"go_dreamfactory/comm"
"go_dreamfactory/pb"
cfg "go_dreamfactory/sys/configure/structs"
)
// 参数校验
func (this *apiComp) ReceiveCheck(session comm.IUserSession, req *pb.ShopCenterReceiveReq) (errdata *pb.ErrorData) {
return
}
// /获取自己的排行榜信息
func (this *apiComp) Receive(session comm.IUserSession, req *pb.ShopCenterReceiveReq) (errdata *pb.ErrorData) {
var (
conf *cfg.GameShopCenterControlData
pconf *cfg.GameShopCenterSubmeterData
fconf *cfg.GameShopCenterFundData
info *pb.DBShopCenter
item *pb.DBShopCenterItem
ok bool
err error
)
if errdata = this.ReceiveCheck(session, req); errdata != nil {
return
}
if conf, err = this.module.configure.getGameShopCenterControl(req.Fid); err != nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ConfigNoFound,
Title: pb.ErrorCode_ConfigNoFound.ToString(),
Message: err.Error(),
}
return
}
if info, err = this.module.modelshop.getUserShopCenter(session.GetUserId()); err != nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_DBError,
Title: pb.ErrorCode_DBError.ToString(),
Message: err.Error(),
}
return
}
if item, ok = info.Item[req.Fid]; !ok {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ReqParameterError,
Title: pb.ErrorCode_ReqParameterError.ToString(),
Message: "no is vip",
}
}
if !item.Vip {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ReqParameterError,
Title: pb.ErrorCode_ReqParameterError.ToString(),
Message: "you no buy vip",
}
}
if !item.Open {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ReqParameterError,
Title: pb.ErrorCode_ReqParameterError.ToString(),
Message: "activity is close",
}
}
switch conf.Type {
case 1:
if pconf, err = this.module.configure.getGameShopCenterSubmeter(req.Pid); err != nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ConfigNoFound,
Title: pb.ErrorCode_ConfigNoFound.ToString(),
Message: err.Error(),
}
return
}
level := this.module.mainline.InquireMainLinePassLevel(session.GetUserId())
if _, ok = level[pconf.Mianlevel]; !ok {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ReqParameterError,
Title: pb.ErrorCode_ReqParameterError.ToString(),
Message: "mainline no pass",
}
return
}
case 2, 3, 4, 5:
if fconf, err = this.module.configure.getGameShopCenterFund(req.Pid); err != nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ConfigNoFound,
Title: pb.ErrorCode_ConfigNoFound.ToString(),
Message: err.Error(),
}
return
}
if conf.Type == 2 { //等级基金
if user := this.module.ModuleUser.GetUser(session.GetUserId()); user == nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_DBError,
Title: pb.ErrorCode_DBError.ToString(),
Message: "no found user!",
}
return
} else {
if user.Lv < fconf.Unlock { //没有达到目标等级
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ReqParameterError,
Title: pb.ErrorCode_ReqParameterError.ToString(),
Message: "user lv no achieve",
}
return
}
}
}
}
session.SendMsg(string(this.module.GetType()), "receive", &pb.ShopCenterReceiveResp{})
return
}

View File

@ -0,0 +1,88 @@
package shopcenter
import (
"go_dreamfactory/comm"
"go_dreamfactory/lego/core"
"go_dreamfactory/modules"
cfg "go_dreamfactory/sys/configure/structs"
"sync"
)
const (
game_shopcentercontrol = "game_shopcentercontrol.json"
game_shopcenterfund = "game_shopcenterfund.json"
game_shopcentersubmeter = "game_shopcentersubmeter.json"
)
type configureComp struct {
modules.MCompConfigure
module *ShopCenter
lock sync.RWMutex
tasks map[int32]struct{}
grouptask map[int32]map[int32][]int32
groupreward map[int32]map[int32]*cfg.GameFategiftrewardData
}
func (this *configureComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
err = this.MCompConfigure.Init(service, module, comp, options)
this.module = module.(*ShopCenter)
this.LoadConfigure(game_shopcentercontrol, cfg.NewGameShopCenterControl)
this.LoadConfigure(game_shopcenterfund, cfg.NewGameShopCenterFund)
this.LoadConfigure(game_shopcentersubmeter, cfg.NewGameShopCenterSubmeter)
// configure.RegisterConfigure(game_shopcentersubmeter, cfg.NewGameFategiftFate, this.updateconfigure)
return
}
// 获取活跃度奖励配置
func (this *configureComp) getGameShopCenterControl(fid int32) (conf *cfg.GameShopCenterControlData, err error) {
var (
v interface{}
ok bool
)
if v, err = this.GetConfigure(game_shopcentercontrol); err != nil {
return
} else {
if conf, ok = v.(*cfg.GameShopCenterControl).GetDataMap()[fid]; !ok {
err = comm.NewNotFoundConfErr(string(this.module.GetType()), game_shopcentercontrol, fid)
this.module.Errorln(err)
return
}
}
return
}
// 获取活跃度奖励配置
func (this *configureComp) getGameShopCenterFund(pid int32) (conf *cfg.GameShopCenterFundData, err error) {
var (
v interface{}
ok bool
)
if v, err = this.GetConfigure(game_shopcenterfund); err != nil {
return
} else {
if conf, ok = v.(*cfg.GameShopCenterFund).GetDataMap()[pid]; !ok {
err = comm.NewNotFoundConfErr(string(this.module.GetType()), game_shopcenterfund, pid)
this.module.Errorln(err)
return
}
}
return
}
// 获取活跃度奖励配置
func (this *configureComp) getGameShopCenterSubmeter(pid int32) (conf *cfg.GameShopCenterSubmeterData, err error) {
var (
v interface{}
ok bool
)
if v, err = this.GetConfigure(game_shopcentersubmeter); err != nil {
return
} else {
if conf, ok = v.(*cfg.GameShopCenterSubmeter).GetDataMap()[pid]; !ok {
err = comm.NewNotFoundConfErr(string(this.module.GetType()), game_shopcentersubmeter, pid)
this.module.Errorln(err)
return
}
}
return
}

View File

@ -0,0 +1,46 @@
package shopcenter
import (
"go_dreamfactory/comm"
"go_dreamfactory/lego/core"
"go_dreamfactory/lego/sys/mgo"
"go_dreamfactory/modules"
"go_dreamfactory/pb"
"go.mongodb.org/mongo-driver/bson/primitive"
"go.mongodb.org/mongo-driver/mongo"
"go.mongodb.org/mongo-driver/x/bsonx"
)
type ModelShop struct {
modules.MCompModel
module *ShopCenter
}
func (this *ModelShop) 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.TableHerotask
this.module = module.(*ShopCenter)
this.DB.CreateIndex(core.SqlTable(this.TableName), mongo.IndexModel{
Keys: bsonx.Doc{{Key: "uid", Value: bsonx.Int32(1)}},
})
return
}
// 获取用户全部的埋点数据
func (this *ModelShop) getUserShopCenter(uid string) (results *pb.DBShopCenter, err error) {
results = &pb.DBShopCenter{}
if err = this.Get(uid, results); err != nil && err != mgo.MongodbNil {
this.module.Errorln(err)
return
}
if err == mgo.MongodbNil {
results = &pb.DBShopCenter{
Id: primitive.NewObjectID().Hex(),
Uid: uid,
Item: make(map[int32]*pb.DBShopCenterItem),
}
err = this.Add(uid, results)
}
return
}

View File

@ -0,0 +1,64 @@
package shopcenter
import (
"go_dreamfactory/comm"
"go_dreamfactory/lego/core"
"go_dreamfactory/modules"
"go_dreamfactory/pb"
)
type ShopCenter struct {
modules.ModuleBase
service core.IService
api *apiComp
configure *configureComp
modelshop *ModelShop
mainline comm.IMainline
open bool
}
func NewModule() core.IModule {
return &ShopCenter{}
}
func (this *ShopCenter) GetType() core.M_Modules {
return comm.ModuleHeroTask
}
func (this *ShopCenter) Init(service core.IService, module core.IModule, options core.IModuleOptions) (err error) {
err = this.ModuleBase.Init(service, module, options)
this.service = service
return
}
func (this *ShopCenter) Start() (err error) {
err = this.ModuleBase.Start()
var module core.IModule
if module, err = this.service.GetModule(comm.ModuleMainline); err != nil {
return
}
this.mainline = module.(comm.IMainline)
return
}
func (this *ShopCenter) OnInstallComp() {
this.ModuleBase.OnInstallComp()
this.api = this.RegisterComp(new(apiComp)).(*apiComp)
this.modelshop = this.RegisterComp(new(ModelShop)).(*ModelShop)
this.configure = this.RegisterComp(new(configureComp)).(*configureComp)
}
// 活动开启
func (this *ShopCenter) ActivityNotice(hdlist *pb.DBHuodong) {
switch hdlist.Itype {
case comm.XSFundPhysical:
this.open = true
break
case comm.XSFundRecruit:
this.open = true
break
case comm.XSFundExp:
this.open = true
break
}
}

269
pb/shopcenter_db.pb.go Normal file
View File

@ -0,0 +1,269 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.0
// protoc v3.20.0
// source: shopcenter/shopcenter_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)
)
//购物中心
type DBShopCenter 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"`
Item map[int32]*DBShopCenterItem `protobuf:"bytes,3,rep,name=item,proto3" json:"item" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *DBShopCenter) Reset() {
*x = DBShopCenter{}
if protoimpl.UnsafeEnabled {
mi := &file_shopcenter_shopcenter_db_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBShopCenter) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBShopCenter) ProtoMessage() {}
func (x *DBShopCenter) ProtoReflect() protoreflect.Message {
mi := &file_shopcenter_shopcenter_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 DBShopCenter.ProtoReflect.Descriptor instead.
func (*DBShopCenter) Descriptor() ([]byte, []int) {
return file_shopcenter_shopcenter_db_proto_rawDescGZIP(), []int{0}
}
func (x *DBShopCenter) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *DBShopCenter) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *DBShopCenter) GetItem() map[int32]*DBShopCenterItem {
if x != nil {
return x.Item
}
return nil
}
//基金领取进度记录
type DBShopCenterItem struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` //基金id
Vip bool `protobuf:"varint,2,opt,name=vip,proto3" json:"vip"` //是否已购买
Open bool `protobuf:"varint,3,opt,name=open,proto3" json:"open"` //是否开放
Record map[int32]bool `protobuf:"bytes,4,rep,name=record,proto3" json:"record" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //领取记录
}
func (x *DBShopCenterItem) Reset() {
*x = DBShopCenterItem{}
if protoimpl.UnsafeEnabled {
mi := &file_shopcenter_shopcenter_db_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBShopCenterItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBShopCenterItem) ProtoMessage() {}
func (x *DBShopCenterItem) ProtoReflect() protoreflect.Message {
mi := &file_shopcenter_shopcenter_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 DBShopCenterItem.ProtoReflect.Descriptor instead.
func (*DBShopCenterItem) Descriptor() ([]byte, []int) {
return file_shopcenter_shopcenter_db_proto_rawDescGZIP(), []int{1}
}
func (x *DBShopCenterItem) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
func (x *DBShopCenterItem) GetVip() bool {
if x != nil {
return x.Vip
}
return false
}
func (x *DBShopCenterItem) GetOpen() bool {
if x != nil {
return x.Open
}
return false
}
func (x *DBShopCenterItem) GetRecord() map[int32]bool {
if x != nil {
return x.Record
}
return nil
}
var File_shopcenter_shopcenter_db_proto protoreflect.FileDescriptor
var file_shopcenter_shopcenter_db_proto_rawDesc = []byte{
0x0a, 0x1e, 0x73, 0x68, 0x6f, 0x70, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x73, 0x68, 0x6f,
0x70, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x22, 0xa9, 0x01, 0x0a, 0x0c, 0x44, 0x42, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x65, 0x6e, 0x74, 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, 0x2b, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x03, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x17, 0x2e, 0x44, 0x42, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72,
0x2e, 0x49, 0x74, 0x65, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d,
0x1a, 0x4a, 0x0a, 0x09, 0x49, 0x74, 0x65, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
0x27, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11,
0x2e, 0x44, 0x42, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x74, 0x65,
0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xba, 0x01, 0x0a,
0x10, 0x44, 0x42, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x74, 0x65,
0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69,
0x64, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03,
0x76, 0x69, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
0x08, 0x52, 0x04, 0x6f, 0x70, 0x65, 0x6e, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72,
0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x44, 0x42, 0x53, 0x68, 0x6f, 0x70,
0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72,
0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x1a, 0x39,
0x0a, 0x0b, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05,
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70,
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_shopcenter_shopcenter_db_proto_rawDescOnce sync.Once
file_shopcenter_shopcenter_db_proto_rawDescData = file_shopcenter_shopcenter_db_proto_rawDesc
)
func file_shopcenter_shopcenter_db_proto_rawDescGZIP() []byte {
file_shopcenter_shopcenter_db_proto_rawDescOnce.Do(func() {
file_shopcenter_shopcenter_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_shopcenter_shopcenter_db_proto_rawDescData)
})
return file_shopcenter_shopcenter_db_proto_rawDescData
}
var file_shopcenter_shopcenter_db_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_shopcenter_shopcenter_db_proto_goTypes = []interface{}{
(*DBShopCenter)(nil), // 0: DBShopCenter
(*DBShopCenterItem)(nil), // 1: DBShopCenterItem
nil, // 2: DBShopCenter.ItemEntry
nil, // 3: DBShopCenterItem.RecordEntry
}
var file_shopcenter_shopcenter_db_proto_depIdxs = []int32{
2, // 0: DBShopCenter.item:type_name -> DBShopCenter.ItemEntry
3, // 1: DBShopCenterItem.record:type_name -> DBShopCenterItem.RecordEntry
1, // 2: DBShopCenter.ItemEntry.value:type_name -> DBShopCenterItem
3, // [3:3] is the sub-list for method output_type
3, // [3:3] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension type_name
3, // [3:3] is the sub-list for extension extendee
0, // [0:3] is the sub-list for field type_name
}
func init() { file_shopcenter_shopcenter_db_proto_init() }
func file_shopcenter_shopcenter_db_proto_init() {
if File_shopcenter_shopcenter_db_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_shopcenter_shopcenter_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBShopCenter); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_shopcenter_shopcenter_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBShopCenterItem); 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_shopcenter_shopcenter_db_proto_rawDesc,
NumEnums: 0,
NumMessages: 4,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_shopcenter_shopcenter_db_proto_goTypes,
DependencyIndexes: file_shopcenter_shopcenter_db_proto_depIdxs,
MessageInfos: file_shopcenter_shopcenter_db_proto_msgTypes,
}.Build()
File_shopcenter_shopcenter_db_proto = out.File
file_shopcenter_shopcenter_db_proto_rawDesc = nil
file_shopcenter_shopcenter_db_proto_goTypes = nil
file_shopcenter_shopcenter_db_proto_depIdxs = nil
}

358
pb/shopcenter_msg.pb.go Normal file
View File

@ -0,0 +1,358 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.0
// protoc v3.20.0
// source: shopcenter/shopcenter_msg.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)
)
type ShopCenterInfoReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *ShopCenterInfoReq) Reset() {
*x = ShopCenterInfoReq{}
if protoimpl.UnsafeEnabled {
mi := &file_shopcenter_shopcenter_msg_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ShopCenterInfoReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ShopCenterInfoReq) ProtoMessage() {}
func (x *ShopCenterInfoReq) ProtoReflect() protoreflect.Message {
mi := &file_shopcenter_shopcenter_msg_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 ShopCenterInfoReq.ProtoReflect.Descriptor instead.
func (*ShopCenterInfoReq) Descriptor() ([]byte, []int) {
return file_shopcenter_shopcenter_msg_proto_rawDescGZIP(), []int{0}
}
type ShopCenterInfoResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Info *DBShopCenter `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
}
func (x *ShopCenterInfoResp) Reset() {
*x = ShopCenterInfoResp{}
if protoimpl.UnsafeEnabled {
mi := &file_shopcenter_shopcenter_msg_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ShopCenterInfoResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ShopCenterInfoResp) ProtoMessage() {}
func (x *ShopCenterInfoResp) ProtoReflect() protoreflect.Message {
mi := &file_shopcenter_shopcenter_msg_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 ShopCenterInfoResp.ProtoReflect.Descriptor instead.
func (*ShopCenterInfoResp) Descriptor() ([]byte, []int) {
return file_shopcenter_shopcenter_msg_proto_rawDescGZIP(), []int{1}
}
func (x *ShopCenterInfoResp) GetInfo() *DBShopCenter {
if x != nil {
return x.Info
}
return nil
}
type ShopCenterReceiveReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Fid int32 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid"` //基金id
Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid"` //进度id
}
func (x *ShopCenterReceiveReq) Reset() {
*x = ShopCenterReceiveReq{}
if protoimpl.UnsafeEnabled {
mi := &file_shopcenter_shopcenter_msg_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ShopCenterReceiveReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ShopCenterReceiveReq) ProtoMessage() {}
func (x *ShopCenterReceiveReq) ProtoReflect() protoreflect.Message {
mi := &file_shopcenter_shopcenter_msg_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 ShopCenterReceiveReq.ProtoReflect.Descriptor instead.
func (*ShopCenterReceiveReq) Descriptor() ([]byte, []int) {
return file_shopcenter_shopcenter_msg_proto_rawDescGZIP(), []int{2}
}
func (x *ShopCenterReceiveReq) GetFid() int32 {
if x != nil {
return x.Fid
}
return 0
}
func (x *ShopCenterReceiveReq) GetPid() int32 {
if x != nil {
return x.Pid
}
return 0
}
type ShopCenterReceiveResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Fid int32 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid"` //基金id
Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid"` //进度id
Award []*UserAssets `protobuf:"bytes,3,rep,name=award,proto3" json:"award"` //奖励
}
func (x *ShopCenterReceiveResp) Reset() {
*x = ShopCenterReceiveResp{}
if protoimpl.UnsafeEnabled {
mi := &file_shopcenter_shopcenter_msg_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ShopCenterReceiveResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ShopCenterReceiveResp) ProtoMessage() {}
func (x *ShopCenterReceiveResp) ProtoReflect() protoreflect.Message {
mi := &file_shopcenter_shopcenter_msg_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 ShopCenterReceiveResp.ProtoReflect.Descriptor instead.
func (*ShopCenterReceiveResp) Descriptor() ([]byte, []int) {
return file_shopcenter_shopcenter_msg_proto_rawDescGZIP(), []int{3}
}
func (x *ShopCenterReceiveResp) GetFid() int32 {
if x != nil {
return x.Fid
}
return 0
}
func (x *ShopCenterReceiveResp) GetPid() int32 {
if x != nil {
return x.Pid
}
return 0
}
func (x *ShopCenterReceiveResp) GetAward() []*UserAssets {
if x != nil {
return x.Award
}
return nil
}
var File_shopcenter_shopcenter_msg_proto protoreflect.FileDescriptor
var file_shopcenter_shopcenter_msg_proto_rawDesc = []byte{
0x0a, 0x1f, 0x73, 0x68, 0x6f, 0x70, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x73, 0x68, 0x6f,
0x70, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x1a, 0x1e, 0x73, 0x68, 0x6f, 0x70, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x73, 0x68,
0x6f, 0x70, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x13, 0x0a,
0x11, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52,
0x65, 0x71, 0x22, 0x37, 0x0a, 0x12, 0x53, 0x68, 0x6f, 0x70, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72,
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x53, 0x68, 0x6f, 0x70, 0x43,
0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x3a, 0x0a, 0x14, 0x53,
0x68, 0x6f, 0x70, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
0x52, 0x03, 0x66, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
0x28, 0x05, 0x52, 0x03, 0x70, 0x69, 0x64, 0x22, 0x5e, 0x0a, 0x15, 0x53, 0x68, 0x6f, 0x70, 0x43,
0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70,
0x12, 0x10, 0x0a, 0x03, 0x66, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x66,
0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
0x03, 0x70, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 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_shopcenter_shopcenter_msg_proto_rawDescOnce sync.Once
file_shopcenter_shopcenter_msg_proto_rawDescData = file_shopcenter_shopcenter_msg_proto_rawDesc
)
func file_shopcenter_shopcenter_msg_proto_rawDescGZIP() []byte {
file_shopcenter_shopcenter_msg_proto_rawDescOnce.Do(func() {
file_shopcenter_shopcenter_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_shopcenter_shopcenter_msg_proto_rawDescData)
})
return file_shopcenter_shopcenter_msg_proto_rawDescData
}
var file_shopcenter_shopcenter_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_shopcenter_shopcenter_msg_proto_goTypes = []interface{}{
(*ShopCenterInfoReq)(nil), // 0: ShopCenterInfoReq
(*ShopCenterInfoResp)(nil), // 1: ShopCenterInfoResp
(*ShopCenterReceiveReq)(nil), // 2: ShopCenterReceiveReq
(*ShopCenterReceiveResp)(nil), // 3: ShopCenterReceiveResp
(*DBShopCenter)(nil), // 4: DBShopCenter
(*UserAssets)(nil), // 5: UserAssets
}
var file_shopcenter_shopcenter_msg_proto_depIdxs = []int32{
4, // 0: ShopCenterInfoResp.info:type_name -> DBShopCenter
5, // 1: ShopCenterReceiveResp.award:type_name -> UserAssets
2, // [2:2] is the sub-list for method output_type
2, // [2:2] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
}
func init() { file_shopcenter_shopcenter_msg_proto_init() }
func file_shopcenter_shopcenter_msg_proto_init() {
if File_shopcenter_shopcenter_msg_proto != nil {
return
}
file_shopcenter_shopcenter_db_proto_init()
file_comm_proto_init()
if !protoimpl.UnsafeEnabled {
file_shopcenter_shopcenter_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ShopCenterInfoReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_shopcenter_shopcenter_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ShopCenterInfoResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_shopcenter_shopcenter_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ShopCenterReceiveReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_shopcenter_shopcenter_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ShopCenterReceiveResp); 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_shopcenter_shopcenter_msg_proto_rawDesc,
NumEnums: 0,
NumMessages: 4,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_shopcenter_shopcenter_msg_proto_goTypes,
DependencyIndexes: file_shopcenter_shopcenter_msg_proto_depIdxs,
MessageInfos: file_shopcenter_shopcenter_msg_proto_msgTypes,
}.Build()
File_shopcenter_shopcenter_msg_proto = out.File
file_shopcenter_shopcenter_msg_proto_rawDesc = nil
file_shopcenter_shopcenter_msg_proto_goTypes = nil
file_shopcenter_shopcenter_msg_proto_depIdxs = nil
}

View File

@ -91,4 +91,6 @@ const (
GameBuffType_FIXED_DEF = 79
GameBuffType_FIXED_DEF_PRO = 80
GameBuffType_IMMDOT = 81
GameBuffType_NO_BUFFEFFECT_ADD_DMG = 82
GameBuffType_BE_CRIT_ADD_THIS_TIME_DMG = 83
)

View File

@ -0,0 +1,42 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
type GameGuidance struct {
_dataMap map[int32]*GameGuidanceData
_dataList []*GameGuidanceData
}
func NewGameGuidance(_buf []map[string]interface{}) (*GameGuidance, error) {
_dataList := make([]*GameGuidanceData, 0, len(_buf))
dataMap := make(map[int32]*GameGuidanceData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameGuidanceData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
}
}
return &GameGuidance{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameGuidance) GetDataMap() map[int32]*GameGuidanceData {
return table._dataMap
}
func (table *GameGuidance) GetDataList() []*GameGuidanceData {
return table._dataList
}
func (table *GameGuidance) Get(key int32) *GameGuidanceData {
return table._dataMap[key]
}

View File

@ -0,0 +1,41 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
import "errors"
type GameGuidanceData struct {
Id int32
Exp string
Jumpid int32
Index int32
}
const TypeId_GameGuidanceData = 593350558
func (*GameGuidanceData) GetTypeId() int32 {
return 593350558
}
func (_v *GameGuidanceData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["id"].(float64); !_ok_ { err = errors.New("id error"); return }; _v.Id = int32(_tempNum_) }
{ var _ok_ bool; if _v.Exp, _ok_ = _buf["exp"].(string); !_ok_ { err = errors.New("exp error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["jumpid"].(float64); !_ok_ { err = errors.New("jumpid error"); return }; _v.Jumpid = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["index"].(float64); !_ok_ { err = errors.New("index error"); return }; _v.Index = int32(_tempNum_) }
return
}
func DeserializeGameGuidanceData(_buf map[string]interface{}) (*GameGuidanceData, error) {
v := &GameGuidanceData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -0,0 +1,42 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
type GameShopCenterControl struct {
_dataMap map[int32]*GameShopCenterControlData
_dataList []*GameShopCenterControlData
}
func NewGameShopCenterControl(_buf []map[string]interface{}) (*GameShopCenterControl, error) {
_dataList := make([]*GameShopCenterControlData, 0, len(_buf))
dataMap := make(map[int32]*GameShopCenterControlData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameShopCenterControlData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
}
}
return &GameShopCenterControl{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameShopCenterControl) GetDataMap() map[int32]*GameShopCenterControlData {
return table._dataMap
}
func (table *GameShopCenterControl) GetDataList() []*GameShopCenterControlData {
return table._dataList
}
func (table *GameShopCenterControl) Get(key int32) *GameShopCenterControlData {
return table._dataMap[key]
}

View File

@ -0,0 +1,59 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
import "errors"
type GameShopCenterControlData struct {
Id int32
Text string
Type int32
Index int32
Slogan string
Point string
Restriction int32
Lv int32
On int32
Time int32
Times int32
Duration int32
Loop int32
}
const TypeId_GameShopCenterControlData = 1201366464
func (*GameShopCenterControlData) GetTypeId() int32 {
return 1201366464
}
func (_v *GameShopCenterControlData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["id"].(float64); !_ok_ { err = errors.New("id error"); return }; _v.Id = int32(_tempNum_) }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["text"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Text error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Text, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["type"].(float64); !_ok_ { err = errors.New("type error"); return }; _v.Type = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["index"].(float64); !_ok_ { err = errors.New("index error"); return }; _v.Index = int32(_tempNum_) }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["slogan"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Slogan error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Slogan, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; if _v.Point, _ok_ = _buf["point"].(string); !_ok_ { err = errors.New("point error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["restriction"].(float64); !_ok_ { err = errors.New("restriction error"); return }; _v.Restriction = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["lv"].(float64); !_ok_ { err = errors.New("lv error"); return }; _v.Lv = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["on"].(float64); !_ok_ { err = errors.New("on error"); return }; _v.On = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["time"].(float64); !_ok_ { err = errors.New("time error"); return }; _v.Time = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["times"].(float64); !_ok_ { err = errors.New("times error"); return }; _v.Times = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["duration"].(float64); !_ok_ { err = errors.New("duration error"); return }; _v.Duration = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["loop"].(float64); !_ok_ { err = errors.New("loop error"); return }; _v.Loop = int32(_tempNum_) }
return
}
func DeserializeGameShopCenterControlData(_buf map[string]interface{}) (*GameShopCenterControlData, error) {
v := &GameShopCenterControlData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -0,0 +1,42 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
type GameShopCenterFund struct {
_dataMap map[int32]*GameShopCenterFundData
_dataList []*GameShopCenterFundData
}
func NewGameShopCenterFund(_buf []map[string]interface{}) (*GameShopCenterFund, error) {
_dataList := make([]*GameShopCenterFundData, 0, len(_buf))
dataMap := make(map[int32]*GameShopCenterFundData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameShopCenterFundData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
}
}
return &GameShopCenterFund{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameShopCenterFund) GetDataMap() map[int32]*GameShopCenterFundData {
return table._dataMap
}
func (table *GameShopCenterFund) GetDataList() []*GameShopCenterFundData {
return table._dataList
}
func (table *GameShopCenterFund) Get(key int32) *GameShopCenterFundData {
return table._dataMap[key]
}

View File

@ -0,0 +1,43 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
import "errors"
type GameShopCenterFundData struct {
Id int32
Type int32
Unlock int32
Group int32
Position int32
}
const TypeId_GameShopCenterFundData = -1713797226
func (*GameShopCenterFundData) GetTypeId() int32 {
return -1713797226
}
func (_v *GameShopCenterFundData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["id"].(float64); !_ok_ { err = errors.New("id error"); return }; _v.Id = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["type"].(float64); !_ok_ { err = errors.New("type error"); return }; _v.Type = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["unlock"].(float64); !_ok_ { err = errors.New("unlock error"); return }; _v.Unlock = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["group"].(float64); !_ok_ { err = errors.New("group error"); return }; _v.Group = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["position"].(float64); !_ok_ { err = errors.New("position error"); return }; _v.Position = int32(_tempNum_) }
return
}
func DeserializeGameShopCenterFundData(_buf map[string]interface{}) (*GameShopCenterFundData, error) {
v := &GameShopCenterFundData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -0,0 +1,42 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
type GameShopCenterSubmeter struct {
_dataMap map[int32]*GameShopCenterSubmeterData
_dataList []*GameShopCenterSubmeterData
}
func NewGameShopCenterSubmeter(_buf []map[string]interface{}) (*GameShopCenterSubmeter, error) {
_dataList := make([]*GameShopCenterSubmeterData, 0, len(_buf))
dataMap := make(map[int32]*GameShopCenterSubmeterData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameShopCenterSubmeterData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
}
}
return &GameShopCenterSubmeter{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameShopCenterSubmeter) GetDataMap() map[int32]*GameShopCenterSubmeterData {
return table._dataMap
}
func (table *GameShopCenterSubmeter) GetDataList() []*GameShopCenterSubmeterData {
return table._dataList
}
func (table *GameShopCenterSubmeter) Get(key int32) *GameShopCenterSubmeterData {
return table._dataMap[key]
}

View File

@ -0,0 +1,43 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
import "errors"
type GameShopCenterSubmeterData struct {
Id int32
Index int32
Mianlevel int32
Group int32
Position int32
}
const TypeId_GameShopCenterSubmeterData = -611304294
func (*GameShopCenterSubmeterData) GetTypeId() int32 {
return -611304294
}
func (_v *GameShopCenterSubmeterData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["id"].(float64); !_ok_ { err = errors.New("id error"); return }; _v.Id = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["index"].(float64); !_ok_ { err = errors.New("index error"); return }; _v.Index = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["mianlevel"].(float64); !_ok_ { err = errors.New("mianlevel error"); return }; _v.Mianlevel = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["group"].(float64); !_ok_ { err = errors.New("group error"); return }; _v.Group = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["position"].(float64); !_ok_ { err = errors.New("position error"); return }; _v.Position = int32(_tempNum_) }
return
}
func DeserializeGameShopCenterSubmeterData(_buf map[string]interface{}) (*GameShopCenterSubmeterData, error) {
v := &GameShopCenterSubmeterData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -16,6 +16,7 @@ type GameVenturegiftsDrawData struct {
Id *Gameatn
Weight int32
Cost *Gameatn
Type int32
}
const TypeId_GameVenturegiftsDrawData = -742747078
@ -30,6 +31,7 @@ func (_v *GameVenturegiftsDrawData)Deserialize(_buf map[string]interface{}) (err
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["id"].(map[string]interface{}); !_ok_ { err = errors.New("id error"); return }; if _v.Id, err = DeserializeGameatn(_x_); err != nil { return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["weight"].(float64); !_ok_ { err = errors.New("weight error"); return }; _v.Weight = int32(_tempNum_) }
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["cost"].(map[string]interface{}); !_ok_ { err = errors.New("cost error"); return }; if _v.Cost, err = DeserializeGameatn(_x_); err != nil { return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["type"].(float64); !_ok_ { err = errors.New("type error"); return }; _v.Type = int32(_tempNum_) }
return
}

View File

@ -217,12 +217,15 @@ type Tables struct {
CompositeAll *GameCompositeAll
StoneBoss *GameStoneBoss
VenturegiftsTask *GameVenturegiftsTask
VenturegiftsLottery *GameVenturegiftsLottery
VenturegiftsDraw *GameVenturegiftsDraw
VenturegiftsLogin *GameVenturegiftsLogin
VenturegiftsLvaward *GameVenturegiftsLvaward
FategiftFate *GameFategiftFate
Fategiftreward *GameFategiftreward
Guidance *GameGuidance
ShopCenterControl *GameShopCenterControl
ShopCenterSubmeter *GameShopCenterSubmeter
ShopCenterFund *GameShopCenterFund
}
func NewTables(loader JsonLoader) (*Tables, error) {
@ -1466,12 +1469,6 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.VenturegiftsTask, err = NewGameVenturegiftsTask(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_venturegiftslottery") ; err != nil {
return nil, err
}
if tables.VenturegiftsLottery, err = NewGameVenturegiftsLottery(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_venturegiftsdraw") ; err != nil {
return nil, err
}
@ -1502,5 +1499,29 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.Fategiftreward, err = NewGameFategiftreward(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_guidance") ; err != nil {
return nil, err
}
if tables.Guidance, err = NewGameGuidance(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_shopcentercontrol") ; err != nil {
return nil, err
}
if tables.ShopCenterControl, err = NewGameShopCenterControl(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_shopcentersubmeter") ; err != nil {
return nil, err
}
if tables.ShopCenterSubmeter, err = NewGameShopCenterSubmeter(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_shopcenterfund") ; err != nil {
return nil, err
}
if tables.ShopCenterFund, err = NewGameShopCenterFund(buf) ; err != nil {
return nil, err
}
return tables, nil
}