InnerMessage.proto 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. syntax = "proto3";
  2. package ET;
  3. //ResponseType ObjectQueryResponse
  4. message ObjectQueryRequest // IActorRequest
  5. {
  6. int32 RpcId = 90;
  7. int64 ActorId = 93;
  8. int64 Key = 1;
  9. int64 InstanceId = 2;
  10. }
  11. message M2M_TrasferUnitResponse // IActorResponse
  12. {
  13. int32 RpcId = 90;
  14. int32 Error = 91;
  15. string Message = 92;
  16. int64 InstanceId = 1;
  17. }
  18. //ResponseType A2M_Reload
  19. message M2A_Reload // IActorRequest
  20. {
  21. int32 RpcId = 90;
  22. int64 ActorId = 93;
  23. }
  24. message A2M_Reload // IActorResponse
  25. {
  26. int32 RpcId = 90;
  27. int32 Error = 91;
  28. string Message = 92;
  29. }
  30. //ResponseType G2G_LockResponse
  31. message G2G_LockRequest // IActorRequest
  32. {
  33. int32 RpcId = 90;
  34. int64 ActorId = 93;
  35. int64 Id = 1;
  36. string Address = 2;
  37. }
  38. message G2G_LockResponse // IActorResponse
  39. {
  40. int32 RpcId = 90;
  41. int32 Error = 91;
  42. string Message = 92;
  43. }
  44. //ResponseType G2G_LockReleaseResponse
  45. message G2G_LockReleaseRequest // IActorRequest
  46. {
  47. int32 RpcId = 90;
  48. int64 ActorId = 93;
  49. int64 Id = 1;
  50. string Address = 2;
  51. }
  52. message G2G_LockReleaseResponse // IActorResponse
  53. {
  54. int32 RpcId = 90;
  55. int32 Error = 91;
  56. string Message = 92;
  57. }
  58. //ResponseType ObjectAddResponse
  59. message ObjectAddRequest // IActorRequest
  60. {
  61. int32 RpcId = 90;
  62. int64 ActorId = 93;
  63. int64 Key = 1;
  64. int64 InstanceId = 2;
  65. }
  66. message ObjectAddResponse // IActorResponse
  67. {
  68. int32 RpcId = 90;
  69. int32 Error = 91;
  70. string Message = 92;
  71. }
  72. //ResponseType ObjectLockResponse
  73. message ObjectLockRequest // IActorRequest
  74. {
  75. int32 RpcId = 90;
  76. int64 ActorId = 93;
  77. int64 Key = 1;
  78. int64 InstanceId = 2;
  79. int32 Time = 3;
  80. }
  81. message ObjectLockResponse // IActorResponse
  82. {
  83. int32 RpcId = 90;
  84. int32 Error = 91;
  85. string Message = 92;
  86. }
  87. //ResponseType ObjectUnLockResponse
  88. message ObjectUnLockRequest // IActorRequest
  89. {
  90. int32 RpcId = 90;
  91. int64 ActorId = 93;
  92. int64 Key = 1;
  93. int64 OldInstanceId = 2;
  94. int64 InstanceId = 3;
  95. }
  96. message ObjectUnLockResponse // IActorResponse
  97. {
  98. int32 RpcId = 90;
  99. int32 Error = 91;
  100. string Message = 92;
  101. }
  102. //ResponseType ObjectRemoveResponse
  103. message ObjectRemoveRequest // IActorRequest
  104. {
  105. int32 RpcId = 90;
  106. int64 ActorId = 93;
  107. int64 Key = 1;
  108. }
  109. message ObjectRemoveResponse // IActorResponse
  110. {
  111. int32 RpcId = 90;
  112. int32 Error = 91;
  113. string Message = 92;
  114. }
  115. //ResponseType ObjectGetResponse
  116. message ObjectGetRequest // IActorRequest
  117. {
  118. int32 RpcId = 90;
  119. int64 ActorId = 93;
  120. int64 Key = 1;
  121. }
  122. message ObjectGetResponse // IActorResponse
  123. {
  124. int32 RpcId = 90;
  125. int32 Error = 91;
  126. string Message = 92;
  127. int64 InstanceId = 1;
  128. }
  129. //ResponseType G2R_GetLoginKey
  130. message R2G_GetLoginKey // IActorRequest
  131. {
  132. int32 RpcId = 90;
  133. int64 ActorId = 93;
  134. string Account = 1;
  135. }
  136. message G2R_GetLoginKey // IActorResponse
  137. {
  138. int32 RpcId = 90;
  139. int32 Error = 91;
  140. string Message = 92;
  141. int64 Key = 1;
  142. int64 GateId = 2;
  143. }
  144. //ResponseType M2G_CreateUnit
  145. message G2M_CreateUnit // IActorRequest
  146. {
  147. int32 RpcId = 90;
  148. int64 ActorId = 93;
  149. int64 PlayerId = 1;
  150. int64 GateSessionId = 2;
  151. }
  152. message M2G_CreateUnit // IActorResponse
  153. {
  154. int32 RpcId = 90;
  155. int32 Error = 91;
  156. string Message = 92;
  157. // 自己的unit id
  158. int64 UnitId = 1;
  159. // 所有的unit
  160. repeated UnitInfo Units = 2;
  161. }
  162. message G2M_SessionDisconnect // IActorLocationMessage
  163. {
  164. int32 RpcId = 90;
  165. int64 ActorId = 94;
  166. }