//------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ // *************************************************************************** // * 作者: 曾振东 // * 创建时间: 2019-08-02 // * 用途: 成长(章节) // *************************************************************************** // Generated from: growingHandler.proto // Note: requires additional types generated from: common.proto namespace pomelo.growing { //--------------------------------------------------------------------------------------- /// /// 成长内容 /// [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Growing")] public partial class Growing : global::ProtoBuf.IExtensible { public Growing() {} private int _id; /// /// id /// [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); /// /// 进度 /// [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); /// /// 完成状态(0:未达成 1:已达成,未领取 2:已领取) /// [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); } } //--------------------------------------------------------------------------------------- /// /// 获取成长信息 请求 /// [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); } } //--------------------------------------------------------------------------------------- /// /// 获取成长信息 返回 /// [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); /// /// 当前成长值 /// [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); /// /// 当前解锁的章节 /// [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 _s2c_growing = new global::System.Collections.Generic.List(); /// /// 只发解锁的id /// [global::ProtoBuf.ProtoMember(5, Name=@"s2c_growing", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List s2c_growing { get { return _s2c_growing; } } private readonly global::System.Collections.Generic.List _s2c_growingAward = new global::System.Collections.Generic.List(); /// /// 领取的成长值奖励list /// [global::ProtoBuf.ProtoMember(6, Name=@"s2c_growingAward", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public global::System.Collections.Generic.List 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); } } //--------------------------------------------------------------------------------------- /// /// 领取奖励 请求 /// [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GrowingAwardRequest")] public partial class GrowingAwardRequest : global::ProtoBuf.IExtensible { public GrowingAwardRequest() {} private int _c2s_optionType; /// /// 类型(1:领取id对应的成长值 2.领取成长值奖励) /// [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); /// /// 参数(optionType = 1传:id; optionType = 2传:成长值) /// [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); } } //--------------------------------------------------------------------------------------- /// /// 领取奖励 返回 /// [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); } } //--------------------------------------------------------------------------------------- /// /// 更新成长信息推送 /// [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpdateGrowingPush")] public partial class UpdateGrowingPush : global::ProtoBuf.IExtensible { public UpdateGrowingPush() {} private readonly global::System.Collections.Generic.List _s2c_growing = new global::System.Collections.Generic.List(); [global::ProtoBuf.ProtoMember(1, Name=@"s2c_growing", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List 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); } } //--------------------------------------------------------------------------------------- /// /// 通知当前解锁的章节 /// [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); } } //--------------------------------------------------------------------------------------- /// /// 更新成长值推送 /// [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UpdateGrowingValuePush")] public partial class UpdateGrowingValuePush : global::ProtoBuf.IExtensible { public UpdateGrowingValuePush() {} private long _s2c_curGrowing; /// /// 当前成长值 /// [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); } } }