NetworkedMultiplayerCustom
A NetworkedMultiplayerPeer implementation that can be controlled from a script.
A NetworkedMultiplayerPeer implementation that can be used as a and controlled from a script.
Its purpose is to allow adding a new backend for the high-Level multiplayer API without needing to use GDNative.
Your script should take this packet and send it to the requested peer over the network (which should call with the data when it’s received).
Deliver a packet to the local .
When your script receives a packet from other peers over the network (originating from the packet_generated signal on the sending peer), passing it to this method will deliver it locally.
- void initialize ( self_peer_id )
Initialize the peer with the given (must be between 1 and 2147483647).
- void set_connection_status ( ConnectionStatus connection_status )
Set the state of the connection. See .