v0.13.8

GetPVPLifetimeStats

functionguessedavailable in: camelot

Returns the character's lifetime PvP statistics.

signaturewowlua
function GetPVPLifetimeStats(): (number, PvPRanks)

Returns

#nametypedescription
1lifetimeHonorableKillsnumberThe number of honorable kills you have made
2lifetimeMaxPVPRankPvPRanksThe highest rank you have achieved (Use GetPVPRankInfo(highestRank) to get the name of the rank)

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

sources

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