ddnet/src/engine/discord.h
2021-01-31 10:17:21 +01:00

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