PLAYER_SWING
Fires when the player makes a melee or ranged swing. Blizzard's swing timer and gamepad reticle animate it. · description by wowlua
declare event PLAYER_SWING(swingDuration: number, swingType: PlayerSwingType)Payload
| # | name | type | description |
|---|---|---|---|
| 1 | swingDuration | number | The duration of the swing, which Blizzard's swing timer restarts with. |
| 2 | swingType | PlayerSwingType | Which weapon swung (Enum.PlayerSwingType). |
Blizzard's documentation marks the event as synchronous.
In wowlua's emulated client
implementedThe emulator fires it on its own, from its units model. what the statuses mean
sources
Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (SwingTimer system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.