virtualx-engine/modules/multiplayer/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
..
MultiplayerSpawner.xml Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
MultiplayerSynchronizer.xml Fix typos with codespell 2022-09-30 14:23:36 +02:00
SceneMultiplayer.xml [MP] Let MultiplayerAPI handle packet relaying and peer signaling. 2022-10-27 18:08:58 +02:00
SceneReplicationConfig.xml Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00