v0.13.8

PET_BATTLE_CAPTURED

eventnot implementedC_BattlePetavailable in: camelot

Fires when a pet is captured in a pet battle. Blizzard's level up display shows a capture notice when the captured pet was the enemy's. · description by wowlua

declarationwowlua
declare event PET_BATTLE_CAPTURED(owner: number, petIndex: number)

Payload

#nametypedescription
1ownernumberWhich side the captured pet belonged to (Enum.BattlePetOwner).
2petIndexnumberThe captured pet's slot.

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 mean

sources

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.