1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> zuoqiBase </summary>
- public sealed class zuoqiBaseTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 坐骑ID </summary>
- public int Id { get; private set; }
- /// <summary> 坐骑名称 </summary>
- public string Name { get; private set; } // c
- /// <summary> 1=普通2=高级 </summary>
- public int Type { get; private set; }
- /// <summary> 坐骑立绘 </summary>
- public string Picture { get; private set; } // c
- /// <summary> 坐骑待机 </summary>
- public string Spine { get; private set; } // c
- /// <summary> 坐骑头像 </summary>
- public string Icon { get; private set; } // c
- /// <summary> 品质 </summary>
- public int Quality { get; private set; } // c
- /// <summary> 坐骑解锁道具id+道具数量 </summary>
- public int[] Unlock { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Name = reader.ReadString();
- Type = reader.ReadInt();
- Picture = reader.ReadString();
- Spine = reader.ReadString();
- Icon = reader.ReadString();
- Quality = reader.ReadInt();
- Unlock = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Name);
- writer.Write(Type);
- writer.Write(Picture);
- writer.Write(Spine);
- writer.Write(Icon);
- writer.Write(Quality);
- writer.Write(Unlock);
- }
- }
- }
|