1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> FunctionUnlock </summary>
- public sealed class FunctionUnlockTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 功能ID </summary>
- public int Id { get; private set; }
- /// <summary> 功能名称 </summary>
- public string Name { get; private set; }
- /// <summary> 开启类型"1=关卡ID2=角色等级3=开服天数4=转职次数5=任务" </summary>
- public int Type { get; private set; }
- /// <summary> 开启参数 </summary>
- public int Param { get; private set; }
- /// <summary> 错误提示 </summary>
- public string Tip { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Name = reader.ReadString();
- Type = reader.ReadInt();
- Param = reader.ReadInt();
- Tip = reader.ReadString();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Name);
- writer.Write(Type);
- writer.Write(Param);
- writer.Write(Tip);
- }
- }
- }
|