mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
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 | ||
config.py | ||
library_godot_webrtc.js | ||
register_types.cpp | ||
register_types.h | ||
SCsub | ||
webrtc_data_channel_extension.cpp | ||
webrtc_data_channel_extension.h | ||
webrtc_data_channel_js.cpp | ||
webrtc_data_channel_js.h | ||
webrtc_data_channel.cpp | ||
webrtc_data_channel.h | ||
webrtc_multiplayer_peer.cpp | ||
webrtc_multiplayer_peer.h | ||
webrtc_peer_connection_extension.cpp | ||
webrtc_peer_connection_extension.h | ||
webrtc_peer_connection_js.cpp | ||
webrtc_peer_connection_js.h | ||
webrtc_peer_connection.cpp | ||
webrtc_peer_connection.h |