Merge pull request #153 from alliedmodders/auth-fixups

More auth fixups for Steam auth (bug 6243, r=asherkin).
This commit is contained in:
Nicholas Hastings
2014-09-09 16:24:57 -04:00
11 changed files with 283 additions and 126 deletions
+18
View File
@@ -276,6 +276,24 @@ namespace SourceMod
* @return Steam Id or 0 if not available.
*/
virtual uint64_t GetSteamId64(bool validated = true) =0;
/**
* @brief Returns the client's Steam ID rendered in Steam2 format.
*
* @param validated Check backend validation status.
*
* @return True on success or false if not available.
*/
virtual const char *GetSteam2Id(bool validated = true) =0;
/**
* @brief Returns the client's Steam ID rendered in Steam3 format.
*
* @param validated Check backend validation status.
*
* @return True on success or false if not available.
*/
virtual const char *GetSteam3Id(bool validated = true) =0;
};
/**