Skip to main content

Unity.Networking.Transport.NetworkPipelineStageCollection

The network pipeline stage collection class

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 NetworkPipelineStageCollection

GetStageId(Type)#

Gets the stage id using the specified stage type

Declaration#

public static NetworkPipelineStageId GetStageId(Type stageType)

Parameters#

TypeNameDescription
System.TypestageTypeThe stage type

Returns#

TypeDescription
NetworkPipelineStageIdThe network pipeline stage id

Exceptions#

TypeCondition
System.InvalidOperationExceptionPipeline stage {stageType} is not registered

RegisterPipelineStage(INetworkPipelineStage)#

Registers the pipeline stage using the specified stage

Declaration#

public static void RegisterPipelineStage(INetworkPipelineStage stage)

Parameters#

TypeNameDescription
INetworkPipelineStagestageThe stage