_dailyActivity.cs 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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. // * 作者= jjjr
  11. // * 创建时间= 2017-04-11
  12. // * 用途= 日常活动结构体
  13. // ***************************************************************************
  14. // Generated from: dailyActivity.proto
  15. // Note: requires additional types generated from: item.proto
  16. namespace pomelo.dailyActivity
  17. {
  18. //---------------------------------------------------------------------------------------
  19. /// <summary>
  20. /// 日常活动信息
  21. /// </summary>
  22. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DailyInfo")]
  23. public partial class DailyInfo : global::ProtoBuf.IExtensible
  24. {
  25. public DailyInfo() {}
  26. private int _id;
  27. /// <summary>
  28. /// 活动id
  29. /// </summary>
  30. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  31. public int id
  32. {
  33. get { return _id; }
  34. set { _id = value; }
  35. }
  36. private int _cur_num = default(int);
  37. /// <summary>
  38. /// 当前完成次数
  39. /// </summary>
  40. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"cur_num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  41. [global::System.ComponentModel.DefaultValue(default(int))]
  42. public int cur_num
  43. {
  44. get { return _cur_num; }
  45. set { _cur_num = value; }
  46. }
  47. private int _max_num = default(int);
  48. /// <summary>
  49. /// 每日可参与最大次数(0 表示不限)
  50. /// </summary>
  51. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"max_num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  52. [global::System.ComponentModel.DefaultValue(default(int))]
  53. public int max_num
  54. {
  55. get { return _max_num; }
  56. set { _max_num = value; }
  57. }
  58. private int _perDegree = default(int);
  59. /// <summary>
  60. /// 每次活跃度
  61. /// </summary>
  62. [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"perDegree", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  63. [global::System.ComponentModel.DefaultValue(default(int))]
  64. public int perDegree
  65. {
  66. get { return _perDegree; }
  67. set { _perDegree = value; }
  68. }
  69. private int _lvLimit = default(int);
  70. /// <summary>
  71. /// 等级限制
  72. /// </summary>
  73. [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"lvLimit", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  74. [global::System.ComponentModel.DefaultValue(default(int))]
  75. public int lvLimit
  76. {
  77. get { return _lvLimit; }
  78. set { _lvLimit = value; }
  79. }
  80. private string _openPeriod = "";
  81. /// <summary>
  82. /// 开始时间段
  83. /// </summary>
  84. [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"openPeriod", DataFormat = global::ProtoBuf.DataFormat.Default)]
  85. [global::System.ComponentModel.DefaultValue("")]
  86. public string openPeriod
  87. {
  88. get { return _openPeriod; }
  89. set { _openPeriod = value; }
  90. }
  91. private int _isOver = default(int);
  92. /// <summary>
  93. /// 0:不在时间段 1:正在进行中 2:已结束
  94. /// </summary>
  95. [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"isOver", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  96. [global::System.ComponentModel.DefaultValue(default(int))]
  97. public int isOver
  98. {
  99. get { return _isOver; }
  100. set { _isOver = value; }
  101. }
  102. private readonly global::System.Collections.Generic.List<pomelo.item.ItemDetail> _awardItem = new global::System.Collections.Generic.List<pomelo.item.ItemDetail>();
  103. /// <summary>
  104. /// 奖励道具
  105. /// </summary>
  106. [global::ProtoBuf.ProtoMember(8, Name=@"awardItem", DataFormat = global::ProtoBuf.DataFormat.Default)]
  107. public global::System.Collections.Generic.List<pomelo.item.ItemDetail> awardItem
  108. {
  109. get { return _awardItem; }
  110. }
  111. private global::ProtoBuf.IExtension extensionObject;
  112. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  113. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  114. }
  115. //---------------------------------------------------------------------------------------
  116. /// <summary>
  117. /// 活跃度奖励
  118. /// </summary>
  119. [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DegreeInfo")]
  120. public partial class DegreeInfo : global::ProtoBuf.IExtensible
  121. {
  122. public DegreeInfo() {}
  123. private int _id;
  124. /// <summary>
  125. /// 活跃度id
  126. /// </summary>
  127. [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  128. public int id
  129. {
  130. get { return _id; }
  131. set { _id = value; }
  132. }
  133. private int _needDegree = default(int);
  134. /// <summary>
  135. /// 所需活跃度
  136. /// </summary>
  137. [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"needDegree", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  138. [global::System.ComponentModel.DefaultValue(default(int))]
  139. public int needDegree
  140. {
  141. get { return _needDegree; }
  142. set { _needDegree = value; }
  143. }
  144. private int _state = default(int);
  145. /// <summary>
  146. /// 领取状态 0 :未达到 1:可领取 2:已领取
  147. /// </summary>
  148. [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"state", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
  149. [global::System.ComponentModel.DefaultValue(default(int))]
  150. public int state
  151. {
  152. get { return _state; }
  153. set { _state = value; }
  154. }
  155. private readonly global::System.Collections.Generic.List<pomelo.item.ItemDetail> _awardItem = new global::System.Collections.Generic.List<pomelo.item.ItemDetail>();
  156. /// <summary>
  157. /// 奖励道具
  158. /// </summary>
  159. [global::ProtoBuf.ProtoMember(4, Name=@"awardItem", DataFormat = global::ProtoBuf.DataFormat.Default)]
  160. public global::System.Collections.Generic.List<pomelo.item.ItemDetail> awardItem
  161. {
  162. get { return _awardItem; }
  163. }
  164. private global::ProtoBuf.IExtension extensionObject;
  165. global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
  166. { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
  167. }
  168. }