Skip to content

Get Sansar

Script API

UserData

Where: Client
More page actions

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

Class Namespace Sansar.Simulation Inherits Sansar.Script.EventData

Subscribe to receive events when users enter or leave the experience.

public class UserData : Sansar.Script.EventData

Members at a glance

KindMembers
PropertiesAction · Data · User
MethodsToString

Properties

Action

public string Action { get; }

string action of the event: AddUser, RemoveUser

Data

public string Data { get; }

Deprecated.

User

public Sansar.Script.SessionId User { get; }

Sansar.Script.SessionId for the user.

Methods

ToString

public override string ToString()

A string representation of this object.

Returns: string — A string representation of this object.

Remarks

The format of this string may change between releases.

Used in examples

…and 9 more examples in the snapshot.

Generated from the Sansar 47.10.0 client ScriptApi snapshot.