上传配置

This commit is contained in:
liwei1dao 2024-03-13 10:17:55 +08:00
parent ce0529252c
commit 67b76c3291
20 changed files with 4400 additions and 458 deletions

View File

@ -4364,7 +4364,7 @@
"type_sp": 1,
"tasktxt": {
"key": "buried_buried_condi_tasktxt_125",
"text": "向骇客蛛汇报情况"
"text": "和邦尼兔对话"
},
"type": 61,
"valid": 0,
@ -10598,6 +10598,186 @@
],
"filter2": []
},
{
"id": 14000110,
"refresh": 0,
"rtype": 1,
"ctype": 1,
"notify": [],
"type_sp": 1,
"tasktxt": {
"key": "buried_buried_condi_tasktxt_317",
"text": "向小伊询问情况"
},
"type": 61,
"valid": 0,
"head": {
"a": "attr",
"t": "gold",
"n": 1
},
"Npc_event_type": 1,
"NPC": 11083,
"tipstxt": {
"key": "",
"text": ""
},
"value": 1,
"filter": [
1202001
],
"filter2": []
},
{
"id": 14000120,
"refresh": 0,
"rtype": 1,
"ctype": 1,
"notify": [],
"type_sp": 1,
"tasktxt": {
"key": "buried_buried_condi_tasktxt_318",
"text": "调查异象的原因"
},
"type": 61,
"valid": 0,
"head": {
"a": "attr",
"t": "gold",
"n": 1
},
"Npc_event_type": 1,
"NPC": 11083,
"tipstxt": {
"key": "",
"text": ""
},
"value": 1,
"filter": [
1202006
],
"filter2": []
},
{
"id": 14000130,
"refresh": 0,
"rtype": 1,
"ctype": 1,
"notify": [],
"type_sp": 1,
"tasktxt": {
"key": "buried_buried_condi_tasktxt_319",
"text": "获得净化装置"
},
"type": 61,
"valid": 0,
"head": {
"a": "attr",
"t": "gold",
"n": 1
},
"Npc_event_type": 1,
"NPC": 11083,
"tipstxt": {
"key": "",
"text": ""
},
"value": 1,
"filter": [
1202010
],
"filter2": []
},
{
"id": 14000140,
"refresh": 0,
"rtype": 1,
"ctype": 1,
"notify": [],
"type_sp": 1,
"tasktxt": {
"key": "buried_buried_condi_tasktxt_320",
"text": "前往异化源头"
},
"type": 61,
"valid": 0,
"head": {
"a": "attr",
"t": "gold",
"n": 1
},
"Npc_event_type": 1,
"NPC": 11083,
"tipstxt": {
"key": "",
"text": ""
},
"value": 1,
"filter": [
1202011
],
"filter2": []
},
{
"id": 14000150,
"refresh": 0,
"rtype": 1,
"ctype": 1,
"notify": [],
"type_sp": 1,
"tasktxt": {
"key": "buried_buried_condi_tasktxt_321",
"text": "击败巨型猩猩怪"
},
"type": 61,
"valid": 0,
"head": {
"a": "attr",
"t": "gold",
"n": 1
},
"Npc_event_type": 1,
"NPC": 11083,
"tipstxt": {
"key": "",
"text": ""
},
"value": 1,
"filter": [
1202013
],
"filter2": []
},
{
"id": 14000160,
"refresh": 0,
"rtype": 1,
"ctype": 1,
"notify": [],
"type_sp": 1,
"tasktxt": {
"key": "buried_buried_condi_tasktxt_322",
"text": "和盖聊一聊"
},
"type": 61,
"valid": 0,
"head": {
"a": "attr",
"t": "gold",
"n": 1
},
"Npc_event_type": 1,
"NPC": 11083,
"tipstxt": {
"key": "",
"text": ""
},
"value": 1,
"filter": [
1202015
],
"filter2": []
},
{
"id": 15000001,
"refresh": 0,
@ -10606,7 +10786,7 @@
"notify": [],
"type_sp": 1,
"tasktxt": {
"key": "buried_buried_condi_tasktxt_317",
"key": "buried_buried_condi_tasktxt_323",
"text": "前往功夫熊猫城市"
},
"type": 212,
@ -10636,7 +10816,7 @@
"notify": [],
"type_sp": 1,
"tasktxt": {
"key": "buried_buried_condi_tasktxt_318",
"key": "buried_buried_condi_tasktxt_324",
"text": "购买超级芯片"
},
"type": 209,

View File

@ -1,74 +1,99 @@
[
{
"id": 1,
"weaponid": "100001",
"weaponid": "14003501",
"rank": 1,
"lvmax": 10,
"cost": []
"cost": [
{
"a": "attr",
"t": "gold",
"n": 13000
},
{
"a": "item",
"t": "13000001",
"n": 100
}
]
},
{
"id": 2,
"weaponid": "100001",
"weaponid": "14003501",
"rank": 2,
"lvmax": 20,
"cost": [
{
"a": "attr",
"t": "gold",
"n": 13000
"n": 14000
},
{
"a": "item",
"t": "13000001",
"n": 200
}
]
},
{
"id": 3,
"weaponid": "100001",
"weaponid": "14003501",
"rank": 3,
"lvmax": 30,
"cost": [
{
"a": "attr",
"t": "gold",
"n": 14000
"n": 15000
},
{
"a": "item",
"t": "13000001",
"n": 300
}
]
},
{
"id": 4,
"weaponid": "100001",
"weaponid": "14003501",
"rank": 4,
"lvmax": 40,
"cost": [
{
"a": "attr",
"t": "gold",
"n": 15000
"n": 16000
},
{
"a": "item",
"t": "13000001",
"n": 400
}
]
},
{
"id": 5,
"weaponid": "100001",
"weaponid": "14003501",
"rank": 5,
"lvmax": 50,
"cost": [
{
"a": "attr",
"t": "gold",
"n": 16000
"n": 17000
},
{
"a": "item",
"t": "13000001",
"n": 500
}
]
},
{
"id": 6,
"weaponid": "100001",
"weaponid": "14003501",
"rank": 6,
"lvmax": 60,
"cost": [
{
"a": "attr",
"t": "gold",
"n": 17000
}
]
"cost": []
}
]

View File

@ -1,42 +1,42 @@
[
{
"id": 1,
"weaponid": "100001",
"weaponid": "14003501",
"star": 1,
"commonskill": 10001,
"exclusiveskill": 20001,
"commonskill": 913002431,
"exclusiveskill": 913003433,
"cost1": []
},
{
"id": 2,
"weaponid": "100001",
"weaponid": "14003501",
"star": 2,
"commonskill": 10002,
"exclusiveskill": 20002,
"commonskill": 913002431,
"exclusiveskill": 913003433,
"cost1": []
},
{
"id": 3,
"weaponid": "100001",
"weaponid": "14003501",
"star": 3,
"commonskill": 10003,
"exclusiveskill": 20003,
"commonskill": 913002431,
"exclusiveskill": 913003433,
"cost1": []
},
{
"id": 4,
"weaponid": "100001",
"weaponid": "14003501",
"star": 4,
"commonskill": 10004,
"exclusiveskill": 20004,
"commonskill": 913002431,
"exclusiveskill": 913003433,
"cost1": []
},
{
"id": 5,
"weaponid": "100001",
"weaponid": "14003501",
"star": 5,
"commonskill": 10005,
"exclusiveskill": 20005,
"commonskill": 913002431,
"exclusiveskill": 913003433,
"cost1": []
}
]

File diff suppressed because it is too large Load Diff

View File

@ -1,13 +1,13 @@
[
{
"weaponid": "100001",
"heroid": 25001,
"weaponid": "14003501",
"heroid": 14003,
"name": {
"key": "text01",
"text": "阿宝专武"
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text01",
"text": "北风之斧"
},
"color": 5,
"icon": "img",
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
@ -18,133 +18,623 @@
"n": 1000
}
],
"commonskill": 25000001,
"exclusiveskill": 35000001
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "100002",
"heroid": 25002,
"weaponid": "15001501",
"heroid": 15001,
"name": {
"key": "text02",
"text": "邦尼兔专武"
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text02",
"text": "守卫者之剑"
},
"color": 4,
"icon": "img",
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 60
"n": 100
},
{
"a": 59,
"n": 800
"a": 53,
"n": 1000
}
],
"commonskill": 25000002,
"exclusiveskill": 35000002
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "100003",
"weaponid": "15002501",
"heroid": 15002,
"name": {
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text03",
"text": "海洋征服者之锚"
},
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "15003501",
"heroid": 15003,
"name": {
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text04",
"text": "火龙息长矛"
},
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "15004501",
"heroid": 15004,
"name": {
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text05",
"text": "和平射线枪"
},
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "24003501",
"heroid": 24003,
"name": {
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text06",
"text": "梦境之尘魔杖"
},
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "25002501",
"heroid": 25002,
"name": {
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text07",
"text": "暗影潜行匕首"
},
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "25003501",
"heroid": 25003,
"name": {
"key": "text03",
"text": ""
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text08",
"text": "绒云杖"
},
"color": 0,
"icon": "",
"attribute": [],
"commonskill": 0,
"exclusiveskill": 0
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "100004",
"weaponid": "25004501",
"heroid": 25004,
"name": {
"key": "text04",
"text": ""
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text09",
"text": "快乐颂歌之弓"
},
"color": 0,
"icon": "",
"attribute": [],
"commonskill": 0,
"exclusiveskill": 0
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "100005",
"heroid": 25005,
"weaponid": "34006501",
"heroid": 34006,
"name": {
"key": "text05",
"text": ""
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text10",
"text": "冰晶节杖"
},
"color": 0,
"icon": "",
"attribute": [],
"commonskill": 0,
"exclusiveskill": 0
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "100006",
"heroid": 25006,
"weaponid": "34007501",
"heroid": 34007,
"name": {
"key": "text06",
"text": ""
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text11",
"text": "勇敢者之剑"
},
"color": 0,
"icon": "",
"attribute": [],
"commonskill": 0,
"exclusiveskill": 0
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "100007",
"heroid": 25007,
"weaponid": "35001501",
"heroid": 35001,
"name": {
"key": "text07",
"text": ""
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text12",
"text": "无影爪"
},
"color": 0,
"icon": "",
"attribute": [],
"commonskill": 0,
"exclusiveskill": 0
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "100008",
"heroid": 25008,
"weaponid": "35002501",
"heroid": 35002,
"name": {
"key": "text08",
"text": ""
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text13",
"text": "机械龙翼之弓"
},
"color": 0,
"icon": "",
"attribute": [],
"commonskill": 0,
"exclusiveskill": 0
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "100009",
"heroid": 25009,
"weaponid": "35003501",
"heroid": 35003,
"name": {
"key": "text09",
"text": ""
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text14",
"text": "恐惧之矛"
},
"color": 0,
"icon": "",
"attribute": [],
"commonskill": 0,
"exclusiveskill": 0
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "100010",
"heroid": 25010,
"weaponid": "35004501",
"heroid": 35004,
"name": {
"key": "text10",
"text": ""
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text15",
"text": "狡猾之刃"
},
"color": 0,
"icon": "",
"attribute": [],
"commonskill": 0,
"exclusiveskill": 0
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "35005501",
"heroid": 35005,
"name": {
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text16",
"text": "西部荣耀之枪"
},
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "44002501",
"heroid": 44002,
"name": {
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text17",
"text": "欺诈者之舌"
},
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "45001501",
"heroid": 45001,
"name": {
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text18",
"text": "时间漩涡杖"
},
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "45002501",
"heroid": 45002,
"name": {
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text19",
"text": "魔法无界书"
},
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "45003501",
"heroid": 45003,
"name": {
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text20",
"text": "生存智者之棍"
},
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "45004501",
"heroid": 45004,
"name": {
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text21",
"text": "战斗剑客之剑"
},
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "44005501",
"heroid": 44005,
"name": {
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text22",
"text": "石器时代之锤"
},
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "15005501",
"heroid": 15005,
"name": {
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text23",
"text": "荣耀之咆哮"
},
"color": 5,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 100
},
{
"a": 53,
"n": 1000
}
],
"commonskill": 913002431,
"exclusiveskill": 913003433
},
{
"weaponid": "43002401",
"heroid": 43002,
"name": {
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text24",
"text": "果冻爆炸瓶"
},
"color": 4,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 50
},
{
"a": 53,
"n": 500
}
],
"commonskill": 813004421,
"exclusiveskill": 813005423
},
{
"weaponid": "43007401",
"heroid": 43007,
"name": {
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text25",
"text": "锻造大师之锤"
},
"color": 4,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 50
},
{
"a": 53,
"n": 500
}
],
"commonskill": 813004421,
"exclusiveskill": 813005423
},
{
"weaponid": "44001401",
"heroid": 44001,
"name": {
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text26",
"text": "智慧光线枪"
},
"color": 4,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 50
},
{
"a": 53,
"n": 500
}
],
"commonskill": 813004421,
"exclusiveskill": 813005423
},
{
"weaponid": "44003401",
"heroid": 44003,
"name": {
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text27",
"text": "诚实之剑"
},
"color": 4,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 50
},
{
"a": 53,
"n": 500
}
],
"commonskill": 813004421,
"exclusiveskill": 813005423
},
{
"weaponid": "44004401",
"heroid": 44004,
"name": {
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text28",
"text": "网络破译者"
},
"color": 4,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 50
},
{
"a": 53,
"n": 500
}
],
"commonskill": 813004421,
"exclusiveskill": 813005423
},
{
"weaponid": "44006401",
"heroid": 44006,
"name": {
"key": "ExclusiveWeapon_ExclusiveWeapon_name_text29",
"text": "虎影双刃"
},
"color": 4,
"icon": "tz_icon_em",
"attribute": [
{
"a": 56,
"n": 50
},
{
"a": 53,
"n": 500
}
],
"commonskill": 813004421,
"exclusiveskill": 813005423
}
]

