LoginOuter_C_1000.proto 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. syntax = "proto3";
  2. package ET;
  3. // ResponseType NetClient2Main_Login
  4. message Main2NetClient_Login // IRequest
  5. {
  6. int32 RpcId = 1;
  7. int32 OwnerFiberId = 2;
  8. string Address = 3;
  9. string Account = 4; // 账号
  10. string Password = 5; // 密码
  11. }
  12. message NetClient2Main_Login // IResponse
  13. {
  14. int32 RpcId = 1;
  15. int32 Error = 2;
  16. string Message = 3;
  17. int64 PlayerId = 4;
  18. }
  19. // ResponseType G2C_Ping
  20. message C2G_Ping // ISessionRequest
  21. {
  22. int32 RpcId = 1;
  23. }
  24. message G2C_Ping // ISessionResponse
  25. {
  26. int32 RpcId = 1;
  27. int32 Error = 2;
  28. string Message = 3;
  29. int64 Time = 4;
  30. }
  31. // ResponseType R2C_Login
  32. message C2R_Login // ISessionRequest
  33. {
  34. int32 RpcId = 1;
  35. string Account = 2; // 帐号
  36. string Password = 3; // 密码
  37. }
  38. message R2C_Login // ISessionResponse
  39. {
  40. int32 RpcId = 1;
  41. int32 Error = 2;
  42. string Message = 3;
  43. string Address = 4;
  44. int64 Key = 5;
  45. int64 GateId = 6;
  46. }
  47. // ResponseType G2C_LoginGate
  48. message C2G_LoginGate // ISessionRequest
  49. {
  50. int32 RpcId = 1;
  51. int64 Key = 2; // 帐号
  52. int64 GateId = 3;
  53. }
  54. message G2C_LoginGate // ISessionResponse
  55. {
  56. int32 RpcId = 1;
  57. int32 Error = 2;
  58. string Message = 3;
  59. int64 PlayerId = 4;
  60. }