1
0
Fork 0
godot/modules/multiplayer
Max Aller e304b4e43e
GDScript: Fix incorrect default transfer_mode for `@rpc` annotation
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
2026-01-01 11:46:24 +01:00
..
doc_classes
editor Add leftover scroll hints, and panels for scrollables without hints 2025-12-12 10:59:03 -03:00
icons Move Multiplayer icons to the module 2025-12-07 19:20:54 +01:00
tests
SCsub
config.py
multiplayer_debugger.cpp Remove `display_server.h` transitive include from `node.h`. 2025-10-14 00:43:02 +02:00
multiplayer_debugger.h Add GDSOFTCLASS to deeper inheritors of Object 2025-09-24 19:15:56 +01:00
multiplayer_spawner.cpp Remove transitive `mesh.h`, `rendering_server.h` and `shader.h` includes from `node.h`. 2025-10-08 12:16:52 +02:00
multiplayer_spawner.h
multiplayer_synchronizer.cpp
multiplayer_synchronizer.h
register_types.cpp Core: Handle disabled class detection in ClassDB 2025-08-26 09:31:14 -05:00
register_types.h
scene_cache_interface.cpp
scene_cache_interface.h
scene_multiplayer.cpp Remove `display_server.h` transitive include from `node.h`. 2025-10-14 00:43:02 +02:00
scene_multiplayer.h
scene_replication_config.cpp
scene_replication_config.h
scene_replication_interface.cpp removed _custom_spawner from error message 2025-10-24 02:40:40 -04:00
scene_replication_interface.h Remove `display_server.h` transitive include from `node.h`. 2025-10-14 00:43:02 +02:00
scene_rpc_interface.cpp GDScript: Fix incorrect default transfer_mode for `@rpc` annotation 2026-01-01 11:46:24 +01:00
scene_rpc_interface.h