mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 20:23:53 +00: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 | ||
editor | ||
config.py | ||
emws_peer.cpp | ||
emws_peer.h | ||
library_godot_websocket.js | ||
packet_buffer.h | ||
register_types.cpp | ||
register_types.h | ||
remote_debugger_peer_websocket.cpp | ||
remote_debugger_peer_websocket.h | ||
SCsub | ||
websocket_multiplayer_peer.cpp | ||
websocket_multiplayer_peer.h | ||
websocket_peer.cpp | ||
websocket_peer.h | ||
wsl_peer.cpp | ||
wsl_peer.h |