docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct RpcParams

    Server-Side RPC Can be used with any sever-side remote procedure call Note: typically this is use primarily for the ServerRpcReceiveParams

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Netcode
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    public struct RpcParams

    Fields

    Receive

    The client RPC receive parameters provides you with the sender's identifier

    Declaration
    public RpcReceiveParams Receive
    Field Value
    Type Description
    RpcReceiveParams

    Send

    The server RPC send parameters (currently a place holder)

    Declaration
    public RpcSendParams Send
    Field Value
    Type Description
    RpcSendParams

    Operators

    implicit operator RpcParams(BaseRpcTarget)

    Declaration
    public static implicit operator RpcParams(BaseRpcTarget target)
    Parameters
    Type Name Description
    BaseRpcTarget target
    Returns
    Type Description
    RpcParams

    implicit operator RpcParams(LocalDeferMode)

    Declaration
    public static implicit operator RpcParams(LocalDeferMode deferMode)
    Parameters
    Type Name Description
    LocalDeferMode deferMode
    Returns
    Type Description
    RpcParams

    implicit operator RpcParams(RpcReceiveParams)

    Declaration
    public static implicit operator RpcParams(RpcReceiveParams receive)
    Parameters
    Type Name Description
    RpcReceiveParams receive
    Returns
    Type Description
    RpcParams

    implicit operator RpcParams(RpcSendParams)

    Declaration
    public static implicit operator RpcParams(RpcSendParams send)
    Parameters
    Type Name Description
    RpcSendParams send
    Returns
    Type Description
    RpcParams
    In This Article
    Back to top
    Copyright © 2024 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)