Class UICallbackScript
- Namespace
- SkyrimForge.Papyrus
- Assembly
- SkyrimForge.Game.dll
Functions and comments from UICallback.psc.
UICallback allows passing arguments of different types to UI functions, unlike UI.Invoke*
public static class UICallbackScript
- Inheritance
-
UICallbackScript
- 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
Create(string, string)
Creates a new UICallback and returns the handle.
public static Task<int> Create(string menuName, string target)
Parameters
Returns
PushBool(int, bool)
public static Task PushBool(int handle, bool value)
Parameters
Returns
PushBoolA(int, IReadOnlyCollection<bool>)
public static Task PushBoolA(int handle, IReadOnlyCollection<bool> args)
Parameters
handleintargsIReadOnlyCollection<bool>
Returns
PushFloat(int, float)
public static Task PushFloat(int handle, float value)
Parameters
Returns
PushFloatA(int, IReadOnlyCollection<float>)
public static Task PushFloatA(int handle, IReadOnlyCollection<float> args)
Parameters
handleintargsIReadOnlyCollection<float>
Returns
PushInt(int, int)
public static Task PushInt(int handle, int value)
Parameters
Returns
PushIntA(int, IReadOnlyCollection<int>)
public static Task PushIntA(int handle, IReadOnlyCollection<int> args)
Parameters
handleintargsIReadOnlyCollection<int>
Returns
PushString(int, string)
public static Task PushString(int handle, string value)
Parameters
Returns
PushStringA(int, IReadOnlyCollection<string?>)
public static Task PushStringA(int handle, IReadOnlyCollection<string?> args)
Parameters
handleintargsIReadOnlyCollection<string>
Returns
Release(int)
Releases the UICallback without sending it.
public static Task Release(int handle)
Parameters
handleint
Returns
Send(int)
Invokes the UICallback and releases it. Returns true, if it was executed, false if an error happened.
public static Task<bool> Send(int handle)
Parameters
handleint