Interface INetworkStreamDriverConstructor
Provides an interface that overrides the ability to create your own drivers and pipelines
Namespace: Unity.Netcode.Transports.UTP
Assembly: Unity.Netcode.Runtime.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
Type | Name | Description |
---|---|---|
UnityTransport | transport | The owner transport |
NetworkDriver | driver | The driver |
NetworkPipeline | unreliableFragmentedPipeline | The UnreliableFragmented NetworkPipeline |
NetworkPipeline | unreliableSequencedFragmentedPipeline | The UnreliableSequencedFragmented NetworkPipeline |
NetworkPipeline | reliableSequencedPipeline | The ReliableSequenced NetworkPipeline |