Extensions for BehaviorMutators
public static class BehaviorMutatorExt
Inheritance System.Object BehaviorMutatorExt
Gets the ModMutator class for this mutator if it's modded
public static BTD_Mod_Helper.Api.Towers.ModMutator GetModMutator(this BehaviorMutator mutator);
mutator Il2CppAssets.Scripts.Simulation.Objects.BehaviorMutator
this
ModMutator
ModMutator or null
Gets the ModMutator class for this mutator if it's modded
public static BTD_Mod_Helper.Api.Towers.ModMutator GetModMutator(this TimedMutator mutator);
mutator Il2CppAssets.Scripts.Simulation.Objects.TimedMutator
this
ModMutator
ModMutator or null
Gets the ModMutator custom data for this mutator
public static JToken ModMutatorData(this BehaviorMutator mutator);
mutator Il2CppAssets.Scripts.Simulation.Objects.BehaviorMutator
this
Newtonsoft.Json.Linq.JToken
custom json data for mod mutator, or null
Gets the ModMutator custom data for this mutator
public static JToken ModMutatorData(this TimedMutator mutator);
mutator Il2CppAssets.Scripts.Simulation.Objects.TimedMutator
this
Newtonsoft.Json.Linq.JToken
custom json data for mod mutator, or null
Tries to get the ModMutator class for this mutator if it's modded
public static bool TryGetModMutator(this BehaviorMutator mutator, out BTD_Mod_Helper.Api.Towers.ModMutator modMutator);
mutator Il2CppAssets.Scripts.Simulation.Objects.BehaviorMutator
this
modMutator ModMutator
output ModMutator
System.Boolean
ModMutator exists
Tries to get the ModMutator class for this mutator if it's modded
public static bool TryGetModMutator(this TimedMutator mutator, out BTD_Mod_Helper.Api.Towers.ModMutator modMutator);
mutator Il2CppAssets.Scripts.Simulation.Objects.TimedMutator
this
modMutator ModMutator
output ModMutator
System.Boolean
ModMutator exists