
//------------------------------------------------------------------------------
// <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 Server.Config
{
public sealed partial class ResData : Luban.BeanBase
{
    public ResData(ByteBuf _buf) 
    {
        Id = _buf.ReadInt();
        Count = _buf.ReadLong();
    }

    public static ResData DeserializeResData(ByteBuf _buf)
    {
        return new ResData(_buf);
    }

    public readonly int Id;
    public readonly long Count;
   
    public const int __ID__ = -1534237622;
    public override int GetTypeId() => __ID__;


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

}
