gitxsm 5 месяцев назад
Родитель
Сommit
aba2339070
1 измененных файлов с 144 добавлено и 59 удалено
  1. 144 59
      script/common/InnerProto.lua

+ 144 - 59
script/common/InnerProto.lua

@@ -965,71 +965,154 @@ WL_AREABATTLE_VIDEOSHOW_QUERY = {
 
 --------------------- 巅峰战场跨服协议开始 -----------------------------------
 -- 普通服请求跨服排名数据(普通->中心)
-LW_PEAK_BATTLEFIELD_QUERY_RANK_O2C = {
-  {"nSrcServerID",          "int"},       -- 服务器ID
-  {"nRankType",             "int"},       -- 排名类型(1=个人排名,2=服务器排名)
-}
+-- LW_PEAK_BATTLEFIELD_QUERY_RANK_O2C = {
+--   {"nSrcServerID",          "int"},       -- 服务器ID
+--   {"nRankType",             "int"},       -- 排名类型(1=个人排名,2=服务器排名)
+-- }
 
--- 请求跨服排名数据(中心->数据服)
-WL_PEAK_BATTLEFIELD_QUERY_RANK_C2D = {
-  {"nSrcServerID",          "int"},       -- 服务器ID
-  {"nRankType",             "int"},       -- 排名类型
-}
+-- -- 请求跨服排名数据(中心->数据服)
+-- WL_PEAK_BATTLEFIELD_QUERY_RANK_C2D = {
+--   {"nSrcServerID",          "int"},       -- 服务器ID
+--   {"nRankType",             "int"},       -- 排名类型
+-- }
 
--- 请求跨服排名数据(数据服->中心)
-LW_PEAK_BATTLEFIELD_QUERY_RANK_D2C = {
-  {"nSrcServerID",          "int"},       -- 服务器ID
-  {"nRankType",             "int"},       -- 排名类型
-  {"nIsEnd",                "int"},       -- 是否发送完成 0 未 1 发送完
-  {"tRankInfo",             "table"},     -- 排行榜数据
-  {"nFirst",                "int"},       -- 首次发送 1 是 0 否
-}
+-- -- 请求跨服排名数据(数据服->中心)
+-- LW_PEAK_BATTLEFIELD_QUERY_RANK_D2C = {
+--   {"nSrcServerID",          "int"},       -- 服务器ID
+--   {"nRankType",             "int"},       -- 排名类型
+--   {"nIsEnd",                "int"},       -- 是否发送完成 0 未 1 发送完
+--   {"tRankInfo",             "table"},     -- 排行榜数据
+--   {"nFirst",                "int"},       -- 首次发送 1 是 0 否
+-- }
 
--- 获取到跨服排名数据(中心->普通)
-WL_PEAK_BATTLEFIELD_QUERY_RANK_C2O = {
-  {"nFirst",                "int"},       -- 首次发送 1 是 0 否
-  {"nIsEnd",                "int"},       -- 是否发送完成 0 未 1 发送完
-  {"tRankInfo",             "table"},     -- 排行榜数据
-}
+-- -- 获取到跨服排名数据(中心->普通)
+-- WL_PEAK_BATTLEFIELD_QUERY_RANK_C2O = {
+--   {"nFirst",                "int"},       -- 首次发送 1 是 0 否
+--   {"nIsEnd",                "int"},       -- 是否发送完成 0 未 1 发送完
+--   {"tRankInfo",             "table"},     -- 排行榜数据
+-- }
 
--- 普通服通知排名变化(普通->中心)
-LW_PEAK_BATTLEFIELD_RANK_CHANGE_O2C = {
-  {"uuid",                  "string"},    -- 玩家uuid
-  {"name",                  "string"},    -- 玩家名字
-  {"head",                  "int"},       -- 玩家头像ID
-  {"headFrame",             "int"},       -- 玩家头像框
-  {"nSrcServerID",          "int"},       -- 服务器ID
-  {"nRank",                 "int"},       -- 当前排名
-  {"nValue",                "int"},       -- 排名值(如积分等)
-  {"servername",            "string"},    -- 服务器名称
-}
+-- -- 普通服通知排名变化(普通->中心)
+-- LW_PEAK_BATTLEFIELD_RANK_CHANGE_O2C = {
+--   {"uuid",                  "string"},    -- 玩家uuid
+--   {"name",                  "string"},    -- 玩家名字
+--   {"head",                  "int"},       -- 玩家头像ID
+--   {"headFrame",             "int"},       -- 玩家头像框
+--   {"nSrcServerID",          "int"},       -- 服务器ID
+--   {"nRank",                 "int"},       -- 当前排名
+--   {"nValue",                "int"},       -- 排名值(如积分等)
+--   {"servername",            "string"},    -- 服务器名称
+-- }
 
--- 排名变化通知(中心->数据服)
-WL_PEAK_BATTLEFIELD_RANK_CHANGE_C2D = {
-  {"uuid",                  "string"},    -- 玩家uuid
-  {"name",                  "string"},    -- 玩家名字
-  {"head",                  "int"},       -- 玩家头像ID
-  {"headFrame",             "int"},       -- 玩家头像框
-  {"nSrcServerID",          "int"},       -- 服务器ID
-  {"nRank",                 "int"},       -- 当前排名
-  {"nValue",                "int"},       -- 排名值
-  {"servername",            "string"},    -- 服务器名称
-}
+-- -- 排名变化通知(中心->数据服)
+-- WL_PEAK_BATTLEFIELD_RANK_CHANGE_C2D = {
+--   {"uuid",                  "string"},    -- 玩家uuid
+--   {"name",                  "string"},    -- 玩家名字
+--   {"head",                  "int"},       -- 玩家头像ID
+--   {"headFrame",             "int"},       -- 玩家头像框
+--   {"nSrcServerID",          "int"},       -- 服务器ID
+--   {"nRank",                 "int"},       -- 当前排名
+--   {"nValue",                "int"},       -- 排名值
+--   {"servername",            "string"},    -- 服务器名称
+-- }
+
+-- -- 发送排名奖励(数据服->中心)
+-- LW_PEAK_BATTLEFIELD_SEND_RANK_REWARD_D2C = {
+--   {"uuid",                  "string"},    -- 玩家uid
+--   {"nServerID",             "int"},       -- 服务器ID
+--   {"nRank",                 "int"},       -- 排名
+--   {"tReward",               "table"},     -- 奖励列表
+-- }
+
+-- -- 发送排名奖励(中心->普通)
+-- WL_PEAK_BATTLEFIELD_SEND_RANK_REWARD_C2O = {
+--   {"uuid",                  "string"},    -- 玩家uid
+--   {"nRank",                 "int"},       -- 排名
+--   {"tReward",               "table"},     -- 奖励列表
+-- }
+
+-- 查询玩家排名
+-- LW_BATTLEGROUND_PLAYER_RANK_QUERY = {
+--   {"sourceServerId",          "int"},        -- 请求服服务器Id
+--   {"playerUuid",              "string"},     -- 玩家uuid
+-- }
+-- WL_BATTLEGROUND_PLAYER_RANK_QUERY = {
+--   {"playerUuid",              "string"},     -- 玩家uuid
+--   {"playerRank",              "int"},        -- 玩家排名
+-- }
+
+-- -- 查询对手列表信息
+-- LW_BATTLEGROUND_MATCHLIST_QUERY = {
+--   {"sourceServerId",          "int"},        -- 请求服服务器Id
+--   {"playerUuid",              "string"},     -- 玩家uuid
+--   {"matchList",               "table"},      -- 对手列表
+-- }
+-- WL_BATTLEGROUND_MATCHLIST_QUERY = {
+--   {"playerUuid",              "string"},     -- 玩家uuid
+--   {"playerInfoList",          "table"},      -- 对手列表信息
+-- }
+
+
+-- -- 查询玩家信息
+-- LW_BATTLEGROUND_PLAYER_DATA_QUERY = {
+--   {"sourceServerId",          "int"},        -- 请求服服务器Id
+--   {"playerUuid",              "string"},     -- 玩家uuid
+--   {"playerRank",               "int"},       -- 玩家排名
+-- }
+-- WL_BATTLEGROUND_PLAYER_DATA_QUERY = {
+--   {"playerUuid",              "string"},     -- 玩家uuid
+--   {"playerInfo",              "table"},      -- 玩家信息
+-- }
+
+
+-- -- 查询排行榜数据
+-- LW_BATTLEGROUND_RANKLIST_QUERY = {
+--   {"sourceServerId",          "int"},        -- 请求服服务器Id
+--   {"playerUuid",              "string"},     -- 玩家uuid
+-- }
+-- WL_BATTLEGROUND_RANKLIST_QUERY = {
+--   {"playerUuid",              "string"},     -- 玩家uuid
+--   {"rankList",                "table"},      -- 排行榜信息
+-- }
+
+
+-- -- 请求挑战玩家
+-- LW_BATTLEGROUND_CHALLENGE_QUERY = {
+--   {"sourceServerId",          "int"},        -- 请求服服务器Id
+--   {"playerUuid",              "string"},     -- 玩家uuid
+--   {"rank",                    "int"},        -- 排名数组
+-- }
+-- WL_BATTLEGROUND_CHALLENGE_QUERY = {
+--   {"playerUuid",              "string"},     -- 玩家uuid
+--   {"playerInfo",              "table"},      -- 排名数组
+-- }
+
+-- -- 挑战结束
+-- LW_BATTLEGROUND_CHALLENGE_END = {
+--   {"sourceServerId",          "int"},        -- 请求服服务器Id
+--   {"playerUuid",              "string"},     -- 玩家uuid
+--   {"challengeRes",            "int"},        -- 挑战结果
+--   {"playerShowData",          "table"},      -- 玩家展示信息
+-- }
+
+-- -- 通知玩家被打落排名了
+-- WL_BATTLEGROUND_NOTIFY_PLAYER = {
+--   {"playerUuid",              "string"},     -- 玩家uuid
+-- }
+
+-- -- 玩家更新阵容
+-- LW_BATTLEGROUND_LINEUP_UPDATE = {
+--   {"sourceServerId",          "int"},        -- 请求服服务器Id
+--   {"playerUuid",              "string"},     -- 玩家uuid
+--   {"heroArr",                 "table"},      -- 阵容英雄列表
+-- }
+
+-- -- 通知发奖
+-- WL_BATTLEGROUND_NOTIFY_PRIZEAWARD = {
+--   {"playerArr",              "table"},     -- 要发奖的玩家信息列表
+-- }
 
--- 发送排名奖励(数据服->中心)
-LW_PEAK_BATTLEFIELD_SEND_RANK_REWARD_D2C = {
-  {"uuid",                  "string"},    -- 玩家uid
-  {"nServerID",             "int"},       -- 服务器ID
-  {"nRank",                 "int"},       -- 排名
-  {"tReward",               "table"},     -- 奖励列表
-}
 
--- 发送排名奖励(中心->普通)
-WL_PEAK_BATTLEFIELD_SEND_RANK_REWARD_C2O = {
-  {"uuid",                  "string"},    -- 玩家uid
-  {"nRank",                 "int"},       -- 排名
-  {"tReward",               "table"},     -- 奖励列表
-}
 --------------------- 巅峰战场跨服协议结束 -----------------------------------
 
 ---------------------------------异界之战----------------------------
@@ -1044,12 +1127,14 @@ WL_ANOTHERWORLDBATTLE_TIPS = {
 LW_ANOTHERWORLDBATTLE_GET_STATE = {
   {"sourceServerId",          "int"},        -- 请求服服务器Id
   {"playerUuid",              "string"},     -- 玩家uuid
-  {"myUnionId",                 "string"},      -- 公会信息
+  {"myUnionId",               "string"},     -- 公会信息
+  {"isTips",                  "int"},        -- 是否用于提示
 }
 WL_ANOTHERWORLDBATTLE_GET_STATE = {
   {"playerUuid",              "string"},   -- 玩家uuid
   {"systemState",              "int"},     -- 活动状态
   {"joinState",              "int"},       -- 报名状态
+  {"isTips",                  "int"},        -- 是否用于提示
 }