PixelPlaceJS-new - v3.4.3
    Preparing search index...

    Type Alias ClientChatMessagePacket

    Serialized data for chat messages.

    type ClientChatMessagePacket = {
        color: Color;
        mention: string;
        target: string;
        text: string;
        type: ChatChannel;
    }
    Index

    Properties

    color: Color

    The color of the message being sent.

    mention: string

    Mentioned user. Will be empty string if you don't ping anyone.

    target: string

    Targeted user; this is the username for who you're whispering to. Empty for normal chat messages, since it won't do anything.

    text: string

    The message being sent.

    type: ChatChannel

    The type of chat to send the message to.