Interface IGhostDeserializerCollection | Unity NetCode | 0.2.0-preview.5
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IGhostDeserializerCollection

    Namespace: Unity.NetCode
    Syntax
    public interface IGhostDeserializerCollection

    Methods

    BeginDeserialize(JobComponentSystem)

    Declaration
    void BeginDeserialize(JobComponentSystem system)
    Parameters
    Type Name Description
    JobComponentSystem system

    Deserialize(Int32, Entity, UInt32, UInt32, UInt32, UInt32, ref DataStreamReader, NetworkCompressionModel)

    Declaration
    bool Deserialize(int serializer, Entity entity, uint snapshot, uint baseline, uint baseline2, uint baseline3, ref DataStreamReader reader, NetworkCompressionModel compressionModel)
    Parameters
    Type Name Description
    Int32 serializer
    Entity entity
    UInt32 snapshot
    UInt32 baseline
    UInt32 baseline2
    UInt32 baseline3
    DataStreamReader reader
    NetworkCompressionModel compressionModel
    Returns
    Type Description
    Boolean

    Initialize(World)

    Declaration
    void Initialize(World world)
    Parameters
    Type Name Description
    World world

    Spawn(Int32, Int32, UInt32, ref DataStreamReader, NetworkCompressionModel)

    Declaration
    void Spawn(int serializer, int ghostId, uint snapshot, ref DataStreamReader reader, NetworkCompressionModel compressionModel)
    Parameters
    Type Name Description
    Int32 serializer
    Int32 ghostId
    UInt32 snapshot
    DataStreamReader reader
    NetworkCompressionModel compressionModel
    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