Methods
Static
Deserialize
- Deserialize(reader: HazelReader): GameListing
-
Serialize
- Serialize(writer: HazelWriter): void
-
Returns void
clone
- clone(): GameListing
-
Properties
Readonly
age
age: number
Readonly
gameCode
gameCode: number
Readonly
hostName
hostName: string
Readonly
ip
ip: string
Readonly
map
Readonly
maxPlayers
maxPlayers: number
Readonly
numImpostors
numImpostors: number
Readonly
numPlayers
numPlayers: number
Readonly
platform
Readonly
port
port: number
Constructors
constructor
- new GameListing(gameCode: string | number, ip: string, port: number, hostName: string, numPlayers: number, age: number, map: GameMap, numImpostors: number, maxPlayers: number, platform: PlatformSpecificData): GameListing
-
Parameters
-
gameCode: string | number
-
ip: string
-
port: number
-
hostName: string
-
numPlayers: number
-
age: number
-
-
numImpostors: number
-
maxPlayers: number
-