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 AssetPathModel ApplyDisplay(this AssetPathModel assetPathModel, BTD_Mod_Helper.Api.Display.ModDisplay display);
assetPathModel Il2CppAssets.Scripts.Models.Effects.AssetPathModel
display ModDisplay
Il2CppAssets.Scripts.Models.Effects.AssetPathModel
Applies the given ModDisplay to this asset path
public static void ApplyDisplay<T>(this AssetPathModel assetPathModel)
where T : BTD_Mod_Helper.Api.Display.ModDisplay;
T
assetPathModel 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 ModDisplay to this effect
public static T ApplyDisplay<T>(this T effectModel, BTD_Mod_Helper.Api.Display.ModDisplay display)
where T : EffectModel;
T
effectModel T
display ModDisplay
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