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