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.
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 SourceInvoke(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 SourcePriority
Declaration
public readonly int Priority
Field Value
Type | Description |
---|---|
Int32 |
StartState
Declaration
public readonly StateManager.StateTypes StartState
Field Value
Type | Description |
---|---|
StateManager.StateTypes |