Skip to main content

Unity.Networking.Transport.Relay.RelayParameterExtensions

Inheritance#

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

Inherited Members#

Object.Equals(Object)

Object.Equals(Object, Object)

Object.GetHashCode()

Object.GetType()

Object.MemberwiseClone()

Object.ReferenceEquals(Object, Object)

Object.ToString()

Namespace: System.Dynamic.ExpandoObject#
Assembly: transport.dll#
Syntax#
public static class RelayParameterExtensions

GetRelayParameters(ref NetworkSettings)#

Declaration#

public static RelayNetworkParameter GetRelayParameters(this ref NetworkSettings settings)

Parameters#

TypeNameDescription
NetworkSettingssettings

Returns#

TypeDescription
RelayNetworkParameter

WithRelayParameters(ref NetworkSettings, ref RelayServerData, Int32)#

Declaration#

public static ref NetworkSettings WithRelayParameters(this ref NetworkSettings settings, ref RelayServerData serverData, int relayConnectionTimeMS = 9000)

Parameters#

TypeNameDescription
NetworkSettingssettings
RelayServerDataserverData
System.Int32relayConnectionTimeMS

Returns#

TypeDescription
NetworkSettings