- OnClientDisconnect listener: Fires when the client deactivates (on map changes)
OnClientDisconnect listener and checking CBaseClient::IsConnected: IsConnected is always True, also tried delaying by one tick, same result.
player_disconnect event: Doesn't fire when the client disconnects early before a certain point, for example due to not having the current map.
To be clear I would like to capture every time a user is no longer connected to the server in any way after passing CBaseServer::CheckChallengeType and then capture either SteamID or (base)client object/pointer.