12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- // 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 EnumName { get; private set; } // c
- /// <summary> 功能名称 </summary>
- public string Name { get; private set; } // c
- /// <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();
- EnumName = reader.ReadString();
- Name = reader.ReadString();
- Type = reader.ReadInt();
- Param = reader.ReadInt();
- Tip = reader.ReadString();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(EnumName);
- writer.Write(Name);
- writer.Write(Type);
- writer.Write(Param);
- writer.Write(Tip);
- }
- }
- }
|