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