Skip to content

Class: LobbyManager ​

csharp
public class LobbyManager : ManagerBase<LobbyManager>, ILogicUpdate

Fields ​

NameDeclarationDescription
onCurrentLobbyChangedpublic Action onCurrentLobbyChanged
onLobbyListUpdatedpublic Action onLobbyListUpdated

Properties ​

NameDeclarationDescription
isLobbyLeaderpublic bool isLobbyLeader { get; }
servicepublic LobbyServiceProvider service { get; }
shouldRegisterUpdatespublic override bool shouldRegisterUpdates { get; }

Methods ​

GetDefaultLobbyName() ​

csharp
public static string GetDefaultLobbyName()

Returns: string

SwitchService() ​

csharp
public void SwitchService()

SwitchService(LobbyServiceProvider) ​

csharp
public void SwitchService(LobbyServiceProvider newProvider)

Parameters:

NameTypeDescription
newProviderLobbyServiceProvider

Maintained by the Shape of Dreams Modding Community