DDraceNetwork Docs
IClient Class Referenceabstract

#include <client.h>

Inheritance diagram for IClient:
[legend]
Collaboration diagram for IClient:
[legend]

Classes

class  CSnapItem
 

Public Types

enum  EClientState {
  STATE_OFFLINE = 0 , STATE_CONNECTING , STATE_LOADING , STATE_ONLINE ,
  STATE_DEMOPLAYBACK , STATE_QUITTING , STATE_RESTARTING
}
 
enum  ELoadingStateDetail {
  LOADING_STATE_DETAIL_INITIAL , LOADING_STATE_DETAIL_LOADING_MAP , LOADING_STATE_DETAIL_LOADING_DEMO , LOADING_STATE_DETAIL_SENDING_READY ,
  LOADING_STATE_DETAIL_GETTING_READY
}
 
enum  ELoadingCallbackDetail { LOADING_CALLBACK_DETAIL_MAP , LOADING_CALLBACK_DETAIL_DEMO }
 
enum  { CONN_MAIN = 0 , CONN_DUMMY , CONN_CONTACT , NUM_CONNS }
 
enum  {
  CONNECTIVITY_UNKNOWN , CONNECTIVITY_CHECKING , CONNECTIVITY_UNREACHABLE , CONNECTIVITY_REACHABLE ,
  CONNECTIVITY_DIFFERING_UDP_TCP_IP_ADDRESSES
}
 
enum  { SNAP_CURRENT = 0 , SNAP_PREV = 1 , NUM_SNAPSHOT_TYPES = 2 }
 
enum  EMessageBoxType { MESSAGE_BOX_TYPE_ERROR , MESSAGE_BOX_TYPE_WARNING , MESSAGE_BOX_TYPE_INFO }
 
typedef std::function< void(ELoadingCallbackDetail Detail)> TLoadingCallback
 

Public Member Functions

EClientState State () const
 
ELoadingStateDetail LoadingStateDetail () const
 
int64_t StateStartTime () const
 
void SetLoadingStateDetail (ELoadingStateDetail LoadingStateDetail)
 
void SetLoadingCallback (TLoadingCallback &&Func)
 
int PrevGameTick (int Conn) const
 
int GameTick (int Conn) const
 
int PredGameTick (int Conn) const
 
float IntraGameTick (int Conn) const
 
float PredIntraGameTick (int Conn) const
 
float IntraGameTickSincePrev (int Conn) const
 
float GameTickTime (int Conn) const
 
int GameTickSpeed () const
 
float RenderFrameTime () const
 
float LocalTime () const
 
float GlobalTime () const
 
float FrameTimeAvg () const
 
virtual void Connect (const char *pAddress, const char *pPassword=nullptr)=0
 
virtual void Disconnect ()=0
 
virtual void DummyDisconnect (const char *pReason)=0
 
virtual void DummyConnect ()=0
 
virtual bool DummyConnected () const =0
 
virtual bool DummyConnecting () const =0
 
virtual bool DummyConnectingDelayed () const =0
 
virtual bool DummyAllowed () const =0
 
virtual void Restart ()=0
 
virtual void Quit ()=0
 
virtual const char * DemoPlayer_Play (const char *pFilename, int StorageType)=0
 
virtual const char * DemoPlayer_Render (const char *pFilename, int StorageType, const char *pVideoName, int SpeedIndex, bool StartPaused=false)=0
 
virtual void DemoRecorder_Start (const char *pFilename, bool WithTimestamp, int Recorder, bool Verbose=false)=0
 
virtual void DemoRecorder_HandleAutoStart ()=0
 
virtual void DemoRecorder_UpdateReplayRecorder ()=0
 
virtual class IDemoRecorderDemoRecorder (int Recorder)=0
 
virtual void AutoScreenshot_Start ()=0
 
virtual void AutoStatScreenshot_Start ()=0
 
virtual void AutoCSV_Start ()=0
 
virtual void ServerBrowserUpdate ()=0
 
virtual void SwitchWindowScreen (int Index)=0
 
