Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
AddonToKodiFuncTable_Game Struct Reference

Game callbacks. More...

#include <game.h>

Public Attributes

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

Detailed Description

Game callbacks.

Not to be used outside this header.

Member Data Documentation

◆ AddStreamData

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

◆ CloseGame

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

◆ CloseStream

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

◆ GetStreamBuffer

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

◆ HwGetProcAddress

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

◆ InputEvent

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

◆ kodiInstance

KODI_HANDLE AddonToKodiFuncTable_Game::kodiInstance

◆ OpenStream

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

◆ ReleaseStreamBuffer

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

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