Skip to content

Get Sansar

Script API

User.SubscriptionHandler

Where: Client
More page actions

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

Delegate Namespace Sansar.Simulation

Subscribe to receive events when users enter or leave the experience, or change their chat name.

[System.Obsolete("Use subscription callbacks of type Action<Sansar.Simulation.UserData>", false)]
public delegate void User.SubscriptionHandler(
string Action,
Sansar.Script.SessionId User,
string Data
)
ParameterTypeDescription
Actionstringstring action of the event: AddUser, RemoveUser
UserSansar.Script.SessionIdSansar.Script.SessionId for the user.
DatastringDeprecated.

Generated from the Sansar 47.10.0 client ScriptApi snapshot.