MultiplayerMatchExtension🔗
Hérite: MultiplayerAPIExtension
There is currently no description for this class. Please help us by contributing one !
Propriétés🔗
|
||
|
Méthodes🔗
void |
_init() |
Error |
_poll() |
Error |
_rpc(peer: int, object: Object, method: StringName, args: Array) |
void |
_set_multiplayer_peer(p_peer: MultiplayerPeer) |
Error |
|
void |
|
void |
_on_peer_connected(peer_id: int) |
void |
_on_peer_disconnected(peer_id: int) |
Signaux🔗
scene_changed() 🔗
There is currently no description for this signal. Please help us by contributing one!
Descriptions de propriété🔗
SceneMultiplayer _multiplayer = <unknown> 🔗
There is currently no description for this property. Please help us by contributing one!
The maximum number of concurrent connections to accept
Descriptions de méthode🔗
void _init() 🔗
There is currently no description for this method. Please help us by contributing one!
Error _poll() 🔗
There is currently no description for this method. Please help us by contributing one!
Error _rpc(peer: int, object: Object, method: StringName, args: Array) 🔗
There is currently no description for this method. Please help us by contributing one!
void _set_multiplayer_peer(p_peer: MultiplayerPeer) 🔗
There is currently no description for this method. Please help us by contributing one!
MultiplayerPeer _get_multiplayer_peer() 🔗
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
PackedInt32Array _get_peer_ids() 🔗
There is currently no description for this method. Please help us by contributing one!
Error serve(port: int = 9000) 🔗
Creates a server peer and listens for connections on all intefaces for specifed port
void join(host: String = "localhost", port: int = 9000) 🔗
Creates a client peer and connects to specified host and port
void _on_peer_connected(peer_id: int) 🔗
Emitted when a multiplayer peer successfully connects to a server. Only emitted on the server.
void _on_peer_disconnected(peer_id: int) 🔗
There is currently no description for this method. Please help us by contributing one!