DDraceNetwork Docs
discord.h
Go to the documentation of this file.
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
18
19#endif // ENGINE_DISCORD_H
Definition: discord.h:8
virtual void Update()=0
virtual void SetGameInfo(const NETADDR &ServerAddr, const char *pMapName, bool AnnounceAddr)=0
virtual void ClearGameInfo()=0
Definition: kernel.h:10
IDiscord * CreateDiscord()
Definition: discord.cpp:114
#define MACRO_INTERFACE(Name)
Definition: kernel.h:25
Definition: types.h:67