7536d15fe3
MultiplayerPeer changes: - Adds is_server_relay_supported virtual method Informs the upper MultiplayerAPI layer if it can signal peers connected to the server to other clients, and perform packet relaying among them. - Adds get_packet_channel and get_packet_mode virtual methods Allows the MultiplayerAPI to retrieve the channel and transfer modes to use when relaying the last received packet. SceneMultiplayerPeer changes: - Implement peer signaling and packet relaying when the MultiplayerPeer advertise they are supported. ENet, WebRTC, WebSocket changes: - Removed custom code for relaying from WebSocket and ENet, and let it be handled by the upper layer. - Update WebRTC to split create_client, create_server, and create_mesh, with the latter behaving like the old initialize with "server_compatibility = false", and the first two supporting the upper layer relaying protocol. |
||
---|---|---|
.. | ||
doc_classes | ||
editor | ||
config.py | ||
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 | ||
SCsub |