Skip to content

Latest commit

 

History

History
76 lines (35 loc) · 1.09 KB

File metadata and controls

76 lines (35 loc) · 1.09 KB

Home > server > ChatEventPayloads

ChatEventPayloads interface

Event payloads for ChatManager emitted events.

Signature:

export interface ChatEventPayloads 

Properties

Property

Modifiers

Type

Description

"CHAT.BROADCAST_MESSAGE"

{ player: Player | undefined; message: string; color?: string; }

Emitted when a broadcast message is sent.

"CHAT.PLAYER_MESSAGE"

{ player: Player; message: string; color?: string; }

Emitted when a message is sent to a specific player.