//------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ // *************************************************************************** // * 作者= jjr // * 创建时间= 2017-05-02 // * 用途= 称号 // *************************************************************************** // Generated from: rankHandler.proto // Note: requires additional types generated from: common.proto namespace pomelo.area { //--------------------------------------------------------------------------------------- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AwardRank")] public partial class AwardRank : global::ProtoBuf.IExtensible { public AwardRank() {} 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 int _invalidTime; /// /// 失效时间戳(秒) /// [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"invalidTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int invalidTime { get { return _invalidTime; } set { _invalidTime = 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=@"GetRankInfoRequest")] public partial class GetRankInfoRequest : global::ProtoBuf.IExtensible { public GetRankInfoRequest() {} 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=@"GetRankInfoResponse")] public partial class GetRankInfoResponse : global::ProtoBuf.IExtensible { public GetRankInfoResponse() {} 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 readonly global::System.Collections.Generic.List _s2c_awardRanks = new global::System.Collections.Generic.List(); /// /// 获得的称号 /// [global::ProtoBuf.ProtoMember(3, Name=@"s2c_awardRanks", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List s2c_awardRanks { get { return _s2c_awardRanks; } } private int _s2c_selectedRankId = default(int); /// /// 选中称号ID /// [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_selectedRankId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int s2c_selectedRankId { get { return _s2c_selectedRankId; } set { _s2c_selectedRankId = value; } } private int _s2c_fightPower = default(int); /// /// 战力 /// [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"s2c_fightPower", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] [global::System.ComponentModel.DefaultValue(default(int))] public int s2c_fightPower { get { return _s2c_fightPower; } set { _s2c_fightPower = 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=@"SaveRankNotify")] public partial class SaveRankNotify : global::ProtoBuf.IExtensible { public SaveRankNotify() {} private int _c2s_selectedRankId; /// /// 选中称号ID /// [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_selectedRankId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int c2s_selectedRankId { get { return _c2s_selectedRankId; } set { _c2s_selectedRankId = 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=@"OnAwardRankPush")] public partial class OnAwardRankPush : global::ProtoBuf.IExtensible { public OnAwardRankPush() {} 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 int _s2c_awardRankId; /// /// 获得称号ID /// [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"s2c_awardRankId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public int s2c_awardRankId { get { return _s2c_awardRankId; } set { _s2c_awardRankId = value; } } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } }