docs.unity3d.com
Search Results for

    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.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.NetCode
    Assembly: Unity.NetCode.dll
    Syntax
    public struct RpcExecutor.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

    IsServer

    Is this executing in a server world.

    Declaration
    public bool IsServer
    Field Value
    Type Description
    bool

    JobIndex

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

    Declaration
    public int JobIndex
    Field Value
    Type Description
    int

    NetDebug

    Logger.

    Declaration
    public NetDebug NetDebug
    Field Value
    Type Description
    NetDebug

    ProtocolVersion

    Cache of this components value.

    Declaration
    public NetworkProtocolVersion ProtocolVersion
    Field Value
    Type Description
    NetworkProtocolVersion

    Reader

    The data-stream that contains the rpc data.

    Declaration
    public DataStreamReader Reader
    Field Value
    Type Description
    DataStreamReader

    UseDynamicAssemblyList

    True if this world is using DynamicAssemblyList.

    Declaration
    public bool UseDynamicAssemblyList
    Field Value
    Type Description
    bool

    WorldName

    Cache of this World's name.

    Declaration
    public FixedString128Bytes WorldName
    Field Value
    Type Description
    FixedString128Bytes

    Properties

    DeserializerState

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

    Declaration
    public RpcDeserializerState DeserializerState { get; }
    Property Value
    Type Description
    RpcDeserializerState
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)