示例#1
0
 public static bool IsInContext(CommandContextIds id)
 {
     return(CurrentContext.HasFlag(id));
 }
示例#2
0
 public static void AddContext(CommandContextIds id)
 {
     ContextChanged?.Invoke();
     CurrentContext |= id;
 }