HotfixMessage.proto 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. int64 GateId = 3;
  17. }
  18. message C2G_LoginGate // IRequest
  19. {
  20. int32 RpcId = 90;
  21. int64 Key = 1; // 帐号
  22. int64 GateId = 2;
  23. }
  24. message G2C_LoginGate // IResponse
  25. {
  26. int32 RpcId = 90;
  27. int32 Error = 91;
  28. string Message = 92;
  29. int64 PlayerId = 1;
  30. }
  31. message G2C_TestHotfixMessage // IMessage
  32. {
  33. string Info = 1;
  34. }
  35. message C2M_TestActorRequest // IActorLocationRequest
  36. {
  37. int32 RpcId = 90;
  38. int64 ActorId = 91;
  39. string Info = 1;
  40. }
  41. message M2C_TestActorResponse // IActorLocationResponse
  42. {
  43. int32 RpcId = 90;
  44. int32 Error = 91;
  45. string Message = 92;
  46. string Info = 1;
  47. }
  48. message PlayerInfo // IMessage
  49. {
  50. int32 RpcId = 90;
  51. }
  52. message C2G_PlayerInfo // IRequest
  53. {
  54. int32 RpcId = 90;
  55. }
  56. message G2C_PlayerInfo // IResponse
  57. {
  58. int32 RpcId = 90;
  59. int32 Error = 91;
  60. string Message = 92;
  61. PlayerInfo PlayerInfo = 1;
  62. repeated PlayerInfo PlayerInfos = 2;
  63. repeated string TestRepeatedString = 3;
  64. repeated int32 TestRepeatedInt32 = 4;
  65. repeated int64 TestRepeatedInt64 = 5;
  66. }