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

Public Member Functions

 CSteam ()
 
 ~CSteam () override
 
void ParseConnectString (const char *pConnect)
 
void ReadLaunchCommandLine ()
 
void OnGameRichPresenceJoinRequested (GameRichPresenceJoinRequested_t *pEvent)
 
const char * GetPlayerName () override
 
const NETADDRGetConnectAddress () override
 
void ClearConnectAddress () override
 
void Update () override
 
void ClearGameInfo () override
 
void SetGameInfo (const NETADDR &ServerAddr, const char *pMapName, bool AnnounceAddr) override
 
virtual const char * GetPlayerName ()=0
 
virtual const NETADDRGetConnectAddress ()=0
 
virtual void ClearConnectAddress ()=0
 
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

HSteamPipe m_SteamPipe
 
ISteamApps * m_pSteamApps
 
ISteamFriends * m_pSteamFriends
 
char m_aPlayerName [16]
 
bool m_GotConnectAddr
 
NETADDR m_ConnectAddr
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ CSteam()

CSteam::CSteam ( )
inline

◆ ~CSteam()

CSteam::~CSteam ( )
inlineoverride

Member Function Documentation

◆ ClearConnectAddress()

void CSteam::ClearConnectAddress ( )
inlineoverridevirtual

Implements ISteam.

◆ ClearGameInfo()

void CSteam::ClearGameInfo ( )
inlineoverridevirtual

Implements ISteam.

◆ GetConnectAddress()

const NETADDR * CSteam::GetConnectAddress ( )
inlineoverridevirtual

Implements ISteam.

◆ GetPlayerName()

const char * CSteam::GetPlayerName ( )
inlineoverridevirtual

Implements ISteam.

◆ OnGameRichPresenceJoinRequested()

void CSteam::OnGameRichPresenceJoinRequested ( GameRichPresenceJoinRequested_t pEvent)
inline

◆ ParseConnectString()

void CSteam::ParseConnectString ( const char *  pConnect)
inline

◆ ReadLaunchCommandLine()

void CSteam::ReadLaunchCommandLine ( )
inline

◆ SetGameInfo()

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

Implements ISteam.

◆ Update()

void CSteam::Update ( )
inlineoverridevirtual

Implements ISteam.

Member Data Documentation

◆ m_aPlayerName

char CSteam::m_aPlayerName[16]
private

◆ m_ConnectAddr

NETADDR CSteam::m_ConnectAddr
private

◆ m_GotConnectAddr

bool CSteam::m_GotConnectAddr
private

◆ m_pSteamApps

ISteamApps* CSteam::m_pSteamApps
private

◆ m_pSteamFriends

ISteamFriends* CSteam::m_pSteamFriends
private

◆ m_SteamPipe

HSteamPipe CSteam::m_SteamPipe
private

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