Skip to main content

Unity.Networking.Transport.Utilities.SequenceHelpers

Inherited Members#

ValueType.Equals(Object)

ValueType.GetHashCode()

ValueType.ToString()

Object.Equals(Object, Object)

Object.GetType()

Object.ReferenceEquals(Object, Object)

Namespace: System.Dynamic.ExpandoObject#
Assembly: MLAPI.dll#
Syntax#
public struct SequenceHelpers

Methods#

AbsDistance(UInt16, UInt16)#

Declaration#

public static int AbsDistance(ushort lhs, ushort rhs)

Parameters#

TypeNameDescription
System.UInt16lhs
System.UInt16rhs

Returns#

TypeDescription
System.Int32

BitMaskToString(UInt32)#

Declaration#

public static string BitMaskToString(uint mask)

Parameters#

TypeNameDescription
System.UInt32mask

Returns#

TypeDescription
System.String

GreaterThan16(UInt16, UInt16)#

Declaration#

public static bool GreaterThan16(ushort lhs, ushort rhs)

Parameters#

TypeNameDescription
System.UInt16lhs
System.UInt16rhs

Returns#

TypeDescription
System.Boolean

IsNewer(UInt32, UInt32)#

Declaration#

public static bool IsNewer(uint current, uint old)

Parameters#

TypeNameDescription
System.UInt32current
System.UInt32old

Returns#

TypeDescription
System.Boolean

LessThan16(UInt16, UInt16)#

Declaration#

public static bool LessThan16(ushort lhs, ushort rhs)

Parameters#

TypeNameDescription
System.UInt16lhs
System.UInt16rhs

Returns#

TypeDescription
System.Boolean

StalePacket(UInt16, UInt16, UInt16)#

Declaration#

public static bool StalePacket(ushort sequence, ushort oldSequence, ushort windowSize)

Parameters#

TypeNameDescription
System.UInt16sequence
System.UInt16oldSequence
System.UInt16windowSize

Returns#

TypeDescription
System.Boolean