Skip to main content

Unity.Networking.Transport.Relay.RelayMessageHeader

Inherited Members#

ValueType.Equals(Object)

ValueType.GetHashCode()

ValueType.ToString()

Object.Equals(Object, Object)

Object.GetType()

Object.ReferenceEquals(Object, Object)

Namespace: System.Dynamic.ExpandoObject#
Assembly: transport.dll#
Syntax#
public struct RelayMessageHeader

Length#

Declaration#

public const int Length = 4

Field Value#

TypeDescription
System.Int32

Signature#

Declaration#

public ushort Signature

Field Value#

TypeDescription
System.UInt16

Type#

Declaration#

public RelayMessageType Type

Field Value#

TypeDescription
RelayMessageType

Version#

Declaration#

public byte Version

Field Value#

TypeDescription
System.Byte

#

Create(RelayMessageType)#

Declaration#

public static RelayMessageHeader Create(RelayMessageType type)

Parameters#

TypeNameDescription
RelayMessageTypetype

Returns#

TypeDescription
RelayMessageHeader

IsValid()#

Declaration#

public bool IsValid()

Returns#

TypeDescription
System.Boolean