blob: fd2c481ed8ce10a7acffb53f6eb53d0a0c9e0305 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef DISCORD_RICH_PRESENCE_H
#define DISCORD_RICH_PRESENCE_H
#include <string>
#include <discord-rpc.h>
#include <cstring>
#include <ctime>
#include <QDebug>
namespace AttorneyOnline {
class Discord
{
private:
const char* APPLICATION_ID = "474362730397302823";
std::string server_name, server_id;
int64_t timestamp;
public:
Discord();
~Discord();
void state_lobby();
void state_server(std::string name, std::string server_id);
void state_character(std::string name);
void state_spectate();
};
}
#endif // DISCORD_RICH_PRESENCE_H
|