Table of Contents
Other miscellaneous extensions for various Model classes
public static class MiscModelExt
Inheritance System.Object MiscModelExt
Applies the given ModDisplay to this asset path
public static void ApplyDisplay<T>(this AssetPathModel effectModel)
where T : BTD_Mod_Helper.Api.Display.ModDisplay;
T
effectModel
Il2CppAssets.Scripts.Models.Effects.AssetPathModel
Applies the given ModDisplay to this effect
public static void ApplyDisplay<T>(this EffectModel effectModel)
where T : BTD_Mod_Helper.Api.Display.ModDisplay;
T
effectModel
Il2CppAssets.Scripts.Models.Effects.EffectModel
Applies the given ModBloonOverlay to this behavior
public static void ApplyOverlay<T>(this ProjectileBehaviorWithOverlayModel projectileBehaviorWithOverlayModel)
where T : BTD_Mod_Helper.Api.Display.ModBloonOverlay;
T
projectileBehaviorWithOverlayModel
Il2CppAssets.Scripts.Models.Towers.Projectiles.ProjectileBehaviorWithOverlayModel
Gets the damageMultiplier field for a DamageModifierModel
public static float GetDamageMult(this DamageModifierModel model, Bloon bloon);
model
Il2CppAssets.Scripts.Models.Towers.Projectiles.DamageModifierModel
bloon
Il2CppAssets.Scripts.Simulation.Bloons.Bloon
Updates the Il2CppAssets.Scripts.Models.Towers.Behaviors.Emissions.ParallelEmissionModel.offsetStart to be consistent with the
Il2CppAssets.Scripts.Models.Towers.Behaviors.Emissions.ParallelEmissionModel.count and Il2CppAssets.Scripts.Models.Towers.Behaviors.Emissions.ParallelEmissionModel.spreadLength
public static void UpdateOffset(this ParallelEmissionModel parallelEmissionModel);
parallelEmissionModel
Il2CppAssets.Scripts.Models.Towers.Behaviors.Emissions.ParallelEmissionModel