
This would work, were it not for some freak stack corruption caused by GCC not liking the Discord RPC library...
22 lines
357 B
C++
22 lines
357 B
C++
#ifndef DISCORD_RICH_PRESENCE_H
|
|
#define DISCORD_RICH_PRESENCE_H
|
|
|
|
#include <discord-rpc.h>
|
|
|
|
namespace AttorneyOnline {
|
|
|
|
class Discord
|
|
{
|
|
private:
|
|
const char* APPLICATION_ID = "399779271737868288";
|
|
public:
|
|
Discord();
|
|
~Discord();
|
|
|
|
void state_lobby();
|
|
void state_server(const char* name, const char* server_id);
|
|
};
|
|
|
|
}
|
|
#endif // DISCORD_RICH_PRESENCE_H
|