InnerMessage_S_20001.proto 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. syntax = "proto3";
  2. // using
  3. package ET;
  4. //ResponseType ObjectQueryResponse
  5. message ObjectQueryRequest // IActorRequest
  6. {
  7. int32 RpcId = 1;
  8. int64 Key = 2;
  9. int64 InstanceId = 3;
  10. }
  11. message ObjectQueryResponse // IActorResponse
  12. {
  13. int32 RpcId = 1;
  14. int32 Error = 2;
  15. string Message = 3;
  16. bytes Entity = 4;
  17. }
  18. //ResponseType A2M_Reload
  19. message M2A_Reload // IActorRequest
  20. {
  21. int32 RpcId = 1;
  22. }
  23. message A2M_Reload // IActorResponse
  24. {
  25. int32 RpcId = 1;
  26. int32 Error = 2;
  27. string Message = 3;
  28. }
  29. //ResponseType G2G_LockResponse
  30. message G2G_LockRequest // IActorRequest
  31. {
  32. int32 RpcId = 1;
  33. int64 Id = 2;
  34. string Address = 3;
  35. }
  36. message G2G_LockResponse // IActorResponse
  37. {
  38. int32 RpcId = 1;
  39. int32 Error = 2;
  40. string Message = 3;
  41. }
  42. //ResponseType G2G_LockReleaseResponse
  43. message G2G_LockReleaseRequest // IActorRequest
  44. {
  45. int32 RpcId = 1;
  46. int64 Id = 2;
  47. string Address = 3;
  48. }
  49. message G2G_LockReleaseResponse // IActorResponse
  50. {
  51. int32 RpcId = 1;
  52. int32 Error = 2;
  53. string Message = 3;
  54. }
  55. //ResponseType ObjectAddResponse
  56. message ObjectAddRequest // IActorRequest
  57. {
  58. int32 RpcId = 1;
  59. int64 Key = 2;
  60. int64 InstanceId = 3;
  61. }
  62. message ObjectAddResponse // IActorResponse
  63. {
  64. int32 RpcId = 1;
  65. int32 Error = 2;
  66. string Message = 3;
  67. }
  68. //ResponseType ObjectLockResponse
  69. message ObjectLockRequest // IActorRequest
  70. {
  71. int32 RpcId = 1;
  72. int64 Key = 2;
  73. int64 InstanceId = 3;
  74. int32 Time = 4;
  75. }
  76. message ObjectLockResponse // IActorResponse
  77. {
  78. int32 RpcId = 1;
  79. int32 Error = 2;
  80. string Message = 3;
  81. }
  82. //ResponseType ObjectUnLockResponse
  83. message ObjectUnLockRequest // IActorRequest
  84. {
  85. int32 RpcId = 1;
  86. int64 Key = 2;
  87. int64 OldInstanceId = 3;
  88. int64 InstanceId = 4;
  89. }
  90. message ObjectUnLockResponse // IActorResponse
  91. {
  92. int32 RpcId = 1;
  93. int32 Error = 2;
  94. string Message = 3;
  95. }
  96. //ResponseType ObjectRemoveResponse
  97. message ObjectRemoveRequest // IActorRequest
  98. {
  99. int32 RpcId = 1;
  100. int64 Key = 2;
  101. }
  102. message ObjectRemoveResponse // IActorResponse
  103. {
  104. int32 RpcId = 1;
  105. int32 Error = 2;
  106. string Message = 3;
  107. }
  108. //ResponseType ObjectGetResponse
  109. message ObjectGetRequest // IActorRequest
  110. {
  111. int32 RpcId = 1;
  112. int64 Key = 2;
  113. }
  114. message ObjectGetResponse // IActorResponse
  115. {
  116. int32 RpcId = 1;
  117. int32 Error = 2;
  118. string Message = 3;
  119. int64 InstanceId = 4;
  120. }
  121. message R2G_LoginVerifySuccess // IActorLocationMessage
  122. {
  123. int32 RpcId = 1;
  124. int64 UserId = 2;
  125. string Token = 3;
  126. }
  127. message G2M_SessionDisconnect // IActorLocationMessage
  128. {
  129. int32 RpcId = 1;
  130. }
  131. //ResponseType M2M_UnitTransferResponse
  132. message M2M_UnitTransferRequest // IActorRequest
  133. {
  134. int32 RpcId = 1;
  135. int64 OldInstanceId = 2;
  136. bytes Unit = 3;
  137. repeated bytes Entitys = 4;
  138. }
  139. message M2M_UnitTransferResponse // IActorResponse
  140. {
  141. int32 RpcId = 1;
  142. int32 Error = 2;
  143. string Message = 3;
  144. }
  145. message R2G_LiveComment // IActorMessage
  146. {
  147. string OpenId = 1;
  148. int64 RoomId = 2;
  149. string Content = 3; // 评论内容
  150. string NickName = 4;
  151. string Url = 5;
  152. }
  153. message R2G_LiveGift // IActorMessage
  154. {
  155. string OpenId = 1;
  156. int64 RoomId = 2;
  157. string NickName = 3;
  158. string Url = 4;
  159. string GiftId = 5;
  160. int64 GiftNum = 6; // 送出的礼物数量
  161. int64 GiftValue = 7; // 礼物总价值,单位分
  162. }
  163. message R2G_LiveLike // IActorMessage
  164. {
  165. string OpenId = 1;
  166. int64 RoomId = 2;
  167. string NickName = 3;
  168. string Url = 4;
  169. int64 Likes = 5;
  170. }