skeldjs
    Preparing search index...

    Class DiscoveryFoundGameEvent

    Emitted when a game is found while searching for a local game with LanDiscovery.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    eventName: "discovery.foundgame" = ...
    gameCode: number

    The game code that you should use to join this game, hardcoded at 0x20 (32).

    ip: string

    The local IP address that this game came from.

    name: string

    The name of the room, usually the name of the player hosting the game.

    playerCount: number

    The number of players in the game out of the maximum 15.

    port: number

    The port that this game came from.

    eventName: "discovery.foundgame" = ...