zuoqiBuweiTable.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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> zuoqiBuwei </summary>
  8. public sealed class zuoqiBuweiTable : ITable
  9. {
  10. long ITable.Key => Id;
  11. /// <summary> 功能id10001=头部20001=躯干30001=尾部 </summary>
  12. public int Id { get; private set; }
  13. /// <summary> 功能id10001=头部20001=躯干30001=尾部 </summary>
  14. public int Trunk { get; private set; }
  15. /// <summary> 部位等级 </summary>
  16. public int Level { get; private set; }
  17. /// <summary> 升级获得属性加成属性id+属性数值 </summary>
  18. public int[] LevelOwnAttr { get; private set; }
  19. /// <summary> 强化概率(部位总等级+强化概率) </summary>
  20. public int[] Odds { get; private set; }
  21. /// <summary> 祝福值 </summary>
  22. public int Success { get; private set; }
  23. void ISerializable.Deserialize(IReader reader)
  24. {
  25. Id = reader.ReadInt();
  26. Trunk = reader.ReadInt();
  27. Level = reader.ReadInt();
  28. LevelOwnAttr = reader.ReadEnumerable<int[]>();
  29. Odds = reader.ReadEnumerable<int[]>();
  30. Success = reader.ReadInt();
  31. }
  32. void ISerializable.Serialize(IWriter writer)
  33. {
  34. writer.Write(Id);
  35. writer.Write(Trunk);
  36. writer.Write(Level);
  37. writer.Write(LevelOwnAttr);
  38. writer.Write(Odds);
  39. writer.Write(Success);
  40. }
  41. }
  42. }