-
Notifications
You must be signed in to change notification settings - Fork 4
MCM_Dictionary
github-actions[bot] edited this page Jul 19, 2026
·
1 revision
Inherits: MCM_Collection < MCM_Value < MCM_Type
Allows the player to set a dictionary of keys and values in MCM
| Type | Name |
|---|---|
| String | KeyLabel |
| String | ValueLabel |
| bool | CanEditKeys |
| Return Value | Name and Parameters |
|---|---|
| MCM_Dictionary | MCM_Dictionary(id: String, name: String, tooltip: String, default: Dictionary, valueType: MCM_Collection_Types, defaultItemValue: Dictionary) |
| Return Value | Name and Parameters |
|---|---|
| MCM_Dictionary | setKeyLabel(keyLabel: String) |
| MCM_Dictionary | setValueLabel(valueLabel: String) |
| MCM_Dictionary | setCanEditKeys(canEditKeys: bool) |
| Dictionary | createConfigObject() const |
String KeyLabel
The label text for the key column
String ValueLabel
The label text for the value column
bool CanEditKeys
Sets if the player can edit the keys in the dictionary value editor
MCM_Dictionary MCM_Dictionary(id: String, name: String, tooltip: String, default: Dictionary, valueType: MCM_Collection_Types, defaultItemValue: Dictionary)
Constructs an MCM_Dictionary. And then sends section, id, name, tooltip, default, valueType, and defaultItemValue parameters to the inherited MCM_Collection constructor.
MCM_Dictionary setKeyLabel(keyLabel: String)
Sets the label text for the key column
MCM_Dictionary setValueLabel(valueLabel: String)
Sets the label text for the value column
MCM_Dictionary setCanEditKeys(canEditKeys: bool)
Sets if the player can edit the keys in the dictionary value editor