Struct CommandReceiveSystem<TCommandDataSerializer, TCommandData>.ReceiveJobData | Unity NetCode | 0.6.0-preview.7
docs.unity3d.com
    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 © 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