Class LemonUI::Scaleform::BruteForce
ClassList > LemonUI > Scaleform > BruteForce
The BruteForce Hacking Minigame shown in multiple missions.
Inherits the following classes: LemonUI::Scaleform::BaseScaleform
Public Properties
| Type | Name |
|---|---|
| property BruteForceBackground | Background The background of the Hacking minigame. |
| property bool | CanRetry If the player can retry the hack after failing. |
| property int | CloseAfter The time in milliseconds to wait before closing the Hack window automatically. |
| property TimeSpan | Countdown The countdown of the Hack minigame. |
| property int | CurrentLives The current number of lives that the player has. |
| property List< string > | FailMessages The messages that will appear when the player fails. |
| property bool | ResetOnRowFail If all of the rows should be restarted after the player fails one. |
| property bool | ShowLives If the lives of the player should be shown on the top right. |
| property List< string > | SuccessMessages The messages that might appear on success. |
| property int | TotalLives The number of Lives of the minigame. |
| property string | Word The Word shown to select in the menu. |
Public Properties inherited from LemonUI::Scaleform::BaseScaleform
See LemonUI::Scaleform::BaseScaleform
| Type | Name |
|---|---|
| property int | Handle The ID or Handle of the Scaleform . |
| property bool | IsLoaded If the Scaleform is loaded or not. |
| property string | Name The Name of the Scaleform . |
| property bool | Visible If the Scaleform should be visible or not. |
Public Properties inherited from LemonUI::IProcessable
| Type | Name |
|---|---|
| property bool | Visible If this processable item is visible on the screen. |
Public Functions
| Type | Name |
|---|---|
| BruteForce () Creates a new Hacking Scaleform . |
|
| void | Reset () Resets the entire Hacking minigame. |
| void | RunProgram (int program) Runs the specified Hacking program. |
| void | SetColumnSpeed (int index, float speed) Sets the speed of one of the 8 columns. |
| virtual override void | Update () Updates the information of the Hacking window. |
Public Functions inherited from LemonUI::Scaleform::BaseScaleform
See LemonUI::Scaleform::BaseScaleform
| Type | Name |
|---|---|
| BaseScaleform (string sc) Creates a new Scaleform class with the specifiedScaleform object name. |
|
| void | CallFunction (string function, params object[] parameters) Calls a Scaleform function. |
| int | CallFunctionReturn (string function, params object[] parameters) Calls a Scaleform function with a return value. |
| void | Dispose () Marks the scaleform as no longer needed. |
| virtual void | Draw () Draws the scaleform full screen. |
| virtual void | DrawFullScreen () Draws the scaleform full screen. |
| T | GetValue< T > (int id) Gets a specific value. |
| bool | IsValueReady (int id) Checks if the specified Scaleform Return Value is ready to be fetched. |
| virtual void | Process () Draws the scaleform full screen. |
| virtual abstract void | Update () = 0 Updates the parameters of the Scaleform . |
Public Functions inherited from LemonUI::Scaleform::IScaleform
See LemonUI::Scaleform::IScaleform
| Type | Name |
|---|---|
| void | DrawFullScreen () Draws the Scaleform in full screen. |
Public Functions inherited from LemonUI::IDrawable
| Type | Name |
|---|---|
| void | Draw () Draws the item on the screen. |
Public Functions inherited from LemonUI::IProcessable
| Type | Name |
|---|---|
| void | Process () Processes the object. |
Public Properties Documentation
property Background
BruteForceBackground LemonUI.Scaleform.BruteForce.Background;
property CanRetry
bool LemonUI.Scaleform.BruteForce.CanRetry;
property CloseAfter
The time in milliseconds to wait before closing the Hack window automatically.
int LemonUI.Scaleform.BruteForce.CloseAfter;
This can be set to -1 to keep the Hack window open.
property Countdown
TimeSpan LemonUI.Scaleform.BruteForce.Countdown;
property CurrentLives
int LemonUI.Scaleform.BruteForce.CurrentLives;
property FailMessages
List<string> LemonUI.Scaleform.BruteForce.FailMessages;
property ResetOnRowFail
bool LemonUI.Scaleform.BruteForce.ResetOnRowFail;
property ShowLives
bool LemonUI.Scaleform.BruteForce.ShowLives;
property SuccessMessages
List<string> LemonUI.Scaleform.BruteForce.SuccessMessages;
property TotalLives
int LemonUI.Scaleform.BruteForce.TotalLives;
property Word
string LemonUI.Scaleform.BruteForce.Word;
Public Functions Documentation
function BruteForce
inline LemonUI::Scaleform::BruteForce::BruteForce ()
function Reset
inline void LemonUI::Scaleform::BruteForce::Reset ()
function RunProgram
Runs the specified Hacking program.
inline void LemonUI::Scaleform::BruteForce::RunProgram (
int program
)
Parameters:
programThe program to open.
function SetColumnSpeed
Sets the speed of one of the 8 columns.
inline void LemonUI::Scaleform::BruteForce::SetColumnSpeed (
int index,
float speed
)
Parameters:
indexThe index of the column.speedThe speed of the column.
function Update
inline virtual override void LemonUI::Scaleform::BruteForce::Update ()
Implements LemonUI::Scaleform::BaseScaleform::Update
The documentation for this class was generated from the following file repos/LemonUI/LemonUI/Scaleform/BruteForce.cs