MinimapState
Defined in: client/api.d.ts:6966
What the game’s own minimap is drawing.
Properties
Section titled “Properties”
readonlyfloor: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.
readonlymap:"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.
texture
Section titled “texture”
readonlytexture: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.