private void HandleMessage(KeyValuePair <string, Command> message) { RemotePlayer player = _playerLookup[message.Key] as RemotePlayer; if (message.Value.timestamp > player.lastAppliedCommandTime) { // Simulate input player.HandleInput(message.Value); LogHandledMessage(player); } }