virtual void SetWindowParams (int FullscreenMode, bool IsBorderless)=0
 
virtual void ToggleWindowVSync ()=0
 
virtual void Notify (const char *pTitle, const char *pMessage)=0
 
virtual void OnWindowResize ()=0
 
virtual void UpdateAndSwap ()=0
 
virtual void EnterGame (int Conn)=0
 
virtual const NETADDRServerAddress () const =0
 
virtual int ConnectNetTypes () const =0
 
virtual const char * ConnectAddressString () const =0
 
virtual const char * MapDownloadName () const =0
 
virtual int MapDownloadAmount () const =0
 
virtual int MapDownloadTotalsize () const =0
 
virtual int * GetInput (int Tick, int IsDummy=0) const =0
 
virtual void RconAuth (const char *pUsername, const char *pPassword, bool Dummy)=0
 
virtual bool RconAuthed () const =0
 
virtual bool UseTempRconCommands () const =0
 
virtual void Rcon (const char *pLine)=0
 
virtual bool ReceivingRconCommands () const =0
 
virtual float GotRconCommandsPercentage () const =0
 
virtual void GetServerInfo (class CServerInfo *pServerInfo) const =0
 
virtual bool ServerCapAnyPlayerFlag () const =0
 
virtual int GetPredictionTime ()=0
 
virtual int SnapNumItems (int SnapId) const =0
 
virtual const void * SnapFindItem (int SnapId, int Type, int Id) const =0
 
virtual CSnapItem SnapGetItem (int SnapId, int Index) const =0
 
virtual void SnapSetStaticsize (int ItemType, int Size)=0
 
virtual void SnapSetStaticsize7 (int ItemType, int Size)=0
 
virtual int SendMsg (int Conn, CMsgPacker *pMsg, int Flags)=0
 
virtual int SendMsgActive (CMsgPacker *pMsg, int Flags)=0
 
template<class T >
int SendPackMsgActive (T *pMsg, int Flags, bool NoTranslate=false)
 
template<class T >
int SendPackMsg (int Conn, T *pMsg, int Flags, bool NoTranslate=false)
 
virtual const char * PlayerName () const =0
 
virtual const char * DummyName ()=0
 
virtual const char * ErrorString () const =0
 
virtual const char * LatestVersion () const =0
 
virtual bool ConnectionProblems () const =0
 
virtual IGraphics::CTextureHandle GetDebugFont () const =0
 
virtual const char * GetCurrentMap () const =0
 
virtual const char * GetCurrentMapPath () const =0
 
virtual SHA256_DIGEST GetCurrentMapSha256 () const =0
 
virtual unsigned GetCurrentMapCrc () const =0
 
const char * News () const
 
int Points () const
 
int64_t ReconnectTime () const
 
void SetReconnectTime (int64_t ReconnectTime)
 
virtual bool IsSixup () const =0
 
virtual void RaceRecord_Start (const char *pFilename)=0
 
virtual void RaceRecord_Stop ()=0
 
virtual bool RaceRecord_IsRecording ()=0
 
virtual void DemoSliceBegin ()=0
 
virtual void DemoSliceEnd ()=0
 
virtual void DemoSlice (const char *pDstPath, CLIENTFUNC_FILTER pfnFilter, void *pUser)=0
 
virtual void RequestDDNetInfo ()=0
 
virtual bool EditorHasUnsavedData () const =0
 
virtual void GenerateTimeoutSeed ()=0
 
virtual IFriendsFoes ()=0
 
virtual void GetSmoothTick (int *pSmoothTick, float *pSmoothIntraTick, float MixAmount)=0
 
virtual void AddWarning (const SWarning &Warning)=0
 
virtual SWarningGetCurWarning ()=0
 
virtual CChecksumDataChecksumData ()=0
 
virtual int UdpConnectivity (int NetType)=0
 
virtual bool ViewLink (const char *pLink)=0
 
virtual bool ViewFile (const char *pFilename)=0
 
virtual void ShowMessageBox (const char *pTitle, const char *pMessage, EMessageBoxType Type=MESSAGE_BOX_TYPE_ERROR)=0
 
virtual void GetGpuInfoString (char(&aGpuInfo)[256])=0
 
- Public Member Functions inherited from IInterface
 IInterface ()
 
virtual void Shutdown ()
 
virtual ~IInterface ()
 

Static Public Member Functions

static const char * InterfaceName ()
 

Public Attributes

CTranslationContext m_TranslationContext
 

Protected Attributes

EClientState m_State = IClient::STATE_OFFLINE
 
ELoadingStateDetail m_LoadingStateDetail = LOADING_STATE_DETAIL_INITIAL
 
int64_t m_StateStartTime
 
int m_aPrevGameTick [NUM_DUMMIES] = {0, 0}
 
int m_aCurGameTick [NUM_DUMMIES] = {0, 0}
 
float m_aGameIntraTick [NUM_DUMMIES] = {0.0f, 0.0f}
 
float m_aGameTickTime [NUM_DUMMIES] = {0.0f, 0.0f}
 
float m_aGameIntraTickSincePrev [NUM_DUMMIES] = {0.0f, 0.0f}
 
int m_aPredTick [NUM_DUMMIES] = {0, 0}
 
float m_aPredIntraTick [NUM_DUMMIES] = {0.0f, 0.0f}
 
float m_LocalTime = 0.0f
 
float m_GlobalTime = 0.0f
 
float m_RenderFrameTime = 0.0001f
 
float m_FrameTimeAvg = 0.0001f
 
TLoadingCallback m_LoadingCallback = nullptr
 
char m_aNews [3000] = ""
 
int m_Points = -1
 
int64_t m_ReconnectTime = 0
 

Additional Inherited Members

- Protected Member Functions inherited from IInterface
IKernelKernel ()
 

Member Typedef Documentation

◆ TLoadingCallback

typedef std::function<void(ELoadingCallbackDetail Detail)> IClient::TLoadingCallback

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
CONN_MAIN 
CONN_DUMMY 
CONN_CONTACT 
NUM_CONNS 

◆ anonymous enum

anonymous enum
Enumerator
CONNECTIVITY_UNKNOWN 
CONNECTIVITY_CHECKING 
CONNECTIVITY_UNREACHABLE 
CONNECTIVITY_REACHABLE 
CONNECTIVITY_DIFFERING_UDP_TCP_IP_ADDRESSES 

◆ anonymous enum

anonymous enum
Enumerator
SNAP_CURRENT 
SNAP_PREV 
NUM_SNAPSHOT_TYPES 

◆ EClientState

Enumerator
STATE_OFFLINE 
STATE_CONNECTING 
STATE_LOADING 
STATE_ONLINE 
STATE_DEMOPLAYBACK 
STATE_QUITTING 
STATE_RESTARTING 

◆ ELoadingCallbackDetail

Enumerator
LOADING_CALLBACK_DETAIL_MAP 
LOADING_CALLBACK_DETAIL_DEMO 

◆ ELoadingStateDetail

More precise state for

See also
STATE_LOADING Sets what is actually happening in the client right now
Enumerator
LOADING_STATE_DETAIL_INITIAL 
LOADING_STATE_DETAIL_LOADING_MAP 
LOADING_STATE_DETAIL_LOADING_DEMO 
LOADING_STATE_DETAIL_SENDING_READY 
LOADING_STATE_DETAIL_GETTING_READY 

◆ EMessageBoxType

Enumerator
MESSAGE_BOX_TYPE_ERROR 
MESSAGE_BOX_TYPE_WARNING 
MESSAGE_BOX_TYPE_INFO 

Member Function Documentation

◆ AddWarning()

virtual void IClient::AddWarning ( const SWarning Warning)
pure virtual

Implemented in CClient.

◆ AutoCSV_Start()

virtual void IClient::AutoCSV_Start ( )
pure virtual

Implemented in CClient.

◆ AutoScreenshot_Start()

virtual void IClient::AutoScreenshot_Start ( )
pure virtual

Implemented in CClient.

◆ AutoStatScreenshot_Start()

