mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 19:34:47 +00:00
80 lines
1.8 KiB
C#
80 lines
1.8 KiB
C#
|
|
//------------------------------------------------------------------------------
|
|
// <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>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using Luban;
|
|
|
|
|
|
namespace GameConfig.TbGEntity
|
|
{
|
|
/// <summary>
|
|
/// 无限模式关卡信息
|
|
/// </summary>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 关卡等级
|
|
/// </summary>
|
|
public readonly int Level;
|
|
/// <summary>
|
|
/// 子关卡等级
|
|
/// </summary>
|
|
public readonly int ChildLevel;
|
|
/// <summary>
|
|
/// 宠物等级
|
|
/// </summary>
|
|
public readonly int PetLevel;
|
|
/// <summary>
|
|
/// 宠物数量
|
|
/// </summary>
|
|
public readonly int PetSize;
|
|
/// <summary>
|
|
/// 概率Id
|
|
/// </summary>
|
|
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 + ","
|
|
+ "}";
|
|
}
|
|
}
|
|
|
|
}
|