InnerMessage.proto 2.8 KB

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