Appearance
Setup
Loading the Dependencies
For every interface you want to use you need to instantiate it inside PluginLoad using sdk_init:: - for example:
cpp
extern "C" __declspec( dllexport ) bool PluginLoad( core_sdk* sdk, void** custom_sdk )
{
g_sdk = sdk;
if ( !sdk_init::orbwalker() )
return false;
g_sdk->log_console( "[+] ExampleModule loaded!" );
return true;
}extern "C" __declspec( dllexport ) bool PluginLoad( core_sdk* sdk, void** custom_sdk )
{
g_sdk = sdk;
if ( !sdk_init::orbwalker() )
return false;
g_sdk->log_console( "[+] ExampleModule loaded!" );
return true;
}This example instantiates the pointer sdk::orbwalker which can be found on this page
INFO
Every sdk_init:: function returns a bool - the function will return false if the dependency failed to load