Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
BrokeProtocol.Utility.Minigame Class Reference
Inheritance diagram for BrokeProtocol.Utility.Minigame:
BrokeProtocol.Utility.CrackingGame BrokeProtocol.Utility.HackingGame

Public Member Functions

 Minigame (ShPlayer player, int targetID, string id, string optionID, float difficulty)
 
virtual void StartServerside ()
 

Public Attributes

readonly ShPlayer player
 
readonly int targetID
 
readonly string id
 
readonly string optionID
 
readonly float difficulty
 
bool gameActive
 

Protected Member Functions

virtual void GameOver (bool successful)
 

Constructor & Destructor Documentation

◆ Minigame()

BrokeProtocol.Utility.Minigame.Minigame ( ShPlayer player,
int targetID,
string id,
string optionID,
float difficulty )
inline

Member Function Documentation

◆ GameOver()

virtual void BrokeProtocol.Utility.Minigame.GameOver ( bool successful)
inlineprotectedvirtual

◆ StartServerside()

virtual void BrokeProtocol.Utility.Minigame.StartServerside ( )
inlinevirtual

Member Data Documentation

◆ difficulty

readonly float BrokeProtocol.Utility.Minigame.difficulty

◆ gameActive

bool BrokeProtocol.Utility.Minigame.gameActive

◆ id

readonly string BrokeProtocol.Utility.Minigame.id

◆ optionID

readonly string BrokeProtocol.Utility.Minigame.optionID

◆ player

readonly ShPlayer BrokeProtocol.Utility.Minigame.player

◆ targetID

readonly int BrokeProtocol.Utility.Minigame.targetID

The documentation for this class was generated from the following file: