Kodi Development 22.0
for Binary and Script based Add-Ons
 
Loading...
Searching...
No Matches
AddonToKodiFuncTable_Game

Game callbacks. More...

Detailed Description

Game callbacks.

Not to be used outside this header.

Public Attributes

void(* AddStreamData )(KODI_HANDLE, KODI_GAME_STREAM_HANDLE, const struct game_stream_packet *)
 
void(* CloseGame )(KODI_HANDLE kodiInstance)
 
void(* CloseStream )(KODI_HANDLE, KODI_GAME_STREAM_HANDLE)
 
bool(* GetStreamBuffer )(KODI_HANDLE, KODI_GAME_STREAM_HANDLE, unsigned int, unsigned int, struct game_stream_buffer *)
 
game_proc_address_t(* HwGetProcAddress )(KODI_HANDLE kodiInstance, const char *symbol)
 
bool(* InputEvent )(KODI_HANDLE kodiInstance, const struct game_input_event *event)
 
KODI_HANDLE kodiInstance
 
KODI_GAME_STREAM_HANDLE(* OpenStream )(KODI_HANDLE, const struct game_stream_properties *)
 
void(* ReleaseStreamBuffer )(KODI_HANDLE, KODI_GAME_STREAM_HANDLE, struct game_stream_buffer *)
 

Member Data Documentation

◆ kodiInstance

KODI_HANDLE kodiInstance

◆ CloseGame

void(* CloseGame) (KODI_HANDLE kodiInstance)

◆ OpenStream

KODI_GAME_STREAM_HANDLE(* OpenStream) (KODI_HANDLE, const struct game_stream_properties *)

◆ GetStreamBuffer

bool(* GetStreamBuffer) (KODI_HANDLE, KODI_GAME_STREAM_HANDLE, unsigned int, unsigned int, struct game_stream_buffer *)

◆ AddStreamData

void(* AddStreamData) (KODI_HANDLE, KODI_GAME_STREAM_HANDLE, const struct game_stream_packet *)

◆ ReleaseStreamBuffer

void(* ReleaseStreamBuffer) (KODI_HANDLE, KODI_GAME_STREAM_HANDLE, struct game_stream_buffer *)

◆ CloseStream

void(* CloseStream) (KODI_HANDLE, KODI_GAME_STREAM_HANDLE)

◆ HwGetProcAddress

game_proc_address_t(* HwGetProcAddress) (KODI_HANDLE kodiInstance, const char *symbol)

◆ InputEvent

bool(* InputEvent) (KODI_HANDLE kodiInstance, const struct game_input_event *event)

The documentation for this struct was generated from the following file: