InnerMessage.proto 3.0 KB

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