
//------------------------------------------------------------------------------
// <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 JAMJTingConfig : Luban.BeanBase
{
    public JAMJTingConfig(ByteBuf _buf) 
    {
        Id = _buf.ReadInt();
        {int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);Value = new byte[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { byte __e0;__e0 = _buf.ReadByte(); Value[__index0] = __e0;}}
    }

    public static JAMJTingConfig DeserializeJAMJTingConfig(ByteBuf _buf)
    {
        return new JAMJTingConfig(_buf);
    }

    public readonly int Id;
    /// <summary>
    /// 0
    /// </summary>
    public readonly byte[] Value;
   
    public const int __ID__ = -1877111804;
    public override int GetTypeId() => __ID__;


    public override string ToString()
    {
        return "{ "
        + "id:" + Id + ","
        + "value:" + Luban.StringUtil.CollectionToString(Value) + ","
        + "}";
    }
}

}
