Skip to main content

ChatRoomGenerateChatRoomChatMessage

Callable

  • ChatRoomGenerateChatRoomChatMessage(type: Whisper | Chat | Emote, msg: string, replyId?: string): ServerChatRoomMessage

  • Send a player message to the server

    This function automatically formats and sends the message with all the information needed to reconstruct it on the receiver.


    Parameters

    • type: Whisper | Chat | Emote
    • msg: string
    • optionalreplyId: string

    Returns ServerChatRoomMessage