Skip to Main Content

BTD_Mod_Helper​.Api​.ModOptions​.ModSettingFile


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.ModOptions

ModSettingFile Class

ModSetting for selecting a specific file on the host computer

public class ModSettingFile : BTD_Mod_Helper.Api.ModOptions.ModSetting<string>

Inheritance System.ObjectModSettingBTD_Mod_Helper.Api.ModOptions.ModSetting<System.String>  ModSettingFile

Fields

ModSettingFile.filter Field

https://github.com/mlabbe/nativefiledialog/blob/master/README.md#file-filter-syntax

public string filter;

Field Value

System.String

Methods

ModSettingFile.SetValue(object) Method

Sets the current value of this ModSetting

public override void SetValue(object val);

Parameters

val System.Object

The new value

Operators

ModSettingFile.implicit operator ModSettingFile(string) Operator

Constructs a new ModSetting with the given value as default

public static BTD_Mod_Helper.Api.ModOptions.ModSettingFile implicit operator ModSettingFile(string value);

Parameters

value System.String

Returns

ModSettingFile

ModSettingFile.implicit operator string(ModSettingFile) Operator

Gets the current value out of a ModSetting

public static string implicit operator string(BTD_Mod_Helper.Api.ModOptions.ModSettingFile modSettingFile);

Parameters

modSettingFile ModSettingFile

Returns

System.String

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