Skip to main content

Unity.Networking.Transport.CommonNetworkParametersExtensions

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 CommonNetworkParametersExtensions

GetDataStreamParameters(ref NetworkSettings)#

Declaration#

public static NetworkDataStreamParameter GetDataStreamParameters(this ref NetworkSettings settings)

Parameters#

TypeNameDescription
NetworkSettingssettings

Returns#

TypeDescription
NetworkDataStreamParameter

GetNetworkConfigParameters(ref NetworkSettings)#

Declaration#

public static NetworkConfigParameter GetNetworkConfigParameters(this ref NetworkSettings settings)

Parameters#

TypeNameDescription
NetworkSettingssettings

Returns#

TypeDescription
NetworkConfigParameter

WithDataStreamParameters(ref NetworkSettings, Int32)#

Declaration#

public static ref NetworkSettings WithDataStreamParameters(this ref NetworkSettings settings, int size = 0)

Parameters#

TypeNameDescription
NetworkSettingssettings
System.Int32size

Returns#

TypeDescription
NetworkSettings

WithNetworkConfigParameters(ref NetworkSettings, Int32, Int32, Int32, Int32, Int32, Int32, Int32)#

Declaration#

public static ref NetworkSettings WithNetworkConfigParameters(this ref NetworkSettings settings, int connectTimeoutMS = 1000, int maxConnectAttempts = 60, int disconnectTimeoutMS = 30000, int heartbeatTimeoutMS = 500, int reconnectionTimeoutMS = 2000, int maxFrameTimeMS = 0, int fixedFrameTimeMS = 0)

Parameters#

TypeNameDescription
NetworkSettingssettings
System.Int32connectTimeoutMS
System.Int32maxConnectAttempts
System.Int32disconnectTimeoutMS
System.Int32heartbeatTimeoutMS
System.Int32reconnectionTimeoutMS
System.Int32maxFrameTimeMS
System.Int32fixedFrameTimeMS

Returns#

TypeDescription
NetworkSettings