//------------------------------------------------------------------------------
//
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
// ***************************************************************************
// * 作者: 曾振东
// * 创建时间: 2019-08-08
// * 用途: 祭天
// ***************************************************************************/
// Generated from: lotteryHandler.proto
// Note: requires additional types generated from: item.proto
namespace pomelo.lottery
{
//---------------------------------------------------------------------------------------
///
/// 获取祭天界面信息 请求
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetLotteryInfoRequest")]
public partial class GetLotteryInfoRequest : global::ProtoBuf.IExtensible
{
public GetLotteryInfoRequest() {}
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=@"GetLotteryInfoResponse")]
public partial class GetLotteryInfoResponse : global::ProtoBuf.IExtensible
{
public GetLotteryInfoResponse() {}
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 _exploredTicketCount;
///
/// 剩余祭天符数量
///
[global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"exploredTicketCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int exploredTicketCount
{
get { return _exploredTicketCount; }
set { _exploredTicketCount = value; }
}
private int _proportion;
///
/// 每个祭天符需要多少仙玉
///
[global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"proportion", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int proportion
{
get { return _proportion; }
set { _proportion = 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=@"LotteryRequest")]
public partial class LotteryRequest : global::ProtoBuf.IExtensible
{
public LotteryRequest() {}
private int _timeType;
///
/// 0:单抽 1:十连抽
///
[global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"timeType", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int timeType
{
get { return _timeType; }
set { _timeType = 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=@"LotteryResponse")]
public partial class LotteryResponse : global::ProtoBuf.IExtensible
{
public LotteryResponse() {}
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 _awards = new global::System.Collections.Generic.List();
///
/// 抽到的物品
///
[global::ProtoBuf.ProtoMember(3, Name=@"awards", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List awards
{
get { return _awards; }
}
private int _exploredTicketCount = default(int);
///
/// 剩余祭天符数量
///
[global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"exploredTicketCount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int exploredTicketCount
{
get { return _exploredTicketCount; }
set { _exploredTicketCount = value; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}
}