docs.unity3d.com
    Show / Hide Table of Contents

    Struct __GHOST_COLLECTION_PREFIX__GhostSerializerCollection

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Global Namespace
    Syntax
    public struct __GHOST_COLLECTION_PREFIX__GhostSerializerCollection : IGhostSerializerCollection

    Methods

    BeginSerialize(ComponentSystemBase)

    Declaration
    public void BeginSerialize(ComponentSystemBase system)
    Parameters
    Type Name Description
    ComponentSystemBase system
    Implements
    IGhostSerializerCollection.BeginSerialize(ComponentSystemBase)

    CalculateImportance(Int32, ArchetypeChunk)

    Declaration
    public int CalculateImportance(int serializer, ArchetypeChunk chunk)
    Parameters
    Type Name Description
    System.Int32 serializer
    ArchetypeChunk chunk
    Returns
    Type Description
    System.Int32
    Implements
    IGhostSerializerCollection.CalculateImportance(Int32, ArchetypeChunk)

    FindGhostType<T>()

    Declaration
    public static int FindGhostType<T>()
        where T : struct, ISnapshotData<T>
    Returns
    Type Description
    System.Int32
    Type Parameters
    Name Description
    T

    FindSerializer(EntityArchetype)

    Declaration
    public int FindSerializer(EntityArchetype arch)
    Parameters
    Type Name Description
    EntityArchetype arch
    Returns
    Type Description
    System.Int32
    Implements
    IGhostSerializerCollection.FindSerializer(EntityArchetype)

    GetSnapshotSize(Int32)

    Declaration
    public int GetSnapshotSize(int serializer)
    Parameters
    Type Name Description
    System.Int32 serializer
    Returns
    Type Description
    System.Int32
    Implements
    IGhostSerializerCollection.GetSnapshotSize(Int32)

    Serialize(SerializeData)

    Declaration
    public int Serialize(SerializeData data)
    Parameters
    Type Name Description
    SerializeData data
    Returns
    Type Description
    System.Int32
    Implements
    IGhostSerializerCollection.Serialize(SerializeData)

    WantsPredictionDelta(Int32)

    Declaration
    public bool WantsPredictionDelta(int serializer)
    Parameters
    Type Name Description
    System.Int32 serializer
    Returns
    Type Description
    System.Boolean
    Implements
    IGhostSerializerCollection.WantsPredictionDelta(Int32)
    Back to top
    Copyright © 2025 Unity Technologies
    • 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 02 April 2025