Table of Contents

Class DivingBell

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

Constructors

DivingBell()

public DivingBell()

Fields

StateMachine

public DivingBellStateMachine StateMachine

Field Value

DivingBellStateMachine

door

public DivingBellDoor door

Field Value

DivingBellDoor

itemSpawns

public Transform itemSpawns

Field Value

Transform

locked

public bool locked

Field Value

bool

m_isMovingDoor

public bool m_isMovingDoor

Field Value

bool

m_photonView

public PhotonView m_photonView

Field Value

PhotonView

onSurface

public bool onSurface

Field Value

bool

opened

public bool opened

Field Value

bool

pickupDetector

public DiveBellPickupDetector pickupDetector

Field Value

DiveBellPickupDetector

playerDetector

public DiveBellPlayerDetector playerDetector

Field Value

DiveBellPlayerDetector

sfx

public DiveBellSFX sfx

Field Value

DiveBellSFX

spawnDifficulty

public float spawnDifficulty

Field Value

float

Methods

AttemptSetOpen(bool)

public void AttemptSetOpen(bool open)

Parameters

open bool

Awake()

public void Awake()

GoToSurface()

public void GoToSurface()

GoUnderground()

public void GoUnderground()

LockDoors()

public void LockDoors()

MoveDoor(IEnumerator)

public IEnumerator MoveDoor(IEnumerator door)

Parameters

door IEnumerator

Returns

IEnumerator

OnPlayerEnteredRoom(Player)

public override void OnPlayerEnteredRoom(Player newPlayer)

Parameters

newPlayer Player

RPC_Close()

[PunRPC]
public void RPC_Close()

RPC_GoToSurface()

[PunRPC]
public void RPC_GoToSurface()

RPC_GoToUnderground()

[PunRPC]
public void RPC_GoToUnderground()

RPC_Open()

[PunRPC]
public void RPC_Open()

RPC_StartTransition()

[PunRPC]
public void RPC_StartTransition()

SetDoorStateInstant(bool)

[PunRPC]
public void SetDoorStateInstant(bool state)

Parameters

state bool

Start()

public void Start()

TransitionGameFeel()

public void TransitionGameFeel()

Update()

public void Update()