docs.unity3d.com
    Show / Hide Table of Contents

    Struct GhostComponentSerializer.State

    This buffer is added to the GhostCollection singleton entity. Stores serialization meta-data for the ghost. Too large to be stored in chunk memory.

    Namespace: Unity.NetCode.LowLevel.Unsafe
    Syntax
    [InternalBufferCapacity(0)]
    public struct State : IBufferElementData

    Fields

    ChangeMaskBits

    Declaration
    public int ChangeMaskBits
    Field Value
    Type Description
    Int32

    ComponentSize

    Declaration
    public int ComponentSize
    Field Value
    Type Description
    Int32

    ComponentType

    Declaration
    public ComponentType ComponentType
    Field Value
    Type Description
    ComponentType

    CopyFromSnapshot

    Declaration
    public PortableFunctionPointer<GhostComponentSerializer.CopyToFromSnapshotDelegate> CopyFromSnapshot
    Field Value
    Type Description
    PortableFunctionPointer<GhostComponentSerializer.CopyToFromSnapshotDelegate>

    CopyToSnapshot

    Declaration
    public PortableFunctionPointer<GhostComponentSerializer.CopyToFromSnapshotDelegate> CopyToSnapshot
    Field Value
    Type Description
    PortableFunctionPointer<GhostComponentSerializer.CopyToFromSnapshotDelegate>

    Deserialize

    Declaration
    public PortableFunctionPointer<GhostComponentSerializer.DeserializeDelegate> Deserialize
    Field Value
    Type Description
    PortableFunctionPointer<GhostComponentSerializer.DeserializeDelegate>

    GhostFieldsHash

    Declaration
    public ulong GhostFieldsHash
    Field Value
    Type Description
    UInt64

    PostSerialize

    Declaration
    public PortableFunctionPointer<GhostComponentSerializer.PostSerializeDelegate> PostSerialize
    Field Value
    Type Description
    PortableFunctionPointer<GhostComponentSerializer.PostSerializeDelegate>

    PostSerializeBuffer

    Declaration
    public PortableFunctionPointer<GhostComponentSerializer.PostSerializeBufferDelegate> PostSerializeBuffer
    Field Value
    Type Description
    PortableFunctionPointer<GhostComponentSerializer.PostSerializeBufferDelegate>

    PredictDelta

    Declaration
    public PortableFunctionPointer<GhostComponentSerializer.PredictDeltaDelegate> PredictDelta
    Field Value
    Type Description
    PortableFunctionPointer<GhostComponentSerializer.PredictDeltaDelegate>

    RestoreFromBackup

    Declaration
    public PortableFunctionPointer<GhostComponentSerializer.RestoreFromBackupDelegate> RestoreFromBackup
    Field Value
    Type Description
    PortableFunctionPointer<GhostComponentSerializer.RestoreFromBackupDelegate>

    SendForChildEntities

    Declaration
    public int SendForChildEntities
    Field Value
    Type Description
    Int32

    SendMask

    Declaration
    public GhostComponentSerializer.SendMask SendMask
    Field Value
    Type Description
    GhostComponentSerializer.SendMask

    SendToOwner

    Declaration
    public SendToOwnerType SendToOwner
    Field Value
    Type Description
    SendToOwnerType

    Serialize

    Declaration
    public PortableFunctionPointer<GhostComponentSerializer.SerializeDelegate> Serialize
    Field Value
    Type Description
    PortableFunctionPointer<GhostComponentSerializer.SerializeDelegate>

    SerializeBuffer

    Declaration
    public PortableFunctionPointer<GhostComponentSerializer.SerializeBufferDelegate> SerializeBuffer
    Field Value
    Type Description
    PortableFunctionPointer<GhostComponentSerializer.SerializeBufferDelegate>

    SerializeChild

    Declaration
    public PortableFunctionPointer<GhostComponentSerializer.SerializeChildDelegate> SerializeChild
    Field Value
    Type Description
    PortableFunctionPointer<GhostComponentSerializer.SerializeChildDelegate>

    SerializerHash

    Declaration
    public ulong SerializerHash
    Field Value
    Type Description
    UInt64

    SnapshotSize

    Declaration
    public int SnapshotSize
    Field Value
    Type Description
    Int32

    VariantHash

    Declaration
    public ulong VariantHash
    Field Value
    Type Description
    UInt64

    VariantTypeIndex

    Declaration
    public int VariantTypeIndex
    Field Value
    Type Description
    Int32
    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