InnerMessage_S_20001.proto 2.8 KB

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