M_MSCLoader_Mod_SetupFunction_1 - piotrulos/MSCModLoader GitHub Wiki

SetupFunction(Mod.Setup, Action, String) Method

Setup selected function for your mod

Definition

Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.4.2.410

C#

public void SetupFunction(
	Mod.Setup functionType,
	Action function,
	string customStatusText
)

View Source

Parameters

  Mod.Setup
Function type
  Action
Your own function to execute that type
  String
Custom status text on loading progress bar (Only in OnNewGame, PreLoad, OnLoad, PostLoad)

See Also

Reference

Mod Class
SetupFunction Overload
MSCLoader Namespace

⚠️ **GitHub.com Fallback** ⚠️