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
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