local RoleBase = require("role.Proto").RoleBase local Attr = require("role.Proto").Attr local HeroInfo = require("hero.Proto").HeroInfo -- 星空争霸查询 ThroneMsg = { {"bodyID", 1, "int"}, -- 王座守护者形象 {"name", 1, "string"}, -- 王者占领者名字 or 虚位以待 {"id", 1, "byte"}, -- 王座ID 1 星空下的王者 2~3 荣耀大宗师 4~6 星辰勇者 {"vestId", 1, "string"}, -- 王座VestID {"chenghaoIcon", 1, "int"}, -- 称号资源 } ThroneMonster = { {"body",1,"int"}, -- 模型 {"camp",1,"byte"}, -- 阵营 {"lv",1,"int"}, -- 等级 } CG_THE_STARS_QUERY = { } GC_THE_STARS_QUERY = { {"throneMsg",6,ThroneMsg}, -- 王座信息 } CG_THE_STARS_THRONE_QUERY = { {"id",1,"byte"}, --王座id {"vestId",1,"string"}, -- 王座VestID } GC_THE_STARS_THRONE_QUERY = { {"roleData", 2, RoleBase}, -- 占有者基础信息 {"isKing", 1, "byte"}, -- 自己是否有王座 0不是自己的王座 1 是自己的王座 {"attrs", 2, Attr}, -- 属性 {"monsterList", 6, ThroneMonster}, -- 怪物形象 {"lv", 1, "int"}, -- 王者守护者等级 {"nowEvolveCnt", 1, "int"}, -- 已进化x次 {"rank", 1, "int"}, -- 竞技场等级 {"needRank", 1, "int"}, -- 需要等级 } -- 星空王座挑战 CG_THE_STARS_CHALLENGE = { {"id",1,"byte"}, -- 王座索引 {"evolveCnt",1,"byte"}, -- 进化次数 {"vestId",1,"string"}, -- 王座id } -- 星空王座回放查询 TheStarsRecordList = { {"atkData", 1, RoleBase}, -- 玩家基础信息 {"formation", 1, "string"}, -- 阵法名 {"heroList", 6, HeroInfo}, -- 上阵英雄列表 {"time", 1, "int"}, -- 挑战时间 {"videoUuid", 1, "string"}, -- 回放索引 {"evolveCnt", 1, "int"}, -- 进化x次 {"result", 1, "byte"}, -- 战斗结果 1 攻方胜 2 守方胜 } CG_THE_STARS_RECORD_QUERY = { {"vestId",1,"string"}, -- 王座VestID } GC_THE_STARS_RECORD_QUERY = { {"recordList",10,TheStarsRecordList}, -- 回放记录列表 }