Photon Server API Documentation v5.0RC1

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)
 
void Initialize ()
 
bool GetOrCreateAppLobby (string lobbyName, AppLobbyType lobbyType, out AppLobby lobby, out string errorMsg)
 
void OnGameServerRemoved (GameServerContext gameServer)
 
AppLobby[] GetLobbies (int maxItems)
 
AppLobby[] GetLobbies (string[] lobbyNames, byte[] lobbyTypes)
 
void OnBeginReplication (GameServerContext gameServerContext)
 
void OnStopReplication (GameServerContext gameServerContext)
 
void OnFinishReplication (GameServerContext gameServerContext)
 

Protected Member Functions

 LobbyFactory (GameApplication application, AppLobbyType defaultLobbyType)
 
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 
)
inlineprotected

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,
out string  errorMsg 
)
inline

◆ Initialize()

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

◆ OnBeginReplication()

void Photon.LoadBalancing.MasterServer.Lobby.LobbyFactory.OnBeginReplication ( GameServerContext  gameServerContext)
inline

◆ OnFinishReplication()

void Photon.LoadBalancing.MasterServer.Lobby.LobbyFactory.OnFinishReplication ( GameServerContext  gameServerContext)
inline

◆ OnGameServerRemoved()

void Photon.LoadBalancing.MasterServer.Lobby.LobbyFactory.OnGameServerRemoved ( GameServerContext  gameServer)
inline

◆ OnStopReplication()

void Photon.LoadBalancing.MasterServer.Lobby.LobbyFactory.OnStopReplication ( GameServerContext  gameServerContext)
inline

Member Data Documentation

◆ application

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