This mod can config all mods and the mod doesn't need to do special things.
- Install the latest version of SMAPI.
- Install this mod.
- Install EnaiumToolKit.
- Run the game using SMAPI.
Property Name
and Description
support translation.
[Display("{ConfigUI.Config.OpenUI.Name}", "{ConfigUI.Config.OpenUI.Description}")]
public KeybindList OpenUI { get; set; } = new(SButton.OemTilde);
Enum support translation.
public enum PositionType
{
[Display("{ConfigUI.Config.PositionType.GameOptionsPage.Name}",
"{ConfigUI.Config.PositionType.GameOptionsPage.Description}")]
GameOptionsPage
}
Property Name
and Description
support translation.
Format: <namespace>.<class>.<property>.<Name|Description>
{
"ConfigUI.Framework.Config.OpenUI.Name": "Open UI",
"ConfigUI.Framework.Config.OpenUI.Description": "Open ConfigUI"
}
Enum support translation.
Format: <namespace>.<enum|class+enum>.<value>.<Name|Description>
{
"ConfigUI.Framework.Config+PositionType.GameOptionsPage.Name": "Game Options Page",
"ConfigUI.Framework.Config+PositionType.GameOptionsPage.Description": "Game Options Page"
}
[Size(0, 10)]
public int Value { get; set; } = 5;
[Size(0, 10)]
public string Value { get; set; } = "12345";