Class CommandSendSystem<TCommandDataSerializer, TCommandData> | Unity NetCode | 0.6.0-preview.7
docs.unity.cn
    Show / Hide Table of Contents

    Class CommandSendSystem<TCommandDataSerializer, TCommandData>

    Inheritance
    Object
    ComponentSystemBase
    SystemBase
    CommandSendSystem<TCommandDataSerializer, TCommandData>
    LagCompensationTestCommandCommandSendSystem
    Inherited Members
    SystemBase.CompleteDependency()
    SystemBase.Update()
    SystemBase.OnUpdate()
    SystemBase.GetComponent<T>(Entity)
    SystemBase.SetComponent<T>(Entity, T)
    SystemBase.HasComponent<T>(Entity)
    SystemBase.GetComponentDataFromEntity<T>(Boolean)
    SystemBase.GetBuffer<T>(Entity)
    SystemBase.GetBufferFromEntity<T>(Boolean)
    Unity.Entities.SystemBase.OnCreateForCompiler()
    SystemBase.Dependency
    SystemBase.Entities
    SystemBase.Job
    ComponentSystemBase.OnStartRunning()
    ComponentSystemBase.OnStopRunning()
    ComponentSystemBase.ShouldRunSystem()
    ComponentSystemBase.GetComponentTypeHandle<T>(Boolean)
    ComponentSystemBase.GetDynamicComponentTypeHandle(ComponentType)
    ComponentSystemBase.GetBufferTypeHandle<T>(Boolean)
    ComponentSystemBase.GetSharedComponentTypeHandle<T>()
    ComponentSystemBase.GetDynamicSharedComponentTypeHandle(ComponentType)
    ComponentSystemBase.GetEntityTypeHandle()
    ComponentSystemBase.RequireForUpdate(EntityQuery)
    ComponentSystemBase.RequireSingletonForUpdate<T>()
    ComponentSystemBase.HasSingleton<T>()
    ComponentSystemBase.GetSingleton<T>()
    ComponentSystemBase.TryGetSingleton<T>(T)
    ComponentSystemBase.SetSingleton<T>(T)
    ComponentSystemBase.GetSingletonEntity<T>()
    ComponentSystemBase.TryGetSingletonEntity<T>(Entity)
    ComponentSystemBase.GetEntityQuery(ComponentType[])
    ComponentSystemBase.GetEntityQuery(NativeArray<ComponentType>)
    ComponentSystemBase.GetEntityQuery(EntityQueryDesc[])
    ComponentSystemBase.Enabled
    ComponentSystemBase.EntityQueries
    ComponentSystemBase.GlobalSystemVersion
    ComponentSystemBase.LastSystemVersion
    ComponentSystemBase.EntityManager
    ComponentSystemBase.World
    ComponentSystemBase.Time
    Namespace: Unity.NetCode
    Syntax
    public abstract class CommandSendSystem<TCommandDataSerializer, TCommandData> : SystemBase where TCommandDataSerializer : struct, ICommandDataSerializer<TCommandData> where TCommandData : struct, ICommandData
    Type Parameters
    Name Description
    TCommandDataSerializer
    TCommandData

    Fields

    k_InputBufferSendSize

    Declaration
    public const uint k_InputBufferSendSize = 4U
    Field Value
    Type Description
    UInt32

    Methods

    InitJobData()

    Declaration
    protected CommandSendSystem<TCommandDataSerializer, TCommandData>.SendJobData InitJobData()
    Returns
    Type Description
    CommandSendSystem.SendJobData<>

    OnCreate()

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

    OnDestroy()

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

    ScheduleJobData<T>(T)

    Declaration
    protected void ScheduleJobData<T>(in T sendJob)
        where T : struct, IJobEntityBatch
    Parameters
    Type Name Description
    T sendJob
    Type Parameters
    Name Description
    T
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021