Show / Hide Table of Contents

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 Source

InitParams(Mod, Int32, Int32)

Declaration
public InitParams(Mod Mod, int ModIndex, int LoadedModsCount)
Parameters
Type Name Description
Mod Mod
Int32 ModIndex
Int32 LoadedModsCount

Fields

| Improve this Doc View Source

LoadedModsCount

The total number of mods loaded by Mod Manager.

Declaration
public readonly int LoadedModsCount
Field Value
Type Description
Int32
| Improve this Doc View Source

LoadPriority

The position of the mod in the load order.

Declaration
public readonly int LoadPriority
Field Value
Type Description
Int32
| Improve this Doc View Source

Mod

The associated Mod instance that gives access, among the others, to bundled assets.

Declaration
public readonly Mod Mod
Field Value
Type Description
Mod
| Improve this Doc View Source

ModIndex

The position of the mod inside the mods collection.

Declaration
public readonly int ModIndex
Field Value
Type Description
Int32
| Improve this Doc View Source

ModTitle

The title of the mod.

Declaration
public readonly string ModTitle
Field Value
Type Description
String
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX