docs.unity3d.com
    Show / Hide Table of Contents

    Struct RpcExecutor.Parameters

    Struct used as argument to the rpc execute method (see the RpcExecutor.ExecuteDelegate delegate). Contains the input data stream, the receiving connection, and other useful data that can be used to decode and write your rpc logic.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.NetCode
    Syntax
    public struct Parameters

    Fields

    CommandBuffer

    A command buffer that be used to make structural changes.

    Declaration
    public EntityCommandBuffer.ParallelWriter CommandBuffer
    Field Value
    Type Description
    EntityCommandBuffer.ParallelWriter

    Connection

    The connection that received the rpc.

    Declaration
    public Entity Connection
    Field Value
    Type Description
    Entity

    JobIndex

    The sort order that must be used to add commands to command buffer.

    Declaration
    public int JobIndex
    Field Value
    Type Description
    Int32

    Reader

    The data-stream that contains the rpc data.

    Declaration
    public DataStreamReader Reader
    Field Value
    Type Description
    DataStreamReader

    Properties

    DeserializerState

    An instance of RpcDeserializerState that can be used to deserialize the rpcs.

    Declaration
    public readonly RpcDeserializerState DeserializerState { get; }
    Property Value
    Type Description
    RpcDeserializerState
    In This Article
    • Fields
      • CommandBuffer
      • Connection
      • JobIndex
      • Reader
    • Properties
      • DeserializerState
    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