zuoqiInfoTable.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // Generate By EToy
  2. // Don't Edit It!!
  3. using XGame.Framework.Database;
  4. using XGame.Framework.Serialization;
  5. namespace XGame.Database
  6. {
  7. /// <summary> zuoqiInfo </summary>
  8. public sealed class zuoqiInfoTable : ITable
  9. {
  10. long ITable.Key => Id;
  11. /// <summary> 序号ID </summary>
  12. public int Id { get; private set; }
  13. /// <summary> 阶级 </summary>
  14. public int Step { get; private set; }
  15. /// <summary> 星级 </summary>
  16. public int Star { get; private set; }
  17. /// <summary> 进阶消耗道具id+数量 </summary>
  18. public int[] StarNeed { get; private set; }
  19. /// <summary> 升星道具道具id+数量 </summary>
  20. public int[] StepUpCost { get; private set; }
  21. /// <summary> 升级获得属性加成属性id+属性数值 </summary>
  22. public int[] StarOwnAttr { get; private set; }
  23. /// <summary> 解锁道具道具id+数量 </summary>
  24. public int[] Itemid { get; private set; }
  25. void ISerializable.Deserialize(IReader reader)
  26. {
  27. Id = reader.ReadInt();
  28. Step = reader.ReadInt();
  29. Star = reader.ReadInt();
  30. StarNeed = reader.ReadEnumerable<int[]>();
  31. StepUpCost = reader.ReadEnumerable<int[]>();
  32. StarOwnAttr = reader.ReadEnumerable<int[]>();
  33. Itemid = reader.ReadEnumerable<int[]>();
  34. }
  35. void ISerializable.Serialize(IWriter writer)
  36. {
  37. writer.Write(Id);
  38. writer.Write(Step);
  39. writer.Write(Star);
  40. writer.Write(StarNeed);
  41. writer.Write(StepUpCost);
  42. writer.Write(StarOwnAttr);
  43. writer.Write(Itemid);
  44. }
  45. }
  46. }