UserData Class
Subscribe to receive events when users enter or leave the experience.
Syntax
[Sansar.Script.Interface]
public class UserData : Sansar.Script.EventData
public class UserData : Sansar.Script.EventData
Remarks
Requirements
Namespace: Sansar.Simulation
Assembly: Sansar.Simulation (in Sansar.Simulation.dll)
Assembly Versions: 1.1.0.0
Assembly: Sansar.Simulation (in Sansar.Simulation.dll)
Assembly Versions: 1.1.0.0
Members
See Also: Inherited members from Sansar.Script.EventData.
Public Properties
Public Methods
override
|
ToString () : string
A string representation of this object. |
|
override
|
ToString () : string
Generates a string representation of the EventData. (Inherited from Sansar.Script.EventData.) |
Member Details
Action Property
string action of the event: AddUser, RemoveUserSyntax
[get: Sansar.Script.Interface]
public string Action { get; }Value
Remarks
Requirements
Namespace: Sansar.Simulation
Assembly: Sansar.Simulation (in Sansar.Simulation.dll)
Assembly Versions: 1.1.0.0
Data Property
Deprecated.Syntax
[get: Sansar.Script.Interface]
public string Data { get; }Value
Remarks
Requirements
Namespace: Sansar.Simulation
Assembly: Sansar.Simulation (in Sansar.Simulation.dll)
Assembly Versions: 1.1.0.0
ToString Method
A string representation of this object.Syntax
[Sansar.Script.Interface]
public override string ToString ()Returns
A string representation of this object.Remarks
The format of this string may change between releases.Requirements
Namespace: Sansar.Simulation
Assembly: Sansar.Simulation (in Sansar.Simulation.dll)
Assembly Versions: 1.1.0.0
User Property
Sansar.Script.SessionId for the user.Syntax
[get: Sansar.Script.Interface]
public Sansar.Script.SessionId User { get; }Value
Remarks
Requirements
Namespace: Sansar.Simulation
Assembly: Sansar.Simulation (in Sansar.Simulation.dll)
Assembly Versions: 1.1.0.0
0 Comments