Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DiscoveryFoundGameEvent

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

Hierarchy

Index

Properties

Static eventName

eventName: "discovery.foundgame" = ...

eventName

eventName: "discovery.foundgame" = ...

gameCode

gameCode: number

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

Readonly ip

ip: string

Readonly name

name: string

Readonly playerCount

playerCount: number

Readonly port

port: number

Constructors

constructor

  • new DiscoveryFoundGameEvent(ip: string, port: number, name: string, playerCount: number): DiscoveryFoundGameEvent
  • Parameters

    • ip: string
    • port: number
    • name: string
    • playerCount: number

    Returns DiscoveryFoundGameEvent

Generated using TypeDoc