//------------------------------------------------------------------------------
// <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.TB
{
public sealed partial class TbGSysDungeon160002 : Luban.BeanBase
{
    public TbGSysDungeon160002(ByteBuf _buf) 
    {
        Id = _buf.ReadInt();
        Data = TbGEntity.TDungeon.DeserializeTDungeon(_buf);
    }

    public static TbGSysDungeon160002 DeserializeTbGSysDungeon160002(ByteBuf _buf)
    {
        return new TB.TbGSysDungeon160002(_buf);
    }

    /// <summary>
    /// id
    /// </summary>
    public readonly int Id;
    /// <summary>
    /// 副本关卡
    /// </summary>
    public readonly TbGEntity.TDungeon Data;
   
    public const int __ID__ = -319796435;
    public override int GetTypeId() => __ID__;

    public  void ResolveRef(Tables tables)
    {
        
        Data?.ResolveRef(tables);
    }

    public override string ToString()
    {
        return "{ "
        + "id:" + Id + ","
        + "data:" + Data + ","
        + "}";
    }
}

}