rune_levelTable.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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> rune_level </summary>
  8. public sealed class rune_levelTable : ITable
  9. {
  10. long ITable.Key => Id;
  11. /// <summary> 功能id槽位id*10000+符文类型*1000 </summary>
  12. public int Id { get; private set; }
  13. /// <summary> 符文等级 </summary>
  14. public int Level { get; private set; }
  15. /// <summary> 符文,符文属性 </summary>
  16. public int[] Value_plus { get; private set; }
  17. /// <summary> 符文战力增加 </summary>
  18. public int Power { get; private set; }
  19. void ISerializable.Deserialize(IReader reader)
  20. {
  21. Id = reader.ReadInt();
  22. Level = reader.ReadInt();
  23. Value_plus = reader.ReadEnumerable<int[]>();
  24. Power = reader.ReadInt();
  25. }
  26. void ISerializable.Serialize(IWriter writer)
  27. {
  28. writer.Write(Id);
  29. writer.Write(Level);
  30. writer.Write(Value_plus);
  31. writer.Write(Power);
  32. }
  33. }
  34. }