Table of Contents

Class View

Namespace
ModMenu.Views
Assembly
ModMenu.dll

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

category string

The name of the category to add under

name string

The name to display in the label

component UIComponent

The component to add

metaData MetaData

Optional 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

category string

The name of the category to add under

component UIComponent

The component to add

metaData MetaData

Optional 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()