Skip to content
Version 2.11.0
↓ Get the launcher

ChatTarget record

Sealed sum type identifying the destination for IChat.Send.

public abstract record ChatTarget
name description
static Guild { get; } Send to the guild / clan channel.
static Party { get; } Send to the current party channel.
static Say { get; } Send to the local say / proximity channel.
static World { get; } Send to the server-wide world channel.
static Reply(…) Build a reply target matching the channel that source arrived on.
static Whisper(…) Send a private whisper to the player identified by targetId.
record GuildTarget Guild channel target.
record PartyTarget Party channel target.
record SayTarget Say / proximity channel target.
record WhisperTarget Private whisper target; TargetId is the recipient’s entity id.
record WorldTarget World channel target.