Struct SimpleRpcCommand | Unity NetCode | 0.3.0-preview.3
docs.unity.cn
    Show / Hide Table of Contents

    Struct SimpleRpcCommand

    Namespace: Unity.NetCode.Tests
    Syntax
    public struct SimpleRpcCommand : IComponentData, IRpcCommandSerializer<SimpleRpcCommand>

    Methods

    CompileExecute()

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

    Deserialize(ref DataStreamReader, ref SimpleRpcCommand)

    Declaration
    public void Deserialize(ref DataStreamReader reader, ref SimpleRpcCommand data)
    Parameters
    Type Name Description
    DataStreamReader reader
    SimpleRpcCommand data
    Implements
    IRpcCommandSerializer<T>.Deserialize(ref DataStreamReader, ref T)

    Serialize(ref DataStreamWriter, SimpleRpcCommand)

    Declaration
    public void Serialize(ref DataStreamWriter writer, in SimpleRpcCommand data)
    Parameters
    Type Name Description
    DataStreamWriter writer
    SimpleRpcCommand data
    Implements
    IRpcCommandSerializer<T>.Serialize(ref DataStreamWriter, T)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 21 August 2020