CGMinimapFrame
struct · ui · 836 bytes
- Vtable
0x807a80- Meaning
- Holds the Minimap frame: a CSimpleFrame with its engine children and the fed facing
- Confidence
- verified, proof one
- Finding
- ui/minimap#the-player-arrow-each-frame
Finding: The player arrow each frame in ui: Minimap, the widget
CGMinimapFrame's frame update (0x4eb040, slot 14) runs the base update, then two steps. When the
player arrow child at +0x338 holds a model that has loaded, 0x4ee100 places the arrow at half its
own width and height: its position +0x390 becomes (w·0.5, h·0.5, 0), from the child's layout
slots 7 (width) and 8 (height), each product rounded to a float. Then, when the camera's target GUID
(+0x88 of the active camera) names an object, 0x4eb8e0 takes that object's facing, slot 6, as a
float: it stores it in the minimap's +0x33c (−10000.0 from the constructor) and in the arrow's
facing +0x39c, unchanged. With no such object both keep their last value.
The derivation is in the doc.
Fields 3
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 788 | CSimpleFrame | m_frame | Holds the frame part | verified, proof one | ui/minimap#the-player-arrow-each-frame |
0x0338 | 4 | CSimpleModel * | m_playerArrow | Points to the player arrow, the ninth engine child, a Model frame | verified, proof one | ui/minimap#the-player-arrow-each-frame |
0x033c | 4 | float | m_playerFacing | Holds the facing last fed to the player arrow, -10000.0 from the constructor | verified, proof one | ui/minimap#the-player-arrow-each-frame |