Skip to Main Content

BTD_Mod_Helper​.Extensions​.BloonsTD6ModExt


BloonsTD6 Mod Helper

BTD_Mod_Helper.Extensions

BloonsTD6ModExt Class

Extensions for BloonsTD6Mods (for some reason lol)

public static class BloonsTD6ModExt

Inheritance System.Object  BloonsTD6ModExt

Methods

BloonsTD6ModExt.GetModDirectory(this BloonsMod, bool) Method

Get the personal mod directory for this specific mod. Useful for keeping this mod's files seperate from other mods.
Example: "BloonsTD6/Mods/BloonsTD6 Mod Helper/settings.txt"

public static string GetModDirectory(this BTD_Mod_Helper.BloonsMod bloonsMod, bool createIfNotExists);

Parameters

bloonsMod BloonsMod

createIfNotExists System.Boolean

Create the mod's directory if it doesn't exist yet?

Returns

System.String

BloonsTD6ModExt.GetModDirectory(this BloonsMod) Method

Get the personal mod directory for this specific mod. Useful for keeping this mod's files seperate from other mods.
Example: "BloonsTD6/Mods/BloonsTD6 Mod Helper/settings.txt"

public static string GetModDirectory(this BTD_Mod_Helper.BloonsMod bloonsMod);

Parameters

bloonsMod BloonsMod

Returns

System.String

BloonsTD6ModExt.GetModName(this BloonsMod) Method

Get the name of this mod from it's dll name

public static string GetModName(this BTD_Mod_Helper.BloonsMod bloonsMod);

Parameters

bloonsMod BloonsMod

Returns

System.String

BloonsTD6ModExt.GetModSettingsDir(this BloonsMod, bool) Method

Gets the directory where this mod's settings are or will be stored. Example: "BloonsTD6/Mods/BloonsTD6 Mod
Helper/settings.txt"

public static string GetModSettingsDir(this BTD_Mod_Helper.BloonsMod bloonsMod, bool createIfNotExists);

Parameters

bloonsMod BloonsMod

createIfNotExists System.Boolean

Create the mod's directory if it doesn't exist yet?

Returns

System.String

BloonsTD6ModExt.GetModSettingsDir(this BloonsMod) Method

Gets the directory where this mod's settings are or will be stored. Example: "BloonsTD6/Mods/BloonsTD6 Mod
Helper/settings.txt"

public static string GetModSettingsDir(this BTD_Mod_Helper.BloonsMod bloonsMod);

Parameters

bloonsMod BloonsMod

Returns

System.String

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