Skip to content
Version 2.32.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. A whisper replies to the conversation PEER when known (so replying to your own echoed whisper reaches the recipient, not yourself), else to the sender.
static Whisper(…) Send a private whisper to the player whose charId is targetId (the id a received SenderId / PeerId carries).
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 charId (NOT an entity uuid — a charId is uuid >> 16). Written to the wire as ChatMsgInfo.target_id.
record WorldTarget World channel target.