123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> zuoqiStar </summary>
- public sealed class zuoqiStarTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> id10000*坐骑id+等级 </summary>
- public int Id { get; private set; }
- /// <summary> 坐骑id </summary>
- public int Zqid { get; private set; }
- /// <summary> 等级 </summary>
- public int Level { 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();
- Zqid = reader.ReadInt();
- Level = 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(Zqid);
- writer.Write(Level);
- writer.Write(StarUpCost);
- writer.Write(LevelOwnAttr);
- writer.Write(StarSkill);
- writer.Write(Preview);
- }
- }
- }
|