Photon Server API

Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Photon.LoadBalancing.MasterServer.Lobby.LobbyFactory Class Reference

Public Member Functions

 LobbyFactory (GameApplication application)
 
 LobbyFactory (GameApplication application, AppLobbyType defaultLobbyType)
 
void Initialize ()
 
bool GetOrCreateAppLobby (string lobbyName, AppLobbyType lobbyType, out AppLobby lobby)
 
void OnGameServerRemoved (IncomingGameServerPeer gameServerPeer)
 
AppLobby[] GetLobbies (int maxItems)
 
AppLobby[] GetLobbies (string[] lobbyNames, byte[] lobbyTypes)
 

Protected Member Functions

virtual AppLobby CreateAppLobby (string lobbyName, AppLobbyType lobbyType)
 

Protected Attributes

readonly GameApplication application
 

Constructor & Destructor Documentation

◆ LobbyFactory() [1/2]

Photon.LoadBalancing.MasterServer.Lobby.LobbyFactory.LobbyFactory ( GameApplication  application)
inline

◆ LobbyFactory() [2/2]

Photon.LoadBalancing.MasterServer.Lobby.LobbyFactory.LobbyFactory ( GameApplication  application,
AppLobbyType  defaultLobbyType 
)
inline

Member Function Documentation

◆ CreateAppLobby()

virtual AppLobby Photon.LoadBalancing.MasterServer.Lobby.LobbyFactory.CreateAppLobby ( string  lobbyName,
AppLobbyType  lobbyType 
)
inlineprotectedvirtual

◆ GetLobbies() [1/2]

AppLobby [] Photon.LoadBalancing.MasterServer.Lobby.LobbyFactory.GetLobbies ( int  maxItems)
inline

◆ GetLobbies() [2/2]

AppLobby [] Photon.LoadBalancing.MasterServer.Lobby.LobbyFactory.GetLobbies ( string[]  lobbyNames,
byte[]  lobbyTypes 
)
inline

◆ GetOrCreateAppLobby()

bool Photon.LoadBalancing.MasterServer.Lobby.LobbyFactory.GetOrCreateAppLobby ( string  lobbyName,
AppLobbyType  lobbyType,
out AppLobby  lobby 
)
inline

◆ Initialize()

void Photon.LoadBalancing.MasterServer.Lobby.LobbyFactory.Initialize ( )
inline

◆ OnGameServerRemoved()

void Photon.LoadBalancing.MasterServer.Lobby.LobbyFactory.OnGameServerRemoved ( IncomingGameServerPeer  gameServerPeer)
inline

Member Data Documentation

◆ application

readonly GameApplication Photon.LoadBalancing.MasterServer.Lobby.LobbyFactory.application
protected