Class View
The base class for a view in Mod Menu's UI.
public class View
- Inheritance
-
View
- Derived
- Inherited Members
Methods
Add(string, string, UIComponent, MetaData)
Adds a UIComponent under a given category with a specified name.
This will display the provided UIComponent with a label, like other inputs
which Mod Menu generates.
public void Add(string category, string name, UIComponent component, MetaData metaData = null)
Parameters
categorystringThe name of the category to add under
namestringThe name to display in the label
componentUIComponentThe component to add
metaDataMetaDataOptional metadata to provide
Add(string, UIComponent, MetaData)
Adds a UIComponent under a given category.
public void Add(string category, UIComponent component, MetaData metaData = null)
Parameters
categorystringThe name of the category to add under
componentUIComponentThe component to add
metaDataMetaDataOptional metadata to provide
BuildBase()
Builds the view's basic UI layout.
protected void BuildBase()
BuildInfoGroup()
Builds the info group.
protected void BuildInfoGroup()
BuildSections()
Builds all sections.
protected void BuildSections()