LockStepInner_S_21001.proto 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. syntax = "proto3";
  2. package ET;
  3. /// 请求匹配
  4. // ResponseType Match2G_Match
  5. message G2Match_Match // IRequest
  6. {
  7. int32 RpcId = 1;
  8. int64 Id = 2;
  9. }
  10. message Match2G_Match // IResponse
  11. {
  12. int32 RpcId = 1;
  13. int32 Error = 2;
  14. string Message = 3;
  15. }
  16. // ResponseType Map2Match_GetRoom
  17. message Match2Map_GetRoom // IRequest
  18. {
  19. int32 RpcId = 1;
  20. repeated int64 PlayerIds = 2;
  21. }
  22. message Map2Match_GetRoom // IResponse
  23. {
  24. int32 RpcId = 1;
  25. int32 Error = 2;
  26. string Message = 3;
  27. /// 房间的ActorId
  28. ActorId ActorId = 4;
  29. }
  30. // ResponseType Room2G_Reconnect
  31. message G2Room_Reconnect // IRequest
  32. {
  33. int32 RpcId = 1;
  34. int64 PlayerId = 2;
  35. }
  36. message Room2G_Reconnect // IResponse
  37. {
  38. int32 RpcId = 1;
  39. int32 Error = 2;
  40. string Message = 3;
  41. int64 StartTime = 4;
  42. repeated LockStepUnitInfo UnitInfos = 5;
  43. int32 Frame = 6;
  44. }
  45. // ResponseType Room2RoomManager_Init
  46. message RoomManager2Room_Init // IRequest
  47. {
  48. int32 RpcId = 1;
  49. repeated int64 PlayerIds = 2;
  50. }
  51. message Room2RoomManager_Init // IResponse
  52. {
  53. int32 RpcId = 1;
  54. int32 Error = 2;
  55. string Message = 3;
  56. }