Skip to main content

Interface INetworkStreamDriverConstructor

Provides an interface that overrides the ability to create your own drivers and pipelines

Namespace: Unity.Netcode.Transports.UTP#
Assembly: MLAPI.dll#
Syntax#
public interface INetworkStreamDriverConstructor

Methods#

CreateDriver(UnityTransport, out NetworkDriver, out NetworkPipeline, out NetworkPipeline, out NetworkPipeline)#

Creates the internal NetworkDriver

Declaration#
void CreateDriver(UnityTransport transport, out NetworkDriver driver, out NetworkPipeline unreliableFragmentedPipeline, out NetworkPipeline unreliableSequencedFragmentedPipeline, out NetworkPipeline reliableSequencedPipeline)
Parameters#
TypeNameDescription
UnityTransporttransportThe owner transport
NetworkDriverdriverThe driver
NetworkPipelineunreliableFragmentedPipelineThe UnreliableFragmented NetworkPipeline
NetworkPipelineunreliableSequencedFragmentedPipelineThe UnreliableSequencedFragmented NetworkPipeline
NetworkPipelinereliableSequencedPipelineThe ReliableSequenced NetworkPipeline