Table of Contents
A custom collection of ModTowers
public abstract class ModTowerSet : BTD_Mod_Helper.Api.NamedModContent
Inheritance System.Object ModContent NamedModContent ModTowerSet
Whether this Tower Set should still be allowed to appear in Primary Only, Military Only, Magic Only
public virtual bool AllowInRestrictedModes { get; }
Name of .png file for the group button used in the Monkeys menu
public virtual string Button { get; }
SpriteReference for the button
public virtual SpriteReference ButtonReference { get; }
Il2CppNinjaKiwi.Common.ResourceUtils.SpriteReference
Name of .png file for the background for towers in the Monkeys menu and the in game shop
public virtual string Container { get; }
Name of .png file for the background used for non-paragon upgrades in the Upgrade screen
public virtual string ContainerLarge { get; }
SpriteReference for the large container
public virtual SpriteReference ContainerLargeReference { get; }
Il2CppNinjaKiwi.Common.ResourceUtils.SpriteReference
SpriteReference for the container
public virtual SpriteReference ContainerReference { get; }
Il2CppNinjaKiwi.Common.ResourceUtils.SpriteReference
Unused
public sealed override string Description { get; }
Unused
public sealed override string DisplayNamePlural { get; }
Name of .png file for the background for in game portraits
public virtual string Portrait { get; }
SpriteReference for the portrait
public virtual SpriteReference PortraitReference { get; }
Il2CppNinjaKiwi.Common.ResourceUtils.SpriteReference
Name of .png file for the seat to use in Odyssey mode (theoretically)
public virtual string Seat { get; }
SpriteReference for the Seat
public virtual SpriteReference SeatReference { get; }
Il2CppNinjaKiwi.Common.ResourceUtils.SpriteReference
TowerSet enum for this modded TowerSet
public TowerSet Set { get; }
Il2CppAssets.Scripts.Models.TowerSets.TowerSet
Internal int enum value used for this ModdedTowerSet
public int TowerSetInt { get; set; }
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);
towerSets
System.Collections.Generic.List<Il2CppAssets.Scripts.Models.TowerSets.TowerSet>
The current towerSets that already exist
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);
towerSet
System.Collections.Generic.List<Il2CppAssets.Scripts.Models.TowerSets.TowerDetailsModel>
The set of all current tower details
No loading multiple instances of a ModTowerSet
public sealed override System.Collections.Generic.IEnumerable<BTD_Mod_Helper.Api.ModContent> Load();