Struct InitParams
Data passed to methods with the Invoke attribute when they are invoked by the Mod Manager. It contains informations required to initialize custom scripts provided by a mod, including the Mod instance associated to the class that receives this data.
Namespace: DaggerfallWorkshop.Game.Utility.ModSupport
Assembly: Assembly-CSharp.dll
Syntax
public struct InitParams
Constructors
| Improve this Doc View SourceInitParams(Mod, Int32, Int32)
Declaration
public InitParams(Mod Mod, int ModIndex, int LoadedModsCount)
Parameters
Fields
| Improve this Doc View SourceLoadedModsCount
The total number of mods loaded by Mod Manager.
Declaration
public readonly int LoadedModsCount
Field Value
Type | Description |
---|---|
Int32 |
LoadPriority
The position of the mod in the load order.
Declaration
public readonly int LoadPriority
Field Value
Type | Description |
---|---|
Int32 |
Mod
The associated Mod instance that gives access, among the others, to bundled assets.
Declaration
public readonly Mod Mod
Field Value
Type | Description |
---|---|
Mod |
ModIndex
The position of the mod inside the mods collection.
Declaration
public readonly int ModIndex
Field Value
Type | Description |
---|---|
Int32 |
ModTitle
The title of the mod.
Declaration
public readonly string ModTitle
Field Value
Type | Description |
---|---|
String |