ACR_ServerCommunicator.ACR_ServerCommunicator.HandleClientLeave C# (CSharp) Méthode

HandleClientLeave() private méthode

This method handles ClientLeave events and cleans up local player state for the outgoing PC.
private HandleClientLeave ( uint PlayerObject ) : void
PlayerObject uint Supplies the departing PC object id. ///
Résultat void
        private void HandleClientLeave(uint PlayerObject)
        {
            if (TryGetPlayerState(PlayerObject) == null)
                return;

            DeletePlayerState(PlayerObject);
        }
ACR_ServerCommunicator