copy_sktlTable.cs 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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_sktl </summary>
  8. public sealed class copy_sktlTable : ITable
  9. {
  10. long ITable.Key => Id;
  11. /// <summary> 功能id </summary>
  12. public int Id { get; private set; }
  13. /// <summary> 副本难度1=简单2=普通3=困难 </summary>
  14. public int Kind { get; private set; }
  15. /// <summary> 副本怪物波次1怪物id+怪物数量 </summary>
  16. public int[] Monsterid { get; private set; }
  17. /// <summary> 副本怪物波次2怪物id+怪物数量 </summary>
  18. public int[] Monsterid2 { get; private set; }
  19. /// <summary> 副本怪物波次3怪物id+怪物数量 </summary>
  20. public int[] Monsterid3 { get; private set; }
  21. /// <summary> 副本主题名称 </summary>
  22. public string Name { get; private set; }
  23. /// <summary> 推荐等级 </summary>
  24. public int Level { get; private set; }
  25. /// <summary> 副本奖励 </summary>
  26. public int[] Reward { get; private set; }
  27. /// <summary> 挑战奖励道具id+道具数量 </summary>
  28. public int[] Reward2 { get; private set; }
  29. /// <summary> 挑战加成开服天数+属性id+属性参数 </summary>
  30. public int[] Reward3 { get; private set; }
  31. void ISerializable.Deserialize(IReader reader)
  32. {
  33. Id = reader.ReadInt();
  34. Kind = reader.ReadInt();
  35. Monsterid = reader.ReadEnumerable<int[]>();
  36. Monsterid2 = reader.ReadEnumerable<int[]>();
  37. Monsterid3 = reader.ReadEnumerable<int[]>();
  38. Name = reader.ReadString();
  39. Level = reader.ReadInt();
  40. Reward = reader.ReadEnumerable<int[]>();
  41. Reward2 = reader.ReadEnumerable<int[]>();
  42. Reward3 = reader.ReadEnumerable<int[]>();
  43. }
  44. void ISerializable.Serialize(IWriter writer)
  45. {
  46. writer.Write(Id);
  47. writer.Write(Kind);
  48. writer.Write(Monsterid);
  49. writer.Write(Monsterid2);
  50. writer.Write(Monsterid3);
  51. writer.Write(Name);
  52. writer.Write(Level);
  53. writer.Write(Reward);
  54. writer.Write(Reward2);
  55. writer.Write(Reward3);
  56. }
  57. }
  58. }