123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325 |
- //------------------------------------------------------------------------------
- // <auto-generated>
- // This code was generated by a tool.
- //
- // Changes to this file may cause incorrect behavior and will be lost if
- // the code is regenerated.
- // </auto-generated>
- //------------------------------------------------------------------------------
- // ***************************************************************************
- // * 作者: 曾振东
- // * 创建时间: 2019-08-02
- // * 用途: 成长(章节)
- // ***************************************************************************
- // Generated from: growingHandler.proto
- // Note: requires additional types generated from: common.proto
- namespace pomelo.growing
- {
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 成长内容
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Growing")]
- public partial class Growing : global::ProtoBuf.IExtensible
- {
- public Growing() {}
-
-
- private int _id;
- /// <summary>
- /// id
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int id
- {
- get { return _id; }
- set { _id = value; }
- }
-
- private long _scheduleCurr = default(long);
- /// <summary>
- /// 进度
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"scheduleCurr", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(long))]
- public long scheduleCurr
- {
- get { return _scheduleCurr; }
- set { _scheduleCurr = value; }
- }
-
- private int _status = default(int);
- /// <summary>
- /// 完成状态(0:未达成 1:已达成,未领取 2:已领取)
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"status", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int status
- {
- get { return _status; }
- set { _status = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 获取成长信息 请求
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetGrowingRequest")]
- public partial class GetGrowingRequest : global::ProtoBuf.IExtensible
- {
- public GetGrowingRequest() {}
-
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 获取成长信息 返回
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetGrowingResponse")]
- public partial class GetGrowingResponse : global::ProtoBuf.IExtensible
- {
- public GetGrowingResponse() {}
-
-
- private int _s2c_code;
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int s2c_code
- {
- get { return _s2c_code; }
- set { _s2c_code = value; }
- }
-
- private string _s2c_msg = "";
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string s2c_msg
- {
- get { return _s2c_msg; }
- set { _s2c_msg = value; }
- }
-
- private long _s2c_curGrowing = default(long);
- /// <summary>
- /// 当前成长值
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_curGrowing", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(long))]
- public long s2c_curGrowing
- {
- get { return _s2c_curGrowing; }
- set { _s2c_curGrowing = value; }
- }
-
- private int _s2c_curChapter = default(int);
- /// <summary>
- /// 当前解锁的章节
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_curChapter", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int s2c_curChapter
- {
- get { return _s2c_curChapter; }
- set { _s2c_curChapter = value; }
- }
-
- private readonly global::System.Collections.Generic.List<pomelo.growing.Growing> _s2c_growing = new global::System.Collections.Generic.List<pomelo.growing.Growing>();
- /// <summary>
- /// 只发解锁的id
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(5, Name=@"s2c_growing", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.growing.Growing> s2c_growing
- {
- get { return _s2c_growing; }
- }
-
-
- private readonly global::System.Collections.Generic.List<int> _s2c_growingAward = new global::System.Collections.Generic.List<int>();
- /// <summary>
- /// 领取的成长值奖励list
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(6, Name=@"s2c_growingAward", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public global::System.Collections.Generic.List<int> s2c_growingAward
- {
- get { return _s2c_growingAward; }
- }
-
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 领取奖励 请求
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GrowingAwardRequest")]
- public partial class GrowingAwardRequest : global::ProtoBuf.IExtensible
- {
- public GrowingAwardRequest() {}
-
-
- private int _c2s_optionType;
- /// <summary>
- /// 类型(1:领取id对应的成长值 2.领取成长值奖励)
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_optionType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int c2s_optionType
- {
- get { return _c2s_optionType; }
- set { _c2s_optionType = value; }
- }
-
- private int _c2s_parameter = default(int);
- /// <summary>
- /// 参数(optionType = 1传:id; optionType = 2传:成长值)
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"c2s_parameter", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int c2s_parameter
- {
- get { return _c2s_parameter; }
- set { _c2s_parameter = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 领取奖励 返回
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GrowingAwardResponse")]
- public partial class GrowingAwardResponse : global::ProtoBuf.IExtensible
- {
- public GrowingAwardResponse() {}
-
-
- private int _s2c_code;
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_code", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int s2c_code
- {
- get { return _s2c_code; }
- set { _s2c_code = value; }
- }
-
- private string _s2c_msg = "";
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_msg", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string s2c_msg
- {
- get { return _s2c_msg; }
- set { _s2c_msg = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 更新成长信息推送
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpdateGrowingPush")]
- public partial class UpdateGrowingPush : global::ProtoBuf.IExtensible
- {
- public UpdateGrowingPush() {}
-
-
- private readonly global::System.Collections.Generic.List<pomelo.growing.Growing> _s2c_growing = new global::System.Collections.Generic.List<pomelo.growing.Growing>();
- [global::ProtoBuf.ProtoMember(1, Name=@"s2c_growing", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.growing.Growing> s2c_growing
- {
- get { return _s2c_growing; }
- }
-
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 通知当前解锁的章节
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CurChapterPush")]
- public partial class CurChapterPush : global::ProtoBuf.IExtensible
- {
- public CurChapterPush() {}
-
-
- private int _s2c_curChapter;
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_curChapter", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int s2c_curChapter
- {
- get { return _s2c_curChapter; }
- set { _s2c_curChapter = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 更新成长值推送
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpdateGrowingValuePush")]
- public partial class UpdateGrowingValuePush : global::ProtoBuf.IExtensible
- {
- public UpdateGrowingValuePush() {}
-
-
- private long _s2c_curGrowing;
- /// <summary>
- /// 当前成长值
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_curGrowing", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public long s2c_curGrowing
- {
- get { return _s2c_curGrowing; }
- set { _s2c_curGrowing = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- }
-
|