Skip to Main Content

BTD_Mod_Helper​.Api​.Towers​.ModVanillaTower


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Towers

ModVanillaTower Class

ModContent class for modifying all TowerModels for a given Tower

public abstract class ModVanillaTower : BTD_Mod_Helper.Api.Towers.ModVanillaContent<TowerModel>

Inheritance System.ObjectModContentModVanillaContentBTD_Mod_Helper.Api.Towers.ModVanillaContent<Il2CppAssets.Scripts.Models.Towers.TowerModel>  ModVanillaTower

Derived
ModVanillaTower<T>

Properties

ModVanillaTower.Cost Property

Changes the base cost

public virtual int Cost { get; }

Property Value

System.Int32

ModVanillaTower.DisplayNamePlural Property

Change the name of it when it's plural

public virtual string DisplayNamePlural { get; }

Property Value

System.String

ModVanillaTower.TowerId Property

The base id of the Tower that this should modify all TowerModels of


Use TowerType.[tower]

public abstract string TowerId { get; }

Property Value

System.String

ModVanillaTower.TowerSet Property

Change the TowerSet that this tower is part of. Also handles moving its place within the shop.

public virtual TowerSet TowerSet { get; }

Property Value

Il2CppAssets.Scripts.Models.TowerSets.TowerSet

Methods

ModVanillaTower.GetAffected(GameModel) Method

Gets the TowerModels that this will affect in the GameModel

public override System.Collections.Generic.IEnumerable<TowerModel> GetAffected(GameModel gameModel);

Parameters

gameModel Il2CppAssets.Scripts.Models.GameModel

Returns

System.Collections.Generic.IEnumerable<Il2CppAssets.Scripts.Models.Towers.TowerModel>

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