v0.13.8

PLAYER_LEVEL_CHANGED

eventimplementedavailable in: camelot

Fires when the player's level changes, including changes that are not real level gains. · description by wowlua

declarationwowlua
declare event PLAYER_LEVEL_CHANGED(oldLevel: number, newLevel: number, real: boolean)

Payload

#nametypedescription
1oldLevelnumberThe level before the change.
2newLevelnumberThe level after the change.
3realbooleanWhether the player's real level changed.

Blizzard's documentation marks the event as synchronous.

In wowlua's emulated client

implementedThe emulator fires it on its own, from its levels and units models. what the statuses mean

sources

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