Skip to main content

Unity.Networking.Transport.Utilities.SimulatorStageParameterExtensions

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 SimulatorStageParameterExtensions

GetSimulatorStageParameters(ref NetworkSettings)#

Declaration#

public static SimulatorUtility.Parameters GetSimulatorStageParameters(this ref NetworkSettings settings)

Parameters#

TypeNameDescription
NetworkSettingssettings

Returns#

TypeDescription
SimulatorUtility.Parameters

WithSimulatorStageParameters(ref NetworkSettings, Int32, Int32, ApplyMode, Int32, Int32, Int32, Int32, Int32, Int32, Int32, UInt32)#

Declaration#

public static ref NetworkSettings WithSimulatorStageParameters(this ref NetworkSettings settings, int maxPacketCount, int maxPacketSize, ApplyMode mode, int packetDelayMs = 0, int packetJitterMs = 0, int packetDropInterval = 0, int packetDropPercentage = 0, int packetDuplicationPercentage = 0, int fuzzFactor = 0, int fuzzOffset = 0, uint randomSeed = 0U)

Parameters#

TypeNameDescription
NetworkSettingssettings
System.Int32maxPacketCount
System.Int32maxPacketSize
ApplyModemode
System.Int32packetDelayMs
System.Int32packetJitterMs
System.Int32packetDropInterval
System.Int32packetDropPercentage
System.Int32packetDuplicationPercentage
System.Int32fuzzFactor
System.Int32fuzzOffset
System.UInt32randomSeed

Returns#

TypeDescription
NetworkSettings