Table of Contents

Class PhotonGameLobbyHandler

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public class PhotonGameLobbyHandler : MonoBehaviourPunCallbacks, IConnectionCallbacks, IMatchmakingCallbacks, IInRoomCallbacks, ILobbyCallbacks, IWebRpcCallback, IErrorInfoCallback
Inheritance
MonoBehaviourPun
MonoBehaviourPunCallbacks
PhotonGameLobbyHandler
Implements
IConnectionCallbacks
IMatchmakingCallbacks
IInRoomCallbacks
ILobbyCallbacks
IWebRpcCallback
IErrorInfoCallback
Inherited Members
MonoBehaviourPunCallbacks.OnEnable()
MonoBehaviourPunCallbacks.OnDisable()
MonoBehaviourPunCallbacks.OnConnected()
MonoBehaviourPunCallbacks.OnLeftRoom()
MonoBehaviourPunCallbacks.OnCreatedRoom()
MonoBehaviourPunCallbacks.OnJoinedLobby()
MonoBehaviourPunCallbacks.OnLeftLobby()
MonoBehaviourPunCallbacks.OnRegionListReceived(RegionHandler)
MonoBehaviourPunCallbacks.OnJoinedRoom()
MonoBehaviourPunCallbacks.OnConnectedToMaster()
MonoBehaviourPunCallbacks.OnRoomPropertiesUpdate(Hashtable)
MonoBehaviourPunCallbacks.OnPlayerPropertiesUpdate(Player, Hashtable)
MonoBehaviourPunCallbacks.OnWebRpcResponse(OperationResponse)
MonoBehaviourPunCallbacks.OnErrorInfo(ErrorInfo)
MonoBehaviourPun.photonView
Extension Methods

Constructors

PhotonGameLobbyHandler()

public PhotonGameLobbyHandler()

Fields

Instance

public static PhotonGameLobbyHandler Instance

Field Value

PhotonGameLobbyHandler

m_GoingToSurface

public bool m_GoingToSurface

Field Value

bool

m_SteamLobby

public SteamLobbyHandler m_SteamLobby

Field Value

SteamLobbyHandler

Properties

CurrentObjective

public static Objective CurrentObjective { get; set; }

Property Value

Objective

IsSurface

public static bool IsSurface { get; set; }

Property Value

bool

Methods

Awake()

public void Awake()

CheckForAllDead()

public void CheckForAllDead()

CheckForIllegalItems()

public void CheckForIllegalItems()

DiveToOldworld()

public void DiveToOldworld()

OnDisconnected(DisconnectCause)

public override void OnDisconnected(DisconnectCause cause)

Parameters

cause DisconnectCause

OnMasterClientSwitched(Player)

public override void OnMasterClientSwitched(Player newMasterClient)

Parameters

newMasterClient Player

OnPlayerEnteredRoom(Player)

public override void OnPlayerEnteredRoom(Player newPlayer)

Parameters

newPlayer Player

OnPlayerLeftRoom(Player)

public override void OnPlayerLeftRoom(Player player)

Parameters

player Player

RPCA_CheckIfOutsideOfDivebellPreSurface(int[])

[PunRPC]
public void RPCA_CheckIfOutsideOfDivebellPreSurface(int[] playersAlive)

Parameters

playersAlive int[]

RPC_SetCurrentObjective(byte)

[PunRPC]
public void RPC_SetCurrentObjective(byte index)

Parameters

index byte

RPC_StartTransition()

[PunRPC]
public void RPC_StartTransition()

ReturnToSurface(ICollection<Player>)

public void ReturnToSurface(ICollection<Player> playersInside = null)

Parameters

playersInside ICollection<Player>

SetCurrentObjective(Objective)

public void SetCurrentObjective(Objective objective)

Parameters

objective Objective

Start()

public void Start()

TransitionGameFeel()

public void TransitionGameFeel()

Update()

public void Update()

WaitThen(float, Action)

public IEnumerator WaitThen(float t, Action a)

Parameters

t float
a Action

Returns

IEnumerator