using System; using Newtonsoft.Json; namespace GrasscutterTools.Utils { /// /// 热键项 /// public class HotKeyItem { /// /// Gets or sets the hot key identifier. /// /// /// The hot key identifier. /// [JsonIgnore] public int HotKeyId { get; set; } /// /// Gets or sets the name of the Tag. /// /// /// The name of the Tag. /// public string Tag { get; set; } /// /// Gets or sets the Commands. /// /// /// The Commands. /// public string Commands { get; set; } /// /// Gets or sets the hot key. /// 组合键之间使用+隔开,例如:"Ctrl+Shift+W" /// /// /// The hot key. /// public string HotKey { get; set; } /// /// Gets or sets a value indicating whether this is enabled. /// /// /// true if enabled; otherwise, false. /// public bool IsEnabled { get; set; } = true; } }