Skip to content

M_MSCLoader_ModLoader_GetMod

piotrulos edited this page Apr 7, 2023 · 4 revisions

ModLoader.GetMod Method

Get Mod class of modID

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

Syntax

C#

public static <a href="T_MSCLoader_Mod">Mod</a> GetMod(
	string modID,
	bool ignoreEnabled = false
)

View Source

Parameters

 

modID
Type: System.String
Mod ID of other mod to check (Case sensitive)
ignoreEnabled (Optional)
Type: System.Boolean
Include disabled mods [yes it's DUMB proloader variable name]

Return Value

Type: Mod
Mod class

See Also

Reference

ModLoader Class
MSCLoader Namespace

Clone this wiki locally