mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 03:58:18 +00:00
19 lines
344 B
C
19 lines
344 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(NETADDR ServerAddr, const char *pMapName) = 0;
|
||
|
};
|
||
|
|
||
|
IDiscord *CreateDiscord();
|
||
|
|
||
|
#endif // ENGINE_DISCORD_H
|