Skip to content

Get Sansar

Script API

CancelData

Where: Client
More page actions

For the complete documentation index, see llms.txt. This page is also available as Markdown.

Class Namespace Sansar.Script Inherits EventData

The event is sent when a subscription is canceled.

public class CancelData : EventData

Remarks

Coroutines in a WaitFor will capture this event and throw WaitCanceledException.

Members at a glance

KindMembers
PropertiesMessage · Reason

Properties

Message

public string Message { get; }

String description of the error condition.

Value: string — The error message string.

Remarks

Useful for debugging.

Reason

public int Reason { get; }

Integer error code. The value varies depending on the method called.

Value: int — Error message int reason.

Remarks

See the documentation for the Subscribe method for details.

Used in examples

Generated from the Sansar 47.10.0 client ScriptApi snapshot.