12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> artifactInfo </summary>
- public sealed class artifactInfoTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 序号ID秘宝id*10000+阶级*100+星级 </summary>
- public int Id { get; private set; }
- /// <summary> 秘宝id </summary>
- public int Mbid { get; private set; }
- /// <summary> 阶级 </summary>
- public int Step { get; private set; }
- /// <summary> 星级 </summary>
- public int Star { get; private set; }
- /// <summary> 升星道具道具id+升级经验值 </summary>
- public int[] StarNeed { get; private set; }
- /// <summary> 升级获得属性加成(拥有效果)属性id+属性数值 </summary>
- public int[] StepOwnAttr { get; private set; }
- /// <summary> 秘宝拥有技能(拥有效果)[属性id+数值] </summary>
- public int[] StarSkill { get; private set; }
- /// <summary> 立绘 </summary>
- public string Icon { get; private set; }
- /// <summary> 秘宝待机 </summary>
- public string Spine { get; private set; } // c
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Mbid = reader.ReadInt();
- Step = reader.ReadInt();
- Star = reader.ReadInt();
- StarNeed = reader.ReadEnumerable<int[]>();
- StepOwnAttr = reader.ReadEnumerable<int[]>();
- StarSkill = reader.ReadEnumerable<int[]>();
- Icon = reader.ReadString();
- Spine = reader.ReadString();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Mbid);
- writer.Write(Step);
- writer.Write(Star);
- writer.Write(StarNeed);
- writer.Write(StepOwnAttr);
- writer.Write(StarSkill);
- writer.Write(Icon);
- writer.Write(Spine);
- }
- }
- }
|