Struct __RPC_NAME__Serializer | Unity NetCode | 0.3.0-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Struct __RPC_NAME__Serializer

    Namespace: __RPC_NAMESPACE__
    Syntax
    public struct __RPC_NAME__Serializer : IComponentData, IRpcCommandSerializer<__RPC_COMPONENT_TYPE__>

    Methods

    CompileExecute()

    Declaration
    public PortableFunctionPointer<RpcExecutor.ExecuteDelegate> CompileExecute()
    Returns
    Type Description
    PortableFunctionPointer<RpcExecutor.ExecuteDelegate>

    Deserialize(ref DataStreamReader, ref __RPC_COMPONENT_TYPE__)

    Declaration
    public void Deserialize(ref DataStreamReader reader, ref __RPC_COMPONENT_TYPE__ data)
    Parameters
    Type Name Description
    DataStreamReader reader
    __RPC_COMPONENT_TYPE__ data

    Serialize(ref DataStreamWriter, __RPC_COMPONENT_TYPE__)

    Declaration
    public void Serialize(ref DataStreamWriter writer, in __RPC_COMPONENT_TYPE__ data)
    Parameters
    Type Name Description
    DataStreamWriter writer
    __RPC_COMPONENT_TYPE__ data
    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