Table of Contents

DequeueForSending

Methods
public bool DequeueForSending(long currentFrame, out long inputFrame, out T input, out bool differsFromPrevious)

Dequeues next input from the buffer that hasn't been sent yet. Progresses the internal LastSentFrame counter.

Parameters
Type Name Description
long currentFrame
long inputFrame
T input
bool differsFromPrevious
Returns
Type Description
bool

True if there is a fresh input to send and the input has changed its value since last sending.