Up to date

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

LobbyInfoΒΆ

Inherits: Resource < RefCounted < Object

Lobby information returned after a LobbyClient request that returns a lobby.

DescriptionΒΆ

Lobby information returned after a LobbyClient request that returns a lobby.

PropertiesΒΆ

Dictionary

data

{}

String

host

""

String

host_name

""

String

id

""

String

lobby_name

""

int

max_players

0

bool

password_protected

false

int

players

0

bool

sealed

false

Dictionary

tags

{}


Property DescriptionsΒΆ

Dictionary data = {} πŸ”—

The lobby public data.


String host = "" πŸ”—

The host id of the lobby.


String host_name = "" πŸ”—

The name of the host of the lobby.


String id = "" πŸ”—

The id of the lobby.


String lobby_name = "" πŸ”—

The name of the lobby.


int max_players = 0 πŸ”—

  • int get_max_players()

The maximum number of players allowed in the lobby. 0 = unlimited


bool password_protected = false πŸ”—

  • bool is_password_protected()

Whether the lobby is password protected.


int players = 0 πŸ”—

  • int get_players()

The number of players currently in the lobby.


bool sealed = false πŸ”—

Whether the lobby is sealed.


Dictionary tags = {} πŸ”—

The tags of the lobby. Used for listing lobbies to filter based on them.