123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432 |
- //------------------------------------------------------------------------------
- // <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>
- //------------------------------------------------------------------------------
- // ***************************************************************************
- // * 作者= 马章勇
- // * 创建时间 = 2016-5-13
- // * 用途= 公会商店处理器
- // ***************************************************************************
- // Generated from: guildShopHandler.proto
- // Note: requires additional types generated from: item.proto
- // Note: requires additional types generated from: common.proto
- namespace pomelo.area
- {
-
- //---------------------------------------------------------------------------------------
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetGuildShopInfoRequest")]
- public partial class GetGuildShopInfoRequest : global::ProtoBuf.IExtensible
- {
- public GetGuildShopInfoRequest() {}
-
- 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=@"ExchangeShopItemRequest")]
- public partial class ExchangeShopItemRequest : global::ProtoBuf.IExtensible
- {
- public ExchangeShopItemRequest() {}
-
-
- private int _id = default(int);
- [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int id
- {
- get { return _id; }
- set { _id = 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=@"ShopMoneyInfo")]
- public partial class ShopMoneyInfo : global::ProtoBuf.IExtensible
- {
- public ShopMoneyInfo() {}
-
-
- private int _type;
- /// <summary>
- /// 货币类型 GuildShopMoneyType
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int type
- {
- get { return _type; }
- set { _type = value; }
- }
-
- private int _value;
- /// <summary>
- /// 货币数量
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"value", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int value
- {
- get { return _value; }
- set { _value = 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=@"ShopCondition")]
- public partial class ShopCondition : global::ProtoBuf.IExtensible
- {
- public ShopCondition() {}
-
-
- private int _type = default(int);
- /// <summary>
- /// 类型 GuildShopConditionType
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int type
- {
- get { return _type; }
- set { _type = value; }
- }
-
- private int _number = default(int);
- /// <summary>
- /// 级别,点数等
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"number", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int number
- {
- get { return _number; }
- set { _number = 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=@"ExchangeItem")]
- public partial class ExchangeItem : global::ProtoBuf.IExtensible
- {
- public ExchangeItem() {}
-
-
- private int _id = default(int);
- [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int id
- {
- get { return _id; }
- set { _id = value; }
- }
-
- private string _itemShowName = "";
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"itemShowName", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string itemShowName
- {
- get { return _itemShowName; }
- set { _itemShowName = value; }
- }
-
- private pomelo.item.MiniItem _item = null;
- /// <summary>
- /// 兑换的物品
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"item", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue(null)]
- public pomelo.item.MiniItem item
- {
- get { return _item; }
- set { _item = value; }
- }
-
- private int _isBind = default(int);
- /// <summary>
- /// 获得后是否绑定
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"isBind", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int isBind
- {
- get { return _isBind; }
- set { _isBind = value; }
- }
-
- private string _itemDes = "";
- /// <summary>
- /// 物品描述
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"itemDes", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string itemDes
- {
- get { return _itemDes; }
- set { _itemDes = value; }
- }
-
- private readonly global::System.Collections.Generic.List<pomelo.area.ShopMoneyInfo> _needMoney = new global::System.Collections.Generic.List<pomelo.area.ShopMoneyInfo>();
- /// <summary>
- /// 需要的货币
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(6, Name=@"needMoney", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.area.ShopMoneyInfo> needMoney
- {
- get { return _needMoney; }
- }
-
-
- private int _state = default(int);
- /// <summary>
- /// 0:未刷新 1:刷新可购买 2:售罄
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"state", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int state
- {
- get { return _state; }
- set { _state = value; }
- }
-
- private readonly global::System.Collections.Generic.List<pomelo.area.ShopCondition> _condition = new global::System.Collections.Generic.List<pomelo.area.ShopCondition>();
- /// <summary>
- /// 需要的货币
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(8, Name=@"condition", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.area.ShopCondition> condition
- {
- get { return _condition; }
- }
-
-
- private int _meetCondition = default(int);
- /// <summary>
- /// 是否满足兑换条件 0:不满足 1:满足
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"meetCondition", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int meetCondition
- {
- get { return _meetCondition; }
- set { _meetCondition = 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=@"ShopInfo")]
- public partial class ShopInfo : global::ProtoBuf.IExtensible
- {
- public ShopInfo() {}
-
-
- private readonly global::System.Collections.Generic.List<pomelo.area.ExchangeItem> _todayItems = new global::System.Collections.Generic.List<pomelo.area.ExchangeItem>();
- /// <summary>
- /// 今日刷新商品
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, Name=@"todayItems", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.area.ExchangeItem> todayItems
- {
- get { return _todayItems; }
- }
-
-
- private readonly global::System.Collections.Generic.List<pomelo.area.ExchangeItem> _nextItems = new global::System.Collections.Generic.List<pomelo.area.ExchangeItem>();
- /// <summary>
- /// 下次可能刷新
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, Name=@"nextItems", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.area.ExchangeItem> nextItems
- {
- get { return _nextItems; }
- }
-
-
- private readonly global::System.Collections.Generic.List<int> _refreshTime = new global::System.Collections.Generic.List<int>();
- /// <summary>
- /// 下次刷新剩余时间
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(3, Name=@"refreshTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public global::System.Collections.Generic.List<int> refreshTime
- {
- get { return _refreshTime; }
- }
-
- 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=@"GetGuildShopInfoResponse")]
- public partial class GetGuildShopInfoResponse : global::ProtoBuf.IExtensible
- {
- public GetGuildShopInfoResponse() {}
-
-
- 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.ShopInfo _s2c_shopInfo = null;
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_shopInfo", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue(null)]
- public pomelo.area.ShopInfo s2c_shopInfo
- {
- get { return _s2c_shopInfo; }
- set { _s2c_shopInfo = 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=@"ExchangeShopItemResponse")]
- public partial class ExchangeShopItemResponse : global::ProtoBuf.IExtensible
- {
- public ExchangeShopItemResponse() {}
-
-
- 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 int _s2c_id = default(int);
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"s2c_id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int s2c_id
- {
- get { return _s2c_id; }
- set { _s2c_id = value; }
- }
-
- private int _s2c_state = default(int);
- /// <summary>
- /// 兑换成功返回新状态
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_state", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int s2c_state
- {
- get { return _s2c_state; }
- set { _s2c_state = 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=@"ShopRefreshPush")]
- public partial class ShopRefreshPush : global::ProtoBuf.IExtensible
- {
- public ShopRefreshPush() {}
-
-
- 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 int _type = default(int);
- /// <summary>
- /// 1:商店刷新
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int type
- {
- get { return _type; }
- set { _type = value; }
- }
- private global::ProtoBuf.IExtension extensionObject;
- global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
- { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
- }
-
-
- }
-
|