Engine

SDK Engine extension API documentation

DM_DEBUG

define for debug builds

define for debug builds

EXAMPLES

Only enable code in debug builds

#if defined(DM_DEBUG)
    // ...
#endif


DM_RELEASE

define for release builds

define for release builds

EXAMPLES

Only enable code in release builds

#if defined(DM_RELEASE)
    // ...
#endif


DM_HEADLESS

define for headless builds

define for headless builds

EXAMPLES

Only enable code in headless builds

#if defined(DM_HEADLESS)
    // ...
#endif


GetConfigFile(app_params)

get the config file

get the config file

PARAMETERS

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

RETURN

config - The game project config file


GetWebServer(app_params)

get the web server handle

get the web server handle

PARAMETERS

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

RETURN

server - The web server handle


GetGameObjectRegister(app_params)

get the game object register

get the game object register

PARAMETERS

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

RETURN

register - The game object register


GetHIDContext(app_params)

get the hid context

get the hid context

PARAMETERS

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

RETURN

context - The hid context