public void ClientStateChange(int state, float progress) { lock (StateChanges) StateChanges.Enqueue(new SimConnectStateChange(state, progress)); }