InnerProto.lua 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650
  1. ---------------------logic同world通信的协议定义-----------------------
  2. ---初始hello
  3. LW_HELLO = {
  4. {"svrIndex", "int"},
  5. }
  6. LW_DISCONNECT = {}
  7. LW_HEARTBEAT = {
  8. {"svrIndexData", "table"},
  9. }
  10. LW_MOZHU_QUERY = {
  11. {"uuid", "string"},
  12. {"unionUuid", "string"},
  13. }
  14. WL_MOZHU_QUERY = {
  15. {"uuid", "string"},
  16. {"myRank", "int"},
  17. {"roleRank", "table"},
  18. {"unionRank", "table"},
  19. {"info", "table"},
  20. }
  21. WL_HELLO = {
  22. {"nGetSvrID", "int"},
  23. {"nNowSvrID", "int"},
  24. }
  25. WL_HEARTBEAT = {}
  26. LW_MIDDLE_CHAT =
  27. {
  28. {"svrIndex", "int"},
  29. {"tChatMsg", "table"},
  30. }
  31. WL_MIDDLE_CHAT =
  32. {
  33. {"tChatMsg", "table"}
  34. }
  35. -- 聊天查看分享英雄数据(请求的服务器->中心)
  36. LW_MIDDLE_CHAT_QUERY_HERO_DATA =
  37. {
  38. {"nSrcServerID", "int"}, -- 源服务器ID
  39. {"nDesServerID", "int"}, -- 目标服务器ID
  40. {"nSrcUID", "string"}, -- 请求的玩家UID
  41. {"nDesUID", "string"}, -- 查询的玩家UID
  42. {"nHeroIndex", "int"}, -- 查看的英雄下表
  43. {"nChatType", "int"}, -- 聊天频道
  44. }
  45. -- 发送到对应服务器信息(中心->目标服务器)
  46. WL_MIDDLE_CHAT_QUERY_HERO_DATA =
  47. {
  48. {"nSrcServerID", "int"}, -- 源服务器ID
  49. {"nSrcUID", "string"}, -- 请求的玩家UID
  50. {"nDesUID", "string"}, -- 查询的玩家UID
  51. {"nHeroIndex", "int"}, -- 查看的英雄下表
  52. {"nChatType", "int"}, -- 聊天频道
  53. }
  54. -- 英雄信息回复(目标->中心)
  55. LW_MIDDLE_CHAT_GET_HERO_DATA =
  56. {
  57. -- {"nResult", "int"}, -- 结果 1 获取成功,0 获取不到数据
  58. {"nSrcUID", "string"}, -- 请求的玩家UID
  59. {"nSrcServerID", "int"}, -- 源服务器ID
  60. {"tHeroData", "table"}, -- 英雄数据
  61. }
  62. -- 英雄信息回复(目标->中心)
  63. WL_MIDDLE_CHAT_GET_HERO_DATA =
  64. {
  65. -- {"nResult", "int"}, -- 结果 1 获取成功,0 获取不到数据
  66. {"nSrcUID", "string"}, -- 请求的玩家UID
  67. {"tHeroData", "table"}, -- 英雄数据
  68. }
  69. -- 请求战报录像
  70. LW_WARREPORT_GET_COMBATINFO =
  71. {
  72. {"nSrcUID", "string"},
  73. {"type", "int"},
  74. {"id", "string"},
  75. {"mode", "int"},
  76. {"nSrcServerID", "int"}, -- 源服务器ID
  77. {"nDesServerID", "int"}, -- 目标服务器ID
  78. }
  79. WL_WARREPORT_GET_COMBATINFO =
  80. {
  81. {"nSrcUID", "string"},
  82. {"type", "int"},
  83. {"id", "string"},
  84. {"nSrcServerID", "int"}, -- 源服务器ID
  85. {"mode", "int"},
  86. }
  87. -- 发送战报数据
  88. LW_WARREPORT_SEND_COMBATINFO =
  89. {
  90. {"nSrcUID", "string"},
  91. {"mode", "int"},
  92. {"combatInfo", "table"},
  93. {"nSrcServerID", "int"}, -- 源服务器ID
  94. }
  95. WL_WARREPORT_SEND_COMBATINFO =
  96. {
  97. {"nSrcUID", "string"},
  98. {"mode", "int"},
  99. {"combatInfo", "table"},
  100. }
  101. -------------------- 请求跨服玩家头像数据开始 --------------------
  102. LW_CHAT_PLAYER_INFO =
  103. {
  104. {"nSrcUID", "string"}, -- 请求uid
  105. {"nDesUID", "string"}, -- 目标UID
  106. {"nSrcServerID", "int"}, -- 源服务器ID
  107. {"nDesServerID", "int"}, -- 目标服务器ID
  108. }
  109. WL_CHAT_PLAYER_INFO =
  110. {
  111. {"nSrcUID", "string"}, -- 请求uid
  112. {"nDesUID", "string"}, -- 目标UID
  113. {"nSrcServerID", "int"}, -- 源服务器ID
  114. }
  115. LW_CHAT_PLAYER_INFO_SEND =
  116. {
  117. {"nSrcUID", "string"}, -- 请求uid
  118. {"nSrcServerID", "int"}, -- 源服务器ID
  119. {"tData", "table"}, -- 目标玩家数据
  120. }
  121. WL_CHAT_PLAYER_INFO_SEND =
  122. {
  123. {"nSrcUID", "string"}, -- 请求uid
  124. {"tData", "table"}, -- 目标玩家数据
  125. }
  126. -------------------- 请求跨服玩家头像数据结束 --------------------
  127. -------------------- 请求跨服切磋开始 ---------------------------
  128. ---请求敌方数据
  129. LW_COMBAT_GETINFO =
  130. {
  131. {"nSrcUID", "string"}, -- 请求uid
  132. {"nDesUID", "string"}, -- 目标UID
  133. {"nSrcServerID", "int"}, -- 源服务器ID
  134. {"nDesServerID", "int"}, -- 目标服务器ID
  135. {"nCombatType", "int"}, -- 对战类型
  136. }
  137. WL_COMBAT_GETINFO =
  138. {
  139. {"nSrcUID", "string"}, -- 请求uid
  140. {"nDesUID", "string"}, -- 目标UID
  141. {"nSrcServerID", "int"}, -- 源服务器ID
  142. {"nCombatType", "int"}, -- 对战类型
  143. }
  144. -- 回复数据
  145. LW_COMBAT_GETINFO_SEND =
  146. {
  147. {"nResult", "int"}, -- 结果
  148. {"nSrcUID", "string"}, -- 请求uid
  149. {"nSrcServerID", "int"}, -- 源服务器ID
  150. {"tObjList", "table"},
  151. {"tHelpList", "table"},
  152. {"tRoleBase", "table"},
  153. {"formation", "int"},
  154. {"tJiBan", "table"}
  155. }
  156. WL_COMBAT_GETINFO_SEND =
  157. {
  158. {"nResult", "int"}, -- 结果
  159. {"nSrcUID", "string"}, -- 请求uid
  160. {"tObjList", "table"},
  161. {"tHelpList", "table"},
  162. {"tRoleBase", "table"},
  163. {"formation", "int"},
  164. {"tJiBan", "table"}
  165. }
  166. -------------------- 请求跨服切磋结束 ---------------------------
  167. -------------------- 跨服商业活动开始 ---------------------------
  168. -- 请求开服天数
  169. WL_COMMERCE_QUERYOPENDAY = {
  170. }
  171. -- 回复开服天数
  172. LW_COMMERCE_SENDOPENDAY = {
  173. {"nOpenDay", "int"},
  174. {"nSrcServerID", "int"},
  175. }
  176. -- 请求是否开启活动
  177. LW_COMMERCE_ACTOPEN =
  178. {
  179. {"nSrcServerID", "int"}, -- 源服务器ID
  180. {"nOperate", "int"}, -- 来源
  181. }
  182. WL_COMMERCE_ACTOPEN =
  183. {
  184. {"nOpen", "int"}, -- 1 开 0 未开
  185. {"nOperate", "int"}, -- 来源
  186. {"nServerKey", "int"}, -- 服务器Key
  187. }
  188. -- 排行榜数据改变发送到中心服进行排行
  189. LW_COMMERCE_RANK_POINT_CHANGE =
  190. {
  191. {"uuid", "string"}, -- 玩家uid
  192. {"name", "string"}, -- 玩家姓名
  193. {"head", "int"}, -- 玩家头像ID
  194. {"headFrame", "int"}, -- 玩家头像框
  195. {"nSrcServerID", "int"}, -- 服务器ID
  196. {"nValue", "int"}, -- 排行key
  197. {"nRankType", "int"}, -- 排行类型
  198. {"nRankSubType", "int"}, -- 排行榜小类型
  199. {"nOperate", "int"}, -- 操作类型(1 累加nValue, 2 直接替换 )
  200. {"servername", "string"}, -- 服务器名称
  201. }
  202. -- 请求排行榜数据
  203. LW_COMMERCE_QUERY_RANK_INFO =
  204. {
  205. {"nRankType", "int"}, -- 排行类型
  206. {"nRankSubType", "int"}, -- 排行榜小类型
  207. {"nSrcServerID", "int"}, -- 服务器ID
  208. }
  209. -- 回复排行榜数据
  210. WL_COMMERCE_QUERY_RANK_INFO = {
  211. {"nRankType", "int"}, -- 排行类型
  212. {"nRankSubType", "int"}, -- 排行榜小类型
  213. {"nServerKey", "int"}, -- 服务器ID
  214. {"nBegin", "int"}, -- 首次发送
  215. {"nEnd", "int"}, -- 是否发送完成
  216. {"tRankData", "table"}, -- 排行榜数据
  217. }
  218. -- 获取服务器排行榜服务器排名
  219. LW_COMMERCE_QUERY_SERVER_RANK =
  220. {
  221. {"nSrcServerID", "int"}, -- 服务器ID
  222. {"nServerUuid", "string"}, -- 服务器唯一区分ID
  223. {"nOperate", "int"}, -- 操作类型
  224. }
  225. -- 获取服务器排行榜服务器排名 回包
  226. WL_COMMERCE_GET_SERVERRANK_PRIZE =
  227. {
  228. {"nRank", "int"}, -- 排名
  229. {"nOperate", "int"}, -- 操作类型
  230. }
  231. -- 通知中心服全服邮件发送完成
  232. LW_COMMERCE_TELL_SERVER_MAILOK =
  233. {
  234. {"nSrcServerID", "int"}, -- 服务器ID
  235. }
  236. -- 发送给对应的服务器 个人排行榜奖励
  237. WL_COMMERCE_SEND_HUMAN_PRIZE =
  238. {
  239. {"nRank", "int"},
  240. {"uuid", "string"},
  241. }
  242. -- 清理排行榜命令
  243. LW_COMMERCE_CLEAR_RANK =
  244. {
  245. {"nRankType", "int"}, -- 排行类型
  246. {"nRankSubType", "int"}, -- 排行榜小类型
  247. {"nSrcServerID", "int"}, -- 服务器ID
  248. }
  249. -- GM清理个人邮件发送缓存
  250. LW_COMMERCE_GM_CLEAR_MAIL =
  251. {
  252. {"nSrcServerID", "int"}, -- 服务器ID
  253. }
  254. -- 获取战区第一个服的活动时间数据
  255. WL_COMMERCE_GET_ACT_INFO = {
  256. {"nReqServerID", "int"} -- 不存在时为0
  257. }
  258. -- 发送给中心服活动时间数据
  259. LW_COMMERCE_GET_ACT_INFO =
  260. {
  261. {"nOperate", "int"}, -- 0 失败 1 成功有数据 2 成功无数据
  262. {"nReqServerID", "int"}, -- 不存在时为0
  263. {"nSrcServerID", "int"}, -- 服务器ID
  264. {"nBatchID", "int"}, -- 批次
  265. {"nBeginTime", "int"}, -- 开始时间
  266. {"nEndTime", "int"}, -- 结束时间
  267. }
  268. -- 请求中心服活动时间
  269. LW_COMMERCE_ACT_GET_OPENTIME =
  270. {
  271. {"nSrcServerID", "int"}, -- 服务器ID
  272. }
  273. -- 回复普通服活动时间
  274. WL_COMMERCE_ACT_GET_OPENTIME =
  275. {
  276. {"nBatchID", "int"}, -- 批次
  277. {"nBeginTime", "int"}, -- 开始时间
  278. {"nEndTime", "int"}, -- 结束时间
  279. }
  280. -------------------- 跨服商业活动结束 ---------------------------
  281. -------------------- 天梯赛开始 -----------------------------------
  282. -- 请求参加天梯赛(普通->中心)
  283. LW_JJC_NEWLADDER_JOINLADDER_O2C =
  284. {
  285. {"uuid", "string"}, -- 玩家uid
  286. {"name", "string"}, -- 名字
  287. {"head", "int"}, -- 玩家头像ID
  288. {"headFrame", "int"}, -- 玩家头像框
  289. {"nSrcServerID", "int"}, -- 服务器ID
  290. {"szServerName", "string"}, -- 服务器名字
  291. }
  292. -- 请求参加天梯赛(中心->战区数据服)
  293. WL_JJC_NEWLADDER_JOINLADDER_C2D = {
  294. {"uuid", "string"}, -- 玩家uid
  295. {"name", "string"}, -- 名字
  296. {"head", "int"}, -- 玩家头像ID
  297. {"headFrame", "int"}, -- 玩家头像框
  298. {"nSrcServerID", "int"}, -- 服务器ID
  299. {"szServerName", "string"}, -- 服务器名字
  300. }
  301. -- 请求参加天梯赛(数据->中心)
  302. LW_JJC_NEWLADDER_JOINLADDER_D2C = {
  303. {"uuid", "string"}, -- 玩家uid
  304. {"nSrcServerID", "int"}, -- 玩家所属服务器ID
  305. {"nRank", "int"}, -- 玩家当前排名
  306. {"tEnemy", "table"}, -- 对战列表
  307. }
  308. -- 请求参加天梯赛(中心->普通)
  309. WL_JJC_NEWLADDER_JOINLADDER_C2O = {
  310. {"uuid", "string"}, -- 玩家uid
  311. {"nRank", "int"}, -- 玩家当前排名
  312. {"tEnemy", "table"}, -- 对战列表
  313. }
  314. -- 请求天梯赛排行榜数据(普通->中心)
  315. LW_JJC_NEWLADDER_QUERY_RANK_O2C = {
  316. {"nSrcServerID", "int"}, -- 服务器ID
  317. }
  318. -- 请求天梯赛排行榜数据(中心->战区数据服)
  319. WL_JJC_NEWLADDER_QUERY_RANK_C2D = {
  320. {"nSrcServerID", "int"}, -- 服务器ID
  321. }
  322. -- 请求天梯赛排行榜数据(数据服->中心)
  323. LW_JJC_NEWLADDER_QUERY_RANK_D2C =
  324. {
  325. {"nSrcServerID", "int"}, -- 服务器ID
  326. {"nIsEnd", "int"}, -- 是否发送完成 0 未 1 发送完
  327. {"nFirst", "int"}, -- 是否开始 1 第一次发送 0 不是第一次
  328. {"tRankInfo", "table"}, -- 排行榜数据
  329. }
  330. -- 请求天梯赛排行榜数据(中心->普通)
  331. WL_JJC_NEWLADDER_QUERY_RANK_C2O =
  332. {
  333. {"nIsEnd", "int"}, -- 是否发送完成 0 未 1 发送完
  334. {"nFirst", "int"}, -- 是否开始 1 第一次发送 0 不是第一次
  335. {"tRankInfo", "table"}, -- 排行榜数据
  336. }
  337. -- 查询是否能够战斗(普通->中心)
  338. LW_JJC_NEWLADDER_QUERY_CAN_FIGHT_O2C = {
  339. {"uuid", "string"}, -- 玩家uid
  340. {"uuidDes", "string"}, -- 目标uid
  341. {"nSrcServerID", "int"}, -- 服务器ID
  342. }
  343. -- 查询是否能够战斗(中心->战区数据服)
  344. WL_JJC_NEWLADDER_QUERY_CAN_FIGHT_C2D = {
  345. {"uuid", "string"}, -- 玩家uid
  346. {"uuidDes", "string"}, -- 目标uid
  347. {"nSrcServerID", "int"}, -- 服务器ID
  348. }
  349. -- 查询是否能够战斗(数据服->中心)
  350. LW_JJC_NEWLADDER_QUERY_CAN_FIGHT_D2C = {
  351. {"uuid", "string"}, -- 玩家uid
  352. {"uuidDes", "string"}, -- 目标uid
  353. {"nSrcServerID", "int"}, -- 服务器ID
  354. {"nIsFight", "int"}, -- 0 不能战斗 1 可以战斗
  355. }
  356. -- 查询是否能够战斗(中心->普通)
  357. WL_JJC_NEWLADDER_QUERY_CAN_FIGHT_C2O = {
  358. {"uuid", "string"}, -- 玩家uid
  359. {"uuidDes", "string"}, -- 目标uid
  360. {"nIsFight", "int"}, -- 0 不能战斗 1 可以战斗
  361. }
  362. -- 战斗结束(普通->中心)
  363. LW_JJC_NEWLADDER_CANCEL_FIGHT_END_O2C = {
  364. {"uuid", "string"}, -- 玩家uid
  365. {"uuidDes", "string"}, -- 目标uid
  366. {"nSrcServerID", "int"}, -- 服务器ID
  367. {"nResult", "int"}, -- 战斗结果 0 输 1赢
  368. {"tEnemyUid", "table"}, -- 对战列表UID
  369. }
  370. -- 战斗结束(中心->战区数据服)
  371. WL_JJC_NEWLADDER_CANCEL_FIGHT_END_C2D = {
  372. {"uuid", "string"}, -- 玩家uid
  373. {"uuidDes", "string"}, -- 目标uid
  374. {"nSrcServerID", "int"}, -- 服务器ID
  375. {"nResult", "int"}, -- 战斗结果 0 输 1赢
  376. {"tEnemyUid", "table"}, -- 对战列表UID
  377. }
  378. -- 战斗结束(数据服->中心)
  379. LW_JJC_NEWLADDER_CANCEL_FIGHT_END_D2C = {
  380. {"uuid", "string"}, -- 玩家uid
  381. {"uuidDes", "string"}, -- 目标uid(用于替换旧的数据)
  382. {"nSrcServerID", "int"}, -- 服务器ID
  383. {"nNewRank", "int"}, -- 新的排名
  384. {"nNewPoint", "int"}, -- 新的积分
  385. {"tNewOneEnemy", "table"}, -- 新的对战人物
  386. {"tOldEnemyData", "table"}, -- 旧的对战人物数据
  387. }
  388. -- 战斗结束
  389. WL_JJC_NEWLADDER_CANCEL_FIGHT_END_C2O = {
  390. {"uuid", "string"}, -- 玩家uid
  391. {"uuidDes", "string"}, -- 目标uid(用于替换旧的数据)
  392. {"nNewRank", "int"}, -- 新的排名
  393. {"nNewPoint", "int"}, -- 新的积分
  394. {"tNewOneEnemy", "table"}, -- 新的对战人物
  395. {"tOldEnemyData", "table"}, -- 旧的对战人物数据
  396. }
  397. -- 发送战败邮件(数据->中心)
  398. LW_JJC_NEWLADDER_SEND_MAIL_D2C = {
  399. {"uuidDes", "string"}, -- 目标uid
  400. {"nDesServerID", "int"}, -- 目标服务器ID
  401. {"szServerName", "string"}, -- 挑战玩家对应服务器名称
  402. {"szName", "string"}, -- 挑战玩家名称
  403. {"nNewRank", "int"}, -- 新排名
  404. }
  405. -- 发送战败邮件(中心->目标)
  406. WL_JJC_NEWLADDER_SEND_MAIL_C2O = {
  407. {"uuidDes", "string"}, -- 目标uid
  408. {"szServerName", "string"}, -- 挑战玩家对应服务器名称
  409. {"szName", "string"}, -- 挑战玩家名称
  410. {"nNewRank", "int"}, -- 新排名
  411. }
  412. -- 请求刷新对战列表(普通->中心)
  413. LW_JJC_NEWLADDER_REFRESH_O2C =
  414. {
  415. {"uuid", "string"}, -- 玩家uid
  416. {"nSrcServerID", "int"}, -- 服务器ID
  417. }
  418. -- 请求刷新对战列表(中心->数据)
  419. WL_JJC_NEWLADDER_REFRESH_C2D =
  420. {
  421. {"uuid", "string"}, -- 玩家uid
  422. {"nSrcServerID", "int"}, -- 服务器ID
  423. }
  424. -- 请求刷新对战列表(数据->中心)
  425. LW_JJC_NEWLADDER_REFRESH_D2C =
  426. {
  427. {"uuid", "string"}, -- 玩家uid
  428. {"nSrcServerID", "int"}, -- 服务器ID
  429. {"tEnemy", "table"}, -- 对战列表
  430. }
  431. -- 请求刷新对战列表(中心-普通)
  432. WL_JJC_NEWLADDER_REFRESH_C2O =
  433. {
  434. {"uuid", "string"}, -- 玩家uid
  435. {"tEnemy", "table"}, -- 对战列表
  436. }
  437. -- 请求上一轮前3玩家信息(普通->中心)
  438. LW_JJC_NEWLADDER_LAST3RANK_O2C =
  439. {
  440. {"nSrcServerID", "int"}, -- 服务器ID
  441. }
  442. -- 请求上一轮前3玩家信息(中心->数据)
  443. WL_JJC_NEWLADDER_LAST3RANK_C2D =
  444. {
  445. {"nSrcServerID", "int"}, -- 服务器ID
  446. }
  447. -- 请求上一轮前3玩家信息(数据->中心)
  448. LW_JJC_NEWLADDER_LAST3RANK_D2O =
  449. {
  450. {"nSrcServerID", "int"}, -- 服务器ID
  451. {"nExist", "int"}, -- 是否存在数据
  452. {"tLastRankInfo", "table"} -- 上一次排名数据
  453. }
  454. -- 请求上一轮前3玩家信息(中心-普通)
  455. WL_JJC_NEWLADDER_LAST3RANK_C2O =
  456. {
  457. {"nExist", "int"}, -- 是否存在数据
  458. {"tLastRankInfo", "table"} -- 上一次排名数据
  459. }
  460. -- 进行点赞(普通->中心)
  461. LW_JJC_NEWLADDER_SEND_WORSHIP_O2C =
  462. {
  463. {"uuidSrc", "string"},
  464. {"uuidDes", "string"},
  465. {"nSrcServerID", "int"},
  466. {"nDesServerID", "int"},
  467. }
  468. -- 进行点赞(中心->数据(被点赞玩家所在服))
  469. WL_JJC_NEWLADDER_SEND_WORSHIP_C2D = {
  470. {"uuidSrc", "string"},
  471. {"uuidDes", "string"},
  472. {"nSrcServerID", "int"},
  473. }
  474. -- 进行点赞(数据->中心(被点赞玩家所在服))
  475. LW_JJC_NEWLADDER_SEND_WORSHIP_D2C =
  476. {
  477. {"uuidSrc", "string"},
  478. {"nSrcServerID", "int"},
  479. {"uuidDes", "string"},
  480. {"nNowWorShip", "int"}
  481. }
  482. -- 进行点赞(中心->普通)
  483. WL_JJC_NEWLADDER_SEND_WORSHIP_C2O =
  484. {
  485. {"uuidSrc", "string"},
  486. {"uuidDes", "string"},
  487. {"nNowWorShip", "int"}
  488. }
  489. -- 告诉战区服点赞数改变(中心->战区数据服)
  490. -- 改变战区数据服记录的点赞数量
  491. WL_JJC_NEWLADDER_WORSHIP_CHANGE_C2D =
  492. {
  493. {"uuidDes", "string"},
  494. {"nAddNum", "int"}, -- 增加数量
  495. }
  496. -- 通知中心服最新的点赞数
  497. LW_JJC_NEWLADDER_WORSHIP_CHANGE_D2C =
  498. {
  499. {"uuidDes", "string"},
  500. {"nNowWorShip", "int"},
  501. {"nSrcServerID", "int"},
  502. }
  503. -- 通知对应战区所属服务器更新最新的点赞数
  504. WL_JJC_NEWLADDER_WORSHIP_UPDATE_D2C =
  505. {
  506. {"uuidDes", "string"},
  507. {"nNowWorShip", "int"}
  508. }
  509. -- 发送排名奖励(数据->中心)
  510. LW_JJC_NEWLADDER_SEND_RANK_PRIZE_D2C =
  511. {
  512. {"uuid", "string"}, -- 玩家uid
  513. {"nServerID", "int"}, -- 服务器ID
  514. {"nRank", "int"}, -- 排名
  515. }
  516. -- 发送排名奖励(中心->普通)
  517. WL_JJC_NEWLADDER_SEND_RANK_PRIZE_C2O =
  518. {
  519. {"uuid", "string"}, -- 玩家uid
  520. {"nRank", "int"}, -- 排名
  521. }
  522. -------------------- 天梯赛结束 -----------------------------------
  523. -------------------- 封禁功能开始 -----------------------------------
  524. --从跨服请求封禁数据
  525. LW_QUERY_BAN_INFO = {
  526. {"nSrcServerID", "int"}, -- 服务器ID
  527. }
  528. WL_QUERY_BAN_INFO = {
  529. {"banList", "table"}, -- 禁止登录列表
  530. }
  531. -- 通知跨服更新
  532. LW_UPDATE_BAN_INFO =
  533. {
  534. {"nSrcServerID", "int"}, -- 服务器ID
  535. -- {"banTag", "string"}, -- 禁止登录标识
  536. -- {"banTime", "int"}, -- 禁止登录时间
  537. -- {"banLevel", "int"}, -- 禁止等级
  538. {"banStr", "string"}, -- 封禁数据
  539. }
  540. WL_UPDATE_BAN_INFO =
  541. {
  542. -- {"banTag", "string"}, -- 禁止登录标识
  543. -- {"banTime", "int"}, -- 禁止登录时间
  544. -- {"banLevel", "int"}, -- 禁止等级
  545. {"banStr", "string"}, -- 封禁数据
  546. }
  547. -------------------- 封禁功能结束 -----------------------------------
  548. ----------------------- 返利开始 -----------------------------------
  549. --向跨服查询是否能返利
  550. LW_REBATE_QUERY = {
  551. {"nSrcServerID", "int"}, -- 服务器ID
  552. {"channelId", "int"}, -- 渠道D
  553. {"serverId", "int"}, -- 区服ID
  554. {"account", "int"}, -- 账号
  555. }
  556. WL_REBATE_OK = {
  557. {"channelId", "int"}, -- 渠道D
  558. {"serverId", "int"}, -- 区服ID
  559. {"account", "int"}, -- 账号
  560. }
  561. -------------------- 返利结束 -----------------------------------