InnerProto.lua 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639
  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. {"tRankInfo", "table"}, -- 排行榜数据
  328. }
  329. -- 请求天梯赛排行榜数据(中心->普通)
  330. WL_JJC_NEWLADDER_QUERY_RANK_C2O =
  331. {
  332. {"nIsEnd", "int"}, -- 是否发送完成 0 未 1 发送完
  333. {"tRankInfo", "table"}, -- 排行榜数据
  334. }
  335. -- 查询是否能够战斗(普通->中心)
  336. LW_JJC_NEWLADDER_QUERY_CAN_FIGHT_O2C = {
  337. {"uuid", "string"}, -- 玩家uid
  338. {"uuidDes", "string"}, -- 目标uid
  339. {"nSrcServerID", "int"}, -- 服务器ID
  340. }
  341. -- 查询是否能够战斗(中心->战区数据服)
  342. WL_JJC_NEWLADDER_QUERY_CAN_FIGHT_C2D = {
  343. {"uuid", "string"}, -- 玩家uid
  344. {"uuidDes", "string"}, -- 目标uid
  345. {"nSrcServerID", "int"}, -- 服务器ID
  346. }
  347. -- 查询是否能够战斗(数据服->中心)
  348. LW_JJC_NEWLADDER_QUERY_CAN_FIGHT_D2C = {
  349. {"uuid", "string"}, -- 玩家uid
  350. {"uuidDes", "string"}, -- 目标uid
  351. {"nSrcServerID", "int"}, -- 服务器ID
  352. {"nIsFight", "int"}, -- 0 不能战斗 1 可以战斗
  353. }
  354. -- 查询是否能够战斗(中心->普通)
  355. WL_JJC_NEWLADDER_QUERY_CAN_FIGHT_C2O = {
  356. {"uuid", "string"}, -- 玩家uid
  357. {"uuidDes", "string"}, -- 目标uid
  358. {"nIsFight", "int"}, -- 0 不能战斗 1 可以战斗
  359. }
  360. -- 战斗结束(普通->中心)
  361. LW_JJC_NEWLADDER_CANCEL_FIGHT_END_O2C = {
  362. {"uuid", "string"}, -- 玩家uid
  363. {"uuidDes", "string"}, -- 目标uid
  364. {"nSrcServerID", "int"}, -- 服务器ID
  365. {"nResult", "int"}, -- 战斗结果 0 输 1赢
  366. }
  367. -- 战斗结束(中心->战区数据服)
  368. WL_JJC_NEWLADDER_CANCEL_FIGHT_END_C2D = {
  369. {"uuid", "string"}, -- 玩家uid
  370. {"uuidDes", "string"}, -- 目标uid
  371. {"nSrcServerID", "int"}, -- 服务器ID
  372. {"nResult", "int"}, -- 战斗结果 0 输 1赢
  373. }
  374. -- 战斗结束(数据服->中心)
  375. LW_JJC_NEWLADDER_CANCEL_FIGHT_END_D2C = {
  376. {"uuid", "string"}, -- 玩家uid
  377. {"nSrcServerID", "int"}, -- 服务器ID
  378. {"nNewRank", "int"}, -- 新的排名
  379. }
  380. -- 战斗结束
  381. WL_JJC_NEWLADDER_CANCEL_FIGHT_END_C2O = {
  382. {"uuid", "string"}, -- 玩家uid
  383. {"nSrcServerID", "int"}, -- 服务器ID
  384. {"nNewRank", "int"}, -- 新的排名
  385. }
  386. -- 发送战败邮件(数据->中心)
  387. LW_JJC_NEWLADDER_SEND_MAIL_D2C = {
  388. {"uuidDes", "string"}, -- 目标uid
  389. {"nDesServerID", "int"}, -- 目标服务器ID
  390. {"szServerName", "string"}, -- 挑战玩家对应服务器名称
  391. {"szName", "string"}, -- 挑战玩家名称
  392. {"nNewRank", "int"}, -- 新排名
  393. }
  394. -- 发送战败邮件(中心->目标)
  395. WL_JJC_NEWLADDER_SEND_MAIL_C2O = {
  396. {"uuidDes", "string"}, -- 目标uid
  397. {"szServerName", "string"}, -- 挑战玩家对应服务器名称
  398. {"szName", "string"}, -- 挑战玩家名称
  399. {"nNewRank", "int"}, -- 新排名
  400. }
  401. -- 请求刷新对战列表(普通->中心)
  402. LW_JJC_NEWLADDER_REFRESH_O2C =
  403. {
  404. {"uuid", "string"}, -- 玩家uid
  405. {"nSrcServerID", "int"}, -- 服务器ID
  406. }
  407. -- 请求刷新对战列表(中心->数据)
  408. WL_JJC_NEWLADDER_REFRESH_C2D =
  409. {
  410. {"uuid", "string"}, -- 玩家uid
  411. {"nSrcServerID", "int"}, -- 服务器ID
  412. }
  413. -- 请求刷新对战列表(数据->中心)
  414. LW_JJC_NEWLADDER_REFRESH_D2C =
  415. {
  416. {"uuid", "string"}, -- 玩家uid
  417. {"nSrcServerID", "int"}, -- 服务器ID
  418. {"tEnemy", "table"}, -- 对战列表
  419. }
  420. -- 请求刷新对战列表(中心-普通)
  421. WL_JJC_NEWLADDER_REFRESH_C2O =
  422. {
  423. {"uuid", "string"}, -- 玩家uid
  424. {"tEnemy", "table"}, -- 对战列表
  425. }
  426. -- 请求上一轮前3玩家信息(普通->中心)
  427. LW_JJC_NEWLADDER_LAST3RANK_O2C =
  428. {
  429. {"nSrcServerID", "int"}, -- 服务器ID
  430. }
  431. -- 请求上一轮前3玩家信息(中心->数据)
  432. WL_JJC_NEWLADDER_LAST3RANK_C2D =
  433. {
  434. {"nSrcServerID", "int"}, -- 服务器ID
  435. }
  436. -- 请求上一轮前3玩家信息(数据->中心)
  437. LW_JJC_NEWLADDER_LAST3RANK_D2O =
  438. {
  439. {"nSrcServerID", "int"}, -- 服务器ID
  440. {"nExist", "int"}, -- 是否存在数据
  441. {"tLastRankInfo", "table"} -- 上一次排名数据
  442. }
  443. -- 请求上一轮前3玩家信息(中心-普通)
  444. WL_JJC_NEWLADDER_LAST3RANK_C2O =
  445. {
  446. {"nExist", "int"}, -- 是否存在数据
  447. {"tLastRankInfo", "table"} -- 上一次排名数据
  448. }
  449. -- 进行点赞(普通->中心)
  450. LW_JJC_NEWLADDER_SEND_WORSHIP_O2C =
  451. {
  452. {"uuidSrc", "string"},
  453. {"uuidDes", "string"},
  454. {"nSrcServerID", "int"},
  455. {"nDesServerID", "int"},
  456. }
  457. -- 进行点赞(中心->数据(被点赞玩家所在服))
  458. WL_JJC_NEWLADDER_SEND_WORSHIP_C2D = {
  459. {"uuidSrc", "string"},
  460. {"uuidDes", "string"},
  461. {"nSrcServerID", "int"},
  462. }
  463. -- 进行点赞(数据->中心(被点赞玩家所在服))
  464. LW_JJC_NEWLADDER_SEND_WORSHIP_D2C =
  465. {
  466. {"uuidSrc", "string"},
  467. {"nSrcServerID", "int"},
  468. {"uuidDes", "string"},
  469. {"nNowWorShip", "int"}
  470. }
  471. -- 进行点赞(中心->普通)
  472. WL_JJC_NEWLADDER_SEND_WORSHIP_C2O =
  473. {
  474. {"uuidSrc", "string"},
  475. {"uuidDes", "string"},
  476. {"nNowWorShip", "int"}
  477. }
  478. -- 告诉战区服点赞数改变(中心->战区数据服)
  479. -- 改变战区数据服记录的点赞数量
  480. WL_JJC_NEWLADDER_WORSHIP_CHANGE_C2D =
  481. {
  482. {"uuidDes", "string"},
  483. {"nAddNum", "int"}, -- 增加数量
  484. }
  485. -- 通知中心服最新的点赞数
  486. LW_JJC_NEWLADDER_WORSHIP_CHANGE_D2C =
  487. {
  488. {"uuidDes", "string"},
  489. {"nNowWorShip", "int"},
  490. {"nSrcServerID", "int"},
  491. }
  492. -- 通知对应战区所属服务器更新最新的点赞数
  493. WL_JJC_NEWLADDER_WORSHIP_UPDATE_D2C =
  494. {
  495. {"uuidDes", "string"},
  496. {"nNowWorShip", "int"}
  497. }
  498. -- 发送排名奖励(数据->中心)
  499. LW_JJC_NEWLADDER_SEND_RANK_PRIZE_D2C =
  500. {
  501. {"uuid", "string"}, -- 玩家uid
  502. {"nServerID", "int"}, -- 服务器ID
  503. {"nRank", "int"}, -- 排名
  504. }
  505. -- 发送排名奖励(中心->普通)
  506. WL_JJC_NEWLADDER_SEND_RANK_PRIZE_C2O =
  507. {
  508. {"uuid", "string"}, -- 玩家uid
  509. {"nRank", "int"}, -- 排名
  510. }
  511. -------------------- 天梯赛结束 -----------------------------------
  512. -------------------- 封禁功能开始 -----------------------------------
  513. --从跨服请求封禁数据
  514. LW_QUERY_BAN_INFO = {
  515. {"nSrcServerID", "int"}, -- 服务器ID
  516. }
  517. WL_QUERY_BAN_INFO = {
  518. {"banList", "table"}, -- 禁止登录列表
  519. }
  520. -- 通知跨服更新
  521. LW_UPDATE_BAN_INFO =
  522. {
  523. {"nSrcServerID", "int"}, -- 服务器ID
  524. -- {"banTag", "string"}, -- 禁止登录标识
  525. -- {"banTime", "int"}, -- 禁止登录时间
  526. -- {"banLevel", "int"}, -- 禁止等级
  527. {"banStr", "string"}, -- 封禁数据
  528. }
  529. WL_UPDATE_BAN_INFO =
  530. {
  531. -- {"banTag", "string"}, -- 禁止登录标识
  532. -- {"banTime", "int"}, -- 禁止登录时间
  533. -- {"banLevel", "int"}, -- 禁止等级
  534. {"banStr", "string"}, -- 封禁数据
  535. }
  536. -------------------- 封禁功能结束 -----------------------------------
  537. ----------------------- 返利开始 -----------------------------------
  538. --向跨服查询是否能返利
  539. LW_REBATE_QUERY = {
  540. {"nSrcServerID", "int"}, -- 服务器ID
  541. {"channelId", "int"}, -- 渠道D
  542. {"serverId", "int"}, -- 区服ID
  543. {"account", "string"}, -- 账号
  544. }
  545. WL_REBATE_OK = {
  546. {"channelId", "int"}, -- 渠道D
  547. {"serverId", "int"}, -- 区服ID
  548. {"account", "string"}, -- 账号
  549. }
  550. -------------------- 返利结束 -----------------------------------