PET_BATTLE_LEVEL_CHANGED
Fires when a pet gains a level in a pet battle. Blizzard's pet journal updates its loadout. · description by wowlua
declare event PET_BATTLE_LEVEL_CHANGED(owner: number, petIndex: number, newLevel: number)Payload
| # | name | type | description |
|---|---|---|---|
| 1 | owner | number | Which side the pet belongs to (Enum.BattlePetOwner). |
| 2 | petIndex | number | The pet's slot on that side. |
| 3 | newLevel | number | The pet's new level. |
Blizzard's documentation marks the event as synchronous.
In wowlua's emulated client
not implementedFor an event, not implemented means the emulated client never fires it by itself. Fire it from a test with
mock.fireEvent, or mock.fireUnitEvent for a unit event. The event must be one the flavor documents, and its payload is checked against the documentation. what the statuses meansources
Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (BattlePet system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.