mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
ca7d572908
- 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.
15 lines
260 B
Python
15 lines
260 B
Python
#!/usr/bin/env python
|
|
|
|
Import("env")
|
|
Import("env_modules")
|
|
|
|
env_mp = env_modules.Clone()
|
|
|
|
module_obj = []
|
|
env_mp.add_source_files(module_obj, "*.cpp")
|
|
|
|
if env["tools"]:
|
|
env_mp.add_source_files(module_obj, "editor/*.cpp")
|
|
|
|
env.modules_sources += module_obj
|