//------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ // *************************************************************************** // * 作者= 马章勇 // * 创建时间 = 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); } } //--------------------------------------------------------------------------------------- /// /// 货币类型 /// [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ShopMoneyInfo")] public partial class ShopMoneyInfo : global::ProtoBuf.IExtensible { public ShopMoneyInfo() {} private int _type; /// /// 货币类型 GuildShopMoneyType /// [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; /// /// 货币数量 /// [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); /// /// 类型 GuildShopConditionType /// [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); /// /// 级别,点数等 /// [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; /// /// 兑换的物品 /// [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); /// /// 获得后是否绑定 /// [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 = ""; /// /// 物品描述 /// [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 _needMoney = new global::System.Collections.Generic.List(); /// /// 需要的货币 /// [global::ProtoBuf.ProtoMember(6, Name=@"needMoney", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List needMoney { get { return _needMoney; } } private int _state = default(int); /// /// 0:未刷新 1:刷新可购买 2:售罄 /// [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 _condition = new global::System.Collections.Generic.List(); /// /// 需要的货币 /// [global::ProtoBuf.ProtoMember(8, Name=@"condition", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List condition { get { return _condition; } } private int _meetCondition = default(int); /// /// 是否满足兑换条件 0:不满足 1:满足 /// [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 _todayItems = new global::System.Collections.Generic.List(); /// /// 今日刷新商品 /// [global::ProtoBuf.ProtoMember(1, Name=@"todayItems", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List todayItems { get { return _todayItems; } } private readonly global::System.Collections.Generic.List _nextItems = new global::System.Collections.Generic.List(); /// /// 下次可能刷新 /// [global::ProtoBuf.ProtoMember(2, Name=@"nextItems", DataFormat = global::ProtoBuf.DataFormat.Default)] public global::System.Collections.Generic.List nextItems { get { return _nextItems; } } private readonly global::System.Collections.Generic.List _refreshTime = new global::System.Collections.Generic.List(); /// /// 下次刷新剩余时间 /// [global::ProtoBuf.ProtoMember(3, Name=@"refreshTime", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] public global::System.Collections.Generic.List 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); /// /// 兑换成功返回新状态 /// [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); /// /// 1:商店刷新 /// [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); } } }