A high-level network interface to simplify multiplayer interactions. Manages the connection to network peers. Assigns unique IDs to each client connected to the server. Returns the current state of the connection. See [enum ConnectionStatus]. Returns the ID of the [code]NetworkedMultiplayerPeer[/code] who sent the most recent packet. Returns the ID of this [code]NetworkedMultiplayerPeer[/code]. Returns [code]true[/code] if this [code]NetworkedMultiplayerPeer[/code] refuses new connections. Default value: [code]false[/code]. Waits up to 1 second to receive a new network event. If [code]true[/code] this [code]NetworkedMultiplayerPeer[/code] refuses new connections. Default value: [code]false[/code]. The peer to which packets will be sent. Default value: [code]0[/code]. The manner in which to send packets to the [code]target_peer[/code]. See [enum TransferMode]. Emitted when a connection attempt fails. Emitted when a connection attempt succeeds. Emitted by the server when a client connects. Emitted by the server when a client disconnects. Emitted by clients when the server disconnects. Packets are sent via unordered UDP packets. Packets are sent via ordered UDP packets. Packets are sent via TCP packets. The ongoing connection disconnected. A connection attempt is ongoing. The connection attempt succeeded. Packets are sent to the server and then redistributed to other peers. Packets are sent to the server alone.