_diaryHandler.cs 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. //
  5. // Changes to this file may cause incorrect behavior and will be lost if
  6. // the code is regenerated.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. // ***************************************************************************
  10. // * 作者= 曾振东
  11. // * 创建时间= 2020-07-13
  12. // * 用途= 修仙日记
  13. // ***************************************************************************/
  14. // Generated from: diaryHandler.proto
  15. namespace pomelo.area
  16. {
  17. //---------------------------------------------------------------------------------------
  18. /// <summary>
  19. /// 修仙日记信息对象
  20. /// </summary>
  21. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DiaryInfo")]
  22. public partial class DiaryInfo : global::ProtoBuf.IExtensible
  23. {
  24. public DiaryInfo() {}
  25. private int _npcId;
  26. /// <summary>
  27. /// npcid
  28. /// </summary>
  29. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"npcId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  30. public int npcId
  31. {
  32. get { return _npcId; }
  33. set { _npcId = value; }
  34. }
  35. private int _npcGoodFeelingVlaue = default(int);
  36. /// <summary>
  37. /// 好感度值
  38. /// </summary>
  39. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"npcGoodFeelingVlaue", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  40. [global::System.ComponentModel.DefaultValue(default(int))]
  41. public int npcGoodFeelingVlaue
  42. {
  43. get { return _npcGoodFeelingVlaue; }
  44. set { _npcGoodFeelingVlaue = value; }
  45. }
  46. private global::ProtoBuf.IExtension extensionObject;
  47. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  48. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  49. }
  50. //---------------------------------------------------------------------------------------
  51. /// <summary>
  52. /// 获取修仙日记 请求
  53. /// </summary>
  54. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetDiaryInfoRequest")]
  55. public partial class GetDiaryInfoRequest : global::ProtoBuf.IExtensible
  56. {
  57. public GetDiaryInfoRequest() {}
  58. private global::ProtoBuf.IExtension extensionObject;
  59. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  60. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  61. }
  62. //---------------------------------------------------------------------------------------
  63. /// <summary>
  64. /// 获取修仙日记 返回
  65. /// </summary>
  66. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetDiaryInfoResponse")]
  67. public partial class GetDiaryInfoResponse : global::ProtoBuf.IExtensible
  68. {
  69. public GetDiaryInfoResponse() {}
  70. private int _s2c_code;
  71. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  72. public int s2c_code
  73. {
  74. get { return _s2c_code; }
  75. set { _s2c_code = value; }
  76. }
  77. private string _s2c_msg = "";
  78. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
  79. [global::System.ComponentModel.DefaultValue("")]
  80. public string s2c_msg
  81. {
  82. get { return _s2c_msg; }
  83. set { _s2c_msg = value; }
  84. }
  85. private readonly global::System.Collections.Generic.List<pomelo.area.DiaryInfo> _s2c_infos = new global::System.Collections.Generic.List<pomelo.area.DiaryInfo>();
  86. /// <summary>
  87. /// 日记信息
  88. /// </summary>
  89. [global::ProtoBuf.ProtoMember(3, Name=@"s2c_infos", DataFormat = global::ProtoBuf.DataFormat.Default)]
  90. public global::System.Collections.Generic.List<pomelo.area.DiaryInfo> s2c_infos
  91. {
  92. get { return _s2c_infos; }
  93. }
  94. private global::ProtoBuf.IExtension extensionObject;
  95. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  96. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  97. }
  98. }