Open Game Engine 2D API
 All Functions Variables
Functions
External

Functions

bool OGE_LibraryExists (string sLibraryName)
 Check if an external library exists or not.
bool OGE_ServiceExists (string sLibraryName, string sServiceName)
 Check if an external function exists or not.
int OGE_CallService (string sLibraryName, string sServiceName, int iParam)
 Call external function.

Function Documentation

int OGE_CallService ( string  sLibraryName,
string  sServiceName,
int  iParam 
)

Call external function.

Parameters:
[in]sLibraryNameThe external library name
[in]sServiceNameThe external function name
[in]iParamThe parameter of the external function
Returns:
Returns the result that the external function returns
bool OGE_LibraryExists ( string  sLibraryName)

Check if an external library exists or not.

Parameters:
[in]sLibraryNameThe name of the external library
Returns:
Returns true if the library exists
bool OGE_ServiceExists ( string  sLibraryName,
string  sServiceName 
)

Check if an external function exists or not.

Parameters:
[in]sLibraryNameThe name of the external library
[in]sServiceNameThe name of the external function
Returns: