Class NetworkDealBoss
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class NetworkDealBoss : MonoBehaviourPunCallbacks, IConnectionCallbacks, IMatchmakingCallbacks, IInRoomCallbacks, ILobbyCallbacks, IWebRpcCallback, IErrorInfoCallback
- Inheritance
-
MonoBehaviourPun
MonoBehaviourPunCallbacks
NetworkDealBoss
- 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
NetworkDealBoss()
Fields
activeDeal
public static NetworkDealBase activeDeal
Field Value
- NetworkDealBase
me
public static NetworkDealBoss me
Field Value
- NetworkDealBoss
view
Field Value
- PhotonView
Methods
AddDeal(NetworkDealBase)
public void AddDeal(NetworkDealBase deal)
Parameters
deal
NetworkDealBase
Awake()
ClaimReward()
public void ClaimReward()
ClaimTheReward()
[ConsoleCommand]
public static void ClaimTheReward()
Cleanup()
public static void Cleanup()
CompleteDeal()
[ConsoleCommand]
public static void CompleteDeal()
CompleteDealAndClaimReward()
[ConsoleCommand]
public static void CompleteDealAndClaimReward()
FailDeal()
[ConsoleCommand]
public static void FailDeal()
HardSyncDeal()
public void HardSyncDeal()
OnAddQuota(int)
public void OnAddQuota(int quotaToAdd)
Parameters
quotaToAdd
int
OnMoneyRemoved(int)
public void OnMoneyRemoved(int money)
Parameters
money
int
OnPlayerEnteredRoom(Player)
public override void OnPlayerEnteredRoom(Player newPlayer)
Parameters
newPlayer
Player
OnStatusUpdated()
public void OnStatusUpdated()
PickDeal(NetworkDealBase)
[ConsoleCommand]
public static void PickDeal(NetworkDealBase deal)
Parameters
deal
NetworkDealBase
PrintActiveDeal()
public void PrintActiveDeal()
RPCA_AddDeal(byte, byte, DIFFICULTY)
[PunRPC]
public void RPCA_AddDeal(byte dealIndex, byte rewardIndex, DIFFICULTY difficulty)
Parameters
dealIndex
byte
rewardIndex
byte
difficulty
DIFFICULTY
RPCA_ClaimReward()
[PunRPC]
public void RPCA_ClaimReward()
RPCA_HardSyncDeal(int, DEAL_STATE, byte, byte, DIFFICULTY)
[PunRPC]
public void RPCA_HardSyncDeal(int progress, NetworkDealBase.DEAL_STATE dealState, byte dealIndex, byte rewardIndex, DIFFICULTY difficulty)
Parameters
progress
int
dealState
NetworkDealBase.DEAL_STATE
dealIndex
byte
rewardIndex
byte
difficulty
DIFFICULTY
RPCA_RemoveDeal()
[PunRPC]
public void RPCA_RemoveDeal()
RPCA_SyncDealProgress(int, DEAL_STATE)
[PunRPC]
public void RPCA_SyncDealProgress(int progress, NetworkDealBase.DEAL_STATE dealState)
Parameters
progress
int
dealState
NetworkDealBase.DEAL_STATE
RemoveDeal(NetworkDealBase)
public void RemoveDeal(NetworkDealBase deal)
Parameters
deal
NetworkDealBase
RequestClaimReward()
public void RequestClaimReward()
ReviewUploadContent(ContentBuffer)
public void ReviewUploadContent(ContentBuffer contentBuffer)
Parameters
contentBuffer
ContentBuffer
SyncDealProgress()
public void SyncDealProgress()
Update()