docs.unity3d.com
    Show / Hide Table of Contents

    Struct CommandReceiveSystem<TCommandDataSerializer, TCommandData>.ReceiveJobData

    Namespace: Unity.NetCode
    Syntax
    protected struct ReceiveJobData

    Fields

    autoCommandTargetFromEntity

    Declaration
    [ReadOnly]
    public ComponentDataFromEntity<AutoCommandTarget> autoCommandTargetFromEntity
    Field Value
    Type Description
    ComponentDataFromEntity<AutoCommandTarget>

    cmdBufferType

    Declaration
    [ReadOnly]
    public BufferTypeHandle<IncomingCommandDataStreamBufferComponent> cmdBufferType
    Field Value
    Type Description
    BufferTypeHandle<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>

    ghostMap

    Declaration
    [ReadOnly]
    public NativeParallelHashMap<SpawnedGhost, Entity> ghostMap
    Field Value
    Type Description
    NativeParallelHashMap<SpawnedGhost, Entity>

    ghostOwnerFromEntity

    Declaration
    [ReadOnly]
    public ComponentDataFromEntity<GhostOwnerComponent> ghostOwnerFromEntity
    Field Value
    Type Description
    ComponentDataFromEntity<GhostOwnerComponent>

    netDebug

    Declaration
    public NetDebug netDebug
    Field Value
    Type Description
    NetDebug

    networkIdType

    Declaration
    [ReadOnly]
    public ComponentTypeHandle<NetworkIdComponent> networkIdType
    Field Value
    Type Description
    ComponentTypeHandle<NetworkIdComponent>

    serverTick

    Declaration
    public uint serverTick
    Field Value
    Type Description
    UInt32

    snapshotAckType

    Declaration
    [ReadOnly]
    public ComponentTypeHandle<NetworkSnapshotAckComponent> snapshotAckType
    Field Value
    Type Description
    ComponentTypeHandle<NetworkSnapshotAckComponent>

    stableHash

    Declaration
    public ulong stableHash
    Field Value
    Type Description
    UInt64

    Methods

    Deserialize(ref DataStreamReader, Entity, UInt32, in NetworkSnapshotAckComponent)

    Declaration
    public void Deserialize(ref DataStreamReader reader, Entity targetEntity, uint tick, in NetworkSnapshotAckComponent snapshotAck)
    Parameters
    Type Name Description
    DataStreamReader reader
    Entity targetEntity
    UInt32 tick
    NetworkSnapshotAckComponent snapshotAck

    Execute(ArchetypeChunk, Int32)

    Declaration
    public void Execute(ArchetypeChunk chunk, int orderIndex)
    Parameters
    Type Name Description
    ArchetypeChunk chunk
    Int32 orderIndex
    Back to top
    Terms of use
    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