SFSSettings - 105-Code/SFS-Modloader GitHub Wiki
Use this interface to create keybinding settings for your mod.
There are not events for this interface.
There are not properties for this interface.
Get mod id. This is used to identify for keybiding for another mods.
ModSettings.main.addKeybinding( MyLoadedSettings.My_Key, MyDefaultSettings.My_Key, "My_Key", MyLoadedSettings);
// My Settigns class
public class MySettings : SFSSettings
{
// key definition
public KeybindingsPC.Key MyKey = KeyCode.T;
public string getModId()
{
return 'MyModId';
}
}