taskDailyTable.cs 1.1 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> taskDaily </summary>
  8. public sealed class taskDailyTable : ITable
  9. {
  10. long ITable.Key => Id;
  11. /// <summary> 功能id10001=每日任务 </summary>
  12. public int Id { get; private set; }
  13. /// <summary> 任务种类关联desc表id </summary>
  14. public int Kind { get; private set; }
  15. /// <summary> 任务数值 </summary>
  16. public int Parameter { get; private set; }
  17. /// <summary> 每日积分 </summary>
  18. public int Reward { get; private set; }
  19. void ISerializable.Deserialize(IReader reader)
  20. {
  21. Id = reader.ReadInt();
  22. Kind = reader.ReadInt();
  23. Parameter = reader.ReadInt();
  24. Reward = reader.ReadInt();
  25. }
  26. void ISerializable.Serialize(IWriter writer)
  27. {
  28. writer.Write(Id);
  29. writer.Write(Kind);
  30. writer.Write(Parameter);
  31. writer.Write(Reward);
  32. }
  33. }
  34. }