//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
using Luban;
namespace GameConfig.TbGEntity
{
///
/// 无限模式关卡信息
///
public sealed partial class TOnHookLevel : Luban.BeanBase
{
public TOnHookLevel(ByteBuf _buf)
{
Level = _buf.ReadInt();
ChildLevel = _buf.ReadInt();
PetLevel = _buf.ReadInt();
PetSize = _buf.ReadInt();
OddsId = _buf.ReadInt();
}
public static TOnHookLevel DeserializeTOnHookLevel(ByteBuf _buf)
{
return new TbGEntity.TOnHookLevel(_buf);
}
///
/// 关卡等级
///
public readonly int Level;
///
/// 子关卡等级
///
public readonly int ChildLevel;
///
/// 宠物等级
///
public readonly int PetLevel;
///
/// 宠物数量
///
public readonly int PetSize;
///
/// 概率Id
///
public readonly int OddsId;
public const int __ID__ = 1503395840;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "level:" + Level + ","
+ "childLevel:" + ChildLevel + ","
+ "petLevel:" + PetLevel + ","
+ "petSize:" + PetSize + ","
+ "oddsId:" + OddsId + ","
+ "}";
}
}
}