DDraceNetwork Docs
CDiscord Class Reference
Inheritance diagram for CDiscord:
[legend]
Collaboration diagram for CDiscord:
[legend]

Public Member Functions

bool Init (FDiscordCreate pfnDiscordCreate)
 
void Update () override
 
void ClearGameInfo () override
 
void SetGameInfo (const NETADDR &ServerAddr, const char *pMapName, bool AnnounceAddr) override
 
virtual void Update ()=0
 
virtual void ClearGameInfo ()=0
 
virtual void SetGameInfo (const NETADDR &ServerAddr, const char *pMapName, bool AnnounceAddr)=0
 
- Public Member Functions inherited from IInterface
 IInterface ()
 
virtual void Shutdown ()
 
virtual ~IInterface ()
 

Private Attributes

IDiscordCore * m_pCore
 
IDiscordActivityEvents m_ActivityEvents
 
IDiscordActivityManager * m_pActivityManager
 

Additional Inherited Members

- Static Public Member Functions inherited from IDiscord
static const char * InterfaceName ()
 
- Protected Member Functions inherited from IInterface
IKernelKernel ()
 

Member Function Documentation

◆ ClearGameInfo()

void CDiscord::ClearGameInfo ( )
inlineoverridevirtual

Implements IDiscord.

◆ Init()

bool CDiscord::Init ( FDiscordCreate  pfnDiscordCreate)
inline

◆ SetGameInfo()

void CDiscord::SetGameInfo ( const NETADDR ServerAddr,
const char *  pMapName,
bool  AnnounceAddr 
)
inlineoverridevirtual

Implements IDiscord.

◆ Update()

void CDiscord::Update ( )
inlineoverridevirtual

Implements IDiscord.

Member Data Documentation

◆ m_ActivityEvents

IDiscordActivityEvents CDiscord::m_ActivityEvents
private

◆ m_pActivityManager

IDiscordActivityManager* CDiscord::m_pActivityManager
private

◆ m_pCore

IDiscordCore* CDiscord::m_pCore
private

The documentation for this class was generated from the following file: