Skip to main content

player_dialogs

Function player_dialogs 

Source
pub unsafe fn player_dialogs(player: *mut IPlayer) -> *mut IPlayerDialogData
Expand description

The player’s IPlayerDialogData, or null when the component providing it is not loaded.

Found by walking the player’s extension map for PLAYER_DIALOGS_UID — the virtual getExtension does not consult that map. IExtension is IPlayerDialogData’s first base, so the extension pointer is the interface pointer.

§Safety

player must be a live IPlayer.