virtual void IClient::AutoStatScreenshot_Start ( )
pure virtual

Implemented in CClient.

◆ ChecksumData()

virtual CChecksumData * IClient::ChecksumData ( )
pure virtual

Implemented in CClient.

◆ Connect()

virtual void IClient::Connect ( const char *  pAddress,
const char *  pPassword = nullptr 
)
pure virtual

Implemented in CClient.

◆ ConnectAddressString()

virtual const char * IClient::ConnectAddressString ( ) const
pure virtual

Implemented in CClient.

◆ ConnectionProblems()

virtual bool IClient::ConnectionProblems ( ) const
pure virtual

Implemented in CClient.

◆ ConnectNetTypes()

virtual int IClient::ConnectNetTypes ( ) const
pure virtual

Implemented in CClient.

◆ DemoPlayer_Play()

virtual const char * IClient::DemoPlayer_Play ( const char *  pFilename,
int  StorageType 
)
pure virtual

Implemented in CClient.

◆ DemoPlayer_Render()

virtual const char * IClient::DemoPlayer_Render ( const char *  pFilename,
int  StorageType,
const char *  pVideoName,
int  SpeedIndex,
bool  StartPaused = false 
)
pure virtual

Implemented in CClient.

◆ DemoRecorder()

virtual class IDemoRecorder * IClient::DemoRecorder ( int  Recorder)
pure virtual

Implemented in CClient.

◆ DemoRecorder_HandleAutoStart()

virtual void IClient::DemoRecorder_HandleAutoStart ( )
pure virtual

Implemented in CClient.

◆ DemoRecorder_Start()

virtual void IClient::DemoRecorder_Start ( const char *  pFilename,
bool  WithTimestamp,
int  Recorder,
bool  Verbose = false 
)
pure virtual

Implemented in CClient.

◆ DemoRecorder_UpdateReplayRecorder()

virtual void IClient::DemoRecorder_UpdateReplayRecorder ( )
pure virtual

Implemented in CClient.

◆ DemoSlice()

virtual void IClient::DemoSlice ( const char *  pDstPath,
CLIENTFUNC_FILTER  pfnFilter,
void *  pUser 
)
pure virtual

Implemented in CClient.

◆ DemoSliceBegin()

virtual void IClient::DemoSliceBegin ( )
pure virtual

Implemented in CClient.

◆ DemoSliceEnd()

virtual void IClient::DemoSliceEnd ( )
pure virtual

Implemented in CClient.

◆ Disconnect()

virtual void IClient::Disconnect ( )
pure virtual

Implemented in CClient.

◆ DummyAllowed()

virtual bool IClient::DummyAllowed ( ) const
pure virtual

Implemented in CClient.

◆ DummyConnect()

virtual void IClient::DummyConnect ( )
pure virtual

Implemented in CClient.

◆ DummyConnected()

virtual bool IClient::DummyConnected ( ) const
pure virtual

Implemented in CClient.

◆ DummyConnecting()

virtual bool IClient::DummyConnecting ( ) const
pure virtual

Implemented in CClient.

◆ DummyConnectingDelayed()

virtual bool IClient::DummyConnectingDelayed ( ) const
pure virtual

Implemented in CClient.

◆ DummyDisconnect()

virtual void IClient::DummyDisconnect ( const char *  pReason)
pure virtual

Implemented in CClient.

◆ DummyName()

virtual const char * IClient::DummyName ( )
pure virtual

Implemented in CClient.

◆ EditorHasUnsavedData()

virtual bool IClient::EditorHasUnsavedData ( ) const
pure virtual

Implemented in CClient.

◆ EnterGame()

virtual void IClient::EnterGame ( int  Conn)
pure virtual

Implemented in CClient.

◆ ErrorString()

virtual const char * IClient::ErrorString ( ) const
pure virtual

Implemented in CClient.

◆ Foes()

virtual IFriends * IClient::Foes ( )
pure virtual

Implemented in CClient.

◆ FrameTimeAvg()

float IClient::FrameTimeAvg ( ) const
inline

◆ GameTick()

