Table of Contents
Category of mod settings
public class ModSettingCategory
Inheritance System.Object ModSettingCategory
Creates a new ModSettingCategory with the given displayName
public ModSettingCategory(string displayName);
displayName
System.String
Whether this category is currently collapsed / hiding its elements
public bool collapsed;
Name of the category
public string displayName;
Icon of the category, if any
public string icon;
Action to modify the ModHelperCategory after it's created
public Action<ModHelperCategory> modifyCategory;
System.Action<ModHelperCategory>
Order of this category in relation to other categories. A setting not having a category will have order = 0
public int order;
Creates the visual ModHelperCategory for this option
public BTD_Mod_Helper.Api.Components.ModHelperCategory Create();
Creates a new category with the given name
public static BTD_Mod_Helper.Api.ModOptions.ModSettingCategory implicit operator ModSettingCategory(string displayName);
displayName
System.String
Gets the name from a category
public static string implicit operator string(BTD_Mod_Helper.Api.ModOptions.ModSettingCategory category);
category
ModSettingCategory