public void UpdateSenders() { if (_streaming) { _timer.UpdatePerFrame(); if (_timer.expired) { foreach (var key in senders.Keys) { senders[key].PendInputsPerFrame(this); } SendPendingInputEventsImpl(); } } }
public void UpdateSenders() { if (_streaming == false) { return; } _timer.UpdatePerFrame(); if (_timer.expired) { long timestamp = 0; BeginPendInputImpl(ref timestamp); foreach (var key in senders.Keys) { senders[key].PendInputsPerFrame(this); } SendPendingInputEventsImpl(timestamp); } }