mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
19 lines
370 B
C++
19 lines
370 B
C++
#ifndef ENGINE_DISCORD_H
|
|
#define ENGINE_DISCORD_H
|
|
|
|
#include "kernel.h"
|
|
|
|
class IDiscord : public IInterface
|
|
{
|
|
MACRO_INTERFACE("discord", 0)
|
|
public:
|
|
virtual void Update() = 0;
|
|
|
|
virtual void ClearGameInfo() = 0;
|
|
virtual void SetGameInfo(const NETADDR &ServerAddr, const char *pMapName, bool AnnounceAddr) = 0;
|
|
};
|
|
|
|
IDiscord *CreateDiscord();
|
|
|
|
#endif // ENGINE_DISCORD_H
|