player_c.cs 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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. /// <summary> id=100104 </summary>
  103. public sealed partial class PlayerReConnectRequest : IMsgRequest
  104. {
  105. int IMessage.InstanceID { get; set; }
  106. object IMessage.Context { get; set; }
  107. int IMessage.ProtocolID => 100104;
  108. public void Clear()
  109. {
  110. }
  111. /// <summary> 登陆唯一标识 </summary>
  112. public string openid;
  113. }
  114. /// <summary> id=100104 </summary>
  115. public sealed partial class PlayerReConnectResponse : IMsgResponse
  116. {
  117. int IMessage.InstanceID { get; set; }
  118. object IMessage.Context { get; set; }
  119. int IMessage.ProtocolID => 100104;
  120. public void Clear()
  121. {
  122. }
  123. long IMsgResponse.GetCode() => code;
  124. string IMsgResponse.GetInfo() => msg;
  125. /// <summary> 消息返回类型0正常 1业务报错 2其他 </summary>
  126. public int code;
  127. /// <summary> 返回提示 </summary>
  128. public string msg;
  129. }
  130. }