Skip to main content
Version: 2.x

On Rpc

Raised for every RPC the server sends to this room, with the raw JSON. The typed room events (On Room Joined, On Peer Joined, On Room Status Changed, ...) are raised in addition for the RPCs they handle.

Inputs (Bind Event node)​

NameTypeDescription
TargetOdin RoomThe Odin Room that raises the event.
EventEventThe custom event (or function) to call when the event is raised. Its signature must match the outputs below.

Outputs (event parameters)​

NameTypeDescription
ExecExecFires when the event is raised.
RoomOdin RoomThe room object.
JsonStringRPC payload as JSON string.