//------------------------------------------------------------------------------
//
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
// ***************************************************************************
// * 作者= 周明凯
// * 创建时间= 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
{
//---------------------------------------------------------------------------------------
///
/// 同步竞拍信息(用于变更时同步推送)
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 同步竞拍信息响应
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 取消同步竞拍信息
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 取消同步竞拍信息响应
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 竞拍物品项
///
[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;
///
/// 竞拍状态(1=展示,2=竞拍中)
///
[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);
///
/// 剩余时间(单位:秒)
///
[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);
///
/// 竞价
///
[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);
///
/// 一口价
///
[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);
///
/// 当前是否为自己竟拍
///
[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);
///
/// 当前数量
///
[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 = "";
///
/// 奖励来源
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 竞拍列表
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AuctionListRequest")]
public partial class AuctionListRequest : global::ProtoBuf.IExtensible
{
public AuctionListRequest() {}
private int _c2s_type;
///
/// 竞拍大类(1=仙盟竞拍,2=世界竞拍, 3=我的竞拍)
///
[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 _s2c_data = new global::System.Collections.Generic.List();
[global::ProtoBuf.ProtoMember(3, Name=@"s2c_data", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List s2c_data
{
get { return _s2c_data; }
}
private int _s2c_bonus = default(int);
///
/// 分红元宝值(仙盟竞拍才有的参数)
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 竞拍请求
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AuctionRequest")]
public partial class AuctionRequest : global::ProtoBuf.IExtensible
{
public AuctionRequest() {}
private string _itemId;
///
/// 物品的GUID
///
[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;
///
/// 客户端确认时的价格
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 竞拍日志
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AuctionLog")]
public partial class AuctionLog : global::ProtoBuf.IExtensible
{
public AuctionLog() {}
private int _id;
///
/// 编号
///
[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 = "";
///
/// 时间
///
[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 = "";
///
/// 角色名称
///
[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 = "";
///
/// 物品名称
///
[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);
///
/// 多少绑定元宝
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 竞拍日志列表
///
[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 _s2c_log = new global::System.Collections.Generic.List();
[global::ProtoBuf.ProtoMember(3, Name=@"s2c_log", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List 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); }
}
//---------------------------------------------------------------------------------------
///
/// 竞拍物品变化
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AuctionItemPush")]
public partial class AuctionItemPush : global::ProtoBuf.IExtensible
{
public AuctionItemPush() {}
private pomelo.auction.AuctionItem _s2c_item;
///
/// 变化的竞拍选项
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 添加竞拍物品
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AddAuctionItemPush")]
public partial class AddAuctionItemPush : global::ProtoBuf.IExtensible
{
public AddAuctionItemPush() {}
private readonly global::System.Collections.Generic.List _s2c_item = new global::System.Collections.Generic.List();
[global::ProtoBuf.ProtoMember(1, Name=@"s2c_item", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List s2c_item
{
get { return _s2c_item; }
}
private int _s2c_type = default(int);
///
/// 竞拍大类(1=仙盟竞拍,2=世界竞拍)
///
[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); }
}
//---------------------------------------------------------------------------------------
///
/// 移除竞拍物品
///
[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); }
}
}