Result of a ScriptBase.PostScriptEvent call.
public class ScriptEventData : EventDataRemarks
Use ScriptBase.SubscribeToScriptEvent to subscribe to events.
Members at a glance
| Kind | Members |
|---|---|
| Properties | Data · Message · SourceScriptId |
Properties
Data
public Reflective Data { get; }The data passed by ScriptBase.PostScriptEvent.
Value: Reflective — May be null.
Message
public string Message { get; }The message the event was created with.
Value: string — This string should always match the corresponding ScriptBase.SubscribeToScriptEvent call.
SourceScriptId
public ScriptId SourceScriptId { get; }The id of the script which generated the event.
Used in examples
- ScriptLibrary/LibraryBase.cs
- ScriptLibrary/LibraryDebugger.cs
- ScriptLibrary/Quest/QuestGiver.cs
- ScriptLibrary/Quest/QuestGiverBase.cs
- ScriptLibrary/Quest/QuestGiverTrigger.cs
- ScriptLibrary/Quest/QuestObject.cs
- ScriptLibrary/Quest/QuestObjectInteraction.cs
- ScriptLibrary/Quest/QuestObjectTrigger.cs
- ScriptLibrary/Scene/Animation.cs
- ScriptLibrary/Scene/AudioStream.cs
- ScriptLibrary/Scene/Broadcaster.cs
- ScriptLibrary/Scene/Chat.cs
…and 23 more examples in the snapshot.
Generated from the Sansar 47.10.0 client ScriptApi snapshot.