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 | Protected Attributes | List of all members
BrokeProtocol.Utility.CrackingGame Class Reference
Inheritance diagram for BrokeProtocol.Utility.CrackingGame:
BrokeProtocol.Utility.Minigame

Public Member Functions

 CrackingGame (ShPlayer player, int targetID, string id, string optionID, float difficulty)
 
override void StartServerside ()
 
void CrackAttempt (float attempt)
 
- Public Member Functions inherited from BrokeProtocol.Utility.Minigame
 Minigame (ShPlayer player, int targetID, string id, string optionID, float difficulty)
 

Public Attributes

float solution
 
float attemptsLeft
 
- Public Attributes inherited from BrokeProtocol.Utility.Minigame
readonly ShPlayer player
 
readonly int targetID
 
readonly string id
 
readonly string optionID
 
readonly float difficulty
 
bool gameActive
 

Protected Member Functions

override void GameOver (bool successful)
 

Protected Attributes

float winDeltaAngle
 
float hintDeltaAngle
 

Constructor & Destructor Documentation

◆ CrackingGame()

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

Member Function Documentation

◆ CrackAttempt()

void BrokeProtocol.Utility.CrackingGame.CrackAttempt ( float attempt)
inline

◆ GameOver()

override void BrokeProtocol.Utility.CrackingGame.GameOver ( bool successful)
inlineprotectedvirtual

Reimplemented from BrokeProtocol.Utility.Minigame.

◆ StartServerside()

override void BrokeProtocol.Utility.CrackingGame.StartServerside ( )
inlinevirtual

Reimplemented from BrokeProtocol.Utility.Minigame.

Member Data Documentation

◆ attemptsLeft

float BrokeProtocol.Utility.CrackingGame.attemptsLeft

◆ hintDeltaAngle

float BrokeProtocol.Utility.CrackingGame.hintDeltaAngle
protected

◆ solution

float BrokeProtocol.Utility.CrackingGame.solution

◆ winDeltaAngle

float BrokeProtocol.Utility.CrackingGame.winDeltaAngle
protected

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