//------------------------------------------------------------------------------
//
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
// ***************************************************************************
// * 作者= 柳航
// * 创建时间= 2020-07-16
// * 用途= 福娃
// ***************************************************************************
// Generated from: fuwaHandler.proto
// Note: requires additional types generated from: common.proto
namespace pomelo.area
{
//---------------------------------------------------------------------------------------
///
/// 小福娃兑换(id:901)
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FuwaExchangeRequest")]
public partial class FuwaExchangeRequest : global::ProtoBuf.IExtensible
{
public FuwaExchangeRequest() {}
private string _code;
[global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"code", DataFormat = global::ProtoBuf.DataFormat.Default)]
public string code
{
get { return _code; }
set { _code = value; }
}
private int _count;
///
/// 兑换数量
///
[global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int count
{
get { return _count; }
set { _count = 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=@"FuwaExchangeRespone")]
public partial class FuwaExchangeRespone : global::ProtoBuf.IExtensible
{
public FuwaExchangeRespone() {}
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); }
}
//---------------------------------------------------------------------------------------
///
/// 盖碗猜福信息(id:902)
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FuwaGameInfoRequest")]
public partial class FuwaGameInfoRequest : global::ProtoBuf.IExtensible
{
public FuwaGameInfoRequest() {}
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=@"FuwaGameInfoRespone")]
public partial class FuwaGameInfoRespone : global::ProtoBuf.IExtensible
{
public FuwaGameInfoRespone() {}
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 _play_count = default(int);
///
/// 已游戏次数
///
[global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"play_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int play_count
{
get { return _play_count; }
set { _play_count = value; }
}
private int _result = default(int);
///
/// 结果(二进制表示,1猜中,0未猜中,0位表示第1次,1位表示第2次...)
///
[global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"result", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int result
{
get { return _result; }
set { _result = value; }
}
private int _max_continuous_win_times = default(int);
///
/// 最大连续猜对次数
///
[global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"max_continuous_win_times", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int max_continuous_win_times
{
get { return _max_continuous_win_times; }
set { _max_continuous_win_times = value; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}
//---------------------------------------------------------------------------------------
///
/// 盖碗猜福(id:903)
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FuwaGameRequest")]
public partial class FuwaGameRequest : global::ProtoBuf.IExtensible
{
public FuwaGameRequest() {}
private int _index;
///
/// 碗索引(从1开始)
///
[global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"index", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int index
{
get { return _index; }
set { _index = value; }
}
private int _bet_index;
///
/// 下注索引(从1开始)
///
[global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"bet_index", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int bet_index
{
get { return _bet_index; }
set { _bet_index = 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=@"FuwaGameRespone")]
public partial class FuwaGameRespone : global::ProtoBuf.IExtensible
{
public FuwaGameRespone() {}
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 _play_count = default(int);
///
/// 已游戏次数
///
[global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"play_count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int play_count
{
get { return _play_count; }
set { _play_count = value; }
}
private int _result = default(int);
///
/// 结果(二进制表示,1猜中,0未猜中,0位表示第1次,1位表示第2次...)
///
[global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"result", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int result
{
get { return _result; }
set { _result = value; }
}
private bool _win = default(bool);
[global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"win", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue(default(bool))]
public bool win
{
get { return _win; }
set { _win = value; }
}
private int _max_continuous_win_times = default(int);
///
/// 最大连续猜对次数
///
[global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"max_continuous_win_times", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int max_continuous_win_times
{
get { return _max_continuous_win_times; }
set { _max_continuous_win_times = value; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}
//---------------------------------------------------------------------------------------
///
/// 奖励兑换信息(id:904)
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FuwaRewardExchangeInfoRequest")]
public partial class FuwaRewardExchangeInfoRequest : global::ProtoBuf.IExtensible
{
public FuwaRewardExchangeInfoRequest() {}
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=@"FuwaRewardExchangeInfoRespone")]
public partial class FuwaRewardExchangeInfoRespone : global::ProtoBuf.IExtensible
{
public FuwaRewardExchangeInfoRespone() {}
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 _state = new global::System.Collections.Generic.List();
///
/// 0未领取,1已领取,2不可领取
///
[global::ProtoBuf.ProtoMember(3, Name=@"state", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public global::System.Collections.Generic.List state
{
get { return _state; }
}
private int _continuous_win_times = default(int);
///
/// 连续猜对次数
///
[global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"continuous_win_times", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int continuous_win_times
{
get { return _continuous_win_times; }
set { _continuous_win_times = value; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}
//---------------------------------------------------------------------------------------
///
/// 奖励兑换(id:905)
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FuwaRewardExchangeRequest")]
public partial class FuwaRewardExchangeRequest : global::ProtoBuf.IExtensible
{
public FuwaRewardExchangeRequest() {}
private int _index;
///
/// 从0开始
///
[global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"index", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int index
{
get { return _index; }
set { _index = 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=@"FuwaRewardExchangeRespone")]
public partial class FuwaRewardExchangeRespone : global::ProtoBuf.IExtensible
{
public FuwaRewardExchangeRespone() {}
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 string _code = "";
[global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"code", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue("")]
public string code
{
get { return _code; }
set { _code = value; }
}
private int _amount = default(int);
[global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"amount", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int amount
{
get { return _amount; }
set { _amount = value; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}
//---------------------------------------------------------------------------------------
///
/// 发现福娃推送(id:1600)
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FuwaFindPush")]
public partial class FuwaFindPush : global::ProtoBuf.IExtensible
{
public FuwaFindPush() {}
private int _count = default(int);
///
/// 已发现福娃数量
///
[global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"count", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int count
{
get { return _count; }
set { _count = value; }
}
private bool _can_exchange_reward = default(bool);
///
/// 是否可兑换奖励
///
[global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"can_exchange_reward", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue(default(bool))]
public bool can_exchange_reward
{
get { return _can_exchange_reward; }
set { _can_exchange_reward = value; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}
}