Many asynchronous APIs will trigger an OperationCompleteEvent when done.
public class OperationCompleteEvent : EventDataRemarks
See RigidBodyComponent.SetPosition
Members at a glance
| Kind | Members |
|---|---|
| Constructors | OperationCompleteEvent |
| Properties | Exception · Message · Success |
Constructors
OperationCompleteEvent
public OperationCompleteEvent()Default constructor
Properties
Exception
public Exception Exception { get; }If an operation threw an exception Success will be false and the exception will be stored here.
Message
public string Message { get; }If Success is false, Message may contain more information about the failure.
Value: string — Information about the failure.
Success
public bool Success { get; }Whether or not the operation completed successfully.
Value: bool — true if the operation succeeded.
Used in examples
- VisitorTrackerExample.cs
- ScriptLibrary/Quest/QuestObjectBase.cs
- ScriptLibrary/Quest/QuestVisibility.cs
- ScriptLibrary/Scene/ProgressBar.cs
Generated from the Sansar 47.10.0 client ScriptApi snapshot.