Cache Steam ID and rendered forms when caching networkID
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user