aboutsummaryrefslogtreecommitdiff
path: root/src/discord_rich_presence.h
blob: 2945f29236a52a32176934b35b850820849599bf (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
#pragma once

#include <QCoreApplication>
#include <QDebug>

#include <cstring>
#include <ctime>
#include <string>

namespace AttorneyOnline
{
class Discord
{
  Q_DECLARE_TR_FUNCTIONS(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();
};

} // namespace AttorneyOnline