HotfixMessage.proto 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. syntax = "proto3";
  2. package ETHotfix;
  3. message C2R_Login // IRequest
  4. {
  5. int32 RpcId = 90;
  6. string Account = 1; // 帐号
  7. string Password = 2; // 密码
  8. }
  9. message R2C_Login // IResponse
  10. {
  11. int32 RpcId = 90;
  12. int32 Error = 91;
  13. string Message = 92;
  14. string Address = 1;
  15. int64 Key = 2;
  16. }
  17. message C2G_LoginGate // IRequest
  18. {
  19. int32 RpcId = 90;
  20. int64 Key = 1; // 帐号
  21. }
  22. message G2C_LoginGate // IResponse
  23. {
  24. int32 RpcId = 90;
  25. int32 Error = 91;
  26. string Message = 92;
  27. int64 PlayerId = 1;
  28. }
  29. message G2C_TestHotfixMessage // IMessage
  30. {
  31. string Info = 1;
  32. }
  33. message C2M_TestActorRequest // IClientActorRequest
  34. {
  35. int32 RpcId = 90;
  36. int64 ActorId = 91;
  37. string Info = 1;
  38. }
  39. message M2C_TestActorResponse // IClientActorResponse
  40. {
  41. int32 RpcId = 90;
  42. int32 Error = 91;
  43. string Message = 92;
  44. string Info = 1;
  45. }
  46. message PlayerInfo // IMessage
  47. {
  48. int32 RpcId = 90;
  49. }
  50. message C2G_PlayerInfo // IRequest
  51. {
  52. int32 RpcId = 90;
  53. }
  54. message G2C_PlayerInfo // IResponse
  55. {
  56. int32 RpcId = 90;
  57. int32 Error = 91;
  58. string Message = 92;
  59. PlayerInfo PlayerInfo = 1;
  60. repeated PlayerInfo PlayerInfos = 2;
  61. repeated string TestRepeatedString = 3;
  62. repeated int32 TestRepeatedInt32 = 4;
  63. repeated int64 TestRepeatedInt64 = 5;
  64. }