123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> mountStar </summary>
- public sealed class mountStarTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> id100*坐骑id+星级 </summary>
- public int Id { get; private set; }
- /// <summary> 坐骑id </summary>
- public int MountId { get; private set; }
- /// <summary> 星级 </summary>
- public int Star { get; private set; }
- /// <summary> 升星道具道具id,升星所需数量 </summary>
- public int[] StarUpCost { get; private set; }
- /// <summary> 升星获得属性加成属性id,属性数值 </summary>
- public int[] LevelOwnAttr { get; private set; }
- /// <summary> 额外坐骑技能技能id </summary>
- public int StarSkill { get; private set; }
- /// <summary> 升星预览1=展示额外技能效果属性不配置=不展示 </summary>
- public int Preview { get; private set; } // c
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- MountId = reader.ReadInt();
- Star = reader.ReadInt();
- StarUpCost = reader.ReadEnumerable<int[]>();
- LevelOwnAttr = reader.ReadEnumerable<int[]>();
- StarSkill = reader.ReadInt();
- Preview = reader.ReadInt();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(MountId);
- writer.Write(Star);
- writer.Write(StarUpCost);
- writer.Write(LevelOwnAttr);
- writer.Write(StarSkill);
- writer.Write(Preview);
- }
- }
- }
|