v0.13.8

PLAYER_MAP_CHANGED

eventimplementedC_Mapavailable in: camelot

Fires when the player moves from one map to another. · description by wowlua

declarationwowlua
declare event PLAYER_MAP_CHANGED(oldMapID: number, newMapID: number)

Payload

#nametypedescription
1oldMapIDnumberThe map the player left.
2newMapIDnumberThe map the player is now on.

Blizzard's documentation marks the event as synchronous.

In wowlua's emulated client

implementedThe emulator fires it on its own, from its login model. what the statuses mean

sources

Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (MapUI system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.