int IClient::GameTick ( int  Conn) const
inline

◆ GameTickSpeed()

int IClient::GameTickSpeed ( ) const
inline

◆ GameTickTime()

float IClient::GameTickTime ( int  Conn) const
inline

◆ GenerateTimeoutSeed()

virtual void IClient::GenerateTimeoutSeed ( )
pure virtual

Implemented in CClient.

◆ GetCurrentMap()

virtual const char * IClient::GetCurrentMap ( ) const
pure virtual

Implemented in CClient.

◆ GetCurrentMapCrc()

virtual unsigned IClient::GetCurrentMapCrc ( ) const
pure virtual

Implemented in CClient.

◆ GetCurrentMapPath()

virtual const char * IClient::GetCurrentMapPath ( ) const
pure virtual

Implemented in CClient.

◆ GetCurrentMapSha256()

virtual SHA256_DIGEST IClient::GetCurrentMapSha256 ( ) const
pure virtual

Implemented in CClient.

◆ GetCurWarning()

virtual SWarning * IClient::GetCurWarning ( )
pure virtual

Implemented in CClient.

◆ GetDebugFont()

virtual IGraphics::CTextureHandle IClient::GetDebugFont ( ) const
pure virtual

Implemented in CClient.

◆ GetGpuInfoString()

virtual void IClient::GetGpuInfoString ( char(&)  aGpuInfo[256])
pure virtual

Implemented in CClient.

◆ GetInput()

virtual int * IClient::GetInput ( int  Tick,
int  IsDummy = 0 
) const
pure virtual

Implemented in CClient.

◆ GetPredictionTime()

virtual int IClient::GetPredictionTime ( )
pure virtual

Implemented in CClient.

◆ GetServerInfo()

virtual void IClient::GetServerInfo ( class CServerInfo pServerInfo) const
pure virtual

Implemented in CClient.

◆ GetSmoothTick()

virtual void IClient::GetSmoothTick ( int *  pSmoothTick,
float *  pSmoothIntraTick,
float  MixAmount 
)
pure virtual

Implemented in CClient.

◆ GlobalTime()

float IClient::GlobalTime ( ) const
inline

◆ GotRconCommandsPercentage()

virtual float IClient::GotRconCommandsPercentage ( ) const
pure virtual

Implemented in CClient.

◆ InterfaceName()

static const char * IClient::InterfaceName ( )
inlinestatic

◆ IntraGameTick()

float IClient::IntraGameTick ( int  Conn) const
inline

◆ IntraGameTickSincePrev()

float IClient::IntraGameTickSincePrev ( int  Conn) const
inline

◆ IsSixup()

virtual bool IClient::IsSixup ( ) const
pure virtual

Implemented in CClient.

◆ LatestVersion()

virtual const char * IClient::LatestVersion ( ) const
pure virtual

Implemented in CClient.

◆ LoadingStateDetail()

ELoadingStateDetail IClient::LoadingStateDetail ( ) const
inline

◆ LocalTime()

float IClient::LocalTime ( ) const
inline

◆ MapDownloadAmount()

virtual int IClient::MapDownloadAmount ( ) const
pure virtual

Implemented in CClient.

◆ MapDownloadName()

virtual const char * IClient::MapDownloadName ( ) const
pure virtual

Implemented in CClient.

◆ MapDownloadTotalsize()

virtual int IClient::MapDownloadTotalsize ( ) const
pure virtual

Implemented in CClient.

◆ News()

const char * IClient::News ( ) const
inline

◆ Notify()

virtual void IClient::Notify ( const char *  pTitle,
const char *  pMessage 
)
pure virtual

Implemented in CClient.

◆ OnWindowResize()

virtual void IClient::OnWindowResize ( )
pure virtual

Implemented in CClient.

◆ PlayerName()

virtual const char * IClient::PlayerName ( ) const
pure virtual

Implemented in CClient.

◆ Points()

int IClient::Points ( ) const
inline

◆ PredGameTick()

int IClient::PredGameTick ( int  Conn) const
inline

◆ PredIntraGameTick()

