Interface IGlobalSettings<S>
An interface that signifies that the mod will save global data.
Namespace: Modding
Assembly: Assembly-CSharp.mm.dll
Syntax
public interface IGlobalSettings<S>
Type Parameters
| Name | Description |
|---|---|
| S | The type representing the settings. |
Methods
OnLoadGlobal(S)
Called when the mod just loaded the global settings.
Declaration
void OnLoadGlobal(S s)
Parameters
| Type | Name | Description |
|---|---|---|
| S | s | The settings the mod loaded. |
OnSaveGlobal()
Called when the mod needs to save the global settings.
Declaration
S OnSaveGlobal()
Returns
| Type | Description |
|---|---|
| S | The settings to be stored. |