Script Event Data
ScriptEventData Class
Result of a ScriptBase.PostScriptEvent(ScriptId, string, Reflective) call.
Syntax
public class ScriptEventData : EventData
Member Details
Data Property
SyntaxValue
May be null.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Message Property
The message the event was created with.
Syntaxpublic string Message { get; }
Value
This string should always match the corresponding ScriptBase.SubscribeToScriptEvent(string, Action<Sansar.Script.ScriptEventData>,System.Boolean) call.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
SourceScriptId Property
The id of the script which generated the event.
Syntaxpublic ScriptId SourceScriptId { get; }
Value
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Last updated