From c76acf68900ad20f7043c1a151c750472da1465d Mon Sep 17 00:00:00 2001 From: reduz Date: Mon, 3 May 2021 18:00:44 -0300 Subject: Add RPC to Callable -Up to each scripting language to implement this -If not supported for the function, it will just error when you try to call --- doc/classes/Callable.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/Callable.xml b/doc/classes/Callable.xml index 0cfbd0270c..cbab1a8f50 100644 --- a/doc/classes/Callable.xml +++ b/doc/classes/Callable.xml @@ -151,6 +151,22 @@ Returns [code]true[/code] if both [Callable]s invoke the same custom target. + + + + + Perform an RPC (Remote Procedure Call). This is used for multiplayer and is normally not available unless the function being called has been marked as [i]RPC[/i]. Calling it on unsupported functions will result in an error. + + + + + + + + + Perform an RPC (Remote Procedure Call) on a specific peer ID (see multiplayer documentation for reference). This is used for multiplayer and is normally not available unless the function being called has been marked as [i]RPC[/i]. Calling it on unsupported functions will result in an error. + + -- cgit v1.2.3