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 /scene/main/node.h | |
parent | 54ec66a70019d044c6fc723ba8f0c88fec0eda44 (diff) |
[Net] Add call_local argument to Node.rpc_config.
Diffstat (limited to 'scene/main/node.h')
-rw-r--r-- | scene/main/node.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/node.h b/scene/main/node.h index 7d4c79cfba..e59a7a390a 100644 --- a/scene/main/node.h +++ b/scene/main/node.h @@ -466,7 +466,7 @@ public: int get_multiplayer_authority() const; bool is_multiplayer_authority() const; - uint16_t rpc_config(const StringName &p_method, Multiplayer::RPCMode p_rpc_mode, Multiplayer::TransferMode p_transfer_mode, int p_channel = 0); // config a local method for RPC + uint16_t rpc_config(const StringName &p_method, Multiplayer::RPCMode p_rpc_mode, bool p_call_local = false, Multiplayer::TransferMode p_transfer_mode = Multiplayer::TRANSFER_MODE_RELIABLE, int p_channel = 0); // config a local method for RPC Vector<Multiplayer::RPCConfig> get_node_rpc_methods() const; void rpc(const StringName &p_method, VARIANT_ARG_LIST); // RPC, honors RPCMode, TransferMode, channel |