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

    Struct CommandReceiveSystem<TCommandDataSerializer, TCommandData>.ReceiveJobData

    Namespace: Unity.NetCode
    Syntax
    protected struct ReceiveJobData

    Fields

    cmdBuffer

    Declaration
    public BufferFromEntity<IncomingCommandDataStreamBufferComponent> cmdBuffer
    Field Value
    Type Description
    BufferFromEntity<IncomingCommandDataStreamBufferComponent>

    commandData

    Declaration
    public BufferFromEntity<TCommandData> commandData
    Field Value
    Type Description
    BufferFromEntity<TCommandData>

    commmandTargetType

    Declaration
    [ReadOnly]
    public ComponentTypeHandle<CommandTargetComponent> commmandTargetType
    Field Value
    Type Description
    ComponentTypeHandle<CommandTargetComponent>

    compressionModel

    Declaration
    public NetworkCompressionModel compressionModel
    Field Value
    Type Description
    NetworkCompressionModel

    delayFromEntity

    Declaration
    public ComponentDataFromEntity<CommandDataInterpolationDelay> delayFromEntity
    Field Value
    Type Description
    ComponentDataFromEntity<CommandDataInterpolationDelay>

    entitiesType

    Declaration
    [ReadOnly]
    public EntityTypeHandle entitiesType
    Field Value
    Type Description
    EntityTypeHandle

    isNullCommandData

    Declaration
    public bool isNullCommandData
    Field Value
    Type Description
    Boolean

    serverTick

    Declaration
    public uint serverTick
    Field Value
    Type Description
    UInt32

    snapshotAckType

    Declaration
    public ComponentTypeHandle<NetworkSnapshotAckComponent> snapshotAckType
    Field Value
    Type Description
    ComponentTypeHandle<NetworkSnapshotAckComponent>

    Methods

    Execute(ArchetypeChunk, Int32)

    Declaration
    public void Execute(ArchetypeChunk chunk, int orderIndex)
    Parameters
    Type Name Description
    ArchetypeChunk chunk
    Int32 orderIndex

    LambdaMethod(Entity, Int32, CommandTargetComponent, ref NetworkSnapshotAckComponent)

    Declaration
    public void LambdaMethod(Entity entity, int index, in CommandTargetComponent commandTarget, ref NetworkSnapshotAckComponent snapshotAck)
    Parameters
    Type Name Description
    Entity entity
    Int32 index
    CommandTargetComponent commandTarget
    NetworkSnapshotAckComponent snapshotAck
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021