Show / Hide Table of Contents

Class Invoke

Specify a non-generic, public, static, class method that only takes an InitParams struct for a parameter, to be called automatically by Mod Manager during mod setup.

Inheritance
Object
Attribute
Invoke
Namespace: DaggerfallWorkshop.Game.Utility.ModSupport
Assembly: Assembly-CSharp.dll
Syntax
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public class Invoke : Attribute, _Attribute

Constructors

| Improve this Doc View Source

Invoke(StateManager.StateTypes, Int32)

Request the mod manager to invoke this method at the specified state.

Declaration
public Invoke(StateManager.StateTypes startState = StateManager.StateTypes.Start, int priority = 99)
Parameters
Type Name Description
StateManager.StateTypes startState

At which state the ModManager will invoke this method; typically this the Start or the Game state.

Int32 priority

Defines a per-mod order if there are multiple invoked methods for the same state.

Fields

| Improve this Doc View Source

Priority

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

StartState

Declaration
public readonly StateManager.StateTypes StartState
Field Value
Type Description
StateManager.StateTypes
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX