Class RpcRegistration

Metadata describing an RPC method registration.

Metadata is generated at compile time (C++) or decoration time (TS) and stored in reflection. It tells the RPC manager how to route and deliver a method call.

Constructors

Properties

Accessors

Methods

Constructors

Properties

_path: string
_reliable: boolean
_scope: EnumValue<RpcScope, number>

Accessors

  • get path(): string
  • Path of the method on the target.

    Returns string

    Required to map incoming calls to the correct method. The path supports targeting RPC calls on sub-objects.

  • get reliable(): boolean
  • If true, the RPC must be delivered reliably.

    Returns boolean

    Reliable calls guarantee delivery and ordering. Unreliable calls may be dropped if the connection is congested, which is acceptable for transient signals like cosmetic effects.

Methods