mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Send Rich Presence to Discord
If Rich Presence and Discord Presence are enabled in Achievement Settings, the string generated by rcheevos as the player's current Rich Presence will be sent to the Status field in the Discord Presence object. This will be updated whenever Rich Presence updates.
This commit is contained in:
@ -39,7 +39,8 @@ bool UpdateDiscordPresenceRaw(const std::string& details = {}, const std::string
|
||||
const int64_t start_timestamp = 0, const int64_t end_timestamp = 0,
|
||||
const int party_size = 0, const int party_max = 0);
|
||||
void UpdateDiscordPresence(int party_size = 0, SecretType type = SecretType::Empty,
|
||||
const std::string& secret = {}, const std::string& current_game = {});
|
||||
const std::string& secret = {}, const std::string& current_game = {},
|
||||
const bool reset_timer = false);
|
||||
std::string CreateSecretFromIPAddress(const std::string& ip_address, int port);
|
||||
void Shutdown();
|
||||
void SetDiscordPresenceEnabled(bool enabled);
|
||||
|
Reference in New Issue
Block a user