123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> zuoqiInfo </summary>
- public sealed class zuoqiInfoTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 序号ID </summary>
- public int Id { 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[] StepUpCost { get; private set; }
- /// <summary> 升级获得属性加成属性id+属性数值 </summary>
- public int[] StarOwnAttr { get; private set; }
- /// <summary> 解锁道具道具id+数量 </summary>
- public int[] Itemid { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Step = reader.ReadInt();
- Star = reader.ReadInt();
- StarNeed = reader.ReadEnumerable<int[]>();
- StepUpCost = reader.ReadEnumerable<int[]>();
- StarOwnAttr = reader.ReadEnumerable<int[]>();
- Itemid = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Step);
- writer.Write(Star);
- writer.Write(StarNeed);
- writer.Write(StepUpCost);
- writer.Write(StarOwnAttr);
- writer.Write(Itemid);
- }
- }
- }
|