public static void Alternate(OptionsUI ui)
 {
     foreach (var v in SRInput.Actions.Actions.Where(x => BindingRegistry.IsModdedAction(x) && !BindingRegistry.ephemeralActions.Contains(x)))
     {
         ui.CreateKeyBindingLine("key." + v.Name.ToLowerInvariant(), v);
     }
 }
Пример #2
0
 public static void Prefix(ref IEnumerable <PlayerAction> actions)
 {
     actions = actions.Where(x => !BindingRegistry.IsModdedAction(x));
 }