123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205 |
- //------------------------------------------------------------------------------
- // <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>
- //------------------------------------------------------------------------------
- // ***************************************************************************
- // * 作者= 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;
- /// <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 int _invalidTime;
- /// <summary>
- /// 失效时间戳(秒)
- /// </summary>
-
- [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); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 获取称号信息(主界面)
- /// </summary>
-
- [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<pomelo.area.AwardRank> _s2c_awardRanks = new global::System.Collections.Generic.List<pomelo.area.AwardRank>();
- /// <summary>
- /// 获得的称号
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(3, Name=@"s2c_awardRanks", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.area.AwardRank> s2c_awardRanks
- {
- get { return _s2c_awardRanks; }
- }
-
-
- private int _s2c_selectedRankId = default(int);
- /// <summary>
- /// 选中称号ID
- /// </summary>
-
- [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);
- /// <summary>
- /// 战力
- /// </summary>
-
- [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); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 保存称号
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SaveRankNotify")]
- public partial class SaveRankNotify : global::ProtoBuf.IExtensible
- {
- public SaveRankNotify() {}
-
-
- private int _c2s_selectedRankId;
- /// <summary>
- /// 选中称号ID
- /// </summary>
-
- [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); }
- }
-
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 获得称号
- /// </summary>
-
- [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;
- /// <summary>
- /// 获得称号ID
- /// </summary>
-
- [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); }
- }
-
-
- }
-
|