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

    Struct SerializedRpcCommand

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

    Fields

    floatValue

    Declaration
    public float floatValue
    Field Value
    Type Description
    Single

    intValue

    Declaration
    public int intValue
    Field Value
    Type Description
    Int32

    shortValue

    Declaration
    public short shortValue
    Field Value
    Type Description
    Int16

    Methods

    CompileExecute()

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

    Deserialize(ref DataStreamReader, ref SerializedRpcCommand)

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

    Serialize(ref DataStreamWriter, SerializedRpcCommand)

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