Cache Steam ID and rendered forms when caching networkID

This commit is contained in:
Nicholas Hastings
2014-09-04 16:14:34 -07:00
parent f1dc24c089
commit 1bf4eb80bd
4 changed files with 136 additions and 146 deletions
+2 -6
View File
@@ -280,24 +280,20 @@ namespace SourceMod
/**
* @brief Returns the client's Steam ID rendered in Steam2 format.
*
* @param out Buffer in which to output the id.
* @param maxlen Maximum length of the output buffer in bytes.
* @param validated Check backend validation status.
*
* @return True on success or false if not available.
*/
virtual bool GetSteam2Id(char *out, size_t maxlen, bool validated = true) =0;
virtual const char *GetSteam2Id(bool validated = true) =0;
/**
* @brief Returns the client's Steam ID rendered in Steam3 format.
*
* @param out Buffer in which to output the id.
* @param maxlen Maximum length of the output buffer in bytes.
* @param validated Check backend validation status.
*
* @return True on success or false if not available.
*/
virtual bool GetSteam3Id(char *out, size_t maxlen, bool validated = true) =0;
virtual const char *GetSteam3Id(bool validated = true) =0;
};
/**