//------------------------------------------------------------------------------
// <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 TbGResource : Luban.BeanBase
{
    public TbGResource(ByteBuf _buf) 
    {
        Id = _buf.ReadInt();
        Icon = _buf.ReadString();
        Name = _buf.ReadString();
        Tig = _buf.ReadString();
        Args = _buf.ReadString();
        Quality = _buf.ReadInt();
    }

    public static TbGResource DeserializeTbGResource(ByteBuf _buf)
    {
        return new TB.TbGResource(_buf);
    }

    /// <summary>
    /// id
    /// </summary>
    public readonly int Id;
    /// <summary>
    /// 资源图片
    /// </summary>
    public readonly string Icon;
    /// <summary>
    /// 资源名称
    /// </summary>
    public readonly string Name;
    /// <summary>
    /// 描述
    /// </summary>
    public readonly string Tig;
    /// <summary>
    /// 额外参数
    /// </summary>
    public readonly string Args;
    /// <summary>
    /// 资源品质
    /// </summary>
    public readonly int Quality;
   
    public const int __ID__ = 1780642599;
    public override int GetTypeId() => __ID__;

    public  void ResolveRef(Tables tables)
    {
        
        
        
        
        
        
    }

    public override string ToString()
    {
        return "{ "
        + "id:" + Id + ","
        + "icon:" + Icon + ","
        + "name:" + Name + ","
        + "tig:" + Tig + ","
        + "args:" + Args + ","
        + "quality:" + Quality + ","
        + "}";
    }
}

}