diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-10-06 17:25:50 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-10-08 12:49:20 +0200 |
commit | 7c939317510d4d9c79e3175dfd6a083cdaf680ee (patch) | |
tree | e39c3fb110487451b8ddcbab6f20a70a94669589 /doc | |
parent | 54ec66a70019d044c6fc723ba8f0c88fec0eda44 (diff) |
[Net] Add call_local argument to Node.rpc_config.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Node.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index 11c42fbd4a..cae74ca553 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -587,8 +587,9 @@ <return type="int" /> <argument index="0" name="method" type="StringName" /> <argument index="1" name="rpc_mode" type="int" enum="RPCMode" /> - <argument index="2" name="transfer_mode" type="int" enum="TransferMode" default="2" /> - <argument index="3" name="channel" type="int" default="0" /> + <argument index="2" name="call_local" type="bool" default="false" /> + <argument index="3" name="transfer_mode" type="int" enum="TransferMode" default="2" /> + <argument index="4" name="channel" type="int" default="0" /> <description> Changes the RPC mode for the given [code]method[/code] to the given [code]rpc_mode[/code], optionally specifying the [code]transfer_mode[/code] and [code]channel[/code] (on supported peers). See [enum RPCMode] and [enum TransferMode]. An alternative is annotating methods and properties with the corresponding annotation ([code]@rpc(any)[/code], [code]@rpc(auth)[/code]). By default, methods are not exposed to networking (and RPCs). </description> |