godot/modules/multiplayer
Fabio Alessandrelli 32e4ab91e8 [MP] Fix broken RPCs after dictionary keys type change
As part of RPCs processing, they need to be sorted reliably across all
peers, so that unique IDs can be assigned to greatly optimize the
network layer.

The RPC configuration nodes are stored in dictionaries which, until
recently, always casted StringName keys to String.

Since method names (keys) in the RPC configuration were StringName,
a side effect of the above change is that sorting the dictionary keys no
longer sort them alphabetically by default (StringName are compared
using their pointers).

This commit changes the RPC processing logic to use sort_custom to
provide a function that can handle the StringName comparison.
2024-09-12 16:38:14 +02:00
..
doc_classes Fix typo in MultiplayerSpawner doc 2024-08-12 14:57:02 +03:00
editor [MP] Fix division by zero in network profiler 2024-09-02 13:29:38 +02:00
config.py [Net] Modularize multiplayer, expose MultiplayerAPI to extensions. 2022-07-26 09:31:12 +02:00
multiplayer_debugger.cpp Replace error checks against size with is_empty 2024-02-09 12:50:15 +01:00
multiplayer_debugger.h Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00
multiplayer_spawner.cpp Merge pull request #91084 from OwenAEdwards/master 2024-06-21 10:14:06 +02:00
multiplayer_spawner.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
multiplayer_synchronizer.cpp Instantiate a replication config on synchronizer creation 2024-06-20 01:14:50 +02:00
multiplayer_synchronizer.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
register_types.cpp Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00
register_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
scene_cache_interface.cpp [MP] Partially revert cache cleanup, track paths as fallback 2024-07-31 19:32:32 +02:00
scene_cache_interface.h [MP] Partially revert cache cleanup, track paths as fallback 2024-07-31 19:32:32 +02:00
scene_multiplayer.cpp [MP] Fix relay protocol routing with negative targets 2024-08-06 13:21:47 +02:00
scene_multiplayer.h Fixed binary representation typo in comment 2024-02-14 07:59:12 -06:00
scene_replication_config.cpp Reduce and prevent unnecessary random-access to List 2024-05-04 16:08:55 +02:00
scene_replication_config.h [MP] Fix replication config reload error 2024-03-03 11:13:00 +01:00
scene_replication_interface.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
scene_replication_interface.h Enforce template syntax typename over class 2024-03-07 22:39:09 -06:00
scene_rpc_interface.cpp [MP] Fix broken RPCs after dictionary keys type change 2024-09-12 16:38:14 +02:00
scene_rpc_interface.h [MP] Fix broken RPCs after dictionary keys type change 2024-09-12 16:38:14 +02:00
SCsub SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00