Struct SerializedLargeRpcCommand | Unity NetCode | 0.6.0-preview.7
docs.unity.cn
    Show / Hide Table of Contents

    Struct SerializedLargeRpcCommand

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

    Fields

    stringValue

    Declaration
    public FixedString512 stringValue
    Field Value
    Type Description
    FixedString512

    Methods

    CompileExecute()

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

    Deserialize(ref DataStreamReader, RpcDeserializerState, ref SerializedLargeRpcCommand)

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

    Serialize(ref DataStreamWriter, RpcSerializerState, SerializedLargeRpcCommand)

    Declaration
    public void Serialize(ref DataStreamWriter writer, in RpcSerializerState state, in SerializedLargeRpcCommand data)
    Parameters
    Type Name Description
    DataStreamWriter writer
    RpcSerializerState state
    SerializedLargeRpcCommand data
    Implements
    IRpcCommandSerializer<T>.Serialize(ref DataStreamWriter, RpcSerializerState, T)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021