12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- // 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; }
- /// <summary> 1=普通2=高级 </summary>
- public int Type { get; private set; }
- /// <summary> 坐骑立绘 </summary>
- public string Icon { get; private set; }
- /// <summary> 拥有坐骑属性属性id+属性数值 </summary>
- public int[] StarOwnAttr { get; private set; }
- /// <summary> 坐骑头像 </summary>
- public string Icon2 { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Name = reader.ReadString();
- Type = reader.ReadInt();
- Icon = reader.ReadString();
- StarOwnAttr = reader.ReadEnumerable<int[]>();
- Icon2 = reader.ReadString();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Name);
- writer.Write(Type);
- writer.Write(Icon);
- writer.Write(StarOwnAttr);
- writer.Write(Icon2);
- }
- }
- }
|