|
@@ -210,7 +210,7 @@ private:
|
|
|
void *process_group = nullptr; // to avoid cyclic dependency
|
|
|
|
|
|
int multiplayer_authority = 1; // Server by default.
|
|
|
- Variant rpc_config = Dictionary();
|
|
|
+ Variant rpc_config;
|
|
|
|
|
|
// Variables used to properly sort the node when processing, ignored otherwise.
|
|
|
int process_priority = 0;
|
|
@@ -786,7 +786,7 @@ public:
|
|
|
bool is_multiplayer_authority() const;
|
|
|
|
|
|
void rpc_config(const StringName &p_method, const Variant &p_config); // config a local method for RPC
|
|
|
- Variant get_rpc_config() const;
|
|
|
+ const Variant get_node_rpc_config() const;
|
|
|
|
|
|
template <typename... VarArgs>
|
|
|
Error rpc(const StringName &p_method, VarArgs... p_args);
|