ddnet/src/engine/discord.h

19 lines
344 B
C
Raw Normal View History

#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