Chat.SubscriptionHandler

Chat.SubscriptionHandler Delegate

Subscribe to receive events on chat messages from the system, users or scripts.

Syntax

[Sansar.Script.Interface]
[System.Obsolete("Use subscription callbacks of type Action<Sansar.Simulation.ChatData>", false)]
public delegate void Chat.SubscriptionHandler (int Channel, string Source, Sansar.Script.SessionId SourceId, Sansar.Script.ScriptId SourceScriptId, string Message)

Parameters

Channel
int channel which the chat occurs on.
Source
string source of the chat: system, user or script.
SourceId
Sansar.Script.SessionId id of the chat source. May be Sansar.Script.SessionId.Invalid if the source is not an agent.
SourceScriptId
Sansar.Script.ScriptId id of the chat source. May be Sansar.Script.ScriptId.Invalid if the source is not a script.
Message
string message of the chat event.

Remarks

 

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.