Assets/Deps/emotitron/Network/NST/NSTFrameBuffer.cs
/// <summary>
/// Looks for first valid frame AFTER the current frame.
/// </summary>
/// <returns>Returns null if none found.</returns>
Looks for first valid frame AFTER the current frame.
Looks for first valid frame AFTER the current frame .
public Frame GetFirstFutureValidFrame()
		{
			for (int i = 1; i <= quaterBufferSize; i++)
			{
				Frame testframe = IncrementFrame(CurrentIndex, i);
				if (GetBitInValidFrameMask(testframe.packetid))
				{
					return testframe;
				}
			}
			return null;
		}
public Frame GetFirstFutureValidFrame ( ) { for ( int i = 1 ; i <= quaterBufferSize ; i ++ ) { Frame testframe = IncrementFrame ( CurrentIndex , i ) ; if ( GetBitInValidFrameMask ( testframe . packetid ) ) { return testframe ; } } return null ; }
Looks for first valid frame AFTER the current frame.
Looks for first valid frame AFTER the current frame .
Returns null if none found.
Returns null if none found .