fishingScienceTable.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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> fishingScience </summary>
  8. public sealed class fishingScienceTable : ITable
  9. {
  10. long ITable.Key => ScienceId;
  11. /// <summary> 科技id科技组*10000+天赋点*100 </summary>
  12. public int ScienceId { get; private set; }
  13. /// <summary> 科技组 </summary>
  14. public int Group { get; private set; }
  15. /// <summary> 科技名称 </summary>
  16. public string Name { get; private set; }
  17. /// <summary> 天赋点1=大科技点2=小科技点 </summary>
  18. public int GiftType { get; private set; }
  19. /// <summary> 科技解锁(指定科技满级后解锁)科技id,科技等级 </summary>
  20. public int[] UnlockValue { get; private set; }
  21. void ISerializable.Deserialize(IReader reader)
  22. {
  23. ScienceId = reader.ReadInt();
  24. Group = reader.ReadInt();
  25. Name = reader.ReadString();
  26. GiftType = reader.ReadInt();
  27. UnlockValue = reader.ReadEnumerable<int[]>();
  28. }
  29. void ISerializable.Serialize(IWriter writer)
  30. {
  31. writer.Write(ScienceId);
  32. writer.Write(Group);
  33. writer.Write(Name);
  34. writer.Write(GiftType);
  35. writer.Write(UnlockValue);
  36. }
  37. }
  38. }