A Lobby is a grouping of online players for use in multiplayer gaming. State about the lobby will be shared amongst the players in it.
More...
|
void | Set (Lobby updatedState) |
| Update the state of the current lobby with the data from another lobby instance. This will trigger the observable callbacks. More...
|
|
virtual int | GetBroadcastChecksum () |
| The broadcast checksum is a concept for change-detection. More...
|
|
|
string | lobbyId |
| The id of the lobby. Use this id when making requests for a particular lobby via ILobbyApi
|
|
string | name |
| The name of the Lobby. This value is optional.
|
|
string | description |
| Optional description associated with the lobby. This is useful when trying to distinguish lobbies when querying for open lobbies.
|
|
string | restriction |
| String version of the Restriction property.
|
|
string | host |
| If a player creates a lobby directly, rather than through matchmaking, this property will be filled in by the playerId who made the initial create call.
|
|
List< LobbyPlayer > | players |
| List of LobbyPlayer who are currently active in the lobby.
|
|
string | passcode |
| Unique AlphaNumeric string which can be shared to allow for players to join the lobby.
|
|
int | maxPlayers |
| Configured max number of players this lobby can hold. This is set on creation or via the Beamable.Common.Content.SimGameTypeRef.
|
|
|
LobbyRestriction | Restriction [get] |
| Either "Open" or "Closed" representing who can query and join the Lobby.
|
|
|
void | TriggerUpdate () |
|
Action | OnUpdated |
| A "change" only happens when the value of the GetBroadcastChecksum changes.
|
|
Action | OnUpdated |
| An event that happens whenever the object has changed.
|
|
A Lobby is a grouping of online players for use in multiplayer gaming. State about the lobby will be shared amongst the players in it.
◆ Set()
void Beamable.Experimental.Api.Lobbies.Lobby.Set |
( |
Lobby |
updatedState | ) |
|
|
inline |
Update the state of the current lobby with the data from another lobby instance. This will trigger the observable callbacks.
- Parameters
-
updatedState | The latest copy of the lobby |
The documentation for this class was generated from the following file:
- com.beamable/Common/Runtime/Api/Lobbies/Lobby.cs