You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
[Net] Modularize multiplayer, expose MultiplayerAPI to extensions.
- RPC configurations are now dictionaries. - Script.get_rpc_methods renamed to Script.get_rpc_config. - Node.rpc[_id] and Callable.rpc now return an Error. - Refactor MultiplayerAPI to allow extension. - New MultiplayerAPI.rpc method with Array argument (for scripts). - Move the default MultiplayerAPI implementation to a module.
This commit is contained in:
@@ -74,7 +74,7 @@ void ScriptExtension::_bind_methods() {
|
||||
GDVIRTUAL_BIND(_get_members);
|
||||
GDVIRTUAL_BIND(_is_placeholder_fallback_enabled);
|
||||
|
||||
GDVIRTUAL_BIND(_get_rpc_methods);
|
||||
GDVIRTUAL_BIND(_get_rpc_config);
|
||||
}
|
||||
|
||||
void ScriptLanguageExtension::_bind_methods() {
|
||||
|
||||
Reference in New Issue
Block a user