Skip to Main Content

BTD_Mod_Helper​.Api​.Helpers​.AttackHelper


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Helpers

AttackHelper Class

A wrapper around AttackModels for making them easier to create

public class AttackHelper : BTD_Mod_Helper.Api.Helpers.ModelHelper<AttackModel>

Inheritance System.ObjectModelHelperBTD_Mod_Helper.Api.Helpers.ModelHelper<Il2CppAssets.Scripts.Models.Towers.Behaviors.Attack.AttackModel>  AttackHelper

Constructors

AttackHelper(string, bool) Constructor

Begins construction of a new AttackModel with sensible default values

public AttackHelper(string name="", bool airUnit=false);

Parameters

name System.String

The model name (don't need the AttackModel_ part)

airUnit System.Boolean

Create an AttackAirUnitModel instead of an AttackModel

Properties

AttackHelper.AddToSharedGrid Property

public bool AddToSharedGrid { get; set; }

Property Value

System.Boolean

See Also

AttackHelper.AttackThroughWalls Property

public bool AttackThroughWalls { get; set; }

Property Value

System.Boolean

See Also

AttackHelper.Behaviors Property

public Model[] Behaviors { get; set; }

Property Value

Il2CppAssets.Scripts.Models.Model[]

See Also

AttackHelper.CanSeeCamo Property

public bool CanSeeCamo { get; set; }

Property Value

System.Boolean

See Also

AttackHelper.Filter Property

This AttackModel's AttackFilterModel

public AttackFilterModel Filter { get; }

Property Value

Il2CppAssets.Scripts.Models.Towers.Behaviors.Attack.Behaviors.AttackFilterModel

AttackHelper.Filters Property

public FilterModel[] Filters { get; set; }

Property Value

Il2CppAssets.Scripts.Models.Towers.Filters.FilterModel[]

See Also

AttackHelper.FireWithoutTarget Property

public bool FireWithoutTarget { get; set; }

Property Value

System.Boolean

See Also

AttackHelper.FramesBeforeRetarget Property

public int FramesBeforeRetarget { get; set; }

Property Value

System.Int32

See Also

AttackHelper.Offset Property

public Vector3 Offset { get; set; }

Property Value

Il2CppAssets.Scripts.Simulation.SMath.Vector3

See Also

AttackHelper.Range Property

public float Range { get; set; }

Property Value

System.Single

See Also

AttackHelper.SharedGridRange Property

public float SharedGridRange { get; set; }

Property Value

System.Single

See Also

AttackHelper.TargetProvider Property

public TargetSupplierModel TargetProvider { get; set; }

Property Value

Il2CppAssets.Scripts.Models.Towers.Behaviors.Attack.Behaviors.TargetSupplierModel

See Also

AttackHelper.Weapon Property

public WeaponModel Weapon { get; set; }

Property Value

Il2CppAssets.Scripts.Models.Towers.Weapons.WeaponModel

See Also

AttackHelper.Weapons Property

public WeaponModel[] Weapons { get; set; }

Property Value

Il2CppAssets.Scripts.Models.Towers.Weapons.WeaponModel[]

See Also

Operators

AttackHelper.implicit operator AttackModel(AttackHelper) Operator

Unwraps the model

public static AttackModel implicit operator AttackModel(BTD_Mod_Helper.Api.Helpers.AttackHelper helper);

Parameters

helper AttackHelper

Returns

Il2CppAssets.Scripts.Models.Towers.Behaviors.Attack.AttackModel

AttackHelper.implicit operator AttackHelper(AttackModel) Operator

Wraps a model

public static BTD_Mod_Helper.Api.Helpers.AttackHelper implicit operator AttackHelper(AttackModel model);

Parameters

model Il2CppAssets.Scripts.Models.Towers.Behaviors.Attack.AttackModel

Returns

AttackHelper

To learn how to download BTD Mod Helper and install mods, click here