ACR_ServerCommunicator.ACR_ServerCommunicator.HandleLatencyCheckResponse C# (CSharp) Method

HandleLatencyCheckResponse() private method

Handle the client's check-in response to a latency test.
private HandleLatencyCheckResponse ( uint PlayerObject ) : void
PlayerObject uint Supplies the player object of the player /// that has checked in after a latency check request.
return void
        private void HandleLatencyCheckResponse(uint PlayerObject)
        {
            PlayerState State = TryGetPlayerState(PlayerObject);

            if (State == null)
                return;

            State.LatencyToServer = (uint)Environment.TickCount - State.LatencyTickCount;
        }
ACR_ServerCommunicator