Sdk engine extension api documentation

SDK Engine extension API documentation

Namespace: dmEngine
Include: #include <dmsdk/engine/extension.h>
FUNCTIONS
dmConfigFile::HConfig GetConfigFile(dmExtension::AppParams* app_params) get the config file
dmWebServer::HServer GetWebServer(dmExtension::AppParams* app_params) get the web server handle
dmGameObject::HRegister GetGameObjectRegister(dmExtension::AppParams* app_params) get the game object register
dmHID::HContext GetHIDContext(dmExtension::AppParams* app_params) get the hid context

Functions

GetConfigFile

dmConfigFile::HConfig GetConfigFile(dmExtension::AppParams* app_params)

get the config file

PARAMETERS

dmExtension::AppParams* app_params The app params sent to the extension dmExtension::AppInitialize / dmExtension::AppInitialize

RETURNS

dmConfigFile::HConfig The game project config file

GetWebServer

dmWebServer::HServer GetWebServer(dmExtension::AppParams* app_params)

get the web server handle

PARAMETERS

dmExtension::AppParams* app_params The app params sent to the extension dmExtension::AppInitialize / dmExtension::AppInitialize

RETURNS

dmWebServer::HServer The web server handle

GetGameObjectRegister

dmGameObject::HRegister GetGameObjectRegister(dmExtension::AppParams* app_params)

get the game object register

PARAMETERS

dmExtension::AppParams* app_params The app params sent to the extension dmExtension::AppInitialize / dmExtension::AppInitialize

RETURNS

dmGameObject::HRegister The game object register

GetHIDContext

dmHID::HContext GetHIDContext(dmExtension::AppParams* app_params)

get the hid context

PARAMETERS

dmExtension::AppParams* app_params The app params sent to the extension dmExtension::AppInitialize / dmExtension::AppInitialize

RETURNS

dmHID::HContext The hid context