| 57 | }; |
| 58 | |
| 59 | class CClient : public IClient, public CDemoPlayer::IListener |
| 60 | { |
| 61 | // needed interfaces |
| 62 | IConfigManager *m_pConfigManager = nullptr; |
| 63 | CConfig *m_pConfig = nullptr; |
| 64 | IConsole *m_pConsole = nullptr; |
| 65 | IDiscord *m_pDiscord = nullptr; |
| 66 | IEditor *m_pEditor = nullptr; |
| 67 | IEngine *m_pEngine = nullptr; |
| 68 | IFavorites *m_pFavorites = nullptr; |
| 69 | IGameClient *m_pGameClient = nullptr; |
| 70 | IEngineGraphics *m_pGraphics = nullptr; |
| 71 | IEngineInput *m_pInput = nullptr; |
| 72 | IEngineSound *m_pSound = nullptr; |
| 73 | ISteam *m_pSteam = nullptr; |
| 74 | INotifications *m_pNotifications = nullptr; |
| 75 | IStorage *m_pStorage = nullptr; |
| 76 | IEngineTextRender *m_pTextRender = nullptr; |
| 77 | IUpdater *m_pUpdater = nullptr; |
| 78 | CHttp m_Http; |
| 79 | |
| 80 | CNetClient m_aNetClient[NUM_CONNS]; |
| 81 | CDemoPlayer m_DemoPlayer; |
| 82 | CDemoRecorder m_aDemoRecorder[RECORDER_MAX]; |
| 83 | CDemoEditor m_DemoEditor; |
| 84 | CGhostRecorder m_GhostRecorder; |
| 85 | CGhostLoader m_GhostLoader; |
| 86 | CServerBrowser m_ServerBrowser; |
| 87 | CUpdater m_Updater; |
| 88 | CFriends m_Friends; |
| 89 | CFriends m_Foes; |
| 90 | |
| 91 | char m_aConnectAddressStr[MAX_SERVER_ADDRESSES * NETADDR_MAXSTRSIZE] = ""; |
| 92 | |
| 93 | CUuid m_ConnectionId = UUID_ZEROED; |
| 94 | bool m_Sixup; |
| 95 | |
| 96 | bool m_HaveGlobalTcpAddr = false; |
| 97 | NETADDR m_GlobalTcpAddr = NETADDR_ZEROED; |
| 98 | |
| 99 | uint64_t m_aSnapshotParts[NUM_DUMMIES] = {0, 0}; |
| 100 | int64_t m_LocalStartTime = 0; |
| 101 | int64_t m_GlobalStartTime = 0; |
| 102 | |
| 103 | IGraphics::CTextureHandle m_DebugFont; |
| 104 | |
| 105 | int64_t m_LastRenderTime; |
| 106 | |
| 107 | int m_SnapCrcErrors = 0; |
| 108 | bool m_AutoScreenshotRecycle = false; |
| 109 | bool m_AutoStatScreenshotRecycle = false; |
| 110 | bool m_AutoCSVRecycle = false; |
| 111 | bool m_EditorActive = false; |
| 112 | |
| 113 | int m_aAckGameTick[NUM_DUMMIES] = {-1, -1}; |
| 114 | int m_aCurrentRecvTick[NUM_DUMMIES] = {0, 0}; |
| 115 | int m_aRconAuthed[NUM_DUMMIES] = {0, 0}; |
| 116 | char m_aRconUsername[64] = ""; |
nothing calls this directly
no test coverage detected