Class FormExtensions
- Namespace
- SkyrimForge.Papyrus
- Assembly
- SkyrimForge.Game.dll
Provides extension members for IForm.
public static class FormExtensions
- Inheritance
-
FormExtensions
- Inherited Members
Methods
get_Papyrus<T>(T)
This form, with its Papyrus functions callable on it: await actor.Papyrus.GetLevel().
public static PapyrusScript<T> get_Papyrus<T>(T self) where T : notnull, IForm
Parameters
selfT
Returns
Type Parameters
T
Remarks
A call on this enters the Papyrus VM, which runs it a frame or two later, usually on one of the game's worker threads. Use the form's own declaration of the same function instead, since that returns on the calling thread.