Move Steam2/3 id rendering logic to CPlayer

This commit is contained in:
Nicholas Hastings
2014-09-04 15:27:44 -07:00
parent 892edd9650
commit f1dc24c089
4 changed files with 113 additions and 43 deletions
+2
View File
@@ -75,6 +75,8 @@ public:
unsigned int GetSteamAccountID(bool validated = true);
const CSteamID &GetSteamId(bool validated = true);
uint64_t GetSteamId64(bool validated = true) { return GetSteamId(validated).ConvertToUint64(); }
bool GetSteam2Id(char *out, size_t maxlen, bool validated = true);
bool GetSteam3Id(char *out, size_t maxlen, bool validated = true);
edict_t *GetEdict();
bool IsInGame();
bool WasCountedAsInGame();