godot/modules/websocket
Fabio Alessandrelli 7536d15fe3 [MP] Let MultiplayerAPI handle packet relaying and peer signaling.
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.
2022-10-27 18:08:58 +02:00
..
doc_classes [WebSocket] Refactor websocket module. 2022-10-11 15:52:30 +02:00
editor [WebSocket] Fix debugger implementation. 2022-10-13 17:25:29 +02:00
config.py
emws_peer.cpp [WebSocket] Fix Web write mode. 2022-10-13 16:46:48 +02:00
emws_peer.h [WebSocket] Refactor websocket module. 2022-10-11 15:52:30 +02:00
library_godot_websocket.js Use 3001 instead of 1001 when destroying a websocket. 2022-03-18 10:09:50 -06:00
packet_buffer.h [WebSocket] Refactor websocket module. 2022-10-11 15:52:30 +02:00
register_types.cpp [WebSocket] Fix debugger implementation. 2022-10-13 17:25:29 +02:00
register_types.h Refactor module initialization 2022-05-04 17:34:51 +02:00
remote_debugger_peer_websocket.cpp [WebSocket] Fix debugger implementation. 2022-10-13 17:25:29 +02:00
remote_debugger_peer_websocket.h [WebSocket] Refactor websocket module. 2022-10-11 15:52:30 +02:00
SCsub SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00
websocket_multiplayer_peer.cpp [MP] Let MultiplayerAPI handle packet relaying and peer signaling. 2022-10-27 18:08:58 +02:00
websocket_multiplayer_peer.h [MP] Let MultiplayerAPI handle packet relaying and peer signaling. 2022-10-27 18:08:58 +02:00
websocket_peer.cpp [WebSocket] Refactor websocket module. 2022-10-11 15:52:30 +02:00
websocket_peer.h [WebSocket] Refactor websocket module. 2022-10-11 15:52:30 +02:00
wsl_peer.cpp [WebSocket] Fix client failing to connect to direct IP. 2022-10-17 12:52:09 +02:00
wsl_peer.h [WebSocket] Refactor websocket module. 2022-10-11 15:52:30 +02:00