Map game state only available for observers.

Hierarchy

  • Map
    • MapObserver

Properties

clockTime: number

Current game time.

customGameName: string

Custom game name.

dayTime: boolean

If it is day time.

direScore: number

Total number of kills for the Dire team.

direWardPurchaseCooldown: number

When observer and sentry wards replenish for the Dire team.

gameState: MapGameState

Current game state, see MapGameState for possible values.

gameTime: number

Current timestamp.

matchId: number

Current DotA 2 match id.

name: string

Current map state.

nightStalkerNight: boolean

If NightStalker ultimate is currently active.

paused: boolean

If the current game is paused.

radiantScore: number

Total number of kills for the Radiant team.

radiantWardPurchaseCooldown: number

When observer and sentry wards replenish for the Radiant team.

roshanState: string

If Roshan is alive or not.

roshanStateEndSeconds: number

When the current Roshan state will end.

winTeam: Team | "none"

Radiant or Dire if the game is over, "none" if the game is still in progress.

Generated using TypeDoc