Skip to content

Notification

Using Notification SDK

WARNING

Before using the SDK you need to instantiate it using sdk_init::notification() - example provided on this page

Displaying Notification

void sdk::notification->add( const std::string& title, const std::string& content, const color& clr = 0xfff0e6d2 )

Example
cpp
extern "C" __declspec( dllexport ) bool PluginLoad( core_sdk* sdk, void** custom_sdk )
{
    g_sdk = sdk;
    
    if ( !sdk_init::notification() )
        return false;

    sdk::notification->add( "Test title", "Test content" );

    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::notification() )
        return false;

    sdk::notification->add( "Test title", "Test content" );

    g_sdk->log_console( "[+] ExampleModule loaded!" );

    return true;
}