Class KeywordScript
- Namespace
- SkyrimForge.Papyrus
- Assembly
- SkyrimForge.Game.dll
Functions and comments from Keyword.psc.
public static class KeywordScript
- Inheritance
-
KeywordScript
- 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
GetKeyword(string)
SKSE64 additions built 2024-01-17 20:01:40.731000 UTC return the keyword with the specified key
public static Task<Keyword?> GetKeyword(string key)
Parameters
keystring
Returns
GetString<T>(PapyrusScript<T>)
return the string value of the keyword
public static Task<string> GetString<T>(this PapyrusScript<T> self) where T : notnull, IPapyrusKeyword
Parameters
selfPapyrusScript<T>
Returns
Type Parameters
T
SendStoryEventAndWait<T>(PapyrusScript<T>, Location?, IObjectReference?, IObjectReference?, int, int)
Sends this keyword as a story event to the story manager and waits for it to be processed. Returns true if a quest was started.
public static Task<bool> SendStoryEventAndWait<T>(this PapyrusScript<T> self, Location? akLoc = null, IObjectReference? akRef1 = null, IObjectReference? akRef2 = null, int aiValue1 = 0, int aiValue2 = 0) where T : notnull, IPapyrusKeyword
Parameters
selfPapyrusScript<T>akLocLocation?akRef1IObjectReferenceakRef2IObjectReferenceaiValue1intaiValue2int
Returns
Type Parameters
T
SendStoryEvent<T>(PapyrusScript<T>, Location?, IObjectReference?, IObjectReference?, int, int)
Sends this keyword as a story event to the story manager
public static Task SendStoryEvent<T>(this PapyrusScript<T> self, Location? akLoc = null, IObjectReference? akRef1 = null, IObjectReference? akRef2 = null, int aiValue1 = 0, int aiValue2 = 0) where T : notnull, IPapyrusKeyword
Parameters
selfPapyrusScript<T>akLocLocation?akRef1IObjectReferenceakRef2IObjectReferenceaiValue1intaiValue2int
Returns
Type Parameters
T