Skip to Main Content

BTD_Mod_Helper​.Api​.Towers​.ModTowerSet


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Towers

ModTowerSet Class

A custom collection of ModTowers

public abstract class ModTowerSet : BTD_Mod_Helper.Api.NamedModContent

Inheritance System.ObjectModContentNamedModContent  ModTowerSet

Properties

ModTowerSet.AllowInRestrictedModes Property

Whether this Tower Set should still be allowed to appear in Primary Only, Military Only, Magic Only

public virtual bool AllowInRestrictedModes { get; }

Property Value

System.Boolean

ModTowerSet.Button Property

Name of .png file for the group button used in the Monkeys menu

public virtual string Button { get; }

Property Value

System.String

ModTowerSet.ButtonReference Property

SpriteReference for the button

public virtual SpriteReference ButtonReference { get; }

Property Value

Il2CppNinjaKiwi.Common.ResourceUtils.SpriteReference

ModTowerSet.Container Property

Name of .png file for the background for towers in the Monkeys menu and the in game shop

public virtual string Container { get; }

Property Value

System.String

ModTowerSet.ContainerLarge Property

Name of .png file for the background used for non-paragon upgrades in the Upgrade screen

public virtual string ContainerLarge { get; }

Property Value

System.String

ModTowerSet.ContainerLargeReference Property

SpriteReference for the large container

public virtual SpriteReference ContainerLargeReference { get; }

Property Value

Il2CppNinjaKiwi.Common.ResourceUtils.SpriteReference

ModTowerSet.ContainerReference Property

SpriteReference for the container

public virtual SpriteReference ContainerReference { get; }

Property Value

Il2CppNinjaKiwi.Common.ResourceUtils.SpriteReference

ModTowerSet.Description Property

Unused

public sealed override string Description { get; }

Property Value

System.String

ModTowerSet.DisplayNamePlural Property

Unused

public sealed override string DisplayNamePlural { get; }

Property Value

System.String

ModTowerSet.Portrait Property

Name of .png file for the background for in game portraits

public virtual string Portrait { get; }

Property Value

System.String

ModTowerSet.PortraitReference Property

SpriteReference for the portrait

public virtual SpriteReference PortraitReference { get; }

Property Value

Il2CppNinjaKiwi.Common.ResourceUtils.SpriteReference

ModTowerSet.Seat Property

Name of .png file for the seat to use in Odyssey mode (theoretically)

public virtual string Seat { get; }

Property Value

System.String

ModTowerSet.SeatReference Property

SpriteReference for the Seat

public virtual SpriteReference SeatReference { get; }

Property Value

Il2CppNinjaKiwi.Common.ResourceUtils.SpriteReference

ModTowerSet.Set Property

TowerSet enum for this modded TowerSet

public TowerSet Set { get; }

Property Value

Il2CppAssets.Scripts.Models.TowerSets.TowerSet

ModTowerSet.TowerSetInt Property

Internal int enum value used for this ModdedTowerSet

public int TowerSetInt { get; set; }

Property Value

System.Int32

Methods

ModTowerSet.GetTowerSetIndex(List) Method

Where to place this ModTowerSet in relation to other towerSets. By default at the end.

public virtual int GetTowerSetIndex(System.Collections.Generic.List<TowerSet> towerSets);

Parameters

towerSets System.Collections.Generic.List<Il2CppAssets.Scripts.Models.TowerSets.TowerSet>

The current towerSets that already exist

Returns

System.Int32

ModTowerSet.GetTowerStartIndex(List) Method

The position to start placing ModTowers of this ModTowerSet in relation to other towers


By default, will determine the position based on GetTowerSetIndex

public virtual int GetTowerStartIndex(System.Collections.Generic.List<TowerDetailsModel> towerSet);

Parameters

towerSet System.Collections.Generic.List<Il2CppAssets.Scripts.Models.TowerSets.TowerDetailsModel>

The set of all current tower details

Returns

System.Int32

ModTowerSet.Load() Method

No loading multiple instances of a ModTowerSet

public sealed override System.Collections.Generic.IEnumerable<BTD_Mod_Helper.Api.ModContent> Load();

Returns

System.Collections.Generic.IEnumerable<ModContent>

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