1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
-
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
-
- public sealed class FunctionUnlockTable : ITable
- {
- long ITable.Key => Id;
-
- public int Id { get; private set; }
-
- public string Name { get; private set; }
-
- public int Type { get; private set; }
-
- public int Param { get; private set; }
-
- 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);
- }
- }
- }
|