benilla-re systems structs docs

CGTooltip

struct · ui · 1120 bytes

Vtable
0x808f60
Meaning
Holds a GameTooltip: the frame, its owner and anchor, its lines and the fields a rebuild needs
Confidence
verified, proof one
Finding
ui/tooltipitem#fields-kept-for-a-rebuild

Finding: Fields kept for a rebuild in ui: The item tooltip builder

A fresh build copies p1, p3, p4, p5, p6, p8 and p9 into the tooltip, and 0x52e530 rebuilds from them when a cache answers. The instance fields at +0x3d0 hold what the method knows about the item that the record does not: enchantments, a timer, the creator, a random property, charges, a lock and durability. Methods that have no such data leave +0x440 zero, and the builder ignores the block.

fieldholds
+0x380, +0x398item GUID, entry
+0x3a0, +0x3a4p4, p5
+0x3a8, +0x3acp8, p9
+0x3d0 to +0x3e8seven enchantment ids
+0x408, +0x40cremaining cooldown in milliseconds, spell id of the proposed enchantment
+0x410, +0x418creator GUID, gift creator GUID
+0x420, +0x424fourth item-link number (read by no function), random property id
+0x428, +0x42ccharges (−1 when unset), wrapped flag
+0x430lock id
+0x434, +0x438maximum and current durability
+0x440p6

The derivation is in the doc.

Fields 35

offsetsizetypenamemeaningconfidencefinding
0x03144void *m_ownerHolds the frame the tooltip is anchored to, or nullverified, proof oneui/tooltip#anchoring-again
0x03184int32_tm_anchorModeHolds the anchor mode 0 to 8verified, proof oneui/tooltip#anchoring-again
0x031c4uint32_tm_lineCountHolds the number of lines in useverified, proof oneui/tooltipcontent#the-line-arrays
0x03204uint32_tm_lineLimitHolds the number of lines the arrays holdverified, proof oneui/tooltipcontent#the-line-arrays
0x03484void *m_statusBarHolds the health status bar attached to the tooltip, or nullverified, proof oneui/tooltipunit#the-health-bar
0x03688uint32_t[2]m_unitGuidHolds the GUID the unit builder last described, low then highverified, proof oneui/tooltipunit#who-the-builder-describes
0x03708uint32_t[2]m_objectGuidHolds the GUID of the game object the tooltip describes, low then highverified, proof oneui/tooltipobject#the-game-object-tooltip
0x03808uint32_t[2]m_itemGuidHolds the item GUID the item builder was given, low then highverified, proof oneui/tooltipitem#fields-kept-for-a-rebuild
0x03888uint32_t[2]m_corpseGuidHolds the GUID of the corpse the tooltip describes, low then highverified, proof oneui/tooltipobject#the-corpse-tooltip
0x03984uint32_tm_itemEntryHolds the item entry of the last item buildverified, proof oneui/tooltipitem#fields-kept-for-a-rebuild
0x039c4uint32_tm_spellIdHolds the spell id of the last spell buildverified, proof oneui/tooltipspell#the-builders-arguments
0x03a04uint32_tm_nameOnlyHolds the nameOnly argument of the last item buildverified, proof oneui/tooltipitem#fields-kept-for-a-rebuild
0x03a44uint32_tm_equippedHeaderHolds the equipped header argument of the last item buildverified, proof oneui/tooltipitem#fields-kept-for-a-rebuild
0x03a88uint32_t[2]m_setOwnerGuidHolds the GUID of the unit whose gear counts for an item set, low then highverified, proof oneui/tooltipitem#fields-kept-for-a-rebuild
0x03b04int32_tm_pendingItemsHolds the number of item cache answers a spell tooltip waits forverified, proof oneui/tooltipspell#rebuilding-after-a-cache-answers
0x03b44uint32_tm_fadingHolds 1 while the tooltip fades outverified, proof oneui/tooltip#fading-out
0x03bc4floatm_paddingHolds the extra plate width SetPadding stores, 0 from the constructorverified, proof oneui/tooltipcontent#padding
0x03c44floatm_offsetXHolds the owner offset in xverified, proof oneui/tooltip#anchoring-again
0x03c84floatm_offsetYHolds the owner offset in yverified, proof oneui/tooltip#anchoring-again
0x03d028uint32_t[7]m_enchantIdsHolds the seven enchantment ids an item without an object showsverified, proof oneui/tooltipenchant#enchantment-ids
0x04084uint32_tm_cooldownMsHolds the remaining cooldown of the item in millisecondsverified, proof oneui/tooltipitemreq#the-cooldown-line
0x040c4uint32_tm_proposedEnchantSpellHolds the spell id of the enchantment proposed in a tradeverified, proof oneui/tooltipenchant#proposed-enchantment
0x04108uint32_t[2]m_creatorGuidHolds the GUID of the item's creator, low then highverified, proof oneui/tooltipitemfoot#the-maker-line
0x04188uint32_t[2]m_giftCreatorGuidHolds the GUID of the player who wrapped the item, low then highverified, proof oneui/tooltipitemfoot#the-maker-line
0x04204uint32_tm_linkNumber4Holds the fourth item link number, which nothing readsverified, proof oneui/tooltipitem#fields-kept-for-a-rebuild
0x04244int32_tm_randomPropertyHolds the random property id of the itemverified, proof oneui/tooltipitemhead#name-and-header
0x04284int32_tm_chargesHolds the item's charges, −1 when unsetverified, proof oneui/tooltipitemreq#spell-lines
0x042c4uint32_tm_wrappedHolds 1 for a wrapped itemverified, proof oneui/tooltipitem#wrapped-gifts
0x04304uint32_tm_lockIdHolds the lock id of the itemverified, proof oneui/tooltipitemhead#the-lock-lines
0x04344uint32_tm_maxDurabilityHolds the maximum durability of the item, −1 when unsetverified, proof oneui/tooltipenchant#durability
0x04384uint32_tm_durabilityHolds the current durability of the itemverified, proof oneui/tooltipenchant#durability
0x04404uint32_tm_fieldsValidHolds 1 when the item fields from 0x3d0 are validverified, proof oneui/tooltipitem#fields-kept-for-a-rebuild
0x04444uint32_tm_scriptDefaultAnchorHolds the OnTooltipSetDefaultAnchor script slotverified, proof oneui/tooltipobject#the-script-slots
0x044c4uint32_tm_scriptClearedHolds the OnTooltipCleared script slotverified, proof oneui/tooltipobject#the-script-slots
0x04544uint32_tm_scriptAddMoneyHolds the OnTooltipAddMoney script slotverified, proof oneui/tooltipobject#the-script-slots