chat_c.cs 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. // <auto-generated>
  2. // Input: chat_c.proto
  3. // DO NOT EDIT!
  4. // </auto-generated>
  5. using XGame.Framework.Network;
  6. namespace FL.Network
  7. {
  8. /// <summary> id=100201 </summary>
  9. public sealed partial class ChatSendRequest : IMsgRequest
  10. {
  11. int IMessage.InstanceID { get; set; }
  12. object IMessage.Context { get; set; }
  13. int IMessage.ProtocolID => 100201;
  14. public void Clear()
  15. {
  16. }
  17. /// <summary> 渠道类型(1合服2跨服3世家) </summary>
  18. public int hdcid;
  19. /// <summary> 聊天类型1默认 </summary>
  20. public int type;
  21. /// <summary> 语句 </summary>
  22. public string str;
  23. }
  24. /// <summary> id=100201 </summary>
  25. public sealed partial class ChatSendResponse : IMsgResponse
  26. {
  27. int IMessage.InstanceID { get; set; }
  28. object IMessage.Context { get; set; }
  29. int IMessage.ProtocolID => 100201;
  30. public void Clear()
  31. {
  32. }
  33. long IMsgResponse.GetCode() => code;
  34. string IMsgResponse.GetInfo() => msg;
  35. /// <summary> 消息返回类型0正常 1业务报错 2其他 </summary>
  36. public int code;
  37. /// <summary> 返回提示 </summary>
  38. public string msg;
  39. }
  40. /// <summary> id=100202 </summary>
  41. public sealed partial class ChatHistoryRequest : IMsgRequest
  42. {
  43. int IMessage.InstanceID { get; set; }
  44. object IMessage.Context { get; set; }
  45. int IMessage.ProtocolID => 100202;
  46. public void Clear()
  47. {
  48. }
  49. /// <summary> 渠道类型(1合服2跨服3世家) </summary>
  50. public int hdcid;
  51. /// <summary> 最小的聊天ID </summary>
  52. public int lastId;
  53. }
  54. /// <summary> id=100202 </summary>
  55. public sealed partial class ChatHistoryResponse : IMsgResponse
  56. {
  57. int IMessage.InstanceID { get; set; }
  58. object IMessage.Context { get; set; }
  59. int IMessage.ProtocolID => 100202;
  60. public void Clear()
  61. {
  62. }
  63. long IMsgResponse.GetCode() => code;
  64. string IMsgResponse.GetInfo() => msg;
  65. /// <summary> 消息返回类型0正常 1业务报错 2其他 </summary>
  66. public int code;
  67. /// <summary> 返回提示 </summary>
  68. public string msg;
  69. }
  70. }