descTable.cs 1.3 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> desc </summary>
  8. public sealed class descTable : ITable
  9. {
  10. long ITable.Key => Kind;
  11. /// <summary> 任务种类 </summary>
  12. public int Kind { get; private set; }
  13. /// <summary> 每日标题 </summary>
  14. public string Name { get; private set; }
  15. /// <summary> 0注册开始累计或者1任务开始后累计 </summary>
  16. public int Type { get; private set; }
  17. /// <summary> 功能key </summary>
  18. public int FuncKey { get; private set; }
  19. /// <summary> 跳转 </summary>
  20. public int JumpId { get; private set; }
  21. void ISerializable.Deserialize(IReader reader)
  22. {
  23. Kind = reader.ReadInt();
  24. Name = reader.ReadString();
  25. Type = reader.ReadInt();
  26. FuncKey = reader.ReadInt();
  27. JumpId = reader.ReadInt();
  28. }
  29. void ISerializable.Serialize(IWriter writer)
  30. {
  31. writer.Write(Kind);
  32. writer.Write(Name);
  33. writer.Write(Type);
  34. writer.Write(FuncKey);
  35. writer.Write(JumpId);
  36. }
  37. }
  38. }