Require Steam validation before granting admin access (bug 4837, r=asherkin).

This commit is contained in:
Ryan Stecker
2012-05-24 17:55:46 +01:00
parent d77ebd60cf
commit ac2bbf16f6
2 changed files with 36 additions and 0 deletions
+4
View File
@@ -75,6 +75,9 @@ public:
bool WasCountedAsInGame();
bool IsConnected();
bool IsAuthorized();
#if SOURCE_ENGINE >= SE_ORANGEBOX
bool IsAuthedBySteam();
#endif
bool IsFakeClient();
bool IsSourceTV() const;
bool IsReplay() const;
@@ -217,6 +220,7 @@ private:
unsigned int *m_AuthQueue;
String m_PassInfoVar;
bool m_QueryLang;
bool m_bUseSteamAdminAuth; // are we validating admins with steam before authorizing?
bool m_bIsListenServer;
int m_ListenClient;
bool m_bIsSourceTVActive;