Class NetworkStreamReceiveSystem | Unity NetCode | 0.2.0-preview.5
docs.unity3d.com
    Show / Hide Table of Contents

    Class NetworkStreamReceiveSystem

    Inheritance
    Object
    NetworkStreamReceiveSystem
    Namespace: Unity.NetCode
    Syntax
    public class NetworkStreamReceiveSystem : SystemBase, INetworkStreamDriverConstructor

    Fields

    s_DriverConstructor

    Declaration
    public static INetworkStreamDriverConstructor s_DriverConstructor
    Field Value
    Type Description
    INetworkStreamDriverConstructor

    Properties

    Driver

    Declaration
    public NetworkDriver Driver { get; }
    Property Value
    Type Description
    NetworkDriver

    DriverConstructor

    Declaration
    public INetworkStreamDriverConstructor DriverConstructor { get; }
    Property Value
    Type Description
    INetworkStreamDriverConstructor

    ReliablePipeline

    Declaration
    public NetworkPipeline ReliablePipeline { get; }
    Property Value
    Type Description
    NetworkPipeline

    UnreliablePipeline

    Declaration
    public NetworkPipeline UnreliablePipeline { get; }
    Property Value
    Type Description
    NetworkPipeline

    Methods

    Connect(NetworkEndPoint)

    Declaration
    public Entity Connect(NetworkEndPoint endpoint)
    Parameters
    Type Name Description
    NetworkEndPoint endpoint
    Returns
    Type Description
    Entity

    CreateClientDriver(World, out NetworkDriver, out NetworkPipeline, out NetworkPipeline)

    Declaration
    public void CreateClientDriver(World world, out NetworkDriver driver, out NetworkPipeline unreliablePipeline, out NetworkPipeline reliablePipeline)
    Parameters
    Type Name Description
    World world
    NetworkDriver driver
    NetworkPipeline unreliablePipeline
    NetworkPipeline reliablePipeline
    Implements
    INetworkStreamDriverConstructor.CreateClientDriver(World, out NetworkDriver, out NetworkPipeline, out NetworkPipeline)

    CreateServerDriver(World, out NetworkDriver, out NetworkPipeline, out NetworkPipeline)

    Declaration
    public void CreateServerDriver(World world, out NetworkDriver driver, out NetworkPipeline unreliablePipeline, out NetworkPipeline reliablePipeline)
    Parameters
    Type Name Description
    World world
    NetworkDriver driver
    NetworkPipeline unreliablePipeline
    NetworkPipeline reliablePipeline
    Implements
    INetworkStreamDriverConstructor.CreateServerDriver(World, out NetworkDriver, out NetworkPipeline, out NetworkPipeline)

    Listen(NetworkEndPoint)

    Declaration
    public bool Listen(NetworkEndPoint endpoint)
    Parameters
    Type Name Description
    NetworkEndPoint endpoint
    Returns
    Type Description
    Boolean

    OnCreate()

    Declaration
    protected override void OnCreate()

    OnDestroy()

    Declaration
    protected override void OnDestroy()

    OnUpdate()

    Declaration
    protected override void OnUpdate()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023