コード例 #1
0
 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));
     }
 }
コード例 #2
0
 public static bool Prefix(ActivatableAbilityGroup group, ref int __result)
 {
     if (settings.toggleAllowAllActivatable && groups.Any(group))
     {
         __result = 99;
         return(false);
     }
     return(true);
 }
コード例 #3
0
 public Entry(Fact new_buff, ActivatableAbilityGroup new_group, UnitCommand.CommandType new_action)
 {
     buff   = new_buff;
     group  = new_group;
     action = new_action;
 }