Interface IGhostDeserializerCollection | Unity NetCode | 0.2.0-preview.5
docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX