Skip to Main Content

BTD_Mod_Helper​.Api​.Towers​.ModVanillaContent


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Towers

ModVanillaContent Class

Class for changing Vanilla content within the game

public abstract class ModVanillaContent : BTD_Mod_Helper.Api.ModContent

Inheritance System.ObjectModContent  ModVanillaContent

Derived
ModVanillaContent<T>

Properties

ModVanillaContent.AffectBaseGameModel Property

Whether this should only modify the Towers In-Game, or also affect the default GameModel outside a game

public virtual bool AffectBaseGameModel { get; }

Property Value

System.Boolean

ModVanillaContent.Description Property

Change the description of it

public virtual string Description { get; }

Property Value

System.String

ModVanillaContent.DisplayName Property

Change the name of it

public virtual string DisplayName { get; }

Property Value

System.String

ModVanillaContent.Name Property

The name that will be at the end of the ID for this ModContent, by default the class name

public sealed override string Name { get; }

Property Value

System.String

ModVanillaContent.ShouldApply Property

Whether this should apply or not. Useful for ModSettings

public virtual bool ShouldApply { get; }

Property Value

System.Boolean

Methods

ModVanillaContent.GetAffectedModels(GameModel) Method

Gets the TowerModels that this will affect in the GameModel

public abstract System.Collections.Generic.IEnumerable<Model> GetAffectedModels(GameModel gameModel);

Parameters

gameModel Il2CppAssets.Scripts.Models.GameModel

Returns

System.Collections.Generic.IEnumerable<Il2CppAssets.Scripts.Models.Model>

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