Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
AddonToKodiFuncTable_Game Struct Reference

#include <kodi_game_types.h>

Public Attributes

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

Detailed Description

Structure to transfer the methods from kodi_game_dll.h to Kodi

Member Data Documentation

§ AddStreamData

void(* AddonToKodiFuncTable_Game::AddStreamData) (void *, void *, const game_stream_packet *)

§ CloseGame

void(* AddonToKodiFuncTable_Game::CloseGame) (void *kodiInstance)

§ CloseStream

void(* AddonToKodiFuncTable_Game::CloseStream) (void *, void *)

§ GetStreamBuffer

bool(* AddonToKodiFuncTable_Game::GetStreamBuffer) (void *, void *, unsigned int, unsigned int, game_stream_buffer *)

§ HwGetProcAddress

game_proc_address_t(* AddonToKodiFuncTable_Game::HwGetProcAddress) (void *kodiInstance, const char *symbol)

§ InputEvent

bool(* AddonToKodiFuncTable_Game::InputEvent) (void *kodiInstance, const game_input_event *event)

§ kodiInstance

KODI_HANDLE AddonToKodiFuncTable_Game::kodiInstance

§ OpenStream

void*(* AddonToKodiFuncTable_Game::OpenStream) (void *, const game_stream_properties *)

§ ReleaseStreamBuffer

void(* AddonToKodiFuncTable_Game::ReleaseStreamBuffer) (void *, void *, game_stream_buffer *)

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