v0.13.7

C_PvP.IsWarModeDesired

functionrecordedavailable in: camelot

Indicates whether the player has opted into War Mode beginning with *Battle for Azeroth*, regardless if the player is in an outdoor zone where such PvP is actually possible.

signaturewowlua
function C_PvP.IsWarModeDesired(): boolean

Returns

warModeDesired · boolean · True if the player has turned war mode on; false otherwise.

In wowlua's emulated client

recordedThe answer was recorded from the real client and is played back for the same call. what the statuses mean

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (PvpInfo system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.