Table of Contents
ModContent class for modifying all TowerModels for a given Tower
public abstract class ModVanillaTower : BTD_Mod_Helper.Api.Towers.ModVanillaContent<TowerModel>
Inheritance System.Object ModContent ModVanillaContent BTD_Mod_Helper.Api.Towers.ModVanillaContent<Il2CppAssets.Scripts.Models.Towers.TowerModel> ModVanillaTower
Derived
↳ ModVanillaTower<T>
Changes the base cost
public virtual int Cost { get; }
Change the name of it when it's plural
public virtual string DisplayNamePlural { get; }
The base id of the Tower that this should modify all TowerModels of
Use TowerType.[tower]
public abstract string TowerId { get; }
Change the TowerSet that this tower is part of. Also handles moving its place within the shop.
public virtual TowerSet TowerSet { get; }
Il2CppAssets.Scripts.Models.TowerSets.TowerSet
Gets the TowerModels that this will affect in the GameModel
public override System.Collections.Generic.IEnumerable<TowerModel> GetAffected(GameModel gameModel);
gameModel
Il2CppAssets.Scripts.Models.GameModel
System.Collections.Generic.IEnumerable<Il2CppAssets.Scripts.Models.Towers.TowerModel>