CGTooltip::BuildUnit
function · ui · primitive
- Address
0x529fe0· 2613 bytes, up to0x52aa14- Signature
uint32_t __thiscall (CGTooltip *this, const uint64_t *guid)- Meaning
- Adds the lines of a unit tooltip for a unit in sight, or a party member or party pet record
- Confidence
- verified, proof one
- Finding
- ui/tooltipunit#who-the-builder-describes
- Test
ui::glue_512_529fe0_percent_quantize
Finding: Who the builder describes in ui: The unit tooltip
0x529fe0(this = tooltip; GUID pointer) clears the tooltip and resolves the GUID three ways: the unit
object (type mask 8), the party member record, and the record of the party member whose pet has the GUID.
With none of the three it hides the tooltip and returns. Otherwise it stores the GUID at +0x368 and
+0x36c, fills the health bar and adds the lines. Every path ends by showing the tooltip and returning 0.
The derivation is in the doc.
Callers 3
Callees 29
- __ftol crt
- ClntObjMgrSetObjectMirrorHandler objectlayer
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- IsPartyOrRaidMember ui
- GPartyInfo::GetRemoteStats ui
- GetPartyPetRecord ui
- CGTooltip::AddStudiedCreatureLines ui
- CGTooltip::AddSkinnableLine ui
- CGTooltip::FormatUnitOwner ui
- GameTooltipClear ui
- GameTooltipAddLine ui
- DBCache::NameCache::GetRecord dbcache
- GetUnitCreatureType objectlayer
- CGUnit_C::GetCreatureRank objectlayer
- CGUnit_C::UnitReaction objectlayer
- CGUnit_C::CanAssist_Unit objectlayer
- CGUnit_C::CanAttack objectlayer
- CGUnit_C::GetUnitName objectlayer
- CGUnit_C::GetPvPName objectlayer
- CGUnit_C::GetCreatureSubname objectlayer
- CGUnit_C::IsCivilian objectlayer
- CGUnit_C::IsRacialLeader objectlayer
- CGUnit_C::ShowsFactionInTooltip objectlayer
- SStrCopy storm
- SStrPrintf storm
- FormatAreaName terrain
- FrameScript_GetText ui
- CSimpleStatusBar::SetMinMaxValues ui
Calls and jumps by a bare address, from tables/calls.tsv.