Skip to content

MCM_Int

github-actions[bot] edited this page Jul 19, 2026 · 1 revision

Inherits: MCM_Number < MCM_Value < MCM_Type

Description

Allows the player to input an integar value in MCM

Constructors

Return Value Name and Parameters
MCM_Int MCM_Int(id: String, name: String, tooltip: String, default: int)

Methods

Return Value Name and Parameters
MCM_Int setMinRange(minRange: int)
MCM_Int setMaxRange(maxRange: int)
MCM_Int setStep(step: int)
Dictionary createConfigObject() const

Constructor Descriptions

MCM_Int MCM_Int(id: String, name: String, tooltip: String, default: int)

 Constructs an MCM_Int. And then sends section, id, name, tooltip, and default parameters to the inherited MCM_Number constructor.

Method Descriptions

MCM_Int setMinRange(minRange: int)

 Set the minimum value this value can be set to


MCM_Int setMaxRange(maxRange: int)

 Set the maximum value this value can be set to


MCM_Int setStep(step: int)

 Set how much the UI SpinBox/Slider increments/decrements the value

Clone this wiki locally