
//------------------------------------------------------------------------------
// <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 partial class VersionConfigCategory : ConfigSingleton<VersionConfigCategory>
{
    public const string TableName = Tables.VersionConfigCategory;


     private VersionConfig _data;

     public VersionConfig Data => _data;

    public VersionConfigCategory()
    {
        this.ReLoadData();
    }

    public sealed override void ReLoadData()
    {
        byte[] data = TableManager.Instance.GetTableData(TableName);
        LoadData(new ByteBuf(data));
    }

    protected sealed override void LoadData(ByteBuf _buf)
    {
        int n = _buf.ReadSize();
        if (n != 1) throw new SerializationException("table mode=one, but size != 1");
        _data = VersionConfig.DeserializeVersionConfig(_buf);
        PostInit();
    }


    /// <summary>
    /// 城堡由3个合并成一个真实房间
    /// </summary>
     public int CVersion48 => _data.CVersion48;
    /// <summary>
    /// 道具系统改版
    /// </summary>
     public int CVersion49Prop => _data.CVersion49Prop;
    /// <summary>
    /// 签到，转盘，救济金修改
    /// </summary>
     public int CVersion50 => _data.CVersion50;
    /// <summary>
    /// 登录时主动发送建材比赛的协议
    /// </summary>
     public int CVersion51 => _data.CVersion51;
     public int CVersion52 => _data.CVersion52;
     public int CVersion53 => _data.CVersion53;
     public int CVersion54 => _data.CVersion54;
     public int CVersion55 => _data.CVersion55;
     public int CVersion56 => _data.CVersion56;
     public int CVersion57 => _data.CVersion57;
     public int CVersion58 => _data.CVersion58;
     public int CVersion59 => _data.CVersion59;
     public int CVersion60 => _data.CVersion60;
     public int CVersion61 => _data.CVersion61;
     public int CVersion62 => _data.CVersion62;
     public int CVersion63 => _data.CVersion63;
     public int CVersion64 => _data.CVersion64;
     public int CVersion65 => _data.CVersion65;
     public int CVersion66 => _data.CVersion66;
     public int CVersion67 => _data.CVersion67;
     public int CVersion68 => _data.CVersion68;
     public int CVersion69 => _data.CVersion69;
     public int CVersion70 => _data.CVersion70;
     public int CVersion71 => _data.CVersion71;
     public int CVersion72 => _data.CVersion72;
     public int CVersion73 => _data.CVersion73;
     public int CVersion74 => _data.CVersion74;
     public int CVersion75 => _data.CVersion75;
     public int CVersion76 => _data.CVersion76;
     public int CVersion77 => _data.CVersion77;
     public int CVersion78 => _data.CVersion78;
     public int CVersion79 => _data.CVersion79;
     public int CVersion80 => _data.CVersion80;
     public int CVersion81 => _data.CVersion81;
     public int CVersion82 => _data.CVersion82;
     public int CVersion83 => _data.CVersion83;
     public int CVersion84 => _data.CVersion84;
     public int CVersion85 => _data.CVersion85;
     public int CVersion86 => _data.CVersion86;
     public int CVersion87 => _data.CVersion87;
     public int CVersion88 => _data.CVersion88;
     public int CVersion89 => _data.CVersion89;
     public int CVersion90 => _data.CVersion90;
     public int CVersion91 => _data.CVersion91;
     public int CVersion92 => _data.CVersion92;
     public int CVersion93 => _data.CVersion93;
     public int CVersion94 => _data.CVersion94;
     public int CVersion95 => _data.CVersion95;
     public int CVersion96 => _data.CVersion96;
     public int CVersion97 => _data.CVersion97;
     public int CVersion98 => _data.CVersion98;
     public int CVersion99 => _data.CVersion99;
     public int CVersion100 => _data.CVersion100;
    

    partial void PostInit();
}

}

