Assets/Deps/emotitron/Network/NST/NSTFrameBuffer.cs
/// <summary>
/// Looks for farthest back valid frame before the current frame, starting with a quater buffer length behind working up to the current frame.
/// </summary>
/// <returns>Returns null if none found.</returns>
Looks for farthest back valid frame before the current frame, starting with a quater buffer length behind working up to the current frame.
Looks for farthest back valid frame before the current frame starting with a quater buffer length behind working up to the current frame .
public Frame GetOldestPastValidFrame()
		{
			for (int i = -quaterBufferSize; i < 0; i++)
			{
				Frame testframe = IncrementFrame(CurrentIndex, i);
				if (GetBitInValidFrameMask(testframe.packetid))
				{
					return testframe;
				}
			}
			return null;
		}
public Frame GetOldestPastValidFrame ( ) { for ( int i = - quaterBufferSize ; i < 0 ; i ++ ) { Frame testframe = IncrementFrame ( CurrentIndex , i ) ; if ( GetBitInValidFrameMask ( testframe . packetid ) ) { return testframe ; } } return null ; }
Looks for farthest back valid frame before the current frame, starting with a quater buffer length behind working up to the current frame.
Looks for farthest back valid frame before the current frame starting with a quater buffer length behind working up to the current frame .
Returns null if none found.
Returns null if none found .