equipmentDropTable.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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> EquipmentDrop </summary>
  8. public sealed class EquipmentDropTable : ITable
  9. {
  10. long ITable.Key => Id;
  11. /// <summary> ID </summary>
  12. public int Id { get; private set; }
  13. /// <summary> 等级期间 </summary>
  14. public int[] LevelPeriod { get; private set; }
  15. /// <summary> 掉落白色装备ID </summary>
  16. public int[] DropPool1 { get; private set; }
  17. /// <summary> 掉落绿色装备ID </summary>
  18. public int[] DropPool2 { get; private set; }
  19. /// <summary> 掉落蓝色装备ID </summary>
  20. public int[] DropPool3 { get; private set; }
  21. /// <summary> 掉落紫色装备ID </summary>
  22. public int[] DropPool4 { get; private set; }
  23. /// <summary> 掉落黄色装备ID </summary>
  24. public int[] DropPool5 { get; private set; }
  25. /// <summary> 掉落橙色装备ID </summary>
  26. public int[] DropPool6 { get; private set; }
  27. /// <summary> 掉落红色装备ID </summary>
  28. public int[] DropPool7 { get; private set; }
  29. /// <summary> 掉落粉色装备ID </summary>
  30. public int[] DropPool8 { get; private set; }
  31. /// <summary> 掉落蓝钻装备ID </summary>
  32. public int[] DropPool9 { get; private set; }
  33. /// <summary> 掉落鎏金装备ID </summary>
  34. public int[] DropPool10 { get; private set; }
  35. /// <summary> 掉落璀璨装备ID </summary>
  36. public int[] DropPool11 { get; private set; }
  37. void ISerializable.Deserialize(IReader reader)
  38. {
  39. Id = reader.ReadInt();
  40. LevelPeriod = reader.ReadEnumerable<int[]>();
  41. DropPool1 = reader.ReadEnumerable<int[]>();
  42. DropPool2 = reader.ReadEnumerable<int[]>();
  43. DropPool3 = reader.ReadEnumerable<int[]>();
  44. DropPool4 = reader.ReadEnumerable<int[]>();
  45. DropPool5 = reader.ReadEnumerable<int[]>();
  46. DropPool6 = reader.ReadEnumerable<int[]>();
  47. DropPool7 = reader.ReadEnumerable<int[]>();
  48. DropPool8 = reader.ReadEnumerable<int[]>();
  49. DropPool9 = reader.ReadEnumerable<int[]>();
  50. DropPool10 = reader.ReadEnumerable<int[]>();
  51. DropPool11 = reader.ReadEnumerable<int[]>();
  52. }
  53. void ISerializable.Serialize(IWriter writer)
  54. {
  55. writer.Write(Id);
  56. writer.Write(LevelPeriod);
  57. writer.Write(DropPool1);
  58. writer.Write(DropPool2);
  59. writer.Write(DropPool3);
  60. writer.Write(DropPool4);
  61. writer.Write(DropPool5);
  62. writer.Write(DropPool6);
  63. writer.Write(DropPool7);
  64. writer.Write(DropPool8);
  65. writer.Write(DropPool9);
  66. writer.Write(DropPool10);
  67. writer.Write(DropPool11);
  68. }
  69. }
  70. }