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