MultiplayerMatchExtension๐Ÿ”—

Inherits: MultiplayerAPIExtension

There is currently no description for this class. Please help us by contributing one !

Properties๐Ÿ”—

SceneMultiplayer

_multiplayer

<unknown>

int

max_peers

32

Methoden๐Ÿ”—

void

_init()

Error

_poll()

Error

_rpc(peer: int, object: Object, method: StringName, args: Array)

void

_set_multiplayer_peer(p_peer: MultiplayerPeer)

MultiplayerPeer

_get_multiplayer_peer()

int

_get_unique_id()

int

_get_remote_sender_id()

PackedInt32Array

_get_peer_ids()

Error

serve(port: int = 9000)

void

join(host: String = "localhost", port: int = 9000)

void

_on_peer_connected(peer_id: int)

void

_on_peer_disconnected(peer_id: int)


Signals๐Ÿ”—

scene_changed() ๐Ÿ”—

There is currently no description for this signal. Please help us by contributing one!


Eigenschaftsbeschreibungen๐Ÿ”—

SceneMultiplayer _multiplayer = <unknown> ๐Ÿ”—

There is currently no description for this property. Please help us by contributing one!


int max_peers = 32 ๐Ÿ”—

The maximum number of concurrent connections to accept


Methodenbeschreibungen๐Ÿ”—

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!


int _get_unique_id() ๐Ÿ”—

There is currently no description for this method. Please help us by contributing one!


int _get_remote_sender_id() ๐Ÿ”—

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!