SkillModel.cs 572 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Mir2Assistant.Common.Models
  7. {
  8. public class SkillModel
  9. {
  10. public int? Addr { get; set; }
  11. public byte? Length { get; set; }
  12. public string? Name { get; set; }
  13. public byte? Type { get; set; }
  14. /// <summary>
  15. /// 开心法
  16. /// </summary>
  17. public bool IsXF { get; set; }
  18. public string Display => $"{Addr?.ToString("x2").PadRight(10)}{Name}{(IsXF?"(心法)":"")}";
  19. }
  20. }