Skip to main content

Unity.Networking.Transport.Relay.RelayServerData

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 RelayServerData

RelayServerData(ref NetworkEndPoint, UInt16, RelayAllocationId, String, String, String, Boolean)#

Declaration#

public RelayServerData(ref NetworkEndPoint endpoint, ushort nonce, RelayAllocationId allocationId, string connectionData, string hostConnectionData, string key, bool isSecure)

Parameters#

TypeNameDescription
NetworkEndPointendpoint
System.UInt16nonce
RelayAllocationIdallocationId
System.StringconnectionData
System.StringhostConnectionData
System.Stringkey
System.BooleanisSecure

RelayServerData(ref NetworkEndPoint, UInt16, ref RelayAllocationId, ref RelayConnectionData, ref RelayConnectionData, ref RelayHMACKey, Boolean)#

Declaration#

public RelayServerData(ref NetworkEndPoint endpoint, ushort nonce, ref RelayAllocationId allocationId, ref RelayConnectionData connectionData, ref RelayConnectionData hostConnectionData, ref RelayHMACKey key, bool isSecure)

Parameters#

TypeNameDescription
NetworkEndPointendpoint
System.UInt16nonce
RelayAllocationIdallocationId
RelayConnectionDataconnectionData
RelayConnectionDatahostConnectionData
RelayHMACKeykey
System.BooleanisSecure

#

AllocationId#

Declaration#

public RelayAllocationId AllocationId

Field Value#

TypeDescription
RelayAllocationId

ConnectionData#

Declaration#

public RelayConnectionData ConnectionData

Field Value#

TypeDescription
RelayConnectionData

Endpoint#

Declaration#

public NetworkEndPoint Endpoint

Field Value#

TypeDescription
NetworkEndPoint

HMAC#

Declaration#

public byte *HMAC

Field Value#

TypeDescription
System.Byte*

HMACKey#

Declaration#

public RelayHMACKey HMACKey

Field Value#

TypeDescription
RelayHMACKey

HostConnectionData#

Declaration#

public RelayConnectionData HostConnectionData

Field Value#

TypeDescription
RelayConnectionData

IsSecure#

Declaration#

public readonly byte IsSecure

Field Value#

TypeDescription
System.Byte

Nonce#

Declaration#

public ushort Nonce

Field Value#

TypeDescription
System.UInt16

#

ComputeNewNonce()#

Declaration#

public void ComputeNewNonce()