@game-vir/multiplayer - v15.1.1
    Preparing search index...

    Enumeration MultiplayerWebSocketMessageType

    All possible message types sent to and from the game-vir multiplayer server. These are used to establish WebRTC connections.

    Index

    Enumeration Members

    Enumeration Members

    Answer: "answer"

    Sent to the multiplayer server from a host client (in response to an offer), then forwarded to the client.

    If the offer was rejected, this will contain significantly less data.

    Error: "error"

    An error message.

    HostPing: "host-ping"

    A message sent to the multiplayer server from the host client to keep the room info up to date. This will be sent repeatedly on an interval.

    Offer: "offer"

    Sent to the multiplayer server from a client when they want to connect. The offer is then forwarded to the host client.

    If a host has not been set yet, then this client becomes the host.

    OfferResult: "offer-result"

    Sent from the multiplayer server to a client WebSocket after their offer has been processed to instruct the client on what kind of client they are (member or host).