CGWorldFrame::ClassifyHoveredObject
function · ui · orchestration
- Address
0x4828d0· 309 bytes, up to0x482a04- Signature
void __thiscall (CGWorldFrame *this, void *pick, int x, int y)- Meaning
- Sets the cursor mode for the picked object and publishes it as the mouseover
- Confidence
- verified, proof one
- Finding
- ui/worldcursor#classifying-a-hovered-object
Finding: Classifying a hovered object in ui: the pointer picture
0x4828d0 runs for a picked object. While mouselook is on (bit 1 of the frame's word at +0x38c) it clears the
mouseover and shows nothing. While a spell awaits a target it asks 0x6e6460 and shows Cast (2) or UnableCast
(22). Otherwise it needs an active player and an object whose mouseover virtual (+0x54) answers nonzero, else
it clears the mouseover and shows the base mode. It then picks by the object's type mask: exactly an item (3)
shows Pickup (8); a unit (9) or player (0x19) goes to the unit classifier; a game object (0x21) and a corpse (0x81)
to theirs; any other type, containers included, shows the base mode. It ends by publishing the mouseover.
The derivation is in the doc.
Callers 1
Callees 10
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGWorldFrame::PublishMouseover ui
- CGWorldFrame::ClassifyHoveredUnit ui
- CGWorldFrame::ClassifyHoveredGameObject ui
- CGWorldFrame::ClassifyHoveredCorpse ui
- SetCursorMode ui
- ShowBaseCursor ui
- IsSpellTargeting spell
- SpellCanTargetObject spell
Calls and jumps by a bare address, from tables/calls.tsv.