Table of Contents
ModContent representing an entry that will be added to the custom "Start Menu" in game, primarily used to open custom Windows
public abstract class ModStartMenuEntry : BTD_Mod_Helper.Api.NamedModContent
Inheritance System.Object ModContent NamedModContent ModStartMenuEntry
Derived
↳ ModStartMenuEntry<T>
↳ ModWindow
Entries nested beneath this entry
public System.Collections.Generic.List<BTD_Mod_Helper.Api.UI.ModStartMenuEntry> ChildEntries { get; }
System.Collections.Generic.List<ModStartMenuEntry>
Whether this entry should be hidden from the start menu
public virtual bool DontAddToStartMenu { get; }
SpriteReference to use for an icon. Null means no icon, empty string "" means a blank icon (still creates the margin for it within the option)
public virtual string Icon { get; }
Scale for the icon
public virtual float IconScale { get; }
The parent entry that this should be nested under
public virtual BTD_Mod_Helper.Api.UI.ModStartMenuEntry ParentEntry { get; }
The Mod Helper Info used to define the Start Menu entry
public virtual BTD_Mod_Helper.Api.Components.Info StartMenuEntry { get; }
Height for the entry option within the Start Menu
public virtual float StartMenuEntryHeight { get; }
Width for the entry option within the Start Menu. 0 for automatic width
public virtual float StartMenuEntryWidth { get; }
Whether this start menu entry should not appear in the menu at this time
public virtual bool IsHidden();
System.Boolean
whether it's hidden or not
Whether this start menu entry should appear as selected in the menu.
public virtual bool IsSelected();
System.Boolean
whether it's selected or not
What to do when the start menu entry is clicked. Not called if this has child entries
public virtual void StartMenuEntryClicked();