//------------------------------------------------------------------------------
//
// 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.TB
{
public sealed partial class TbGSysDungeon : Luban.BeanBase
{
public TbGSysDungeon(ByteBuf _buf)
{
Id = _buf.ReadInt();
Name = _buf.ReadString();
Banner = _buf.ReadString();
Type = _buf.ReadString();
Tigs = _buf.ReadString();
Consume = TbGEntity.TResource.DeserializeTResource(_buf);
}
public static TbGSysDungeon DeserializeTbGSysDungeon(ByteBuf _buf)
{
return new TB.TbGSysDungeon(_buf);
}
///
/// id
///
public readonly int Id;
///
/// 副本名称
///
public readonly string Name;
///
/// 副本封面
///
public readonly string Banner;
///
/// 游戏模式
///
public readonly string Type;
///
/// 类标识
///
public readonly string Tigs;
///
/// 消耗资源
///
public readonly TbGEntity.TResource Consume;
public const int __ID__ = 303165446;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
Consume?.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "name:" + Name + ","
+ "banner:" + Banner + ","
+ "type:" + Type + ","
+ "tigs:" + Tigs + ","
+ "consume:" + Consume + ","
+ "}";
}
}
}