float IClient::PredIntraGameTick ( int  Conn) const
inline

◆ PrevGameTick()

int IClient::PrevGameTick ( int  Conn) const
inline

◆ Quit()

virtual void IClient::Quit ( )
pure virtual

Implemented in CClient.

◆ RaceRecord_IsRecording()

virtual bool IClient::RaceRecord_IsRecording ( )
pure virtual

Implemented in CClient.

◆ RaceRecord_Start()

virtual void IClient::RaceRecord_Start ( const char *  pFilename)
pure virtual

Implemented in CClient.

◆ RaceRecord_Stop()

virtual void IClient::RaceRecord_Stop ( )
pure virtual

Implemented in CClient.

◆ Rcon()

virtual void IClient::Rcon ( const char *  pLine)
pure virtual

Implemented in CClient.

◆ RconAuth()

virtual void IClient::RconAuth ( const char *  pUsername,
const char *  pPassword,
bool  Dummy 
)
pure virtual

Implemented in CClient.

◆ RconAuthed()

virtual bool IClient::RconAuthed ( ) const
pure virtual

Implemented in CClient.

◆ ReceivingRconCommands()

virtual bool IClient::ReceivingRconCommands ( ) const
pure virtual

Implemented in CClient.

◆ ReconnectTime()

int64_t IClient::ReconnectTime ( ) const
inline

◆ RenderFrameTime()

float IClient::RenderFrameTime ( ) const
inline

◆ RequestDDNetInfo()

virtual void IClient::RequestDDNetInfo ( )
pure virtual

Implemented in CClient.

◆ Restart()

virtual void IClient::Restart ( )
pure virtual

Implemented in CClient.

◆ SendMsg()

virtual int IClient::SendMsg ( int  Conn,
CMsgPacker pMsg,
int  Flags 
)
pure virtual

Implemented in CClient.

◆ SendMsgActive()

virtual int IClient::SendMsgActive ( CMsgPacker pMsg,
int  Flags 
)
pure virtual

Implemented in CClient.

◆ SendPackMsg()

template<class T >
int IClient::SendPackMsg ( int  Conn,
T *  pMsg,
int  Flags,
bool  NoTranslate = false 
)
inline

◆ SendPackMsgActive()

template<class T >
int IClient::SendPackMsgActive ( T *  pMsg,
int  Flags,
bool  NoTranslate = false 
)
inline

◆ ServerAddress()

virtual const NETADDR & IClient::ServerAddress ( ) const
pure virtual

Implemented in CClient.

◆ ServerBrowserUpdate()

virtual void IClient::ServerBrowserUpdate ( )
pure virtual

Implemented in CClient.

◆ ServerCapAnyPlayerFlag()

virtual bool IClient::ServerCapAnyPlayerFlag ( ) const
pure virtual

Implemented in CClient.

◆ SetLoadingCallback()

void IClient::SetLoadingCallback ( TLoadingCallback &&  Func)
inline

◆ SetLoadingStateDetail()

void IClient::SetLoadingStateDetail ( ELoadingStateDetail  LoadingStateDetail)
inline

◆ SetReconnectTime()

void IClient::SetReconnectTime ( int64_t  ReconnectTime)
inline

◆ SetWindowParams()

virtual void IClient::SetWindowParams ( int  FullscreenMode,
bool  IsBorderless 
)
pure virtual

Implemented in CClient.

◆ ShowMessageBox()

virtual void IClient::ShowMessageBox ( const char *  pTitle,
const char *  pMessage,
EMessageBoxType  Type = MESSAGE_BOX_TYPE_ERROR 
)
pure virtual

Implemented in CClient.

◆ SnapFindItem()

virtual const void * IClient::SnapFindItem ( int  SnapId,
int  Type,
int  Id 
) const
pure virtual

Implemented in CClient.

◆ SnapGetItem()

virtual CSnapItem IClient::SnapGetItem ( int  SnapId,
int  Index 
) const
pure virtual

Implemented in CClient.

◆ SnapNumItems()

virtual int IClient::SnapNumItems ( int  SnapId) const
pure virtual

