artifactFumoTable.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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> artifactFumo </summary>
  8. public sealed class artifactFumoTable : ITable
  9. {
  10. long ITable.Key => Id;
  11. /// <summary> 序号ID元素核心id*10000+核心等级 </summary>
  12. public int Id { get; private set; }
  13. /// <summary> 元素核心id </summary>
  14. public int Ysid { get; private set; }
  15. /// <summary> 元素核心等级 </summary>
  16. public int Level { get; private set; } // sc
  17. /// <summary> 升级消耗元素核心ID,升级元素核心所消耗数量 </summary>
  18. public int[] StarUpCost { get; private set; } // sc
  19. /// <summary> 秘宝元素核心属性属性名称1,属性值 </summary>
  20. public int[] StarOwnAttr { get; private set; } // sc
  21. void ISerializable.Deserialize(IReader reader)
  22. {
  23. Id = reader.ReadInt();
  24. Ysid = reader.ReadInt();
  25. Level = reader.ReadInt();
  26. StarUpCost = reader.ReadEnumerable<int[]>();
  27. StarOwnAttr = reader.ReadEnumerable<int[]>();
  28. }
  29. void ISerializable.Serialize(IWriter writer)
  30. {
  31. writer.Write(Id);
  32. writer.Write(Ysid);
  33. writer.Write(Level);
  34. writer.Write(StarUpCost);
  35. writer.Write(StarOwnAttr);
  36. }
  37. }
  38. }