InteractionData

InteractionData Class

Handler for Interaction events.

Syntax

[Sansar.Script.Interface]
public class InteractionData : Sansar.Script.EventData

Remarks

 

Requirements

Namespace: Sansar.Simulation
Assembly: Sansar.Simulation (in Sansar.Simulation.dll)
Assembly Versions: 1.1.0.0

Members

See Also: Inherited members from Sansar.Script.EventData.

Public Properties

[read-only]
 
AgentId Sansar.Script.SessionId . The SessionId of the agent who clicked the Interaction.The SessionId of the agent who clicked the Interaction.
[read-only]
 
Index uint . The index of the action clicked.The index of the action clicked.Use with Interactions[m_index] to get the action clicked.

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

AgentId Property

The SessionId of the agent who clicked the Interaction.The SessionId of the agent who clicked the Interaction.

Syntax

[get: Sansar.Script.Interface]
public Sansar.Script.SessionId AgentId { get; }

Value

Remarks

 

Requirements

Namespace: Sansar.Simulation
Assembly: Sansar.Simulation (in Sansar.Simulation.dll)
Assembly Versions: 1.1.0.0

Index Property

The index of the action clicked.The index of the action clicked.Use with Interactions[m_index] to get the action clicked.

Syntax

[get: Sansar.Script.Interface]
public uint Index { 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


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.