Script::GetBattlefieldScore
function · ui · primitive
- Address
0x4ab9d0· 622 bytes, up to0x4abc3d- Signature
int __fastcall (lua_State *L)- Meaning
- Pushes nine values of a score row: name, counts, team, rank, race and class
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/battlefield#scores-and-stats
Finding: Scores and stats in ui: battlegrounds
GetNumBattlefieldScores() returns the filtered count, but GetBattlefieldScore(index) is bounded by the wire count, so an
index past the filtered count returns a real row of another team. It returns nine values on every path: the name
(Name-Realm with a realm), kills, honorable kills, deaths, honor, team, rank, race and class names (nil when unresolved),
and nil, 0, 0, 0, 0, 0, 0, nil, nil for a missing row or name. GetBattlefieldWinner() is the winner, nil until ended.
GetBattlefieldStatInfo(index) gives a column's text, icon and tooltip, three nils for a negative id and for an index past the
count. GetBattlefieldStatData(row, stat) returns the stat word, 0 outside the row, and reads one word past the
block for stat 9.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 11
- __ftol crt
- DBCache::NameCache::GetRecord dbcache
- SStrCopy storm
- SStrPrintf storm
- lua_checkstack lua
- lua_isnumber lua
- lua_tonumber lua
- lua_pushnil lua
- lua_pushnumber lua
- lua_pushstring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.