player_c.cs 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. // <auto-generated>
  2. // Input: player_c.proto
  3. // DO NOT EDIT!
  4. // </auto-generated>
  5. using XGame.Framework.Network;
  6. namespace FL.Network
  7. {
  8. /// <summary> id=100101 </summary>
  9. public sealed partial class PlayerLoginRequest : IMsgRequest
  10. {
  11. int IMessage.InstanceID { get; set; }
  12. object IMessage.Context { get; set; }
  13. int IMessage.ProtocolID => 100101;
  14. public void Clear()
  15. {
  16. }
  17. /// <summary> 包ID </summary>
  18. public string pid;
  19. /// <summary> 参数 </summary>
  20. public System.Collections.Generic.List<string> param;
  21. }
  22. /// <summary> id=100101 </summary>
  23. public sealed partial class PlayerLoginResponse : IMsgResponse
  24. {
  25. int IMessage.InstanceID { get; set; }
  26. object IMessage.Context { get; set; }
  27. int IMessage.ProtocolID => 100101;
  28. public void Clear()
  29. {
  30. }
  31. long IMsgResponse.GetCode() => code;
  32. string IMsgResponse.GetInfo() => msg;
  33. /// <summary> 消息返回类型0正常 1业务报错 2其他 </summary>
  34. public int code;
  35. /// <summary> 返回提示 </summary>
  36. public string msg;
  37. }
  38. /// <summary> id=100103 </summary>
  39. public sealed partial class PlayerLoginUserRequest : IMsgRequest
  40. {
  41. int IMessage.InstanceID { get; set; }
  42. object IMessage.Context { get; set; }
  43. int IMessage.ProtocolID => 100103;
  44. public void Clear()
  45. {
  46. }
  47. /// <summary> 区服ID (传0默认为1) </summary>
  48. public string sid;
  49. /// <summary> 账号token (player下发得token字段) </summary>
  50. public string token;
  51. }
  52. /// <summary> id=100103 </summary>
  53. public sealed partial class PlayerLoginUserResponse : IMsgResponse
  54. {
  55. int IMessage.InstanceID { get; set; }
  56. object IMessage.Context { get; set; }
  57. int IMessage.ProtocolID => 100103;
  58. public void Clear()
  59. {
  60. }
  61. long IMsgResponse.GetCode() => code;
  62. string IMsgResponse.GetInfo() => msg;
  63. /// <summary> 消息返回类型0正常 1业务报错 2其他 </summary>
  64. public int code;
  65. /// <summary> 返回提示 </summary>
  66. public string msg;
  67. }
  68. /// <summary> id=100102 </summary>
  69. public sealed partial class PlayerLoginPlayerRequest : IMsgRequest
  70. {
  71. int IMessage.InstanceID { get; set; }
  72. object IMessage.Context { get; set; }
  73. int IMessage.ProtocolID => 100102;
  74. public void Clear()
  75. {
  76. }
  77. /// <summary> 登陆唯一标识 </summary>
  78. public string openid;
  79. /// <summary> 语言 </summary>
  80. public string lang;
  81. /// <summary> 登陆平台 </summary>
  82. public string plat;
  83. /// <summary> 其他参数 </summary>
  84. public System.Collections.Generic.List<string> parms;
  85. }
  86. /// <summary> id=100102 </summary>
  87. public sealed partial class PlayerLoginPlayerResponse : IMsgResponse
  88. {
  89. int IMessage.InstanceID { get; set; }
  90. object IMessage.Context { get; set; }
  91. int IMessage.ProtocolID => 100102;
  92. public void Clear()
  93. {
  94. }
  95. long IMsgResponse.GetCode() => code;
  96. string IMsgResponse.GetInfo() => msg;
  97. /// <summary> 消息返回类型0正常 1业务报错 2其他 </summary>
  98. public int code;
  99. /// <summary> 返回提示 </summary>
  100. public string msg;
  101. }
  102. }