From 8a91dea6ce2fa88cdc720759f17d3ac4cf05070b Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Mon, 8 Jan 2018 13:33:39 -0600 Subject: Add spectate state; add "playing as character" state --- discord_rich_presence.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'discord_rich_presence.h') diff --git a/discord_rich_presence.h b/discord_rich_presence.h index 087fe8df..3c9f2bda 100644 --- a/discord_rich_presence.h +++ b/discord_rich_presence.h @@ -1,6 +1,7 @@ #ifndef DISCORD_RICH_PRESENCE_H #define DISCORD_RICH_PRESENCE_H +#include #include namespace AttorneyOnline { @@ -9,12 +10,16 @@ class Discord { private: const char* APPLICATION_ID = "399779271737868288"; + std::string server_name, server_id; + int64_t timestamp; public: Discord(); ~Discord(); void state_lobby(); - void state_server(const char* name, const char* server_id); + void state_server(std::string name, std::string server_id); + void state_character(std::string name); + void state_spectate(); }; } -- cgit