1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> shop </summary>
- public sealed class shopTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 功能id </summary>
- public int Id { get; private set; }
- /// <summary> 商店种类 </summary>
- public string Type { get; private set; }
- /// <summary> 商店开启条件1=等级 </summary>
- public int Condition { get; private set; }
- /// <summary> 商店开启条件参数 </summary>
- public int Parameter { get; private set; }
- /// <summary> 商店持续时间用秒0=永久 </summary>
- public int Time { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Type = reader.ReadString();
- Condition = reader.ReadInt();
- Parameter = reader.ReadInt();
- Time = reader.ReadInt();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Type);
- writer.Write(Condition);
- writer.Write(Parameter);
- writer.Write(Time);
- }
- }
- }
|