Skip to Main Content

BTD_Mod_Helper​.Extensions​.MutableExt


BloonsTD6 Mod Helper

BTD_Mod_Helper.Extensions

MutableExt Class

Extensions for Mutables

public static class MutableExt

Inheritance System.Object  MutableExt

Methods

MutableExt.AddMutator(this Mutable, JToken, int, bool, bool, bool, bool, bool, bool, bool, int, bool, bool) Method

Calls Il2CppAssets.Scripts.Simulation.Objects.Mutable.AddMutator(Il2CppAssets.Scripts.Simulation.Objects.BehaviorMutator,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Int32,System.Boolean,System.Boolean) with a ModMutator

public static void AddMutator<T>(this Mutable mutable, JToken data=null, int time=-1, bool updateDuration=true, bool applyMutation=true, bool onlyTimeoutWhenActive=false, bool useRoundTime=true, bool cascadeMutators=false, bool includeSubTowers=false, bool ignoreRecursionCheck=false, int roundsRemaining=-1, bool isParagonMutator=false, bool cantBeAbsorbed=false)
    where T : BTD_Mod_Helper.Api.Towers.ModMutator;

Type parameters

T

Parameters

mutable Il2CppAssets.Scripts.Simulation.Objects.Mutable

data Newtonsoft.Json.Linq.JToken

time System.Int32

updateDuration System.Boolean

applyMutation System.Boolean

onlyTimeoutWhenActive System.Boolean

useRoundTime System.Boolean

cascadeMutators System.Boolean

includeSubTowers System.Boolean

ignoreRecursionCheck System.Boolean

roundsRemaining System.Int32

isParagonMutator System.Boolean

cantBeAbsorbed System.Boolean

MutableExt.GetMutator(this Mutable) Method

Calls Il2CppAssets.Scripts.Simulation.Objects.Mutable.GetMutator(System.String) for a ModMutator

public static BehaviorMutator GetMutator<T>(this Mutable mutable)
    where T : BTD_Mod_Helper.Api.Towers.ModMutator;

Type parameters

T

Parameters

mutable Il2CppAssets.Scripts.Simulation.Objects.Mutable

Returns

Il2CppAssets.Scripts.Simulation.Objects.BehaviorMutator

MutableExt.GetMutatorById(this Mutable) Method

Calls Il2CppAssets.Scripts.Simulation.Objects.Mutable.GetMutatorById(System.String) for a ModMutator

public static TimedMutator GetMutatorById<T>(this Mutable mutable)
    where T : BTD_Mod_Helper.Api.Towers.ModMutator;

Type parameters

T

Parameters

mutable Il2CppAssets.Scripts.Simulation.Objects.Mutable

Returns

Il2CppAssets.Scripts.Simulation.Objects.TimedMutator

MutableExt.HasMutator(this Mutable, BehaviorMutator) Method

Calls Il2CppAssets.Scripts.Simulation.Objects.Mutable.GetMutator(System.String) for a ModMutator

public static bool HasMutator<T>(this Mutable mutable, out BehaviorMutator behaviorMutator)
    where T : BTD_Mod_Helper.Api.Towers.ModMutator;

Type parameters

T

Parameters

mutable Il2CppAssets.Scripts.Simulation.Objects.Mutable

behaviorMutator Il2CppAssets.Scripts.Simulation.Objects.BehaviorMutator

Returns

System.Boolean

MutableExt.HasMutatorById(this Mutable, TimedMutator) Method

Calls Il2CppAssets.Scripts.Simulation.Objects.Mutable.GetMutatorById(System.String) for a ModMutator

public static bool HasMutatorById<T>(this Mutable mutable, out TimedMutator behaviorMutator)
    where T : BTD_Mod_Helper.Api.Towers.ModMutator;

Type parameters

T

Parameters

mutable Il2CppAssets.Scripts.Simulation.Objects.Mutable

behaviorMutator Il2CppAssets.Scripts.Simulation.Objects.TimedMutator

Returns

System.Boolean

MutableExt.IsMutatedBy(this Mutable) Method

Calls Il2CppAssets.Scripts.Simulation.Objects.Mutable.IsMutatedBy(System.String) for a ModMutator

public static bool IsMutatedBy<T>(this Mutable mutable)
    where T : BTD_Mod_Helper.Api.Towers.ModMutator;

Type parameters

T

Parameters

mutable Il2CppAssets.Scripts.Simulation.Objects.Mutable

Returns

System.Boolean

MutableExt.RemoveMutator(this Mutable) Method

Calls Il2CppAssets.Scripts.Simulation.Objects.Mutable.RemoveMutatorsById(System.String) for a ModMutator

public static void RemoveMutator<T>(this Mutable mutable)
    where T : BTD_Mod_Helper.Api.Towers.ModMutator;

Type parameters

T

Parameters

mutable Il2CppAssets.Scripts.Simulation.Objects.Mutable