C_PvP.GetScoreInfo

From Warcraft Wiki
Jump to navigation Jump to search
GitHub Octocat.png  Townlong-Yak BAD.png  ProfIcons engineering.png  BTNTemp.png C_PvP.GetScoreInfo TheWarWithin-Icon-Inline.pngDragonflight-Icon-Inline.png + 8.2.0
GitHub Octocat.png  Townlong-Yak BAD.png  ProfIcons engineering.png  BTNTemp.png C_PvP.GetScoreInfoByPlayerGuid TheWarWithin-Icon-Inline.pngDragonflight-Icon-Inline.png + 8.2.0
Wowprogramming.png  BTNTemp.png GetBattlefieldScore TheWarWithin-Icon-Inline.pngDragonflight-Icon-Inline.pngCata-Logo-Small.pngWrath-Logo-Small.pngWoW Icon update.png + 1.5.0 / 1.13.2

Returns PvP score info.

info = C_PvP.GetScoreInfo(offsetIndex)
     = C_PvP.GetScoreInfoByPlayerGuid(guid)

Arguments

GetScoreInfo

offsetIndex
number

GetScoreInfoByPlayerGuid

guid
string : GUID

Returns

info
PVPScoreInfo?
Field Type Description
name string
guid string : WOWGUID
killingBlows number
honorableKills number
deaths number
honorGained number
faction number
raceName string
className string
classToken string
damageDone number
healingDone number
rating number
ratingChange number
prematchMMR number
mmrChange number
postmatchMMR number Added in 10.1.0
talentSpec string
honorLevel number
roleAssigned number
stats PVPStatInfo[]
PVPStatInfo
Field Type Description
pvpStatID number
pvpStatValue number
orderIndex number
name string
tooltip string
iconName string

Patch changes

Shadowlands Patch 9.2.0 (2022-02-22): Added roleAssigned field.
Battle for Azeroth Patch 8.2.5 (2019-09-24): Added orderIndex field.
Battle for Azeroth Patch 8.2.0 (2019-06-25): Added.