Implemented in CClient.

◆ SnapSetStaticsize()

virtual void IClient::SnapSetStaticsize ( int  ItemType,
int  Size 
)
pure virtual

Implemented in CClient.

◆ SnapSetStaticsize7()

virtual void IClient::SnapSetStaticsize7 ( int  ItemType,
int  Size 
)
pure virtual

Implemented in CClient.

◆ State()

EClientState IClient::State ( ) const
inline

◆ StateStartTime()

int64_t IClient::StateStartTime ( ) const
inline

◆ SwitchWindowScreen()

virtual void IClient::SwitchWindowScreen ( int  Index)
pure virtual

Implemented in CClient.

◆ ToggleWindowVSync()

virtual void IClient::ToggleWindowVSync ( )
pure virtual

Implemented in CClient.

◆ UdpConnectivity()

virtual int IClient::UdpConnectivity ( int  NetType)
pure virtual

Implemented in CClient.

◆ UpdateAndSwap()

virtual void IClient::UpdateAndSwap ( )
pure virtual

Implemented in CClient.

◆ UseTempRconCommands()

virtual bool IClient::UseTempRconCommands ( ) const
pure virtual

Implemented in CClient.

◆ ViewFile()

virtual bool IClient::ViewFile ( const char *  pFilename)
pure virtual

Opens a file or directory with the default program.

Parameters
pFilenameThe file or folder to open with the default program.
Returns
true on success, false on failure.
Remarks
This may not be called with untrusted input or it'll result in arbitrary code execution, especially on Windows.

Implemented in CClient.

◆ ViewLink()

virtual bool IClient::ViewLink ( const char *  pLink)
pure virtual

Opens a link in the browser.

Parameters
pLinkThe link to open in a browser.
Returns
true on success, false on failure.
Remarks
This may not be called with untrusted input or it'll result in arbitrary code execution, especially on Windows.

Implemented in CClient.

Member Data Documentation

◆ m_aCurGameTick

int IClient::m_aCurGameTick[NUM_DUMMIES] = {0, 0}
protected

◆ m_aGameIntraTick

float IClient::m_aGameIntraTick[NUM_DUMMIES] = {0.0f, 0.0f}
protected

◆ m_aGameIntraTickSincePrev

float IClient::m_aGameIntraTickSincePrev[NUM_DUMMIES] = {0.0f, 0.0f}
protected

◆ m_aGameTickTime

float IClient::m_aGameTickTime[NUM_DUMMIES] = {0.0f, 0.0f}
protected

◆ m_aNews

char IClient::m_aNews[3000] = ""
protected

◆ m_aPredIntraTick

float IClient::m_aPredIntraTick[NUM_DUMMIES] = {0.0f, 0.0f}
protected

◆ m_aPredTick

int IClient::m_aPredTick[NUM_DUMMIES] = {0, 0}
protected

◆ m_aPrevGameTick

int IClient::m_aPrevGameTick[NUM_DUMMIES] = {0, 0}
protected

◆ m_FrameTimeAvg

float IClient::m_FrameTimeAvg = 0.0001f
protected

◆ m_GlobalTime

float IClient::m_GlobalTime = 0.0f
protected

◆ m_LoadingCallback

TLoadingCallback IClient::m_LoadingCallback = nullptr
protected

◆ m_LoadingStateDetail

ELoadingStateDetail IClient::m_LoadingStateDetail = LOADING_STATE_DETAIL_INITIAL
protected

◆ m_LocalTime

float IClient::m_LocalTime = 0.0f
protected

◆ m_Points

int IClient::m_Points = -1
protected

◆ m_ReconnectTime

int64_t IClient::m_ReconnectTime = 0
protected

◆ m_RenderFrameTime

float IClient::m_RenderFrameTime = 0.0001f
protected

◆ m_State

EClientState IClient::m_State = IClient::STATE_OFFLINE
protected

◆ m_StateStartTime

int64_t IClient::m_StateStartTime
protected

◆ m_TranslationContext

CTranslationContext IClient::m_TranslationContext

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