Class GlobalVariableScript
- Namespace
- SkyrimForge.Papyrus
- Assembly
- SkyrimForge.Game.dll
Functions and comments from GlobalVariable.psc.
public static class GlobalVariableScript
- Inheritance
-
GlobalVariableScript
- Inherited Members
Properties
Dispatcher
The dispatcher that binds this script to a form and calls the functions and properties that have no generated member.
public static PapyrusScriptDispatcher Dispatcher { get; }
Property Value
Methods
GetValue(PapyrusScript<GlobalVariable>)
Obtains the global's current value
public static Task<float> GetValue(this PapyrusScript<GlobalVariable> self)
Parameters
selfPapyrusScript<GlobalVariable>
Returns
GetValueInt(PapyrusScript<GlobalVariable>)
convenience functions for ints
public static Task<int> GetValueInt(this PapyrusScript<GlobalVariable> self)
Parameters
selfPapyrusScript<GlobalVariable>
Returns
Mod(PapyrusScript<GlobalVariable>, float)
the threadsafe way to modify a global variable
public static Task<float> Mod(this PapyrusScript<GlobalVariable> self, float afHowMuch)
Parameters
selfPapyrusScript<GlobalVariable>afHowMuchfloat
Returns
SetValue(PapyrusScript<GlobalVariable>, float)
Sets the global's current value
public static Task SetValue(this PapyrusScript<GlobalVariable> self, float afNewValue)
Parameters
selfPapyrusScript<GlobalVariable>afNewValuefloat
Returns
SetValueInt(PapyrusScript<GlobalVariable>, int)
Sets the global's current value
public static Task SetValueInt(this PapyrusScript<GlobalVariable> self, int aiNewValue)
Parameters
selfPapyrusScript<GlobalVariable>aiNewValueint
Returns
get_Value(PapyrusScript<GlobalVariable>)
Easy access to the global's value
public static Task<float> get_Value(PapyrusScript<GlobalVariable> self)
Parameters
selfPapyrusScript<GlobalVariable>