123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442 |
- //------------------------------------------------------------------------------
- // <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>
- //------------------------------------------------------------------------------
- // ***************************************************************************
- // * 作者= 李静
- // * 创建时间= 2015-10-12
- // * 用途= 勋章处理器
- // ***************************************************************************
- // Generated from: medalHandler.proto
- // Note: requires additional types generated from: common.proto
- // Note: requires additional types generated from: item.proto
- namespace pomelo.area
- {
-
- //---------------------------------------------------------------------------------------
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MedalData")]
- public partial class MedalData : global::ProtoBuf.IExtensible
- {
- public MedalData() {}
-
-
- private pomelo.item.MiniItem _medal = null;
- [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"medal", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue(null)]
- public pomelo.item.MiniItem medal
- {
- get { return _medal; }
- set { _medal = value; }
- }
-
- private int _ifMax = default(int);
- /// <summary>
- /// 是否满级
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"ifMax", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int ifMax
- {
- get { return _ifMax; }
- set { _ifMax = value; }
- }
-
- private int _needPrestige = default(int);
- /// <summary>
- /// 需要的声望
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"needPrestige", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int needPrestige
- {
- get { return _needPrestige; }
- set { _needPrestige = value; }
- }
-
- private int _needGold = default(int);
- /// <summary>
- /// 消耗金币
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"needGold", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int needGold
- {
- get { return _needGold; }
- set { _needGold = value; }
- }
-
- private int _needDiamond = default(int);
- /// <summary>
- /// 需要的钻石
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"needDiamond", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int needDiamond
- {
- get { return _needDiamond; }
- set { _needDiamond = value; }
- }
-
- private string _nextTitleName = "";
- /// <summary>
- /// 下一级爵位
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"nextTitleName", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string nextTitleName
- {
- get { return _nextTitleName; }
- set { _nextTitleName = value; }
- }
-
- private readonly global::System.Collections.Generic.List<pomelo.AttributeBase> _attrs = new global::System.Collections.Generic.List<pomelo.AttributeBase>();
- /// <summary>
- /// 勋章属性
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(7, Name=@"attrs", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.AttributeBase> attrs
- {
- get { return _attrs; }
- }
-
-
- private int _flag = default(int);
- /// <summary>
- /// 1-获得过 0-没有
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"flag", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int flag
- {
- get { return _flag; }
- set { _flag = 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=@"GetMedalInfoRequest")]
- public partial class GetMedalInfoRequest : global::ProtoBuf.IExtensible
- {
- public GetMedalInfoRequest() {}
-
- 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=@"GetMedalInfoResponse")]
- public partial class GetMedalInfoResponse : global::ProtoBuf.IExtensible
- {
- public GetMedalInfoResponse() {}
-
-
- 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 pomelo.area.MedalData _s2c_data = null;
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue(null)]
- public pomelo.area.MedalData s2c_data
- {
- get { return _s2c_data; }
- set { _s2c_data = 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=@"GainMedalRequest")]
- public partial class GainMedalRequest : global::ProtoBuf.IExtensible
- {
- public GainMedalRequest() {}
-
-
- private string _c2s_id;
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_id", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public string c2s_id
- {
- get { return _c2s_id; }
- set { _c2s_id = 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=@"GainMedalResponse")]
- public partial class GainMedalResponse : global::ProtoBuf.IExtensible
- {
- public GainMedalResponse() {}
-
-
- 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=@"MedalListRequest")]
- public partial class MedalListRequest : global::ProtoBuf.IExtensible
- {
- public MedalListRequest() {}
-
- 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=@"MedalListInfo")]
- public partial class MedalListInfo : global::ProtoBuf.IExtensible
- {
- public MedalListInfo() {}
-
-
- private pomelo.item.MiniItem _medal;
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"medal", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public pomelo.item.MiniItem medal
- {
- get { return _medal; }
- set { _medal = value; }
- }
-
- private int _isGet;
- /// <summary>
- /// 2 已获得 1 可以领取 0 没有获得
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"isGet", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int isGet
- {
- get { return _isGet; }
- set { _isGet = 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=@"MedalListResponse")]
- public partial class MedalListResponse : global::ProtoBuf.IExtensible
- {
- public MedalListResponse() {}
-
-
- 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.MedalListInfo> _s2c_data = new global::System.Collections.Generic.List<pomelo.area.MedalListInfo>();
- [global::ProtoBuf.ProtoMember(3, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.area.MedalListInfo> s2c_data
- {
- get { return _s2c_data; }
- }
-
- 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=@"GetMedalInfoByCodeRequest")]
- public partial class GetMedalInfoByCodeRequest : global::ProtoBuf.IExtensible
- {
- public GetMedalInfoByCodeRequest() {}
-
-
- private string _c2s_code;
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_code", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public string c2s_code
- {
- get { return _c2s_code; }
- set { _c2s_code = 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=@"GetMedalInfoByCodeResponse")]
- public partial class GetMedalInfoByCodeResponse : global::ProtoBuf.IExtensible
- {
- public GetMedalInfoByCodeResponse() {}
-
-
- 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 pomelo.area.MedalData _s2c_data = null;
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue(null)]
- public pomelo.area.MedalData s2c_data
- {
- get { return _s2c_data; }
- set { _s2c_data = 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=@"MedalTitleData")]
- public partial class MedalTitleData : global::ProtoBuf.IExtensible
- {
- public MedalTitleData() {}
-
-
- private int _titleId = default(int);
- [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"titleId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int titleId
- {
- get { return _titleId; }
- set { _titleId = value; }
- }
-
- private pomelo.item.MiniItem _medal = null;
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"medal", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue(null)]
- public pomelo.item.MiniItem medal
- {
- get { return _medal; }
- set { _medal = 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=@"MedalTitleChangePush")]
- public partial class MedalTitleChangePush : global::ProtoBuf.IExtensible
- {
- public MedalTitleChangePush() {}
-
-
- 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 readonly global::System.Collections.Generic.List<pomelo.area.MedalTitleData> _s2c_data = new global::System.Collections.Generic.List<pomelo.area.MedalTitleData>();
- [global::ProtoBuf.ProtoMember(2, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.area.MedalTitleData> s2c_data
- {
- get { return _s2c_data; }
- }
-
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- }
-
|