![]() |
Blamite Game Engine - blam!
00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
|
#include "discord_rpc.h"
#include <discord/discord_register.h>
#include <string>
#include <iostream>
#include <time.h>
#include "components/settings/config/config.h"
#include "components/diagnostics/logger/logger.h"
#include "components/resources/engine_definitions/engine_definitions.h"
#include "version_data.h"
Functions | |
void | handleDiscordReady (const DiscordUser *user) |
Called when Discord is ready for use. More... | |
void | handleDiscordError (int error_code, const char *message) |
void | handleDiscordDisconnected (int error_code, const char *message) |
void | handleDiscordJoinGame (const char *join_secret) |
void | handleDiscordSpectateGame (const char *spectate_secret) |
void | handleDiscordJoinRequest (const DiscordUser *requesting_user) |
Variables | |
bool | use_discord_rpc = true |
Whether or not to use Discord Rich Presence. More... | |
static void handleDiscordDisconnected | ( | int | error_code, |
const char * | message | ||
) |
static void handleDiscordError | ( | int | error_code, |
const char * | message | ||
) |
static void handleDiscordJoinGame | ( | const char * | join_secret | ) |
static void handleDiscordJoinRequest | ( | const DiscordUser * | requesting_user | ) |
static void handleDiscordReady | ( | const DiscordUser * | user | ) |
Called when Discord is ready for use.
user | - |
static void handleDiscordSpectateGame | ( | const char * | spectate_secret | ) |
bool use_discord_rpc = true |
Whether or not to use Discord Rich Presence.