public void addEntry(Fact new_buff, ActivatableAbilityGroup new_group, UnitCommand.CommandType new_action) { if (!entries.Any(e => e.buff == new_buff)) { entries.Add(new Entry(new_buff, new_group, new_action)); } }
public static bool Prefix(ActivatableAbilityGroup group, ref int __result) { if (settings.toggleAllowAllActivatable && groups.Any(group)) { __result = 99; return(false); } return(true); }
public Entry(Fact new_buff, ActivatableAbilityGroup new_group, UnitCommand.CommandType new_action) { buff = new_buff; group = new_group; action = new_action; }