InnerProto.lua 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694
  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. {"nFrom", "int"}, -- 来源(1 聊天查看,2 天梯赛)
  109. {"nType", "int"}, -- 类型(2-1 天梯赛对战列表,2-2 天梯赛排行榜)
  110. }
  111. WL_CHAT_PLAYER_INFO =
  112. {
  113. {"nSrcUID", "string"}, -- 请求uid
  114. {"nDesUID", "string"}, -- 目标UID
  115. {"nSrcServerID", "int"}, -- 源服务器ID
  116. {"nFrom", "int"}, -- 来源(1 聊天查看,2 天梯赛)
  117. {"nType", "int"}, -- 类型(2-1 天梯赛对战列表,2-2 天梯赛排行榜)
  118. }
  119. LW_CHAT_PLAYER_INFO_SEND =
  120. {
  121. {"nSrcUID", "string"}, -- 请求uid
  122. {"nSrcServerID", "int"}, -- 源服务器ID
  123. {"tData", "table"}, -- 目标玩家数据
  124. {"nFrom", "int"}, -- 来源(1 聊天查看,2 天梯赛)
  125. {"nType", "int"}, -- 类型(2-1 天梯赛对战列表,2-2 天梯赛排行榜)
  126. }
  127. WL_CHAT_PLAYER_INFO_SEND =
  128. {
  129. {"nSrcUID", "string"}, -- 请求uid
  130. {"tData", "table"}, -- 目标玩家数据
  131. {"nFrom", "int"}, -- 来源(1 聊天查看,2 天梯赛)
  132. {"nType", "int"}, -- 类型(2-1 天梯赛对战列表,2-2 天梯赛排行榜)
  133. }
  134. -------------------- 请求跨服玩家头像数据结束 --------------------
  135. -------------------- 请求跨服切磋开始 ---------------------------
  136. ---请求敌方数据
  137. LW_COMBAT_GETINFO =
  138. {
  139. {"nSrcUID", "string"}, -- 请求uid
  140. {"nDesUID", "string"}, -- 目标UID
  141. {"nSrcServerID", "int"}, -- 源服务器ID
  142. {"nDesServerID", "int"}, -- 目标服务器ID
  143. {"nCombatType", "int"}, -- 对战类型
  144. }
  145. WL_COMBAT_GETINFO =
  146. {
  147. {"nSrcUID", "string"}, -- 请求uid
  148. {"nDesUID", "string"}, -- 目标UID
  149. {"nSrcServerID", "int"}, -- 源服务器ID
  150. {"nCombatType", "int"}, -- 对战类型
  151. }
  152. -- 回复数据
  153. LW_COMBAT_GETINFO_SEND =
  154. {
  155. {"nResult", "int"}, -- 结果
  156. {"nSrcUID", "string"}, -- 请求uid
  157. {"nSrcServerID", "int"}, -- 源服务器ID
  158. {"tObjList", "table"},
  159. {"tHelpList", "table"},
  160. {"tRoleBase", "table"},
  161. {"formation", "int"},
  162. {"tJiBan", "table"}
  163. }
  164. WL_COMBAT_GETINFO_SEND =
  165. {
  166. {"nResult", "int"}, -- 结果
  167. {"nSrcUID", "string"}, -- 请求uid
  168. {"tObjList", "table"},
  169. {"tHelpList", "table"},
  170. {"tRoleBase", "table"},
  171. {"formation", "int"},
  172. {"tJiBan", "table"}
  173. }
  174. -------------------- 请求跨服切磋结束 ---------------------------
  175. -------------------- 跨服商业活动开始 ---------------------------
  176. -- 请求开服天数
  177. WL_COMMERCE_QUERYOPENDAY = {
  178. }
  179. -- 回复开服天数
  180. LW_COMMERCE_SENDOPENDAY = {
  181. {"nOpenDay", "int"},
  182. {"nSrcServerID", "int"},
  183. }
  184. -- 请求是否开启活动
  185. LW_COMMERCE_ACTOPEN =
  186. {
  187. {"nSrcServerID", "int"}, -- 源服务器ID
  188. {"nOperate", "int"}, -- 来源
  189. }
  190. WL_COMMERCE_ACTOPEN =
  191. {
  192. {"nOpen", "int"}, -- 1 开 0 未开
  193. {"nOperate", "int"}, -- 来源
  194. {"nServerKey", "int"}, -- 服务器Key
  195. }
  196. -- 排行榜数据改变发送到中心服进行排行
  197. LW_COMMERCE_RANK_POINT_CHANGE =
  198. {
  199. {"uuid", "string"}, -- 玩家uid
  200. {"name", "string"}, -- 玩家姓名
  201. {"head", "int"}, -- 玩家头像ID
  202. {"headFrame", "int"}, -- 玩家头像框
  203. {"nSrcServerID", "int"}, -- 服务器ID
  204. {"nValue", "int"}, -- 排行key
  205. {"nRankType", "int"}, -- 排行类型
  206. {"nRankSubType", "int"}, -- 排行榜小类型
  207. {"nOperate", "int"}, -- 操作类型(1 累加nValue, 2 直接替换 )
  208. {"servername", "string"}, -- 服务器名称
  209. }
  210. -- 请求排行榜数据
  211. LW_COMMERCE_QUERY_RANK_INFO =
  212. {
  213. {"nRankType", "int"}, -- 排行类型
  214. {"nRankSubType", "int"}, -- 排行榜小类型
  215. {"nSrcServerID", "int"}, -- 服务器ID
  216. }
  217. -- 回复排行榜数据
  218. WL_COMMERCE_QUERY_RANK_INFO = {
  219. {"nRankType", "int"}, -- 排行类型
  220. {"nRankSubType", "int"}, -- 排行榜小类型
  221. {"nServerKey", "int"}, -- 服务器ID
  222. {"nBegin", "int"}, -- 首次发送
  223. {"nEnd", "int"}, -- 是否发送完成
  224. {"tRankData", "table"}, -- 排行榜数据
  225. }
  226. -- 获取服务器排行榜服务器排名
  227. LW_COMMERCE_QUERY_SERVER_RANK =
  228. {
  229. {"nSrcServerID", "int"}, -- 服务器ID
  230. {"nServerUuid", "string"}, -- 服务器唯一区分ID
  231. {"nOperate", "int"}, -- 操作类型
  232. }
  233. -- 获取服务器排行榜服务器排名 回包
  234. WL_COMMERCE_GET_SERVERRANK_PRIZE =
  235. {
  236. {"nRank", "int"}, -- 排名
  237. {"nOperate", "int"}, -- 操作类型
  238. }
  239. -- 通知中心服全服邮件发送完成
  240. LW_COMMERCE_TELL_SERVER_MAILOK =
  241. {
  242. {"nSrcServerID", "int"}, -- 服务器ID
  243. }
  244. -- 发送给对应的服务器 个人排行榜奖励
  245. WL_COMMERCE_SEND_HUMAN_PRIZE =
  246. {
  247. {"nRank", "int"},
  248. {"uuid", "string"},
  249. }
  250. -- 清理排行榜命令
  251. LW_COMMERCE_CLEAR_RANK =
  252. {
  253. {"nRankType", "int"}, -- 排行类型
  254. {"nRankSubType", "int"}, -- 排行榜小类型
  255. {"nSrcServerID", "int"}, -- 服务器ID
  256. }
  257. -- GM清理个人邮件发送缓存
  258. LW_COMMERCE_GM_CLEAR_MAIL =
  259. {
  260. {"nSrcServerID", "int"}, -- 服务器ID
  261. }
  262. -- 获取战区第一个服的活动时间数据
  263. WL_COMMERCE_GET_ACT_INFO = {
  264. {"nReqServerID", "int"} -- 不存在时为0
  265. }
  266. -- 发送给中心服活动时间数据
  267. LW_COMMERCE_GET_ACT_INFO =
  268. {
  269. {"nOperate", "int"}, -- 0 失败 1 成功有数据 2 成功无数据
  270. {"nReqServerID", "int"}, -- 不存在时为0
  271. {"nSrcServerID", "int"}, -- 服务器ID
  272. {"nBatchID", "int"}, -- 批次
  273. {"nBeginTime", "int"}, -- 开始时间
  274. {"nEndTime", "int"}, -- 结束时间
  275. }
  276. -- 请求中心服活动时间
  277. LW_COMMERCE_ACT_GET_OPENTIME =
  278. {
  279. {"nSrcServerID", "int"}, -- 服务器ID
  280. }
  281. -- 回复普通服活动时间
  282. WL_COMMERCE_ACT_GET_OPENTIME =
  283. {
  284. {"nBatchID", "int"}, -- 批次
  285. {"nBeginTime", "int"}, -- 开始时间
  286. {"nEndTime", "int"}, -- 结束时间
  287. }
  288. -------------------- 跨服商业活动结束 ---------------------------
  289. -------------------- 天梯赛开始 -----------------------------------
  290. -- 请求参加天梯赛(普通->中心)
  291. LW_JJC_NEWLADDER_JOINLADDER_O2C =
  292. {
  293. {"uuid", "string"}, -- 玩家uid
  294. {"name", "string"}, -- 名字
  295. {"head", "int"}, -- 玩家头像ID
  296. {"headFrame", "int"}, -- 玩家头像框
  297. {"nSrcServerID", "int"}, -- 服务器ID
  298. {"szServerName", "string"}, -- 服务器名字
  299. {"zhandouli", "int"}, -- 战斗力
  300. }
  301. -- 请求参加天梯赛(中心->战区数据服)
  302. WL_JJC_NEWLADDER_JOINLADDER_C2D = {
  303. {"uuid", "string"}, -- 玩家uid
  304. {"name", "string"}, -- 名字
  305. {"head", "int"}, -- 玩家头像ID
  306. {"headFrame", "int"}, -- 玩家头像框
  307. {"nSrcServerID", "int"}, -- 服务器ID
  308. {"szServerName", "string"}, -- 服务器名字
  309. {"zhandouli", "int"}, -- 战斗力
  310. }
  311. -- 请求参加天梯赛(数据->中心)
  312. LW_JJC_NEWLADDER_JOINLADDER_D2C = {
  313. {"uuid", "string"}, -- 玩家uid
  314. {"nSrcServerID", "int"}, -- 玩家所属服务器ID
  315. {"nRank", "int"}, -- 玩家当前排名
  316. {"tEnemy", "table"}, -- 对战列表
  317. {"nPoint", "int"}, -- 当前玩家积分
  318. }
  319. -- 请求参加天梯赛(中心->普通)
  320. WL_JJC_NEWLADDER_JOINLADDER_C2O = {
  321. {"uuid", "string"}, -- 玩家uid
  322. {"nRank", "int"}, -- 玩家当前排名
  323. {"tEnemy", "table"}, -- 对战列表
  324. {"nPoint", "int"}, -- 当前玩家积分
  325. }
  326. -- 请求天梯赛排行榜数据(普通->中心)
  327. LW_JJC_NEWLADDER_QUERY_RANK_O2C = {
  328. {"nSrcServerID", "int"}, -- 服务器ID
  329. }
  330. -- 请求天梯赛排行榜数据(中心->战区数据服)
  331. WL_JJC_NEWLADDER_QUERY_RANK_C2D = {
  332. {"nSrcServerID", "int"}, -- 服务器ID
  333. }
  334. -- 请求天梯赛排行榜数据(数据服->中心)
  335. LW_JJC_NEWLADDER_QUERY_RANK_D2C =
  336. {
  337. {"nSrcServerID", "int"}, -- 服务器ID
  338. {"nIsEnd", "int"}, -- 是否发送完成 0 未 1 发送完
  339. {"tRankInfo", "table"}, -- 排行榜数据
  340. {"nFirst", "int"}, -- 首次发送 1 是 0 否
  341. }
  342. -- 请求天梯赛排行榜数据(中心->普通)
  343. WL_JJC_NEWLADDER_QUERY_RANK_C2O =
  344. {
  345. {"nFirst", "int"}, -- 首次发送 1 是 0 否
  346. {"nIsEnd", "int"}, -- 是否发送完成 0 未 1 发送完
  347. {"tRankInfo", "table"}, -- 排行榜数据
  348. }
  349. -- 查询是否能够战斗(普通->中心)
  350. LW_JJC_NEWLADDER_QUERY_CAN_FIGHT_O2C = {
  351. {"uuid", "string"}, -- 玩家uid
  352. {"uuidDes", "string"}, -- 目标uid
  353. {"nSrcServerID", "int"}, -- 服务器ID
  354. }
  355. -- 查询是否能够战斗(中心->战区数据服)
  356. WL_JJC_NEWLADDER_QUERY_CAN_FIGHT_C2D = {
  357. {"uuid", "string"}, -- 玩家uid
  358. {"uuidDes", "string"}, -- 目标uid
  359. {"nSrcServerID", "int"}, -- 服务器ID
  360. }
  361. -- 查询是否能够战斗(数据服->中心)
  362. LW_JJC_NEWLADDER_QUERY_CAN_FIGHT_D2C = {
  363. {"uuid", "string"}, -- 玩家uid
  364. {"uuidDes", "string"}, -- 目标uid
  365. {"nSrcServerID", "int"}, -- 服务器ID
  366. {"nIsFight", "int"}, -- 0 不能战斗 1 可以战斗
  367. }
  368. -- 查询是否能够战斗(中心->普通)
  369. WL_JJC_NEWLADDER_QUERY_CAN_FIGHT_C2O = {
  370. {"uuid", "string"}, -- 玩家uid
  371. {"uuidDes", "string"}, -- 目标uid
  372. {"nIsFight", "int"}, -- 0 不能战斗 1 可以战斗
  373. }
  374. -- 战斗结束(普通->中心)
  375. LW_JJC_NEWLADDER_CANCEL_FIGHT_END_O2C = {
  376. {"uuid", "string"}, -- 玩家uid
  377. {"uuidDes", "string"}, -- 目标uid
  378. {"nSrcServerID", "int"}, -- 服务器ID
  379. {"nResult", "int"}, -- 战斗结果 0 输 1赢
  380. {"tEnemyUid", "table"}, -- 对战列表
  381. {"nZhanDouLi", "int"}, -- 战斗力
  382. }
  383. -- 战斗结束(中心->战区数据服)
  384. WL_JJC_NEWLADDER_CANCEL_FIGHT_END_C2D = {
  385. {"uuid", "string"}, -- 玩家uid
  386. {"uuidDes", "string"}, -- 目标uid
  387. {"nSrcServerID", "int"}, -- 服务器ID
  388. {"nResult", "int"}, -- 战斗结果 0 输 1赢
  389. {"tEnemyUid", "table"}, -- 对战列表
  390. {"nZhanDouLi", "int"}, -- 战斗力
  391. }
  392. -- 战斗结束(数据服->中心)
  393. LW_JJC_NEWLADDER_CANCEL_FIGHT_END_D2C = {
  394. {"uuid", "string"}, -- 玩家uid
  395. {"uuidDes", "string"}, -- 对手uid
  396. {"nSrcServerID", "int"}, -- 服务器ID
  397. {"nNewRank", "int"}, -- 新的排名
  398. {"nNewPoint", "int"}, -- 新的点数
  399. {"tOldEnemyData", "table"}, -- 旧的对手数据
  400. {"tNewOneEnemy", "table"}, -- 新对手的数据
  401. }
  402. -- 战斗结束
  403. WL_JJC_NEWLADDER_CANCEL_FIGHT_END_C2O = {
  404. {"uuid", "string"}, -- 玩家uid
  405. {"uuidDes", "string"}, -- 对手uid
  406. {"nNewRank", "int"}, -- 新的排名
  407. {"nNewPoint", "int"}, -- 新的点数
  408. {"tOldEnemyData", "table"}, -- 旧的对手数据
  409. {"tNewOneEnemy", "table"}, -- 新对手的数据
  410. }
  411. -- 发送战败邮件(数据->中心)
  412. LW_JJC_NEWLADDER_SEND_MAIL_D2C = {
  413. {"uuidDes", "string"}, -- 目标uid
  414. {"nDesServerID", "int"}, -- 目标服务器ID
  415. {"szServerName", "string"}, -- 挑战玩家对应服务器名称
  416. {"szName", "string"}, -- 挑战玩家名称
  417. {"nNewRank", "int"}, -- 新排名
  418. }
  419. -- 发送战败邮件(中心->目标)
  420. WL_JJC_NEWLADDER_SEND_MAIL_C2O = {
  421. {"uuidDes", "string"}, -- 目标uid
  422. {"szServerName", "string"}, -- 挑战玩家对应服务器名称
  423. {"szName", "string"}, -- 挑战玩家名称
  424. {"nNewRank", "int"}, -- 新排名
  425. }
  426. -- 请求刷新对战列表(普通->中心)
  427. LW_JJC_NEWLADDER_REFRESH_O2C =
  428. {
  429. {"uuid", "string"}, -- 玩家uid
  430. {"nSrcServerID", "int"}, -- 服务器ID
  431. }
  432. -- 请求刷新对战列表(中心->数据)
  433. WL_JJC_NEWLADDER_REFRESH_C2D =
  434. {
  435. {"uuid", "string"}, -- 玩家uid
  436. {"nSrcServerID", "int"}, -- 服务器ID
  437. }
  438. -- 请求刷新对战列表(数据->中心)
  439. LW_JJC_NEWLADDER_REFRESH_D2C =
  440. {
  441. {"uuid", "string"}, -- 玩家uid
  442. {"nSrcServerID", "int"}, -- 服务器ID
  443. {"tEnemy", "table"}, -- 对战列表
  444. }
  445. -- 请求刷新对战列表(中心-普通)
  446. WL_JJC_NEWLADDER_REFRESH_C2O =
  447. {
  448. {"uuid", "string"}, -- 玩家uid
  449. {"tEnemy", "table"}, -- 对战列表
  450. }
  451. -- 请求上一轮前3玩家信息(普通->中心)
  452. LW_JJC_NEWLADDER_LAST3RANK_O2C =
  453. {
  454. {"nSrcServerID", "int"}, -- 服务器ID
  455. }
  456. -- 请求上一轮前3玩家信息(中心->数据)
  457. WL_JJC_NEWLADDER_LAST3RANK_C2D =
  458. {
  459. {"nSrcServerID", "int"}, -- 服务器ID
  460. }
  461. -- 请求上一轮前3玩家信息(数据->中心)
  462. LW_JJC_NEWLADDER_LAST3RANK_D2O =
  463. {
  464. {"nSrcServerID", "int"}, -- 服务器ID
  465. {"nExist", "int"}, -- 是否存在数据
  466. {"tLastRankInfo", "table"} -- 上一次排名数据
  467. }
  468. -- 请求上一轮前3玩家信息(中心-普通)
  469. WL_JJC_NEWLADDER_LAST3RANK_C2O =
  470. {
  471. {"nExist", "int"}, -- 是否存在数据
  472. {"tLastRankInfo", "table"} -- 上一次排名数据
  473. }
  474. -- 进行点赞(普通->中心)
  475. LW_JJC_NEWLADDER_SEND_WORSHIP_O2C =
  476. {
  477. {"uuidSrc", "string"},
  478. {"uuidDes", "string"},
  479. {"nSrcServerID", "int"},
  480. {"nDesServerID", "int"},
  481. }
  482. -- 进行点赞(中心->数据(被点赞玩家所在服))
  483. WL_JJC_NEWLADDER_SEND_WORSHIP_C2D = {
  484. {"uuidSrc", "string"},
  485. {"uuidDes", "string"},
  486. {"nSrcServerID", "int"},
  487. }
  488. -- 进行点赞(数据->中心(被点赞玩家所在服))
  489. LW_JJC_NEWLADDER_SEND_WORSHIP_D2C =
  490. {
  491. {"uuidSrc", "string"},
  492. {"nSrcServerID", "int"},
  493. {"uuidDes", "string"},
  494. {"nNowWorShip", "int"}
  495. }
  496. -- 进行点赞(中心->普通)
  497. WL_JJC_NEWLADDER_SEND_WORSHIP_C2O =
  498. {
  499. {"uuidSrc", "string"},
  500. {"uuidDes", "string"},
  501. {"nNowWorShip", "int"}
  502. }
  503. -- 告诉战区服点赞数改变(中心->战区数据服)
  504. -- 改变战区数据服记录的点赞数量
  505. WL_JJC_NEWLADDER_WORSHIP_CHANGE_C2D =
  506. {
  507. {"uuidDes", "string"},
  508. {"nAddNum", "int"}, -- 增加数量
  509. }
  510. -- 通知中心服最新的点赞数
  511. LW_JJC_NEWLADDER_WORSHIP_CHANGE_D2C =
  512. {
  513. {"uuidDes", "string"},
  514. {"nNowWorShip", "int"},
  515. {"nSrcServerID", "int"},
  516. }
  517. -- 通知对应战区所属服务器更新最新的点赞数
  518. WL_JJC_NEWLADDER_WORSHIP_UPDATE_D2C =
  519. {
  520. {"uuidDes", "string"},
  521. {"nNowWorShip", "int"}
  522. }
  523. -- 发送排名奖励(数据->中心)
  524. LW_JJC_NEWLADDER_SEND_RANK_PRIZE_D2C =
  525. {
  526. {"uuid", "string"}, -- 玩家uid
  527. {"nServerID", "int"}, -- 服务器ID
  528. {"nRank", "int"}, -- 排名
  529. }
  530. -- 发送排名奖励(中心->普通)
  531. WL_JJC_NEWLADDER_SEND_RANK_PRIZE_C2O =
  532. {
  533. {"uuid", "string"}, -- 玩家uid
  534. {"nRank", "int"}, -- 排名
  535. }
  536. -- 请求玩家当前的点赞数(数据->中心)
  537. LW_JJC_NEWLADDER_QUERY_WORSHIP_D2C =
  538. {
  539. {"uuid", "string"}, -- 玩家uid
  540. {"nServerID", "int"}, -- 玩家所属服
  541. {"nFromServerID", "int"}, -- 请求来源服
  542. }
  543. -- 请求玩家当前的点赞数(中心->普通)
  544. WL_JJC_NEWLADDER_QUERY_WORSHIP_C20 =
  545. {
  546. {"uuid", "string"}, -- 玩家uid
  547. {"nFromServerID", "int"}, -- 请求来源服
  548. }
  549. -- 请求玩家当前的点赞数(普通->中心)
  550. LW_JJC_NEWLADDER_QUERY_WORSHIP_O2C =
  551. {
  552. {"uuid", "string"}, -- 玩家uid
  553. {"nFromServerID", "int"}, -- 请求来源服
  554. {"nWorShip", "int"}, -- 当前玩家点赞数
  555. }
  556. -- 请求玩家当前的点赞数(中心->数据)
  557. WL_JJC_NEWLADDER_QUERY_WORSHIP_C2D =
  558. {
  559. {"uuid", "string"}, -- 玩家uid
  560. {"nWorShip", "int"}, -- 当前玩家点赞数
  561. }
  562. -------------------- 天梯赛结束 -----------------------------------
  563. -------------------- 封禁功能开始 -----------------------------------
  564. --从跨服请求封禁数据
  565. LW_QUERY_BAN_INFO = {
  566. {"nSrcServerID", "int"}, -- 服务器ID
  567. }
  568. WL_QUERY_BAN_INFO = {
  569. {"banList", "table"}, -- 禁止登录列表
  570. }
  571. -- 通知跨服更新
  572. LW_UPDATE_BAN_INFO =
  573. {
  574. {"nSrcServerID", "int"}, -- 服务器ID
  575. -- {"banTag", "string"}, -- 禁止登录标识
  576. -- {"banTime", "int"}, -- 禁止登录时间
  577. -- {"banLevel", "int"}, -- 禁止等级
  578. {"banStr", "string"}, -- 封禁数据
  579. }
  580. WL_UPDATE_BAN_INFO =
  581. {
  582. -- {"banTag", "string"}, -- 禁止登录标识
  583. -- {"banTime", "int"}, -- 禁止登录时间
  584. -- {"banLevel", "int"}, -- 禁止等级
  585. {"banStr", "string"}, -- 封禁数据
  586. }
  587. -------------------- 封禁功能结束 -----------------------------------
  588. ----------------------- 返利开始 -----------------------------------
  589. --向跨服查询是否能返利
  590. LW_REBATE_QUERY = {
  591. {"nSrcServerID", "int"}, -- 服务器ID
  592. {"channelId", "int"}, -- 渠道D
  593. {"serverId", "int"}, -- 区服ID
  594. {"account", "string"}, -- 账号
  595. }
  596. WL_REBATE_OK = {
  597. {"channelId", "int"}, -- 渠道D
  598. {"serverId", "int"}, -- 区服ID
  599. {"account", "string"}, -- 账号
  600. }
  601. -------------------- 返利结束 -----------------------------------