docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct RPCInvokeID

    Identifies an RPC handle method so a received RPC can be routed to it.

    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 readonly struct RPCInvokeID

    Constructors

    RPCInvokeID(ulong)

    Creates an invoke id from a raw value.

    Declaration
    public RPCInvokeID(ulong value)
    Parameters
    Type Name Description
    ulong value

    The raw id value. Zero is not a valid id.

    Methods

    IsValid()

    Checks whether this id has been assigned.

    Declaration
    public bool IsValid()
    Returns
    Type Description
    bool

    True if the id is non-zero.

    In This Article
    Back to top
    Copyright © 2026 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)