
Due to a countless number of changes made to the core that were not fully understood, tested, or documented, it was decided to roll everything back to the last known stable version (2.6.2). Changes dropped include: - Witness needed - Shake - Frame SFX - Multiple custom objections - Multithreaded thumbnail generation - Looping - Various translation additions - "Mirror IC" - Color in IC log - An invocation of clang-format Next time, work together and split your big fork into independently testable feature branches.
35 lines
611 B
C++
35 lines
611 B
C++
#ifndef DISCORD_RICH_PRESENCE_H
|
|
#define DISCORD_RICH_PRESENCE_H
|
|
|
|
#include <cstring>
|
|
#include <ctime>
|
|
#include <QDebug>
|
|
#include <string>
|
|
#include <discord-rpc.h>
|
|
|
|
#include <cstring>
|
|
#include <ctime>
|
|
|
|
#include <QDebug>
|
|
|
|
namespace AttorneyOnline {
|
|
|
|
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(std::string name, std::string server_id);
|
|
void state_character(std::string name);
|
|
void state_spectate();
|
|
};
|
|
|
|
}
|
|
#endif // DISCORD_RICH_PRESENCE_H
|