benilla-re systems structs docs

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

offsetsizetypenamemeaningconfidencefinding
0x0000788CSimpleFramem_frameHolds the frame partverified, proof oneui/minimap#the-player-arrow-each-frame
0x03384CSimpleModel *m_playerArrowPoints to the player arrow, the ninth engine child, a Model frameverified, proof oneui/minimap#the-player-arrow-each-frame
0x033c4floatm_playerFacingHolds the facing last fed to the player arrow, -10000.0 from the constructorverified, proof oneui/minimap#the-player-arrow-each-frame