Subscribe to receive events when users enter or leave the experience.
public class UserData : Sansar.Script.EventDataMembers at a glance
| Kind | Members |
|---|---|
| Properties | Action · Data · User |
| Methods | ToString |
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
- TeleportHotkeys.cs
- VisitorTrackerExample.cs
- BanHammerExample.cs
- BroadcastUsers.cs
CameraShakeExample.cs- CastRayExample.cs
- CommandExample.cs
- CommandScreenshot.cs
- CoroutineEventExample.cs
- CoroutineExample.cs
- EventExample.cs
- HttpClientExample.cs
…and 9 more examples in the snapshot.
Generated from the Sansar 47.10.0 client ScriptApi snapshot.