123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612 |
- //------------------------------------------------------------------------------
- // <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>
- //------------------------------------------------------------------------------
- // ***************************************************************************
- // * 作者= 周明凯
- // * 创建时间= 2017-12-20
- // * 用途= 竞拍处理器
- // ***************************************************************************/
- // Generated from: auctionHandler.proto
- // Note: requires additional types generated from: common.proto
- // Note: requires additional types generated from: item.proto
- namespace pomelo.auction
- {
-
- //---------------------------------------------------------------------------------------
- /// <summary>
- /// 同步竞拍信息(用于变更时同步推送)
- /// </summary>
-
- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SyncAuctionInfoRequest")]
- public partial class SyncAuctionInfoRequest : global::ProtoBuf.IExtensible
- {
- public SyncAuctionInfoRequest() {}
-
- 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=@"SyncAuctionInfoResponse")]
- public partial class SyncAuctionInfoResponse : global::ProtoBuf.IExtensible
- {
- public SyncAuctionInfoResponse() {}
-
-
- 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=@"CancelSyncAuctionInfoRequest")]
- public partial class CancelSyncAuctionInfoRequest : global::ProtoBuf.IExtensible
- {
- public CancelSyncAuctionInfoRequest() {}
-
- 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=@"CancelSyncAuctionInfoResponse")]
- public partial class CancelSyncAuctionInfoResponse : global::ProtoBuf.IExtensible
- {
- public CancelSyncAuctionInfoResponse() {}
-
-
- 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=@"AuctionItem")]
- public partial class AuctionItem : global::ProtoBuf.IExtensible
- {
- public AuctionItem() {}
-
-
- private string _id;
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public string id
- {
- get { return _id; }
- set { _id = value; }
- }
-
- private pomelo.item.ItemDetail _detail;
- [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"detail", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public pomelo.item.ItemDetail detail
- {
- get { return _detail; }
- set { _detail = value; }
- }
-
- private int _state;
- /// <summary>
- /// 竞拍状态(1=展示,2=竞拍中)
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"state", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int state
- {
- get { return _state; }
- set { _state = value; }
- }
-
- private int _timeleft = default(int);
- /// <summary>
- /// 剩余时间(单位:秒)
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"timeleft", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int timeleft
- {
- get { return _timeleft; }
- set { _timeleft = value; }
- }
-
- private int _curPrice = default(int);
- /// <summary>
- /// 竞价
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"curPrice", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int curPrice
- {
- get { return _curPrice; }
- set { _curPrice = value; }
- }
-
- private int _maxPrice = default(int);
- /// <summary>
- /// 一口价
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"maxPrice", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int maxPrice
- {
- get { return _maxPrice; }
- set { _maxPrice = value; }
- }
-
- private bool _self = default(bool);
- /// <summary>
- /// 当前是否为自己竟拍
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"self", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue(default(bool))]
- public bool self
- {
- get { return _self; }
- set { _self = value; }
- }
-
- private int _num = default(int);
- /// <summary>
- /// 当前数量
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int num
- {
- get { return _num; }
- set { _num = value; }
- }
-
- private string _source = "";
- /// <summary>
- /// 奖励来源
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"source", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string source
- {
- get { return _source; }
- set { _source = 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=@"AuctionListRequest")]
- public partial class AuctionListRequest : global::ProtoBuf.IExtensible
- {
- public AuctionListRequest() {}
-
-
- private int _c2s_type;
- /// <summary>
- /// 竞拍大类(1=仙盟竞拍,2=世界竞拍, 3=我的竞拍)
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"c2s_type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int c2s_type
- {
- get { return _c2s_type; }
- set { _c2s_type = 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=@"AuctionListResponse")]
- public partial class AuctionListResponse : global::ProtoBuf.IExtensible
- {
- public AuctionListResponse() {}
-
-
- 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.auction.AuctionItem> _s2c_data = new global::System.Collections.Generic.List<pomelo.auction.AuctionItem>();
- [global::ProtoBuf.ProtoMember(3, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.auction.AuctionItem> s2c_data
- {
- get { return _s2c_data; }
- }
-
-
- private int _s2c_bonus = default(int);
- /// <summary>
- /// 分红元宝值(仙盟竞拍才有的参数)
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"s2c_bonus", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int s2c_bonus
- {
- get { return _s2c_bonus; }
- set { _s2c_bonus = 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=@"AuctionRequest")]
- public partial class AuctionRequest : global::ProtoBuf.IExtensible
- {
- public AuctionRequest() {}
-
-
- private string _itemId;
- /// <summary>
- /// 物品的GUID
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"itemId", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public string itemId
- {
- get { return _itemId; }
- set { _itemId = value; }
- }
-
- private int _price;
- /// <summary>
- /// 客户端确认时的价格
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"price", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int price
- {
- get { return _price; }
- set { _price = 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=@"AuctionResponse")]
- public partial class AuctionResponse : global::ProtoBuf.IExtensible
- {
- public AuctionResponse() {}
-
-
- 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=@"AuctionLog")]
- public partial class AuctionLog : global::ProtoBuf.IExtensible
- {
- public AuctionLog() {}
-
-
- private int _id;
- /// <summary>
- /// 编号
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- public int id
- {
- get { return _id; }
- set { _id = value; }
- }
-
- private string _time = "";
- /// <summary>
- /// 时间
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"time", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string time
- {
- get { return _time; }
- set { _time = value; }
- }
-
- private string _role1 = "";
- /// <summary>
- /// 角色名称
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"role1", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string role1
- {
- get { return _role1; }
- set { _role1 = value; }
- }
-
- private string _item = "";
- /// <summary>
- /// 物品名称
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"item", DataFormat = global::ProtoBuf.DataFormat.Default)]
- [global::System.ComponentModel.DefaultValue("")]
- public string item
- {
- get { return _item; }
- set { _item = value; }
- }
-
- private int _num = default(int);
- /// <summary>
- /// 多少绑定元宝
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int num
- {
- get { return _num; }
- set { _num = 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=@"AuctionLogRequest")]
- public partial class AuctionLogRequest : global::ProtoBuf.IExtensible
- {
- public AuctionLogRequest() {}
-
- 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=@"AuctionLogResponse")]
- public partial class AuctionLogResponse : global::ProtoBuf.IExtensible
- {
- public AuctionLogResponse() {}
-
-
- 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.auction.AuctionLog> _s2c_log = new global::System.Collections.Generic.List<pomelo.auction.AuctionLog>();
- [global::ProtoBuf.ProtoMember(3, Name=@"s2c_log", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.auction.AuctionLog> s2c_log
- {
- get { return _s2c_log; }
- }
-
- 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=@"AuctionItemPush")]
- public partial class AuctionItemPush : global::ProtoBuf.IExtensible
- {
- public AuctionItemPush() {}
-
-
- private pomelo.auction.AuctionItem _s2c_item;
- /// <summary>
- /// 变化的竞拍选项
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"s2c_item", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public pomelo.auction.AuctionItem s2c_item
- {
- get { return _s2c_item; }
- set { _s2c_item = 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=@"AddAuctionItemPush")]
- public partial class AddAuctionItemPush : global::ProtoBuf.IExtensible
- {
- public AddAuctionItemPush() {}
-
-
- private readonly global::System.Collections.Generic.List<pomelo.auction.AuctionItem> _s2c_item = new global::System.Collections.Generic.List<pomelo.auction.AuctionItem>();
- [global::ProtoBuf.ProtoMember(1, Name=@"s2c_item", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public global::System.Collections.Generic.List<pomelo.auction.AuctionItem> s2c_item
- {
- get { return _s2c_item; }
- }
-
-
- private int _s2c_type = default(int);
- /// <summary>
- /// 竞拍大类(1=仙盟竞拍,2=世界竞拍)
- /// </summary>
-
- [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"s2c_type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
- [global::System.ComponentModel.DefaultValue(default(int))]
- public int s2c_type
- {
- get { return _s2c_type; }
- set { _s2c_type = 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=@"RemoveAuctionItemPush")]
- public partial class RemoveAuctionItemPush : global::ProtoBuf.IExtensible
- {
- public RemoveAuctionItemPush() {}
-
-
- private string _id;
- [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
- public string 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); }
- }
-
-
- }
-
|