copy_lwtTable.cs 1.5 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> copy_lwt </summary>
  8. public sealed class copy_lwtTable : ITable
  9. {
  10. long ITable.Key => Id;
  11. /// <summary> 功能id </summary>
  12. public int Id { get; private set; }
  13. /// <summary> 龙王塔层数 </summary>
  14. public int Floor { get; private set; }
  15. /// <summary> 塔楼怪物怪物id+怪物数量 </summary>
  16. public int[] Monsterid { get; private set; }
  17. /// <summary> 推荐战斗力 </summary>
  18. public int Suggest { get; private set; }
  19. /// <summary> 塔楼奖励 </summary>
  20. public int[] Reward { get; private set; }
  21. /// <summary> 秒杀战力 </summary>
  22. public int KillPower { get; private set; }
  23. void ISerializable.Deserialize(IReader reader)
  24. {
  25. Id = reader.ReadInt();
  26. Floor = reader.ReadInt();
  27. Monsterid = reader.ReadEnumerable<int[]>();
  28. Suggest = reader.ReadInt();
  29. Reward = reader.ReadEnumerable<int[]>();
  30. KillPower = reader.ReadInt();
  31. }
  32. void ISerializable.Serialize(IWriter writer)
  33. {
  34. writer.Write(Id);
  35. writer.Write(Floor);
  36. writer.Write(Monsterid);
  37. writer.Write(Suggest);
  38. writer.Write(Reward);
  39. writer.Write(KillPower);
  40. }
  41. }
  42. }