Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

MinimapState

Defined in: client/api.d.ts:6966

What the game’s own minimap is drawing.

readonly floor: number | null

Defined in: client/api.d.ts:6975

On the hogwarts map, the game’s own 0-based floor pick for the player. It keeps tracking on a broom, while the map shows the overview. Null on every other map.


readonly map: "none" | "overland" | "hogwarts" | "hogsmeade" | "dungeon" | "tutorial" | "sanctuary" | "tents"

Defined in: client/api.d.ts:6970

The region map on screen. It switches as the game’s cross-fade starts. “none” while there is no minimap, such as behind a load screen.


readonly texture: string | null

Defined in: client/api.d.ts:6980

On the hogwarts map, the tile the game draws: UI_T_MapMini_Hogwarts_Level_<floor + 1>_D, or the Level_99 overview while on a broom. Null on every other map.