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

    Class NetworkStreamReceiveSystem

    Inheritance
    Object
    ComponentSystemBase
    SystemBase
    NetworkStreamReceiveSystem
    Inherited Members
    SystemBase.CompleteDependency()
    SystemBase.Update()
    SystemBase.GetComponent<T>(Entity)
    SystemBase.SetComponent<T>(Entity, T)
    SystemBase.HasComponent<T>(Entity)
    SystemBase.GetComponentDataFromEntity<T>(Boolean)
    Unity.Entities.SystemBase.GetBuffer<T>(Unity.Entities.Entity)
    Unity.Entities.SystemBase.GetBufferFromEntity<T>(System.Boolean)
    Unity.Entities.SystemBase.OnCreateForCompiler()
    SystemBase.Dependency
    SystemBase.Entities
    SystemBase.Job
    ComponentSystemBase.OnStartRunning()
    ComponentSystemBase.OnStopRunning()
    ComponentSystemBase.ShouldRunSystem()
    Unity.Entities.ComponentSystemBase.GetComponentTypeHandle<T>(System.Boolean)
    Unity.Entities.ComponentSystemBase.GetDynamicComponentTypeHandle(Unity.Entities.ComponentType)
    Unity.Entities.ComponentSystemBase.GetBufferTypeHandle<T>(System.Boolean)
    Unity.Entities.ComponentSystemBase.GetSharedComponentTypeHandle<T>()
    Unity.Entities.ComponentSystemBase.GetEntityTypeHandle()
    ComponentSystemBase.RequireForUpdate(EntityQuery)
    ComponentSystemBase.RequireSingletonForUpdate<T>()
    ComponentSystemBase.HasSingleton<T>()
    ComponentSystemBase.GetSingleton<T>()
    ComponentSystemBase.SetSingleton<T>(T)
    ComponentSystemBase.GetSingletonEntity<T>()
    ComponentSystemBase.GetEntityQuery(ComponentType[])
    ComponentSystemBase.GetEntityQuery(NativeArray<ComponentType>)
    ComponentSystemBase.GetEntityQuery(EntityQueryDesc[])
    ComponentSystemBase.GetArchetypeChunkComponentType<T>(Boolean)
    ComponentSystemBase.GetArchetypeChunkComponentTypeDynamic(ComponentType)
    ComponentSystemBase.GetArchetypeChunkBufferType<T>(Boolean)
    ComponentSystemBase.GetArchetypeChunkSharedComponentType<T>()
    ComponentSystemBase.GetArchetypeChunkEntityType()
    ComponentSystemBase.Enabled
    ComponentSystemBase.EntityQueries
    ComponentSystemBase.GlobalSystemVersion
    ComponentSystemBase.LastSystemVersion
    ComponentSystemBase.EntityManager
    ComponentSystemBase.World
    ComponentSystemBase.Time
    Unity.Entities.ComponentSystemBase.ExecutingSystemType
    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

    UnreliableFragmentedPipeline

    Declaration
    public NetworkPipeline UnreliableFragmentedPipeline { 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, out NetworkPipeline)

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

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

    Declaration
    public void CreateServerDriver(World world, out NetworkDriver driver, out NetworkPipeline unreliablePipeline, out NetworkPipeline reliablePipeline, out NetworkPipeline unreliableFragmentedPipeline)
    Parameters
    Type Name Description
    World world
    NetworkDriver driver
    NetworkPipeline unreliablePipeline
    NetworkPipeline reliablePipeline
    NetworkPipeline unreliableFragmentedPipeline
    Implements
    INetworkStreamDriverConstructor.CreateServerDriver(World, out NetworkDriver, out NetworkPipeline, 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()
    Overrides
    ComponentSystemBase.OnCreate()

    OnDestroy()

    Declaration
    protected override void OnDestroy()
    Overrides
    ComponentSystemBase.OnDestroy()

    OnUpdate()

    Declaration
    protected override void OnUpdate()
    Overrides
    SystemBase.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