InnerMessage.proto 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994
  1. syntax = "proto3";
  2. package ET;
  3. //ResponseType A2M_Reload
  4. message M2A_Reload // IActorRequest
  5. {
  6. int32 RpcId = 90;
  7. }
  8. message A2M_Reload // IActorResponse
  9. {
  10. int32 RpcId = 90;
  11. int32 Error = 91;
  12. string Message = 92;
  13. }
  14. //ResponseType G2G_LockResponse
  15. message G2G_LockRequest // IActorRequest
  16. {
  17. int32 RpcId = 90;
  18. int64 Id = 1;
  19. string Address = 2;
  20. }
  21. message G2G_LockResponse // IActorResponse
  22. {
  23. int32 RpcId = 90;
  24. int32 Error = 91;
  25. string Message = 92;
  26. }
  27. //ResponseType G2G_LockReleaseResponse
  28. message G2G_LockReleaseRequest // IActorRequest
  29. {
  30. int32 RpcId = 90;
  31. int64 Id = 1;
  32. string Address = 2;
  33. }
  34. message G2G_LockReleaseResponse // IActorResponse
  35. {
  36. int32 RpcId = 90;
  37. int32 Error = 91;
  38. string Message = 92;
  39. }
  40. //ResponseType ObjectAddResponse
  41. message ObjectAddRequest // IActorRequest
  42. {
  43. int32 RpcId = 90;
  44. int64 Key = 1;
  45. int64 InstanceId = 2;
  46. }
  47. message ObjectAddResponse // IActorResponse
  48. {
  49. int32 RpcId = 90;
  50. int32 Error = 91;
  51. string Message = 92;
  52. }
  53. //ResponseType ObjectLockResponse
  54. message ObjectLockRequest // IActorRequest
  55. {
  56. int32 RpcId = 90;
  57. int64 Key = 1;
  58. int64 InstanceId = 2;
  59. int32 Time = 3;
  60. }
  61. message ObjectLockResponse // IActorResponse
  62. {
  63. int32 RpcId = 90;
  64. int32 Error = 91;
  65. string Message = 92;
  66. }
  67. //ResponseType ObjectUnLockResponse
  68. message ObjectUnLockRequest // IActorRequest
  69. {
  70. int32 RpcId = 90;
  71. int64 Key = 1;
  72. int64 OldInstanceId = 2;
  73. int64 InstanceId = 3;
  74. }
  75. message ObjectUnLockResponse // IActorResponse
  76. {
  77. int32 RpcId = 90;
  78. int32 Error = 91;
  79. string Message = 92;
  80. }
  81. //ResponseType ObjectRemoveResponse
  82. message ObjectRemoveRequest // IActorRequest
  83. {
  84. int32 RpcId = 90;
  85. int64 Key = 1;
  86. }
  87. message ObjectRemoveResponse // IActorResponse
  88. {
  89. int32 RpcId = 90;
  90. int32 Error = 91;
  91. string Message = 92;
  92. }
  93. //ResponseType ObjectGetResponse
  94. message ObjectGetRequest // IActorRequest
  95. {
  96. int32 RpcId = 90;
  97. int64 Key = 1;
  98. }
  99. message ObjectGetResponse // IActorResponse
  100. {
  101. int32 RpcId = 90;
  102. int32 Error = 91;
  103. string Message = 92;
  104. int64 InstanceId = 1;
  105. }
  106. message G2M_SessionDisconnect // IActorLocationMessage
  107. {
  108. int32 RpcId = 90;
  109. }
  110. //ResponseType L2A_LoginAccountResponse
  111. message A2L_LoginAccountRequest // IActorRequest
  112. {
  113. int32 RpcId = 90;
  114. int64 AccountId = 1;
  115. }
  116. message L2A_LoginAccountResponse // IActorResponse
  117. {
  118. int32 RpcId = 1;
  119. int32 Error = 2;
  120. string Message = 3;
  121. }
  122. message L2G_DisconnectGateUnit // IActorMessage
  123. {
  124. int64 AccountId = 1;
  125. }
  126. //ResponseType R2A_GetRealmKey
  127. message A2R_GetRealmKey // IActorRequest
  128. {
  129. int32 RpcId = 90;
  130. int64 AccountId = 1;
  131. }
  132. message R2A_GetRealmKey // IActorResponse
  133. {
  134. int32 RpcId = 90;
  135. int32 Error = 91;
  136. string Message = 92;
  137. string RealmKey = 1;
  138. }
  139. //ResponseType G2R_GetLoginGateKey
  140. message R2G_GetLoginGateKey // IActorRequest
  141. {
  142. int32 RpcId = 90;
  143. int64 AccountId = 1;
  144. }
  145. message G2R_GetLoginGateKey // IActorResponse
  146. {
  147. int32 RpcId = 90;
  148. int32 Error = 91;
  149. string Message = 92;
  150. string GateSessionKey = 1;
  151. }
  152. //ResponseType L2G_AddLoginRecord
  153. message G2L_AddLoginRecord // IActorRequest
  154. {
  155. int32 RpcId = 90;
  156. int64 AccountId = 1;
  157. int32 ServerId = 2;
  158. }
  159. message L2G_AddLoginRecord // IActorResponse
  160. {
  161. int32 RpcId = 90;
  162. int32 Error = 91;
  163. string Message = 92;
  164. }
  165. //ResponseType M2G_RequestEnterGameState
  166. message G2M_RequestEnterGameState // IActorLocationRequest
  167. {
  168. int32 RpcId = 90;
  169. }
  170. message M2G_RequestEnterGameState // IActorLocationResponse
  171. {
  172. int32 RpcId = 90;
  173. int32 Error = 91;
  174. string Message = 92;
  175. }
  176. message M2M_UnitTransferResponse // IActorResponse
  177. {
  178. int32 RpcId = 90;
  179. int32 Error = 91;
  180. string Message = 92;
  181. int64 NewInstanceId = 1;
  182. }
  183. //ResponseType M2G_RequestExitGame
  184. message G2M_RequestExitGame // IActorLocationRequest
  185. {
  186. int32 RpcId = 90;
  187. }
  188. message M2G_RequestExitGame // IActorLocationResponse
  189. {
  190. int32 RpcId = 90;
  191. int32 Error = 91;
  192. string Message = 92;
  193. }
  194. //ResponseType L2G_RemoveLoginRecord
  195. message G2L_RemoveLoginRecord // IActorRequest
  196. {
  197. int32 RpcId = 90;
  198. int64 AccountId = 1;
  199. int32 ServerId = 2;
  200. }
  201. message L2G_RemoveLoginRecord // IActorResponse
  202. {
  203. int32 RpcId = 90;
  204. int32 Error = 91;
  205. string Message = 92;
  206. }
  207. //----------------玩家缓存相关---------------------
  208. //增加或者更新Unit缓存
  209. //ResponseType UnitCache2Other_AddOrUpdateUnit
  210. message Other2UnitCache_AddOrUpdateUnit // IActorRequest
  211. {
  212. int32 RpcId = 90;
  213. int64 UnitId = 1; //需要缓存的UnitId
  214. repeated string EntityTypes = 2; // 实体类型
  215. repeated bytes EntityBytes = 3; // 实体序列化后的bytes
  216. }
  217. message UnitCache2Other_AddOrUpdateUnit //IActorResponse
  218. {
  219. int32 RpcId = 90;
  220. int32 Error = 91;
  221. string Message = 92;
  222. }
  223. //获取Unit缓存
  224. //ResponseType UnitCache2Other_GetUnit
  225. message Other2UnitCache_GetUnit // IActorRequest
  226. {
  227. int32 RpcId = 90;
  228. int64 UnitId = 1;
  229. repeated string ComponentNameList = 2; //需要获取的组件名
  230. }
  231. //删除Unit缓存
  232. //ResponseType UnitCache2Other_DeleteUnit
  233. message Other2UnitCache_DeleteUnit // IActorRequest
  234. {
  235. int32 RpcId = 90;
  236. int64 UnitId = 1;
  237. }
  238. message UnitCache2Other_DeleteUnit // IActorResponse
  239. {
  240. int32 RpcId = 90;
  241. int32 Error = 91;
  242. string Message = 92;
  243. }
  244. message SystemNoticeProtoIn
  245. {
  246. int32 NoticeId = 1; //公告id
  247. string Title = 2; //标题
  248. int64 TimeSec = 3; //时间戳,单位秒
  249. }
  250. //通知公告服添加公告
  251. //ResponseType N2H_AddSystemNotice
  252. message H2N_AddSystemNotice // IActorRequest
  253. {
  254. int32 RpcId = 90;
  255. SystemNoticeProtoIn Notice = 1; //公告
  256. string Content = 2; //公告内容
  257. int32 ServerId = 3; //服务器id,0表示全服
  258. }
  259. message N2H_AddSystemNotice // IActorResponse
  260. {
  261. int32 RpcId = 90;
  262. int32 Error = 91;
  263. string Message = 92;
  264. }
  265. //通知公告服删除公告
  266. //ResponseType N2H_RemoveSystemNotice
  267. message H2N_RemoveSystemNotice // IActorRequest
  268. {
  269. int32 RpcId = 90;
  270. int32 NoticeId = 1; //公告id
  271. }
  272. message N2H_RemoveSystemNotice // IActorResponse
  273. {
  274. int32 RpcId = 90;
  275. int32 Error = 91;
  276. string Message = 92;
  277. }
  278. //通知游戏服有新公告
  279. message N2M_SystemNoticeChanged // IActorMessage
  280. {
  281. SystemNoticeProtoIn Notice = 1; //公告
  282. }
  283. //通知游戏服移除公告
  284. message N2M_SystemNoticeRemoved // IActorMessage
  285. {
  286. int32 NoticeId = 1; //公告id
  287. }
  288. //请求最新的系统公告
  289. //ResponseType N2A_GetLatestNotice
  290. message A2N_GetLatestNotice // IActorRequest
  291. {
  292. int32 RpcId = 90;
  293. }
  294. message N2A_GetLatestNotice // IActorResponse
  295. {
  296. int32 RpcId = 90;
  297. int32 Error = 91;
  298. string Message = 92;
  299. SystemNoticeProtoIn Notice = 1;
  300. string Content = 2;
  301. }
  302. //请求系统公告列表
  303. //ResponseType N2M_GetSystemNoticeList
  304. message M2N_GetSystemNoticeList // IActorRequest
  305. {
  306. int32 RpcId = 90;
  307. }
  308. message N2M_GetSystemNoticeList // IActorResponse
  309. {
  310. int32 RpcId = 90;
  311. int32 Error = 91;
  312. string Message = 92;
  313. repeated SystemNoticeProtoIn NoticeList = 1; //公告列表
  314. }
  315. //请求系统公告内容
  316. //ResponseType N2M_GetSystemNotice
  317. message M2N_GetSystemNotice // IActorRequest
  318. {
  319. int32 RpcId = 90;
  320. int32 NoticeId = 1; //公告id
  321. }
  322. message N2M_GetSystemNotice // IActorResponse
  323. {
  324. int32 RpcId = 90;
  325. int32 Error = 91;
  326. string Message = 92;
  327. int32 NoticeId = 1; //公告id
  328. string Content = 2; //公告内容,需要设置邮件读取状态
  329. }
  330. //邮件===============================================================
  331. message MailProtoIn
  332. {
  333. string Title = 2; //邮件标题
  334. int64 TimeSec = 3; //邮件时间戳,单位秒
  335. string Content = 4; //邮件内容
  336. repeated ItemInfoProto ItemList = 5; //邮件物品
  337. int64 RoleId = 7; //角色id
  338. int32 Type = 8; //为0时只发注册玩家,1表示新注册玩家也可以领取
  339. }
  340. //通知邮件服添加邮件
  341. //ResponseType Mail2H_AddMail
  342. message H2Mail_AddMail // IActorRequest
  343. {
  344. int32 RpcId = 90;
  345. MailProtoIn Mail = 1;
  346. }
  347. message Mail2H_AddMail // IActorResponse
  348. {
  349. int32 RpcId = 90;
  350. int32 Error = 91;
  351. string Message = 92;
  352. }
  353. //通知邮件服删除邮件
  354. //ResponseType Mail2H_RemoveMail
  355. message H2Mail_RemoveMail // IActorRequest
  356. {
  357. int32 RpcId = 90;
  358. int64 MailId = 1; //邮件id
  359. }
  360. message Mail2H_RemoveMail // IActorResponse
  361. {
  362. int32 RpcId = 90;
  363. int32 Error = 91;
  364. string Message = 92;
  365. }
  366. //进入游戏通知邮件服
  367. //ResponseType Mail2G_EnterGame
  368. message G2Mail_EnterGame // IActorRequest
  369. {
  370. int32 RpcId = 90;
  371. int64 RoleId = 1;
  372. int64 GatePlayerInstanceId = 2;
  373. }
  374. message Mail2G_EnterGame // IActorResponse
  375. {
  376. int32 RpcId = 90;
  377. int32 Error = 91;
  378. string Message = 92;
  379. }
  380. //下线通知邮件服
  381. //ResponseType Mail2G_ExitGame
  382. message G2Mail_ExitGame // IActorRequest
  383. {
  384. int32 RpcId = 90;
  385. int64 RoleId = 1;
  386. }
  387. message Mail2G_ExitGame // IActorResponse
  388. {
  389. int32 RpcId = 90;
  390. int32 Error = 91;
  391. string Message = 92;
  392. }
  393. //请求领取邮件物品
  394. //ResponseType Mail2M_GetMailItems
  395. message M2Mail_GetMailItems // IActorRequest
  396. {
  397. int32 RpcId = 90;
  398. int64 RoleId = 1;
  399. int64 MailId = 2;
  400. }
  401. message Mail2M_GetMailItems // IActorResponse
  402. {
  403. int32 RpcId = 90;
  404. int32 Error = 91;
  405. string Message = 92;
  406. int64 MailId = 1;
  407. int32 Status = 2;
  408. repeated ItemInfoProto items = 3;
  409. }
  410. //请求一键领取奖励
  411. //ResponseType Mail2M_GetAllMailItems
  412. message M2Mail_GetAllMailItems // IActorRequest
  413. {
  414. int32 RpcId = 90;
  415. int64 RoleId = 1;
  416. }
  417. message Mail2M_GetAllMailItems // IActorResponse
  418. {
  419. int32 RpcId = 90;
  420. int32 Error = 91;
  421. string Message = 92;
  422. repeated ItemInfoProto ItemList = 1; //所有领取的邮件物品,如果有物品领取客户端需重新请求邮件列表
  423. int32 UnreadCount = 2; //未读邮件数量
  424. }
  425. //获取在线人数
  426. //ResponseType M2H_GetOnlineCount
  427. message H2M_GetOnlineCount // IActorRequest
  428. {
  429. int32 RpcId = 90;
  430. }
  431. message M2H_GetOnlineCount // IActorResponse
  432. {
  433. int32 RpcId = 90;
  434. int32 Error = 91;
  435. string Message = 92;
  436. int32 OnlineCount = 1; //在线人数
  437. }
  438. //获取玩家是否在线
  439. //ResponseType M2H_GetRoleOnlineStatus
  440. message H2M_GetRoleOnlineStatus // IActorRequest
  441. {
  442. int32 RpcId = 90;
  443. int64 RoleId = 1;
  444. }
  445. message M2H_GetRoleOnlineStatus // IActorResponse
  446. {
  447. int32 RpcId = 90;
  448. int32 Error = 91;
  449. string Message = 92;
  450. bool Status = 1; //是否在线
  451. }
  452. //获取角色信息
  453. //ResponseType A2H_GetRoleInfo
  454. message H2A_GetRoleInfo // IActorRequest
  455. {
  456. int32 RpcId = 90;
  457. string RoleName = 1;
  458. int32 ServerId = 2;
  459. }
  460. message A2H_GetRoleInfo // IActorResponse
  461. {
  462. int32 RpcId = 90;
  463. int32 Error = 91;
  464. string Message = 92;
  465. repeated RoleInfoProto RoleInfos = 1;
  466. }
  467. //重载热更代码
  468. //ResponseType Other2H_ReloadHotfixDll
  469. message H2Other_ReloadHotfixDll // IActorRequest
  470. {
  471. int32 RpcId = 90;
  472. }
  473. message Other2H_ReloadHotfixDll // IActorResponse
  474. {
  475. int32 RpcId = 90;
  476. int32 Error = 91;
  477. string Message = 92;
  478. }
  479. //重载sqliteConfig
  480. //ResponseType Other2H_ReloadSqliteConfig
  481. message H2Other_ReloadSqliteConfig // IActorRequest
  482. {
  483. int32 RpcId = 90;
  484. }
  485. message Other2H_ReloadSqliteConfig // IActorResponse
  486. {
  487. int32 RpcId = 90;
  488. int32 Error = 91;
  489. string Message = 92;
  490. }
  491. //踢所有玩家下线
  492. //ResponseType G2H_KickAllPlayers
  493. message H2G_KickAllPlayers // IActorRequest
  494. {
  495. int32 RpcId = 90;
  496. }
  497. message G2H_KickAllPlayers // IActorResponse
  498. {
  499. int32 RpcId = 90;
  500. int32 Error = 91;
  501. string Message = 92;
  502. }
  503. //设置登录状态
  504. //ResponseType A2H_SetLoginStatus
  505. message H2A_SetLoginStatus // IActorRequest
  506. {
  507. int32 RpcId = 90;
  508. int32 ErrorCode = 1; //登录返回的错误码
  509. }
  510. message A2H_SetLoginStatus // IActorResponse
  511. {
  512. int32 RpcId = 90;
  513. int32 Error = 91;
  514. string Message = 92;
  515. }
  516. //请求等待进入游戏场景
  517. message G2M_RequestWaitEnterGameScene // IActorLocationMessage
  518. {
  519. int32 RpcId = 90;
  520. }
  521. //进入游戏通知好友服
  522. //ResponseType Friend2G_EnterGame
  523. message G2Friend_EnterGame // IActorRequest
  524. {
  525. int32 RpcId = 90;
  526. int64 RoleId = 1;
  527. int64 GatePlayerInstanceId = 2;
  528. }
  529. message Friend2G_EnterGame // IActorResponse
  530. {
  531. int32 RpcId = 90;
  532. int32 Error = 91;
  533. string Message = 92;
  534. int64 FriendUnitInstanceId = 1;
  535. }
  536. //下线通知好友服
  537. //ResponseType Friend2G_ExitGame
  538. message G2Friend_ExitGame // IActorRequest
  539. {
  540. int32 RpcId = 90;
  541. int64 RoleId = 1;
  542. }
  543. message Friend2G_ExitGame // IActorResponse
  544. {
  545. int32 RpcId = 90;
  546. int32 Error = 91;
  547. string Message = 92;
  548. }
  549. message FriendProtoIn
  550. {
  551. int64 FriendId = 1;
  552. int32 Type = 2; //好友关系类型,由FriendType枚举
  553. int32 GiveGiftState = 3; //赠送状态,由ConstGiveGiftStatus枚举
  554. int32 TakeGiftState = 4; //领取赠送状态,由ConstBonusStatus枚举
  555. }
  556. //请求所有类型好友列表
  557. //ResponseType Friend2M_GetAllTypeFriendList
  558. message M2Friend_GetAllTypeFriendList // IActorRequest
  559. {
  560. int32 RpcId = 90;
  561. int64 FriendId = 1;
  562. }
  563. message Friend2M_GetAllTypeFriendList // IActorResponse
  564. {
  565. int32 RpcId = 90;
  566. int32 Error = 91;
  567. string Message = 92;
  568. repeated FriendProtoIn FriendList = 1; //好友列表
  569. }
  570. //通知有新的好友申请
  571. message Friend2OpenRoleInfo_ReceiveApplyForFriend // IActorMessage
  572. {
  573. int32 RpcId = 90;
  574. int64 FriendId = 1;
  575. int64 RoleId = 2;
  576. }
  577. //通知添加新的好友
  578. message Friend2OpenRoleInfo_AddFriend // IActorMessage
  579. {
  580. int32 RpcId = 90;
  581. repeated FriendProtoIn FriendList = 1; //好友列表
  582. int64 RoleId = 2;
  583. }
  584. //请求领取好友赠送
  585. //ResponseType Friend2M_TakeGiftFromFriend
  586. message M2Friend_TakeGiftFromFriend // IActorRequest
  587. {
  588. int32 RpcId = 90;
  589. int64 RoleId = 1;
  590. int64 FriendId = 2;
  591. bool Take = 3; //是否领取并赠送,否则只赠送
  592. }
  593. message Friend2M_TakeGiftFromFriend // IActorResponse
  594. {
  595. int32 RpcId = 90;
  596. int32 Error = 91;
  597. string Message = 92;
  598. int64 RoleId = 1;
  599. int64 FriendId = 2;
  600. int32 GiveGiftState = 3; //赠送状态,由ConstGiveGiftStatus枚举
  601. int32 TakeGiftState = 4; //领取赠送状态,由ConstBonusStatus枚举
  602. }
  603. //请求一键领取奖励
  604. //ResponseType Friend2M_TakeGiftFromAllFriend
  605. message M2Friend_TakeGiftFromAllFriend // IActorRequest
  606. {
  607. int32 RpcId = 90;
  608. int64 RoleId = 1;
  609. int32 FriendCount = 2; //领取的个数
  610. }
  611. message Friend2M_TakeGiftFromAllFriend // IActorResponse
  612. {
  613. int32 RpcId = 90;
  614. int32 Error = 91;
  615. string Message = 92;
  616. int64 RoleId = 1;
  617. repeated int64 FriendIds = 2; //好友id列表
  618. repeated int32 GiveGiftStates = 3; //赠送状态,由ConstGiveGiftStatus枚举
  619. repeated int32 TakeGiftStates = 4; //领取赠送状态,由ConstBonusStatus枚举
  620. }
  621. //通知赠送了好友礼物
  622. message Friend2M_GiveGiftToFriend // IActorLocationMessage
  623. {
  624. int32 RpcId = 90;
  625. int32 Count = 1; //赠送了多少次
  626. }
  627. //通知好友数量变化
  628. //ResponseType Friend2M_GetFriendCount
  629. message M2Friend_GetFriendCount // IActorRequest
  630. {
  631. int32 RpcId = 90;
  632. int64 RoleId = 1;
  633. }
  634. message Friend2M_GetFriendCount // IActorResponse
  635. {
  636. int32 RpcId = 90;
  637. int32 Error = 91;
  638. string Message = 92;
  639. int32 Count = 1;
  640. }
  641. //登录画廊服
  642. //ResponseType Gallery2G_EnterGame
  643. message G2Gallery_EnterGame // IActorRequest
  644. {
  645. int32 RpcId = 90;
  646. int64 RoleId = 1;
  647. string RoleName = 2;
  648. int64 GatePlayerInstanceId = 3;
  649. int64 FriendUnitInstanceId = 4;
  650. }
  651. message Gallery2G_EnterGame // IActorResponse
  652. {
  653. int32 RpcId = 90;
  654. int32 Error = 91;
  655. string Message = 92;
  656. int64 GalleryUnitInstanceId = 1;
  657. }
  658. //下线通知画廊服
  659. //ResponseType Gallery2G_ExitGame
  660. message G2Gallery_ExitGame // IActorRequest
  661. {
  662. int32 RpcId = 90;
  663. int64 RoleId = 1;
  664. }
  665. message Gallery2G_ExitGame // IActorResponse
  666. {
  667. int32 RpcId = 90;
  668. int32 Error = 91;
  669. string Message = 92;
  670. }
  671. //点赞画廊作品
  672. //ResponseType Gallery2M_LikeGalleryWorks
  673. message M2Gallery_LikeGalleryWorks // IActorRequest
  674. {
  675. int32 RpcId = 90;
  676. int64 RoleId = 1;
  677. int64 WorksId = 2;
  678. }
  679. message Gallery2M_LikeGalleryWorks // IActorResponse
  680. {
  681. int32 RpcId = 90;
  682. int32 Error = 91;
  683. string Message = 92;
  684. int64 WorksId = 1;
  685. int64 BelikedCount = 2; //被点赞次数
  686. }
  687. //请求好友id列表
  688. //ResponseType Friend2Gallery_GetAllFriendId
  689. message Gallery2Friend_GetAllFriendId // IActorRequest
  690. {
  691. int32 RpcId = 90;
  692. }
  693. message Friend2Gallery_GetAllFriendId // IActorResponse
  694. {
  695. int32 RpcId = 90;
  696. int32 Error = 91;
  697. string Message = 92;
  698. repeated int64 FriendIds = 1;
  699. }
  700. //领取画廊排行榜奖励
  701. //ResponseType Gallery2M_GetGalleryRankBonus
  702. message M2Gallery_GetGalleryRankBonus // IActorRequest
  703. {
  704. int32 RpcId = 90;
  705. int64 RoleId = 1;
  706. }
  707. message Gallery2M_GetGalleryRankBonus // IActorResponse
  708. {
  709. int32 RpcId = 90;
  710. int32 Error = 91;
  711. string Message = 92;
  712. repeated int32 MyWorksRanks = 1; //我的作品排名列表
  713. }
  714. //修改画廊作品的作者名字
  715. message M2Gallery_ModifyGalleryRoleName // IActorMessage
  716. {
  717. int32 RpcId = 90;
  718. int64 RoleId = 1;
  719. string RoleName = 2;
  720. }
  721. //结算画廊排行
  722. message M2Gallery_ClearingGalleryRank // IActorMessage
  723. {
  724. int32 RpcId = 90;
  725. }
  726. //竞技场------------------------------------------------------
  727. //从map服获取roleInfo
  728. //ResponseType OpenRoleInfo2Other_GetOtherRoleInfo
  729. message Other2OpenRoleInfo_GetOtherRoleInfo // IActorRequest
  730. {
  731. int32 RpcId = 90;
  732. repeated int64 RoleId = 1;
  733. int32 SceneType = 2;
  734. }
  735. message OpenRoleInfo2Other_GetOtherRoleInfo // IActorResponse
  736. {
  737. int32 RpcId = 90;
  738. int32 Error = 91;
  739. string Message = 92;
  740. repeated OtherRoleInfoProto infos = 1; //玩家信息
  741. }
  742. //从arena获取套装信息
  743. //ResponseType Arena2M_GetArenaDressup
  744. message M2Arena_GetArenaDressup // IActorRequest
  745. {
  746. int32 RpcId = 90;
  747. int64 RoleId = 1;
  748. }
  749. message Arena2M_GetArenaDressup // IActorResponse
  750. {
  751. int32 RpcId = 90;
  752. int32 Error = 91;
  753. string Message = 92;
  754. repeated int32 ThemeList = 1; //主题列表
  755. repeated ArenaDressupProto DressupList = 2; //搭配列表
  756. }
  757. //从map服检查物品是否存在
  758. //ResponseType M2Arena_CheckDressupInfo
  759. message Arena2M_CheckDressupInfo // IActorLocationRequest
  760. {
  761. int32 RpcId = 90;
  762. int64 RoleId = 1; //搭配列表
  763. ArenaDressupProto Dressup = 2; //搭配列表
  764. }
  765. message M2Arena_CheckDressupInfo // IActorLocationResponse
  766. {
  767. int32 RpcId = 90;
  768. int32 Error = 91;
  769. string Message = 92;
  770. }
  771. //同步赛季数据
  772. message Arena2M_SyncSeasonData // IActorLocationMessage
  773. {
  774. int32 RpcId = 90;
  775. int32 SeasonId = 1;
  776. int32 HighGrade = 2;
  777. }
  778. // 扣除某个数值
  779. //ResponseType M2Other_AddNum
  780. message Other2M_AddNum // IActorLocationRequest
  781. {
  782. int32 RpcId = 90;
  783. int32 NumType = 2; //NumericType
  784. int64 Change = 3; //扣除要用负数
  785. }
  786. message M2Other_AddNum // IActorLocationResponse
  787. {
  788. int32 RpcId = 90;
  789. int32 Error = 91;
  790. string Message = 92;
  791. int32 Num = 1;//当前值
  792. }
  793. //缓存玩家roleId 和 instanceId 对应关系
  794. message M2Other_CacheRoleInstanceId // IActorMessage
  795. {
  796. int32 RpcId = 90;
  797. int64 RoleId = 1;
  798. int64 InstanceId = 2;
  799. int64 FriendInstanceId = 3;
  800. }
  801. //清理玩家roleId 和 instanceId 对应关系缓存
  802. message M2Other_ClearRoleInstanceIdCache // IActorMessage
  803. {
  804. int32 RpcId = 90;
  805. int64 RoleId = 1;
  806. }
  807. //设置限购信息
  808. message Other2M_SetLimitInfo // IActorMessage
  809. {
  810. int32 RpcId = 90;
  811. repeated LimitInfoProto limitInfo = 1;
  812. }
  813. //限购信息
  814. message LimitInfoProto
  815. {
  816. int32 NumberType = 1;// NumericType
  817. int64 MaxValue = 2;// 最大值
  818. int64 MinValue = 3;// 最小值
  819. int32 ClearType = 4;//LimitClearType
  820. int64 defaultValue = 5;//清理默认值
  821. }
  822. //发放战斗奖励
  823. //ResponseType M2Arena_SendFightPrize
  824. message Arena2M_SendFightPrize // IActorLocationRequest
  825. {
  826. int32 RpcId = 90;
  827. bool isWin = 2;
  828. }
  829. message M2Arena_SendFightPrize // IActorLocationResponse
  830. {
  831. int32 RpcId = 90;
  832. int32 Error = 91;
  833. string Message = 92;
  834. repeated ItemInfoProto proto = 1;
  835. }
  836. //发放首次晋级奖励
  837. message Arena2M_SendFightFirstUpPrize // IActorLocationMessage
  838. {
  839. int32 RpcId = 90;
  840. int32 Grade = 1;
  841. }
  842. //同步搭配数据
  843. message Arena2M_SyncDressupInfo // IActorLocationMessage
  844. {
  845. int32 RpcId = 90;
  846. repeated int32 Themes = 1; //赛季列表
  847. repeated ArenaDressupProto Dressup = 2; //搭配列表
  848. }
  849. //玩家登录游戏
  850. message M2Arena_EnterGame // IActorArenaMessage
  851. {
  852. int32 RpcId = 90;
  853. int64 RoleId = 1;
  854. }
  855. //获取竞技场套装数据缓存
  856. //ResponseType M2Arena_GetArenaDressupAttrProto
  857. message Arena2M_GetArenaDressupAttrProto // IActorLocationRequest
  858. {
  859. int32 RpcId = 90;
  860. repeated int32 Themes = 1;
  861. }
  862. //获取竞技场套装数据缓存
  863. message M2Arena_GetArenaDressupAttrProto // IActorLocationResponse
  864. {
  865. int32 RpcId = 90;
  866. int32 Error = 91;
  867. string Message = 92;
  868. repeated ArenaDressupAttrProto attrs = 1;
  869. }
  870. //下线时同步套装属性给晋级场
  871. message M2Arena_AsyncArenaDressupAttrProto // IActorMessage
  872. {
  873. int32 RpcId = 90;
  874. int64 RoleId = 1;
  875. repeated ArenaDressupAttrProto attrs = 2;
  876. }
  877. //同步联盟技能属性给晋级场
  878. message M2Arena_AsyncArenaLeagueSkillAttrProto // IActorMessage
  879. {
  880. int32 RpcId = 90;
  881. int64 RoleId = 1;
  882. repeated SkillAttrProto attrs = 2;
  883. }
  884. //获取玩家技能属性
  885. //ResponseType M2Arena_GetSkillAttrProto
  886. message Arena2M_GetSkillAttrProto // IActorLocationRequest
  887. {
  888. int32 RpcId = 90;
  889. }
  890. message M2Arena_GetSkillAttrProto // IActorLocationResponse
  891. {
  892. int32 RpcId = 90;
  893. int32 Error = 91;
  894. string Message = 92;
  895. repeated SkillAttrProto attrs = 1;
  896. }
  897. //竞技场检查玩家是否有足够的挑战次数
  898. //ResponseType M2Arena_CheckArenaFightNum
  899. message Arena2M_CheckArenaFightNum // IActorLocationRequest
  900. {
  901. int32 RpcId = 90;
  902. int32 Num = 1;
  903. }
  904. message M2Arena_CheckArenaFightNum // IActorLocationResponse
  905. {
  906. int32 RpcId = 90;
  907. int32 Error = 91;
  908. string Message = 92;
  909. }
  910. //移除玩家竞技场挑战次数
  911. message Arena2M_DeductsArenaFightNum // IActorLocationMessage
  912. {
  913. int32 RpcId = 90;
  914. int32 Num = 1;
  915. }
  916. //请求好友id列表
  917. //ResponseType Friend2Other_GetAllFriendId
  918. message Other2Friend_GetAllFriendId // IActorRequest
  919. {
  920. int32 RpcId = 90;
  921. }
  922. message Friend2Other_GetAllFriendId // IActorResponse
  923. {
  924. int32 RpcId = 90;
  925. int32 Error = 91;
  926. string Message = 92;
  927. repeated int64 FriendIds = 1;
  928. }
  929. //刷新竞争对手
  930. //ResponseType Arena2M_RefreshArenaTargets
  931. message M2Arena_RefreshArenaTargets // IActorRequest
  932. {
  933. int32 RpcId = 90;
  934. int64 RoleId = 91;
  935. }
  936. message Arena2M_RefreshArenaTargets // IActorResponse
  937. {
  938. int32 RpcId = 90;
  939. int32 Error = 91;
  940. string Message = 92;
  941. repeated ArenaTargetProto targets = 1; //对手
  942. }
  943. message OpenRoleInfo2Other_SendOtherRoleInfo // IActorMessage
  944. {
  945. repeated OtherRoleInfoProto infos = 1; //玩家信息
  946. }
  947. //设置玩家排行
  948. message M2Arena_SetRankAndGrade // IActorMessage
  949. {
  950. int64 RoleId = 1;//玩家ID
  951. int32 Grade = 2;//段位
  952. int32 Rank = 3;//排行
  953. }
  954. //测试协议
  955. message T2Other_Test // IActorMessage
  956. {
  957. int32 RpcId = 90;
  958. string param = 1;
  959. }
  960. //创建联盟
  961. //ResponseType League2M_CreateLeague
  962. message M2League_CreateLeague // IActorRequest
  963. {
  964. int32 RpcId = 90;
  965. int64 RoleId = 91;//玩家ID
  966. string Name = 1;
  967. string IconName = 2;
  968. }
  969. message League2M_CreateLeague // IActorResponse
  970. {
  971. int32 RpcId = 90;
  972. int32 Error = 91;
  973. string Message = 92;
  974. LeagueDetailInfoProto LeagueDetailInfo = 1;//军团信息
  975. }
  976. //检查玩家是否有联盟权限
  977. //ResponseType League2M_CheckLeaguePower
  978. message M2League_CheckLeaguePower // IActorRequest
  979. {
  980. int32 RpcId = 90;
  981. int64 RoleId = 91;//玩家ID
  982. int32 Power = 1;//玩家权限 LeaguePower
  983. }
  984. message League2M_CheckLeaguePower // IActorResponse
  985. {
  986. int32 RpcId = 90;
  987. int32 Error = 91;
  988. string Message = 92;
  989. int64 LeagueId = 1;//联盟ID
  990. }
  991. //修改联盟名字或徽章
  992. //ResponseType League2M_ModifyLeagueNameOrIcon
  993. message M2League_ModifyLeagueNameOrIcon // IActorRequest
  994. {
  995. int32 RpcId = 90;
  996. int64 RoleId = 91;//玩家ID
  997. int32 Type = 1;
  998. string Changed = 2;
  999. }
  1000. message League2M_ModifyLeagueNameOrIcon // IActorResponse
  1001. {
  1002. int32 RpcId = 90;
  1003. int32 Error = 91;
  1004. string Message = 92;
  1005. }
  1006. //发联盟广告
  1007. //ResponseType League2M_SendLeagueAd
  1008. message M2League_SendLeagueAd // IActorRequest
  1009. {
  1010. int32 RpcId = 90;
  1011. int64 RoleId = 91;//玩家ID
  1012. }
  1013. message League2M_SendLeagueAd // IActorResponse
  1014. {
  1015. int32 RpcId = 90;
  1016. int32 Error = 91;
  1017. string Message = 92;
  1018. int64 AdEndTime = 1;
  1019. }
  1020. //联盟祈福
  1021. //ResponseType League2M_LeaguePray
  1022. message M2League_LeaguePray // IActorRequest
  1023. {
  1024. int32 RpcId = 90;
  1025. int64 RoleId = 91;//玩家ID
  1026. int32 Type = 1;//PrayType
  1027. bool IsFirst = 2;//是否是今日首次祈福
  1028. }
  1029. message League2M_LeaguePray // IActorResponse
  1030. {
  1031. int32 RpcId = 90;
  1032. int32 Error = 91;
  1033. string Message = 92;
  1034. int32 CoinCount = 1; //联盟基金
  1035. int32 ItemConfigId = 2; //联盟基金配置id
  1036. }
  1037. //检查联盟福利能否领取
  1038. //ResponseType League2M_CheckLeagueWelfare
  1039. message M2League_CheckLeagueWelfare // IActorRequest
  1040. {
  1041. int32 RpcId = 90;
  1042. int64 RoleId = 91;//玩家ID
  1043. int32 Type = 1;//领取类型
  1044. }
  1045. message League2M_CheckLeagueWelfare // IActorResponse
  1046. {
  1047. int32 RpcId = 90;
  1048. int32 Error = 91;
  1049. string Message = 92;
  1050. bool CanGet = 1;//是否可以领取
  1051. }
  1052. //发送聊天消息给玩家
  1053. message M2League_SendLeagueChatToRole // IActorLeagueMessage
  1054. {
  1055. int64 RoleId = 1;//玩家ID
  1056. int32 Type = 2;//聊天类型
  1057. string Content = 3;//聊天内容
  1058. int64 Time = 4;//聊天时间
  1059. int32 PlatFormId = 5;
  1060. int32 ChannelId = 6;
  1061. int64 AccountId = 7;
  1062. string PlayerName = 8;
  1063. string Account = 9;
  1064. }
  1065. //其他服务给Map服务玩家发物品
  1066. message Other2M_SendItemsToRole // IActorLocationMessage
  1067. {
  1068. int32 RpcId = 90;
  1069. repeated ItemInfoProto itemInfo = 1;//物品
  1070. int32 Reason = 2;//原因
  1071. }
  1072. //同步开服状态
  1073. //ResponseType A2H_OpenServerType
  1074. message H2A_OpenServerType // IActorRequest
  1075. {
  1076. int32 RpcId = 90;
  1077. int32 OpenServerType = 2; //OpenServerTypeEnum 1.(不包括黑名单的玩家)所有玩家均可通过;2.只有白名单玩家可以通过
  1078. }
  1079. message A2H_OpenServerType // IActorResponse
  1080. {
  1081. int32 RpcId = 90;
  1082. int32 Error = 91;
  1083. string Message = 92;
  1084. }
  1085. //同步登陆服白名单账户数据
  1086. //ResponseType A2H_AccountWhite
  1087. message H2A_AccountWhite // IActorRequest
  1088. {
  1089. int32 RpcId = 90;
  1090. int64 AccountId = 1;
  1091. bool Action = 2; //false 添加, true 删除
  1092. }
  1093. message A2H_AccountWhite // IActorResponse
  1094. {
  1095. int32 RpcId = 90;
  1096. int32 Error = 91;
  1097. string Message = 92;
  1098. }
  1099. //同步登陆服封禁的账户数据
  1100. //ResponseType A2H_AccountBan
  1101. message H2A_AccountBan // IActorRequest
  1102. {
  1103. int32 RpcId = 90;
  1104. int64 AccountId = 1;
  1105. bool Action = 2; //false 办掉, true 解禁
  1106. }
  1107. message A2H_AccountBan // IActorResponse
  1108. {
  1109. int32 RpcId = 90;
  1110. int32 Error = 91;
  1111. string Message = 92;
  1112. }
  1113. //同步登陆服封禁的账户数据
  1114. //ResponseType A2H_AccountWh
  1115. message H2A_AccountWh // IActorRequest
  1116. {
  1117. int32 RpcId = 90;
  1118. int64 AccountId = 1;
  1119. bool Action = 2; //false 办掉, true 解禁
  1120. }
  1121. message A2H_AccountWh // IActorResponse
  1122. {
  1123. int32 RpcId = 90;
  1124. int32 Error = 91;
  1125. string Message = 92;
  1126. }
  1127. //同步登陆服封禁的ip数据
  1128. //ResponseType A2H_IpBan
  1129. message H2A_IpBan // IActorRequest
  1130. {
  1131. int32 RpcId = 90;
  1132. string Ip = 1;
  1133. bool Action = 2; //false 办掉ip, true 解禁
  1134. }
  1135. message A2H_IpBan // IActorResponse
  1136. {
  1137. int32 RpcId = 90;
  1138. int32 Error = 91;
  1139. string Message = 92;
  1140. }
  1141. //添加联盟基金
  1142. message M2League_AddLeagueCoin // IActorLeagueMessage
  1143. {
  1144. int64 RoleId = 1;//玩家ID
  1145. int32 Coin = 2;//联盟币
  1146. }
  1147. message League2M_LeagueChange // IActorLocationMessage
  1148. {
  1149. int32 RpcId = 90;
  1150. int64 LeagueId = 1;//联盟ID
  1151. }
  1152. //参与联盟答题
  1153. message League2M_JoinLeagueQuestion // IActorLocationMessage
  1154. {
  1155. int32 RpcId = 90;
  1156. }
  1157. //同步好友数量
  1158. message Friend2M_SyncFriendNum // IActorLocationMessage
  1159. {
  1160. int32 RpcId = 90;
  1161. int32 FriendNum = 2;//好友数量
  1162. }
  1163. //添加竞技场挑战次数
  1164. message Arena2M_AddChallengeNum // IActorLocationMessage
  1165. {
  1166. int32 RpcId = 90;
  1167. }
  1168. //设置联盟值
  1169. message Other2League_SetLeagueValue // IActorLeagueMessage
  1170. {
  1171. int32 RpcId = 90;
  1172. int64 RoleId = 91;//玩家ID
  1173. int32 SetType = 1;//设置类型 0:设置 1:添加
  1174. int32 Type = 2;//联盟值 LeagueNumericType
  1175. int64 Value = 3;//联盟值
  1176. }
  1177. //通知游戏服添加订单
  1178. //ResponseType Map2Order_SendShopAdd
  1179. message Order2Map_SendShopAdd // IActorLocationRequest
  1180. {
  1181. int32 RpcId = 90;
  1182. int64 OrderId = 1; //订单号
  1183. int32 ShopId = 2;
  1184. int64 Price = 3;
  1185. int64 OrderTime = 4;//玩家下单时间
  1186. }
  1187. message Map2Order_SendShopAdd // IActorLocationResponse
  1188. {
  1189. int32 RpcId = 90;
  1190. int32 Error = 91;
  1191. string Message = 92;
  1192. }
  1193. //设置Quick登录检查开启关闭
  1194. message H2A_SetQuickLoginCheck // IActorMessage
  1195. {
  1196. int32 RpcId = 90;
  1197. bool IsOpen = 1;
  1198. }
  1199. //设置Quick登录检查模式
  1200. message H2A_SetQuickLoginCheckMode // IActorMessage
  1201. {
  1202. int32 RpcId = 90;
  1203. int32 Mode = 1;
  1204. }
  1205. //添加订单缓存
  1206. //ResponseType Order2M_AddOrderTemp
  1207. message M2Order_AddOrderTemp // IActorOrderRequest
  1208. {
  1209. int32 RpcId = 90;
  1210. int64 RoleId = 1;
  1211. int32 ShopId = 2;
  1212. int64 Count = 3;
  1213. int32 Price = 4;
  1214. }
  1215. message Order2M_AddOrderTemp // IActorOrderResponse
  1216. {
  1217. int32 RpcId = 90;
  1218. int32 Error = 91;
  1219. string Message = 92;
  1220. int64 OrderTempId = 1;
  1221. int32 ShopId = 2;
  1222. int64 Count = 3;
  1223. int32 Price = 4;
  1224. }
  1225. message Order2Off_AddOrderMsg // IActorMessage
  1226. {
  1227. int32 RpcId = 90;
  1228. int64 RoleId = 1;
  1229. int32 ShopId = 2;
  1230. int64 Price = 3;
  1231. int64 OrderId = 4;
  1232. int64 OrderTime = 5;
  1233. }
  1234. //查询聊天记录
  1235. //ResponseType Chat2Map_QueryChatRecord
  1236. message Map2Chat_QueryChatRecord // IActorRequest
  1237. {
  1238. int32 RpcId = 90;
  1239. int64 RoleId = 91;
  1240. int32 ChatType = 1;//聊天类型
  1241. int64 ChatId = 2;//聊天ID
  1242. }
  1243. message Chat2Map_QueryChatRecord // IActorResponse
  1244. {
  1245. int32 RpcId = 90;
  1246. int32 Error = 91;
  1247. string Message = 92;
  1248. repeated ChatMsgProto ChatRecord = 1;//聊天记录
  1249. }
  1250. //添加聊天记录
  1251. message Other2Chat_AddChatRecord // IActorMessage
  1252. {
  1253. int32 RpcId = 90;
  1254. int32 ChatType = 1;//聊天类型
  1255. int64 ChatId = 2;//聊天ID
  1256. int64 RoleId = 3;//玩家ID
  1257. ChatMsgProto ChatRecord = 4;//聊天记录
  1258. }
  1259. //H2O_PingScene
  1260. //ResponseType O2H_PingScene
  1261. message H2O_PingScene // IActorRequest
  1262. {
  1263. int32 RpcId = 90;
  1264. int64 SendTime = 1;
  1265. }
  1266. message O2H_PingScene // IActorResponse
  1267. {
  1268. int32 RpcId = 90;
  1269. int32 Error = 91;
  1270. string Message = 92;
  1271. int64 sendTime = 1;
  1272. int64 receiveTime = 2;
  1273. }
  1274. //获取玩家联盟答题奖励剩余次数
  1275. //ResponseType M2League_GetAnswerQuestionReward
  1276. message League2M_GetAnswerQuestionReward // IActorLocationRequest
  1277. {
  1278. int32 RpcId = 90;
  1279. }
  1280. message M2League_GetAnswerQuestionReward // IActorLocationResponse
  1281. {
  1282. int32 RpcId = 90;
  1283. int32 Error = 91;
  1284. string Message = 92;
  1285. int32 AnswerQuestionRewardTotal = 1; //当天剩余答题单题奖励次数
  1286. int32 AnswerQuestionRewardEnd = 2; //当天剩余答题结束奖励次数
  1287. }
  1288. //每日重置玩家在联盟的答题领奖剩余次数
  1289. message M2League_DailyResetReward // IActorLeagueMessage
  1290. {
  1291. int64 RoleId = 1;//玩家ID
  1292. }
  1293. //重载热更敏感词汇
  1294. //ResponseType Other2H_ReloadHotfixWords
  1295. message H2Other_ReloadHotfixWords // IActorRequest
  1296. {
  1297. int32 RpcId = 90;
  1298. }
  1299. message Other2H_ReloadHotfixWords // IActorResponse
  1300. {
  1301. int32 RpcId = 90;
  1302. int32 Error = 91;
  1303. string Message = 92;
  1304. }
  1305. //==========================Map to OpenRoleInfo
  1306. //玩家上线公共信息更新
  1307. message M2OpenRoleInfo_AddOrUpdateOpenRoleInfo // IActorMessage
  1308. {
  1309. int32 RpcId = 90;
  1310. int64 RoleId = 1;
  1311. int32 ServerId = 2;
  1312. int32 RoleLvl = 3;
  1313. string RoleName = 4;
  1314. int32 ChannelId = 5;
  1315. int32 PlatFormId = 6;
  1316. int64 AccountId = 7;
  1317. string Account = 8;
  1318. CustomSuitProto CustomSuitInfo = 9;
  1319. string Signature = 10;
  1320. repeated InnerPictureInfoProto PictureInfos = 11;
  1321. int32 MonthCardAlbumNum = 12;
  1322. int32 HeadBorderItemId = 13;
  1323. int32 HeadItemId = 14;
  1324. int32 SuitCollect = 15;
  1325. int32 CardCollect = 16;
  1326. int32 CompleteTaskNum = 17; //成就任务完成量
  1327. int32 AllTaskNum = 18; //所有成就任务
  1328. int64 RoleExp = 19;
  1329. repeated int32 ItemList = 20; //佩戴中的徽章,顺序是客户端保存的顺序
  1330. int32 RoleGold = 21;
  1331. int32 VipLvl = 22;
  1332. int32 VipExp = 23;
  1333. int32 DiamondPurple = 24;
  1334. int32 DiamondRed = 25;
  1335. repeated int32 ProgressKs = 26; //套装ids
  1336. repeated int32 ProgressVs = 27; //对应下标进度
  1337. repeated int32 TimeKs = 28; //套装ids
  1338. repeated int64 TimeVs = 29; //最后一件部件合成时间
  1339. repeated int32 HighestScoreKs = 30; //关卡ids
  1340. repeated int32 HighestScoreVs = 31; //对应的最高分
  1341. }
  1342. //同步玩家等级
  1343. message M2OpenRoleInfo_UpdateLvl // IActorMessage
  1344. {
  1345. int32 RpcId = 90;
  1346. int64 RoleId = 1;
  1347. int32 RoleLvl = 2;
  1348. }
  1349. //同步角色名称
  1350. message M2OpenRoleInfo_UpdateName // IActorMessage
  1351. {
  1352. int32 RpcId = 90;
  1353. int64 RoleId = 1;
  1354. string RoleName = 2;
  1355. }
  1356. //同步角色签名
  1357. message M2OpenRoleInfo_UpdateSignature // IActorMessage
  1358. {
  1359. int32 RpcId = 90;
  1360. int64 RoleId = 1;
  1361. string Signature = 2;
  1362. }
  1363. //同步角色离线时间
  1364. message M2OpenRoleInfo_UpdateOfflineTimeSec // IActorMessage
  1365. {
  1366. int32 RpcId = 90;
  1367. int64 RoleId = 1;
  1368. int64 OfflineTimeSec = 2;
  1369. }
  1370. //同步穿搭
  1371. message M2OpenRoleInfo_UpdateCustomSuitInfo // IActorMessage
  1372. {
  1373. int32 RpcId = 90;
  1374. int64 RoleId = 1;
  1375. CustomSuitProto CustomSuitInfo = 2;
  1376. }
  1377. //照片信息--内网版
  1378. message InnerPictureInfoProto
  1379. {
  1380. int64 PictureId = 1; //图片id
  1381. int64 CreationTime = 2; //创建时间
  1382. int64 ToppingTime = 3; //置顶时间
  1383. bool ToppingStatus = 4; //置顶状态
  1384. bool LockingStatus = 5; //锁定状态
  1385. string PictureName = 6; //图片名
  1386. string PictureObjectPath = 7; //文件对象路径
  1387. int32 SourceType = 8; // 图片来源 -- 值由 PictureSourceType 定义
  1388. int32 TravelLocationId = 9; //游历地点id --万水千山
  1389. int32 PositionIndex = 10; //Q版人物位置下标
  1390. int32 TravelSuitResourceIndex = 11; //Q版套装人物资源下标
  1391. int32 TravelSuitId = 12; //出游穿的q版套装id
  1392. string BarrelName = 13; //桶名
  1393. }
  1394. //同步角色相册
  1395. message M2OpenRoleInfo_UpdateAlbum // IActorMessage
  1396. {
  1397. int32 RpcId = 90;
  1398. int64 RoleId = 1;
  1399. repeated InnerPictureInfoProto PictureInfos = 2;
  1400. }
  1401. //同步个人相册展示栏数量
  1402. message M2OpenRoleInfo_SetMonthCardStatus // IActorMessage
  1403. {
  1404. int32 RpcId = 90;
  1405. int64 RoleId = 1;
  1406. int32 MonthCardAlbumNum = 2;
  1407. }
  1408. //修改角色头像
  1409. message M2OpenRoleInfo_UpdateHead // IActorMessage
  1410. {
  1411. int32 RpcId = 90;
  1412. int64 RoleId = 1;
  1413. int32 HeadItemId = 2;
  1414. }
  1415. //修改头像框
  1416. message M2OpenRoleInfo_UpdateHeadBorder // IActorMessage
  1417. {
  1418. int32 RpcId = 90;
  1419. int64 RoleId = 1;
  1420. int32 HeadBorderItemId = 2;
  1421. }
  1422. //修改称号
  1423. message M2OpenRoleInfo_UpdateTitleItem // IActorMessage
  1424. {
  1425. int32 RpcId = 90;
  1426. int64 RoleId = 1;
  1427. int32 TitleItemId = 2;
  1428. }
  1429. //修改角色套装收集度
  1430. message M2OpenRoleInfo_UpdateSuitCollect // IActorMessage
  1431. {
  1432. int32 RpcId = 90;
  1433. int64 RoleId = 1;
  1434. int32 SuitCollect = 2;
  1435. }
  1436. //同步词牌收集度
  1437. message M2OpenRoleInfo_UpdateCardCollect // IActorMessage
  1438. {
  1439. int32 RpcId = 90;
  1440. int64 RoleId = 1;
  1441. int32 CardCollect = 2;
  1442. }
  1443. //同步成就收集度
  1444. message M2OpenRoleInfo_UpdateAchievementTaskCollect // IActorMessage
  1445. {
  1446. int32 RpcId = 90;
  1447. int64 RoleId = 1;
  1448. int32 CompleteTaskNum = 2; //成就任务完成量
  1449. int32 AllTaskNum = 3; //所有成就任务
  1450. }
  1451. //同步玩家经验
  1452. message M2OpenRoleInfo_UpdateExp // IActorMessage
  1453. {
  1454. int32 RpcId = 90;
  1455. int64 RoleId = 1;
  1456. int64 RoleExp = 2;
  1457. }
  1458. //同步玩家徽章
  1459. message M2OpenRoleInfo_UpdateBadge // IActorMessage
  1460. {
  1461. int32 RpcId = 90;
  1462. int64 RoleId = 1;
  1463. repeated int32 ItemList = 2; //佩戴中的徽章,顺序是客户端保存的顺序
  1464. }
  1465. //同步玩家所在联盟名称
  1466. message M2OpenRoleInfo_UpdateLeagueName // IActorMessage
  1467. {
  1468. int32 RpcId = 90;
  1469. repeated int64 RoleIds = 1;
  1470. string LeagueName = 2;
  1471. }
  1472. //ResponseType Queue2G_Enqueue
  1473. message G2Queue_Enqueue // IActorRequest
  1474. {
  1475. int32 RpcId = 90;
  1476. int64 UnitId = 1;
  1477. int64 AccountId = 2;
  1478. int64 GateActorId = 3;
  1479. int32 Zone = 4; //玩家所属区
  1480. }
  1481. message Queue2G_Enqueue // IActorResponse
  1482. {
  1483. int32 RpcId = 90;
  1484. int32 Error = 91;
  1485. string Message = 92;
  1486. bool NeedQueue = 1;
  1487. int32 Index = 2;
  1488. int32 Count = 3;
  1489. int32 MapId = 4;
  1490. }
  1491. //ResponseType G2Queue_EnterMap
  1492. message Queue2G_EnterMap // IActorRequest
  1493. {
  1494. int32 RpcId = 90;
  1495. int64 UnitId = 1;
  1496. int64 AccountId = 2;
  1497. int32 MapId = 3;
  1498. }
  1499. message G2Queue_EnterMap // IActorResponse
  1500. {
  1501. int32 RpcId = 90;
  1502. int32 Error = 91;
  1503. string Message = 92;
  1504. bool NeedRemove = 1; //是否需要移除在线状态
  1505. }
  1506. message Queue2G_UpdateInfo // IActorMessage
  1507. {
  1508. int32 RpcId = 90;
  1509. repeated int64 AccountIds = 1;
  1510. repeated int32 Index = 2;
  1511. int32 Count = 3;
  1512. }
  1513. message G2Queue_Disconnect // IActorMessage
  1514. {
  1515. int32 RpcId = 90;
  1516. int64 UnitId = 1;
  1517. bool Protect = 2;
  1518. int32 Zone = 3; //玩家所属区
  1519. }
  1520. //重载热更系统配置
  1521. //ResponseType Other2H_ReloadStartConfig
  1522. message H2Other_ReloadStartConfig // IActorRequest
  1523. {
  1524. int32 RpcId = 90;
  1525. string OperatorStr = 1; //预留操作符
  1526. }
  1527. message Other2H_ReloadStartConfig // IActorResponse
  1528. {
  1529. int32 RpcId = 90;
  1530. int32 Error = 91;
  1531. string Message = 92;
  1532. }
  1533. //请求排队服判断玩家是否在map中,在的话返回mapId
  1534. //ResponseType Queue2Other_GetRoleMapId
  1535. message Other2Queue_GetRoleMapId // IActorRequest
  1536. {
  1537. int32 RpcId = 90;
  1538. int32 Zone = 1; //玩家所属区
  1539. int64 UnitId = 2;
  1540. }
  1541. message Queue2Other_GetRoleMapId // IActorResponse
  1542. {
  1543. int32 RpcId = 90;
  1544. int32 Error = 91;
  1545. string Message = 92;
  1546. int32 MapId = 1;
  1547. }
  1548. //排队服向map探活
  1549. //ResponseType M2Queue_ExploringActivity
  1550. message Queue2M_ExploringActivity // IActorRequest
  1551. {
  1552. int32 RpcId = 90;
  1553. int32 MapId = 1;
  1554. string Operator = 2; //预留操作符
  1555. }
  1556. message M2Queue_ExploringActivity // IActorResponse
  1557. {
  1558. int32 RpcId = 90;
  1559. int32 Error = 91;
  1560. string Message = 92;
  1561. int64 NewTime = 1; //最新时间戳
  1562. string Operator = 2; //预留操作符
  1563. }
  1564. //Map启服通知排队服---所以map启动,要先启动排队服
  1565. message M2Queue_NoticeFiring // IActorMessage
  1566. {
  1567. int32 RpcId = 90;
  1568. int32 MapId = 1;
  1569. string Operator = 2; //预留操作符
  1570. int64 NewTime = 3; //最新时间戳
  1571. }
  1572. //HTTP服 通知 其他服
  1573. //ResponseType Other2H_OperatorManyFunc
  1574. message H2Other_OperatorManyFunc // IActorRequest
  1575. {
  1576. int32 RpcId = 90;
  1577. int32 MapId = 1;
  1578. string Operator = 1; //预留操作符
  1579. }
  1580. message Other2H_OperatorManyFunc // IActorResponse
  1581. {
  1582. int32 RpcId = 90;
  1583. int32 Error = 91;
  1584. string Message = 92;
  1585. string Operator = 1; //预留操作符
  1586. }
  1587. //同步玩家角色金币
  1588. message M2OpenRoleInfo_UpdateRoleGold // IActorMessage
  1589. {
  1590. int32 RpcId = 90;
  1591. int64 RoleId = 1;
  1592. int32 RoleGold = 2;
  1593. }
  1594. //同步玩家Vip等级
  1595. message M2OpenRoleInfo_UpdateVipLvl // IActorMessage
  1596. {
  1597. int32 RpcId = 90;
  1598. int64 RoleId = 1;
  1599. int32 VipLvl = 2;
  1600. }
  1601. //同步玩家Vip经验
  1602. message M2OpenRoleInfo_UpdateVipExp // IActorMessage
  1603. {
  1604. int32 RpcId = 90;
  1605. int64 RoleId = 1;
  1606. int32 VipExp = 2;
  1607. }
  1608. //同步玩家珍珠余额
  1609. message M2OpenRoleInfo_UpdateDiamondPurple // IActorMessage
  1610. {
  1611. int32 RpcId = 90;
  1612. int64 RoleId = 1;
  1613. int32 DiamondPurple = 2;
  1614. }
  1615. //同步玩家马蹄金余额
  1616. message M2OpenRoleInfo_UpdateDiamondRed // IActorMessage
  1617. {
  1618. int32 RpcId = 90;
  1619. int64 RoleId = 1;
  1620. int32 DiamondRed = 2;
  1621. }
  1622. //http服请求openRoleInfo服获取玩家信息
  1623. //ResponseType OpenRoleInfo2H_GetRoleInfo
  1624. message H2OpenRoleInfo_GetRoleInfo // IActorRequest
  1625. {
  1626. int32 RpcId = 90;
  1627. int64 RoleId = 1;
  1628. }
  1629. message OpenRoleInfo2H_GetRoleInfo // IActorResponse
  1630. {
  1631. int32 RpcId = 90;
  1632. int32 Error = 91;
  1633. string Message = 92;
  1634. int32 RoleGold = 1; //角色金币
  1635. int32 VipLvl = 2; //vip等级
  1636. int32 VipExp = 3; //vip经验
  1637. int32 DiamondPurple = 4;//珍珠余额
  1638. int32 DiamondRed = 5; //马蹄金金额
  1639. int64 RoleExp = 6; //角色经验
  1640. int32 CardCollect = 7; //词牌收集度
  1641. int32 SuitCollect = 8; //套装收集完成度
  1642. int32 RoleLvl = 9; //角色等级
  1643. string RoleName = 10; //角色名称
  1644. int64 OfflineTimeSec = 11; //离线时间
  1645. int32 CompleteTaskNum = 12; //成就任务完成量
  1646. int32 AllTaskNum = 13; //所有成就任务
  1647. int64 LastOnlineTime = 14; //最后一次离线时间
  1648. }
  1649. //map推送套装合成进度到rank
  1650. message M2OpenRoleInfo_UpdateSynthesisProgress // IActorMessage
  1651. {
  1652. int32 RpcId = 90;
  1653. int64 RoleId = 1; //角色id
  1654. repeated int32 ProgressKs = 2; //套装ids
  1655. repeated int32 ProgressVs = 3; //对应下标进度
  1656. repeated int32 TimeKs = 4; //套装ids
  1657. repeated int64 TimeVs = 5; //最后一件部件合成时间
  1658. repeated int32 HighestScoreKs = 6; //关卡ids
  1659. repeated int32 HighestScoreVs = 7; //对应的最高分
  1660. }
  1661. //Map 请求 openRoleInfo 获取章节下最高的关卡对应得分
  1662. //ResponseType OpenRoleInfo2M_GetLevelRoleInfoProtos
  1663. message M2OpenRoleInfo_GetLevelRoleInfoProtos // IActorRequest
  1664. {
  1665. int32 RpcId = 90;
  1666. }
  1667. message OpenRoleInfo2M_GetLevelRoleInfoProtos // IActorResponse
  1668. {
  1669. int32 RpcId = 90;
  1670. int32 Error = 91;
  1671. string Message = 92;
  1672. repeated LevelRoleInfoProto LevelRoleInfoProtos = 1;
  1673. int64 NexTime = 2;
  1674. }
  1675. //赛季段位奖励发放失败,Map进行状态回滚到竞技场服
  1676. message M2Arena_UpMaxGradeRewardToCanGot // IActorMessage
  1677. {
  1678. int32 RpcId = 90;
  1679. int64 RoleId = 1; //角色id
  1680. int32 Grade = 2; //段位
  1681. }
  1682. //登录搭配评选赛服
  1683. //ResponseType JudgingRound2G_EnterGame
  1684. message G2JudgingRound_EnterGame // IActorRequest
  1685. {
  1686. int32 RpcId = 90;
  1687. int64 RoleId = 1;
  1688. string RoleName = 2;
  1689. int64 GatePlayerInstanceId = 3;
  1690. }
  1691. message JudgingRound2G_EnterGame // IActorResponse
  1692. {
  1693. int32 RpcId = 90;
  1694. int32 Error = 91;
  1695. string Message = 92;
  1696. int64 JudgingRoundUnitInstanceId = 1;
  1697. }
  1698. //下线通知搭配评选赛服
  1699. //ResponseType JudgingRound2G_ExitGame
  1700. message G2JudgingRound_ExitGame // IActorRequest
  1701. {
  1702. int32 RpcId = 90;
  1703. int64 RoleId = 1;
  1704. }
  1705. message JudgingRound2G_ExitGame // IActorResponse
  1706. {
  1707. int32 RpcId = 90;
  1708. int32 Error = 91;
  1709. string Message = 92;
  1710. }
  1711. //通知map发放搭配赛评选奖励
  1712. //ResponseType M2JudgingRound_JudgingRoundBeckoning
  1713. message JudgingRound2M_JudgingRoundBeckoning //IActorRequest
  1714. {
  1715. int32 RpcId = 90;
  1716. int32 OpenCfgId = 1; //搭配赛期数id
  1717. }
  1718. message M2JudgingRound_JudgingRoundBeckoning // IActorResponse
  1719. {
  1720. int32 RpcId = 90;
  1721. int32 Error = 91;
  1722. string Message = 92;
  1723. repeated ItemInfoProto ItemInfo = 1; //奖励物品
  1724. int32 Num = 2; //当前剩余次数
  1725. }
  1726. //Map 请求 GlobalTime 获取爬塔最新的主题标签
  1727. //ResponseType GlobalTime2M_GetCimbingTowerWeekTags
  1728. message M2GlobalTime_GetCimbingTowerWeekTags // IActorRequest
  1729. {
  1730. int32 RpcId = 90;
  1731. }
  1732. message GlobalTime2M_GetCimbingTowerWeekTags // IActorResponse
  1733. {
  1734. int32 RpcId = 90;
  1735. int32 Error = 91;
  1736. string Message = 92;
  1737. repeated string WeekTags = 1;
  1738. }