View File

@ -137,6 +137,52 @@
"bosspng": "zxgq_boss_001",
"image": "zx_cjsp_img_44005"
},
{
"id": 12003,
"type": 1,
"reward": {
"a": "item",
"t": "10000001",
"n": 3
},
"describe": {
"key": "mainchapter_main_chapter_describe_13",
"text": "通关获得奖励。"
},
"achunlock": 11001001,
"venturecurrency": [
{
"a": "item",
"t": "24041001",
"n": 1
}
],
"name": {
"key": "mainchapter_main_chapter_name_15",
"text": "坏蛋艺术家"
},
"worldname": {
"key": "mainchapter_main_chapter_worldname_14",
"text": "罪恶都市"
},
"map": "scenes_chapter_03_spur",
"title": {
"key": "mainchapter_main_chapter_title_13",
"text": "01"
},
"desc": {
"key": "mainchapter_main_chapter_desc_13",
"text": "可是在一场特殊的比武大会上胜出的人要代表“和平谷”将邪恶的大龙永久地驱除出去,啥都不会的阿宝却在经历了一系列阴差阳错之后屏雀中选,让所有人都大跌眼镜。"
},
"starreward": 14001,
"exploreward": 14001,
"bosspro": 0,
"models": [
25001
],
"bosspng": "zxgq_boss_001",
"image": "zx_cjsp_img_44005"
},
{
"id": 11002,
"type": 0,

File diff suppressed because it is too large Load Diff

View File

@ -4510,7 +4510,7 @@
"captainId": 0,
"IsBoss": false,
"bossHpCnt": 0,
"heroid": 24002,
"heroid": 51050,
"star": 3,
"equip": [],
"newskill": [],
@ -4635,7 +4635,7 @@
"captainId": 0,
"IsBoss": false,
"bossHpCnt": 0,
"heroid": 15004,
"heroid": 51050,
"star": 3,
"equip": [],
"newskill": [],
@ -4760,7 +4760,7 @@
"captainId": 0,
"IsBoss": false,
"bossHpCnt": 0,
"heroid": 14005,
"heroid": 51004,
"star": 3,
"equip": [],
"newskill": [],
@ -4885,7 +4885,7 @@
"captainId": 0,
"IsBoss": false,
"bossHpCnt": 0,
"heroid": 44002,
"heroid": 51054,
"star": 3,
"equip": [],
"newskill": [],
@ -5010,7 +5010,7 @@
"captainId": 0,
"IsBoss": false,
"bossHpCnt": 0,
"heroid": 33005,
"heroid": 51002,
"star": 3,
"equip": [],
"newskill": [],

View File

@ -1610,7 +1610,7 @@
},
{
"id": 101161,
"heroid": 44004,
"heroid": 43007,
"Levelid": 0,
"datas": [
"GameMain",
@ -1625,7 +1625,7 @@
},
{
"id": 101168,
"heroid": 44004,
"heroid": 43007,
"Levelid": 0,
"datas": [
"GameMain",
@ -1640,7 +1640,7 @@
},
{
"id": 101171,
"heroid": 44004,
"heroid": 43007,
"Levelid": 0,
"datas": [
"GameMain",
@ -1670,7 +1670,7 @@
},
{
"id": 101182,
"heroid": 44004,
"heroid": 24004,
"Levelid": 0,
"datas": [
"CommandScene",

View File

@ -215,6 +215,16 @@
"path": "Root|Hero1|Equip|Strengthen",
"header": ""
},
{
"id": 20700,
"msg_type": 1,
"show_type": 0,
"count_type": 0,
"opencond_id": "",
"opencond": [],
"path": "Root|Hero1|Exclusive",
"header": ""
},
{
"id": 15100,
"msg_type": 0,

View File

@ -588,7 +588,7 @@
{
"id": 801,
"FormatList": [
700011
101511
],
"BattleReadyID": 126,
"EventList": [],
@ -604,7 +604,7 @@
{
"id": 802,
"FormatList": [
101021
101531
],
"BattleReadyID": 126,
"EventList": [],
@ -620,7 +620,7 @@
{
"id": 803,
"FormatList": [
700011
101541
],
"BattleReadyID": 126,
"EventList": [],
@ -636,7 +636,7 @@
{
"id": 804,
"FormatList": [
700038
101511
],
"BattleReadyID": 126,
"EventList": [],

File diff suppressed because it is too large Load Diff

View File

@ -44,7 +44,7 @@ func (this *apiComp) StarUp(session comm.IUserSession, req *pb.ExclusiveStarUpRe
stars += v.Star
}
}
if info != nil {
if info == nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_DBError,
Message: fmt.Sprintf("no found info id:%s", req.Oid),

View File

@ -0,0 +1,32 @@
package realarena
import (
"go_dreamfactory/comm"
"go_dreamfactory/pb"
)
//参数校验
func (this *apiComp) BattleRecordCheck(session comm.IUserSession, req *pb.RealArenaBattleRecordReq) (errdata *pb.ErrorData) {
return
}
///取消匹配
func (this *apiComp) BattleRecord(session comm.IUserSession, req *pb.RealArenaBattleRecordReq) (errdata *pb.ErrorData) {
var (
records []*pb.DBRealArenaRecord
err error
)
if errdata = this.BattleRecordCheck(session, req); errdata != nil {
return
}
if records, err = this.module.modelRecord.getmodel(session); err != nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_DBError,
Message: err.Error(),
}
return
}
session.SendMsg(string(this.module.GetType()), "battlerecord", &pb.RealArenaBattleRecordResp{Records: records})
return
}

View File

@ -30,7 +30,7 @@ func (this *apiComp) Match(session comm.IUserSession, req *pb.RealArenaMatchReq)
User: info.Uinfo,
Dan: 1,
Integral: info.Integral,
Heros: make([]string, 5),
Heros: make([]*pb.HeroBase, 5),
Disable: -1,
Leader: -1,
}); err != nil {

View File

@ -1,11 +1,13 @@
package realarena
import (
"context"
"go_dreamfactory/comm"
"go_dreamfactory/lego/core"
"go_dreamfactory/modules"
"go_dreamfactory/pb"
"go.mongodb.org/mongo-driver/bson"
"go.mongodb.org/mongo-driver/mongo"
"go.mongodb.org/mongo-driver/x/bsonx"
)
@ -13,8 +15,7 @@ import (
// /装备 数据组件
type modelRecordComp struct {
modules.MCompModel
module *RealArena
whichissue *pb.DBRealArenaWhichIssue
module *RealArena
}
// 组件初始化接口
@ -28,3 +29,26 @@ func (this *modelRecordComp) Init(service core.IService, module core.IModule, co
})
return
}
func (this *modelRecordComp) getmodel(session comm.IUserSession) (records []*pb.DBRealArenaRecord, err error) {
var (
c *mongo.Cursor
)
if c, err = this.DBModel.DB.Find(core.SqlTable(this.TableName), bson.M{"$or": bson.M{"reduid": session.GetUserId(), "buleuid": session.GetUserId()}}); err != nil {
return
} else {
for c.Next(context.TODO()) {
temp := &pb.DBRealArenaRecord{}
if err = c.Decode(temp); err != nil {
return
}
records = append(records, temp)
}
}
return
}
func (this *modelRecordComp) addmodel(record *pb.DBRealArenaRecord) (err error) {
_, err = this.DBModel.DB.InsertOne(core.SqlTable(this.TableName), record)
return
}

View File

@ -26,15 +26,16 @@ func NewModule() core.IModule {
type RealArena struct {
modules.ModuleBase
service base.IRPCXService
pvp comm.IPvp
apicomp *apiComp
configure *configureComp
model *modelComp
modelRank *modelRank
match *matchComp
lock sync.RWMutex
rooms map[string]*Room
service base.IRPCXService
pvp comm.IPvp
apicomp *apiComp
configure *configureComp
model *modelComp
modelRank *modelRank
modelRecord *modelRecordComp
match *matchComp
lock sync.RWMutex
rooms map[string]*Room
}
// 模块名
@ -72,6 +73,7 @@ func (this *RealArena) OnInstallComp() {
this.configure = this.RegisterComp(new(configureComp)).(*configureComp)
this.model = this.RegisterComp(new(modelComp)).(*modelComp)
this.modelRank = this.RegisterComp(new(modelRank)).(*modelRank)
this.modelRecord = this.RegisterComp(new(modelRecordComp)).(*modelRecordComp)
this.match = this.RegisterComp(new(matchComp)).(*matchComp)
}

View File

@ -52,10 +52,10 @@ func (this *Room) selectheros(uid string, heros []*pb.HeroBase) (err error) {
for _, v := range this.members {
if v.User.Uid == uid {
v.Heros = make([]string, len(heros))
v.Heros = make([]*pb.HeroBase, len(heros))
for i, hero := range heros {
if hero != nil {
v.Heros[i] = hero.Old
v.Heros[i] = hero
}
}
} else {
@ -101,7 +101,7 @@ func (this *Room) disableheros(uid string, index int32) (err error) {
for _, v := range this.members {
if v.User.Uid != uid {
v.Disable = index
v.Heros[index] = ""
v.Heros[index] = nil
}
if v.Disable == -1 {
finish = false
@ -145,12 +145,24 @@ func (this *Room) selectleader(uid string, index int32) (err error) {
uinfos []*pb.BaseUserInfo = make([]*pb.BaseUserInfo, 0)
formations []*pb.BattleFormation = make([]*pb.BattleFormation, 0)
sessions []comm.IUserSession = make([]comm.IUserSession, 0)
redFormat []string = make([]string, 0)
buleFormat []string = make([]string, 0)
)
uinfos = append(uinfos, this.members[0].User, this.members[1].User)
sessions = append(sessions, this.sessions[0].Clone(), this.sessions[1].Clone())
for _, v := range this.members[0].Heros {
if v != nil {
redFormat = append(redFormat, v.Old)
}
}
for _, v := range this.members[1].Heros {
if v != nil {
redFormat = append(buleFormat, v.Old)
}
}
formations = append(formations,
&pb.BattleFormation{Leadpos: this.members[0].Leader, Format: this.members[0].Heros},
&pb.BattleFormation{Leadpos: this.members[1].Leader, Format: this.members[1].Heros},
&pb.BattleFormation{Leadpos: this.members[0].Leader, Format: redFormat},
&pb.BattleFormation{Leadpos: this.members[1].Leader, Format: buleFormat},
)
err = this.module.pvp.AddAndStartRoom(this.Id, pb.PlayType_realarena, sessions, uinfos, formations)
}
@ -241,7 +253,14 @@ func (this *Room) ChallengeResults(winSide int32) {
Red: this.members[0],
Bule: this.members[1],
})
this.module.modelRecord.addmodel(&pb.DBRealArenaRecord{
Id: this.Id,
Reduid: this.members[0].User.Uid,
Buleuid: this.members[1].User.Uid,
Red: this.members[0],
Bule: this.members[1],
Winside: winSide,
})
}
func (this *Room) PushMessage(stype string, msg proto.Message) {

View File

@ -150,7 +150,7 @@ type DBRealArenaMember struct {
Rank int32 `protobuf:"varint,2,opt,name=rank,proto3" json:"rank"` //排名
Dan int32 `protobuf:"varint,3,opt,name=dan,proto3" json:"dan"` //段位
Integral int32 `protobuf:"varint,4,opt,name=integral,proto3" json:"integral"` //积分
Heros []string `protobuf:"bytes,5,rep,name=heros,proto3" json:"heros"` //队伍
Heros []*HeroBase `protobuf:"bytes,5,rep,name=heros,proto3" json:"heros"` //队伍
Disable int32 `protobuf:"varint,6,opt,name=disable,proto3" json:"disable"` //禁用
Leader int32 `protobuf:"varint,7,opt,name=leader,proto3" json:"leader"` //队长
Addintegral int32 `protobuf:"varint,8,opt,name=addintegral,proto3" json:"addintegral"` //当局获得积分
@ -217,7 +217,7 @@ func (x *DBRealArenaMember) GetIntegral() int32 {
return 0
}
func (x *DBRealArenaMember) GetHeros() []string {
func (x *DBRealArenaMember) GetHeros() []*HeroBase {
if x != nil {
return x.Heros
}
@ -388,6 +388,94 @@ func (x *DBRealArenaWhichIssue) GetCurrendtime() int64 {
return 0
}
//实时竞技场战斗记录
type DBRealArenaRecord struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"`
Reduid string `protobuf:"bytes,2,opt,name=reduid,proto3" json:"reduid"`
Buleuid string `protobuf:"bytes,3,opt,name=buleuid,proto3" json:"buleuid"`
Red *DBRealArenaMember `protobuf:"bytes,4,opt,name=red,proto3" json:"red"`
Bule *DBRealArenaMember `protobuf:"bytes,5,opt,name=bule,proto3" json:"bule"`
Winside int32 `protobuf:"varint,6,opt,name=winside,proto3" json:"winside"`
}
func (x *DBRealArenaRecord) Reset() {
*x = DBRealArenaRecord{}
if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_db_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBRealArenaRecord) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBRealArenaRecord) ProtoMessage() {}
func (x *DBRealArenaRecord) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_db_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DBRealArenaRecord.ProtoReflect.Descriptor instead.
func (*DBRealArenaRecord) Descriptor() ([]byte, []int) {
return file_realarena_realarena_db_proto_rawDescGZIP(), []int{4}
}
func (x *DBRealArenaRecord) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *DBRealArenaRecord) GetReduid() string {
if x != nil {
return x.Reduid
}
return ""
}
func (x *DBRealArenaRecord) GetBuleuid() string {
if x != nil {
return x.Buleuid
}
return ""
}
func (x *DBRealArenaRecord) GetRed() *DBRealArenaMember {
if x != nil {
return x.Red
}
return nil
}
func (x *DBRealArenaRecord) GetBule() *DBRealArenaMember {
if x != nil {
return x.Bule
}
return nil
}
func (x *DBRealArenaRecord) GetWinside() int32 {
if x != nil {
return x.Winside
}
return 0
}
var File_realarena_realarena_db_proto protoreflect.FileDescriptor
var file_realarena_realarena_db_proto_rawDesc = []byte{
@ -415,42 +503,54 @@ var file_realarena_realarena_db_proto_rawDesc = []byte{
0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
0x38, 0x01, 0x22, 0x83, 0x02, 0x0a, 0x11, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65,
0x38, 0x01, 0x22, 0x8e, 0x02, 0x0a, 0x11, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65,
0x6e, 0x61, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x55, 0x73, 0x65,
0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x72,
0x61, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x72, 0x61, 0x6e, 0x6b, 0x12,
0x10, 0x0a, 0x03, 0x64, 0x61, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x64, 0x61,
0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x04, 0x20,
0x01, 0x28, 0x05, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x14, 0x0a,
0x05, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x68, 0x65,
0x72, 0x6f, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06,
0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a,
0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6c,
0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x74, 0x65,
0x67, 0x72, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x64, 0x64, 0x69,
0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64,
0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e,
0x6f, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x22, 0x91, 0x01, 0x0a, 0x0f, 0x44, 0x42, 0x52,
0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x52, 0x61, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02,
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b,
0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x24,
0x0a, 0x03, 0x72, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42,
0x01, 0x28, 0x05, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x1f, 0x0a,
0x05, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x48,
0x65, 0x72, 0x6f, 0x42, 0x61, 0x73, 0x65, 0x52, 0x05, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x12, 0x18,
0x0a, 0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52,
0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x61, 0x64,
0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72,
0x12, 0x20, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18,
0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72,
0x61, 0x6c, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x09, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x05, 0x61, 0x77,
0x61, 0x72, 0x64, 0x22, 0x91, 0x01, 0x0a, 0x0f, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72,
0x65, 0x6e, 0x61, 0x52, 0x61, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69,
0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65,
0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x03, 0x72, 0x65, 0x64,
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41,
0x72, 0x65, 0x6e, 0x61, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x03, 0x72, 0x65, 0x64, 0x12,
0x26, 0x0a, 0x04, 0x62, 0x75, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,
0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x65, 0x6d, 0x62, 0x65,
0x72, 0x52, 0x04, 0x62, 0x75, 0x6c, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x15, 0x44, 0x42, 0x52, 0x65,
0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x57, 0x68, 0x69, 0x63, 0x68, 0x49, 0x73, 0x73, 0x75,
0x65, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x77, 0x68, 0x69, 0x63, 0x68, 0x69, 0x73,
0x73, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x77,
0x68, 0x69, 0x63, 0x68, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x75, 0x72,
0x72, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
0x0c, 0x63, 0x75, 0x72, 0x72, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a,
0x0b, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
0x28, 0x03, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x22,
0xbd, 0x01, 0x0a, 0x11, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x52,
0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x64, 0x75, 0x69, 0x64, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x64, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a,
0x07, 0x62, 0x75, 0x6c, 0x65, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x62, 0x75, 0x6c, 0x65, 0x75, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x03, 0x72, 0x65, 0x64, 0x18, 0x04,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65,
0x6e, 0x61, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x03, 0x72, 0x65, 0x64, 0x12, 0x26, 0x0a,
0x04, 0x62, 0x75, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42,
0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52,
0x03, 0x72, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x04, 0x62, 0x75, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61,
0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x04, 0x62, 0x75, 0x6c, 0x65, 0x22, 0x85, 0x01, 0x0a,
0x15, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x57, 0x68, 0x69, 0x63,
0x68, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x77, 0x68,
0x69, 0x63, 0x68, 0x69, 0x73, 0x73, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e,
0x63, 0x75, 0x72, 0x72, 0x77, 0x68, 0x69, 0x63, 0x68, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x22,
0x0a, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02,
0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x69,
0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x64, 0x74, 0x69, 0x6d,
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x64,
0x74, 0x69, 0x6d, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
0x04, 0x62, 0x75, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x69, 0x6e, 0x73, 0x69, 0x64, 0x65,
0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x77, 0x69, 0x6e, 0x73, 0x69, 0x64, 0x65, 0x42,
0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@ -465,28 +565,33 @@ func file_realarena_realarena_db_proto_rawDescGZIP() []byte {
return file_realarena_realarena_db_proto_rawDescData
}
var file_realarena_realarena_db_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_realarena_realarena_db_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_realarena_realarena_db_proto_goTypes = []interface{}{
(*DBRealArena)(nil), // 0: DBRealArena
(*DBRealArenaMember)(nil), // 1: DBRealArenaMember
(*DBRealArenaRace)(nil), // 2: DBRealArenaRace
(*DBRealArenaWhichIssue)(nil), // 3: DBRealArenaWhichIssue
nil, // 4: DBRealArena.DanawardEntry
(*BaseUserInfo)(nil), // 5: BaseUserInfo
(*UserAtno)(nil), // 6: UserAtno
(*DBRealArenaRecord)(nil), // 4: DBRealArenaRecord
nil, // 5: DBRealArena.DanawardEntry
(*BaseUserInfo)(nil), // 6: BaseUserInfo
(*HeroBase)(nil), // 7: HeroBase
(*UserAtno)(nil), // 8: UserAtno
}
var file_realarena_realarena_db_proto_depIdxs = []int32{
5, // 0: DBRealArena.uinfo:type_name -> BaseUserInfo
4, // 1: DBRealArena.danaward:type_name -> DBRealArena.DanawardEntry
5, // 2: DBRealArenaMember.user:type_name -> BaseUserInfo
6, // 3: DBRealArenaMember.award:type_name -> UserAtno
1, // 4: DBRealArenaRace.red:type_name -> DBRealArenaMember
1, // 5: DBRealArenaRace.bule:type_name -> DBRealArenaMember
6, // [6:6] is the sub-list for method output_type
6, // [6:6] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name
6, // [6:6] is the sub-list for extension extendee
0, // [0:6] is the sub-list for field type_name
6, // 0: DBRealArena.uinfo:type_name -> BaseUserInfo
5, // 1: DBRealArena.danaward:type_name -> DBRealArena.DanawardEntry
6, // 2: DBRealArenaMember.user:type_name -> BaseUserInfo
7, // 3: DBRealArenaMember.heros:type_name -> HeroBase
8, // 4: DBRealArenaMember.award:type_name -> UserAtno
1, // 5: DBRealArenaRace.red:type_name -> DBRealArenaMember
1, // 6: DBRealArenaRace.bule:type_name -> DBRealArenaMember
1, // 7: DBRealArenaRecord.red:type_name -> DBRealArenaMember
1, // 8: DBRealArenaRecord.bule:type_name -> DBRealArenaMember
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_realarena_realarena_db_proto_init() }
@ -544,6 +649,18 @@ func file_realarena_realarena_db_proto_init() {
return nil
}
}
file_realarena_realarena_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBRealArenaRecord); 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{
@ -551,7 +668,7 @@ func file_realarena_realarena_db_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_realarena_realarena_db_proto_rawDesc,
NumEnums: 0,
NumMessages: 5,
NumMessages: 6,
NumExtensions: 0,
NumServices: 0,
},

View File

@ -1186,6 +1186,91 @@ func (*RealArenaBattleExitResp) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{23}
}
type RealArenaBattleRecordReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *RealArenaBattleRecordReq) Reset() {
*x = RealArenaBattleRecordReq{}
if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_msg_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RealArenaBattleRecordReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RealArenaBattleRecordReq) ProtoMessage() {}
func (x *RealArenaBattleRecordReq) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_msg_proto_msgTypes[24]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RealArenaBattleRecordReq.ProtoReflect.Descriptor instead.
func (*RealArenaBattleRecordReq) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{24}
}
type RealArenaBattleRecordResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Records []*DBRealArenaRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records"`
}
func (x *RealArenaBattleRecordResp) Reset() {
*x = RealArenaBattleRecordResp{}
if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_msg_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RealArenaBattleRecordResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RealArenaBattleRecordResp) ProtoMessage() {}
func (x *RealArenaBattleRecordResp) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_msg_proto_msgTypes[25]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RealArenaBattleRecordResp.ProtoReflect.Descriptor instead.
func (*RealArenaBattleRecordResp) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{25}
}
func (x *RealArenaBattleRecordResp) GetRecords() []*DBRealArenaRecord {
if x != nil {
return x.Records
}
return nil
}
//服务内部协议-------------------------------------------------------------
//实时竞技场离线委托通知
type RPC_RealArenaTrusteeshipReq struct {
@ -1200,7 +1285,7 @@ type RPC_RealArenaTrusteeshipReq struct {
func (x *RPC_RealArenaTrusteeshipReq) Reset() {
*x = RPC_RealArenaTrusteeshipReq{}
if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_msg_proto_msgTypes[24]
mi := &file_realarena_realarena_msg_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1213,7 +1298,7 @@ func (x *RPC_RealArenaTrusteeshipReq) String() string {
func (*RPC_RealArenaTrusteeshipReq) ProtoMessage() {}
func (x *RPC_RealArenaTrusteeshipReq) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_msg_proto_msgTypes[24]
mi := &file_realarena_realarena_msg_proto_msgTypes[26]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1226,7 +1311,7 @@ func (x *RPC_RealArenaTrusteeshipReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use RPC_RealArenaTrusteeshipReq.ProtoReflect.Descriptor instead.
func (*RPC_RealArenaTrusteeshipReq) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{24}
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{26}
}
func (x *RPC_RealArenaTrusteeshipReq) GetRoomId() string {
@ -1252,7 +1337,7 @@ type RPC_RealArenaTrusteeshipResp struct {
func (x *RPC_RealArenaTrusteeshipResp) Reset() {
*x = RPC_RealArenaTrusteeshipResp{}
if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_msg_proto_msgTypes[25]
mi := &file_realarena_realarena_msg_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -1265,7 +1350,7 @@ func (x *RPC_RealArenaTrusteeshipResp) String() string {
func (*RPC_RealArenaTrusteeshipResp) ProtoMessage() {}
func (x *RPC_RealArenaTrusteeshipResp) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_msg_proto_msgTypes[25]
mi := &file_realarena_realarena_msg_proto_msgTypes[27]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -1278,7 +1363,7 @@ func (x *RPC_RealArenaTrusteeshipResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use RPC_RealArenaTrusteeshipResp.ProtoReflect.Descriptor instead.
func (*RPC_RealArenaTrusteeshipResp) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{25}
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{27}
}
var File_realarena_realarena_msg_proto protoreflect.FileDescriptor
@ -1375,15 +1460,22 @@ var file_realarena_realarena_msg_proto_rawDesc = []byte{
0x74, 0x74, 0x6c, 0x65, 0x45, 0x78, 0x69, 0x74, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x72,
0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f,
0x6d, 0x69, 0x64, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61,
0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x45, 0x78, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x22, 0x4d,
0x0a, 0x1b, 0x52, 0x50, 0x43, 0x5f, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x54,
0x72, 0x75, 0x73, 0x74, 0x65, 0x65, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a,
0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x52,
0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x4f, 0x66, 0x66, 0x55, 0x69, 0x64, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4f, 0x66, 0x66, 0x55, 0x69, 0x64, 0x22, 0x1e, 0x0a,
0x1c, 0x52, 0x50, 0x43, 0x5f, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x54, 0x72,
0x75, 0x73, 0x74, 0x65, 0x65, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a,
0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x45, 0x78, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x22, 0x1a,
0x0a, 0x18, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x42, 0x61, 0x74, 0x74, 0x6c,
0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x22, 0x49, 0x0a, 0x19, 0x52, 0x65,
0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x63,
0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2c, 0x0a, 0x07, 0x72, 0x65, 0x63, 0x6f, 0x72,
0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, 0x52, 0x65, 0x61,
0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x07, 0x72, 0x65,
0x63, 0x6f, 0x72, 0x64, 0x73, 0x22, 0x4d, 0x0a, 0x1b, 0x52, 0x50, 0x43, 0x5f, 0x52, 0x65, 0x61,
0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x65, 0x73, 0x68, 0x69,
0x70, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06,
0x4f, 0x66, 0x66, 0x55, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4f, 0x66,
0x66, 0x55, 0x69, 0x64, 0x22, 0x1e, 0x0a, 0x1c, 0x52, 0x50, 0x43, 0x5f, 0x52, 0x65, 0x61, 0x6c,
0x41, 0x72, 0x65, 0x6e, 0x61, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x65, 0x73, 0x68, 0x69, 0x70,
0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
var (
@ -1398,7 +1490,7 @@ func file_realarena_realarena_msg_proto_rawDescGZIP() []byte {
return file_realarena_realarena_msg_proto_rawDescData
}
var file_realarena_realarena_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
var file_realarena_realarena_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 28)
var file_realarena_realarena_msg_proto_goTypes = []interface{}{
(*RealArenaInfoReq)(nil), // 0: RealArenaInfoReq
(*RealArenaInfoResp)(nil), // 1: RealArenaInfoResp
@ -1424,26 +1516,30 @@ var file_realarena_realarena_msg_proto_goTypes = []interface{}{
(*RealArenaBattleFinishPush)(nil), // 21: RealArenaBattleFinishPush
(*RealArenaBattleExitReq)(nil), // 22: RealArenaBattleExitReq
(*RealArenaBattleExitResp)(nil), // 23: RealArenaBattleExitResp
(*RPC_RealArenaTrusteeshipReq)(nil), // 24: RPC_RealArenaTrusteeshipReq
(*RPC_RealArenaTrusteeshipResp)(nil), // 25: RPC_RealArenaTrusteeshipResp
(*DBRealArena)(nil), // 26: DBRealArena
(*DBRealArenaRace)(nil), // 27: DBRealArenaRace
(*HeroBase)(nil), // 28: HeroBase
(*DBRealArenaMember)(nil), // 29: DBRealArenaMember
(*RealArenaBattleRecordReq)(nil), // 24: RealArenaBattleRecordReq
(*RealArenaBattleRecordResp)(nil), // 25: RealArenaBattleRecordResp
(*RPC_RealArenaTrusteeshipReq)(nil), // 26: RPC_RealArenaTrusteeshipReq
(*RPC_RealArenaTrusteeshipResp)(nil), // 27: RPC_RealArenaTrusteeshipResp
(*DBRealArena)(nil), // 28: DBRealArena
(*DBRealArenaRace)(nil), // 29: DBRealArenaRace
(*HeroBase)(nil), // 30: HeroBase
(*DBRealArenaMember)(nil), // 31: DBRealArenaMember
(*DBRealArenaRecord)(nil), // 32: DBRealArenaRecord
}
var file_realarena_realarena_msg_proto_depIdxs = []int32{
26, // 0: RealArenaInfoResp.info:type_name -> DBRealArena
26, // 1: RealArenaRankResp.rank:type_name -> DBRealArena
27, // 2: RealArenaMatchSuccPush.race:type_name -> DBRealArenaRace
28, // 3: RealArenaSelectTeamHeroReq.heros:type_name -> HeroBase
28, // 4: RealArenaSelectHeroPush.heros:type_name -> HeroBase
29, // 5: RealArenaBattleFinishPush.red:type_name -> DBRealArenaMember
29, // 6: RealArenaBattleFinishPush.bule:type_name -> DBRealArenaMember
7, // [7:7] is the sub-list for method output_type
7, // [7:7] is the sub-list for method input_type
7, // [7:7] is the sub-list for extension type_name
7, // [7:7] is the sub-list for extension extendee
0, // [0:7] is the sub-list for field type_name
28, // 0: RealArenaInfoResp.info:type_name -> DBRealArena
28, // 1: RealArenaRankResp.rank:type_name -> DBRealArena
29, // 2: RealArenaMatchSuccPush.race:type_name -> DBRealArenaRace
30, // 3: RealArenaSelectTeamHeroReq.heros:type_name -> HeroBase
30, // 4: RealArenaSelectHeroPush.heros:type_name -> HeroBase
31, // 5: RealArenaBattleFinishPush.red:type_name -> DBRealArenaMember
31, // 6: RealArenaBattleFinishPush.bule:type_name -> DBRealArenaMember
32, // 7: RealArenaBattleRecordResp.records:type_name -> DBRealArenaRecord
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
}
func init() { file_realarena_realarena_msg_proto_init() }
@ -1743,7 +1839,7 @@ func file_realarena_realarena_msg_proto_init() {
}
}
file_realarena_realarena_msg_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RPC_RealArenaTrusteeshipReq); i {
switch v := v.(*RealArenaBattleRecordReq); i {
case 0:
return &v.state
case 1:
@ -1755,6 +1851,30 @@ func file_realarena_realarena_msg_proto_init() {
}
}
file_realarena_realarena_msg_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RealArenaBattleRecordResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_realarena_realarena_msg_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RPC_RealArenaTrusteeshipReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_realarena_realarena_msg_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RPC_RealArenaTrusteeshipResp); i {
case 0:
return &v.state
@ -1773,7 +1893,7 @@ func file_realarena_realarena_msg_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_realarena_realarena_msg_proto_rawDesc,
NumEnums: 0,
NumMessages: 26,
NumMessages: 28,
NumExtensions: 0,
NumServices: 0,
},