1#ifndef ENGINE_DISCORD_H
2#define ENGINE_DISCORD_H
3
4#include "kernel.h"
5#include <base/types.h>
6
7class IDiscord : public IInterface
8{
9 MACRO_INTERFACE("discord")
10public:
11 virtual void Update() = 0;
12
13 virtual void ClearGameInfo() = 0;
14 virtual void SetGameInfo(const NETADDR &ServerAddr, const char *pMapName, bool AnnounceAddr) = 0;
15};
16
17IDiscord *CreateDiscord();
18
19#endif // ENGINE_DISCORD_H
20