godot/modules/enet/doc_classes
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
..
ENetConnection.xml Replace Array return types with TypedArray 3 2022-08-24 12:53:36 +02:00
ENetMultiplayerPeer.xml [MP] Let MultiplayerAPI handle packet relaying and peer signaling. 2022-10-27 18:08:58 +02:00
ENetPacketPeer.xml [Net] Expose get_remote_address get_remote_port. 2022-08-26 10:47:55 +02:00