diff options
| author | oy <Tom_Adams@web.de> | 2011-07-14 22:07:21 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-07-14 22:07:21 +0200 |
| commit | 571dff6216562387ff020407c147fe8000177c15 (patch) | |
| tree | b189fba67ffa80658a93f580327188e6ac37c9d0 /src/engine/client/client.h | |
| parent | 7a129caf8d3ad7fe0f3f5a94bd2d9ffce08d4942 (diff) | |
| download | zcatch-571dff6216562387ff020407c147fe8000177c15.tar.gz zcatch-571dff6216562387ff020407c147fe8000177c15.zip | |
made rcon auto completion serverside. Closes #97
Diffstat (limited to 'src/engine/client/client.h')
| -rw-r--r-- | src/engine/client/client.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/client/client.h b/src/engine/client/client.h index fa0ddaf7..3d81f073 100644 --- a/src/engine/client/client.h +++ b/src/engine/client/client.h @@ -128,6 +128,7 @@ class CClient : public IClient, public CDemoPlayer::IListner int m_AckGameTick; int m_CurrentRecvTick; int m_RconAuthed; + int m_UseTempRconCommands; // version-checking char m_aVersionStr[10]; @@ -220,7 +221,8 @@ public: void SendEnterGame(); void SendReady(); - virtual bool RconAuthed(); + virtual bool RconAuthed() { return m_RconAuthed != 0; } + virtual bool UseTempRconCommands() { return m_UseTempRconCommands != 0; } void RconAuth(const char *pName, const char *pPassword); virtual void Rcon(const char *pCmd); |