mirror of https://github.com/godotengine/godot
The `@rpc` annotation was registered with "unreliable" as the default transfer_mode, but the runtime (SceneRPCInterface) defaults to TRANSFER_MODE_RELIABLE. This caused a mismatch between the documented default and the actual behavior when using Node.rpc_config(). Changed the parser default to "reliable" to match the runtime behavior and C# RpcAttribute. Added comments in all three locations to help prevent future drift. Fixes godotengine/godot-docs#8874 Related docs fix: godotengine/godot-docs#11554 |
||
|---|---|---|
| .. | ||
| doc_classes | ||
| editor | ||
| icons | ||
| tests | ||
| SCsub | ||
| config.py | ||
| multiplayer_debugger.cpp | ||
| multiplayer_debugger.h | ||
| multiplayer_spawner.cpp | ||
| multiplayer_spawner.h | ||
| multiplayer_synchronizer.cpp | ||
| multiplayer_synchronizer.h | ||
| register_types.cpp | ||
| register_types.h | ||
| scene_cache_interface.cpp | ||
| scene_cache_interface.h | ||
| scene_multiplayer.cpp | ||
| scene_multiplayer.h | ||
| scene_replication_config.cpp | ||
| scene_replication_config.h | ||
| scene_replication_interface.cpp | ||
| scene_replication_interface.h | ||
| scene_rpc_interface.cpp | ||
| scene_rpc_interface.h | ||