Up to date

This page is up to date for Godot 4.3. If you still find outdated information, please open an issue.

LobbyPeerΒΆ

Inherits: Resource < RefCounted < Object

Lobby information returned after a LobbyClient request that returns peers.

DescriptionΒΆ

Lobby information returned after a LobbyClient request that returns peers.

PropertiesΒΆ

Dictionary

data

{}

bool

disconnected

false

String

id

""

int

order_id

-1

bool

ready

false

Dictionary

user_data

{}


Property DescriptionsΒΆ

Dictionary data = {} πŸ”—

Public data of the peer.


bool disconnected = false πŸ”—

  • bool is_disconnected()

Whether the peer is disconnected.


String id = "" πŸ”—

Identifier of the peer.


int order_id = -1 πŸ”—

  • int get_order_id()

Order when the peer joined the lobby server.


bool ready = false πŸ”—

Whether the peer is ready.


Dictionary user_data = {} πŸ”—

Public user data of the peer.