diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2018-01-08 13:33:39 -0600 |
|---|---|---|
| committer | oldmud0 <oldmud0@users.noreply.github.com> | 2018-01-08 13:33:39 -0600 |
| commit | 8a91dea6ce2fa88cdc720759f17d3ac4cf05070b (patch) | |
| tree | 37a83af49a28ab5e9d12bc4dfe8836ac4d31ebd9 /discord_rich_presence.h | |
| parent | dee8de29da7b72b5a1b2566311402933bacf007f (diff) | |
Add spectate state; add "playing as character" state
Diffstat (limited to 'discord_rich_presence.h')
| -rw-r--r-- | discord_rich_presence.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 <string> #include <discord-rpc.h> 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(); }; } |
