Added GetSteamAccountID function to IPlayerHelpers and native for sp (bug 5548, r=asherkin).

This commit is contained in:
Kyle Sanderson
2013-03-16 23:12:40 -04:00
parent e2b519a21e
commit 5951cbf7b9
5 changed files with 74 additions and 3 deletions
+2
View File
@@ -70,6 +70,7 @@ public:
const char *GetName();
const char *GetIPAddress();
const char *GetAuthString(bool validated = true);
unsigned int GetSteamAccountID(bool validated = true);
edict_t *GetEdict();
bool IsInGame();
bool WasCountedAsInGame();
@@ -126,6 +127,7 @@ private:
bool m_bIsSourceTV;
bool m_bIsReplay;
serial_t m_Serial;
unsigned int m_SteamAccountID;
};
class PlayerManager :