Slightly speed up OnClientAuthorized where possible (#2504)

This commit is contained in:
Nicholas Hastings
2026-07-16 13:29:22 -04:00
parent d49ed86a1d
commit c7fb295eab
5 changed files with 51 additions and 4 deletions
+6 -3
View File
@@ -170,9 +170,12 @@ forward void OnClientCommandKeyValues_Post(int client, KeyValues kv);
forward void OnClientSettingsChanged(int client);
/**
* Called when a client receives an auth ID. The state of a client's
* authorization as an admin is not guaranteed here. Use
* OnClientPostAdminCheck() if you need a client's admin status.
* Called after a client's auth ID has been validated. The state
* of a client's authorization as an admin is not guaranteed here.
* Use OnClientPostAdminCheck() if you need a client's admin status.
*
* There may be a delay in receiving this callback if the Steam
* netowrk is experience downtime or other issues.
*
* This is called by bots, but the ID will be "BOT".
*