Class BruteForce
The BruteForce Hacking Minigame shown in multiple missions.
Inherited Members
Namespace: LemonUI.Scaleform
Assembly: LemonUI.SHVDN3.dll
Syntax
public class BruteForce : BaseScaleform, IScaleform, IDrawable, IProcessable, IDisposable
Constructors
View SourceBruteForce()
Creates a new Hacking Scaleform.
Declaration
public BruteForce()
Properties
View SourceBackground
The background of the Hacking minigame.
Declaration
public BruteForceBackground Background { get; set; }
Property Value
| Type | Description |
|---|---|
| BruteForceBackground |
CanRetry
If the player can retry the hack after failing.
Declaration
public bool CanRetry { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
CloseAfter
The time in milliseconds to wait before closing the Hack window automatically.
Declaration
public int CloseAfter { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
This can be set to -1 to keep the Hack window open.
Countdown
The countdown of the Hack minigame.
Declaration
public TimeSpan Countdown { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
CurrentLives
The current number of lives that the player has.
Declaration
public int CurrentLives { get; }
Property Value
| Type | Description |
|---|---|
| int |
FailMessages
The messages that will appear when the player fails.
Declaration
public List<string> FailMessages { get; }
Property Value
| Type | Description |
|---|---|
| List<string> |
ResetOnRowFail
If all of the rows should be restarted after the player fails one.
Declaration
public bool ResetOnRowFail { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ShowLives
If the lives of the player should be shown on the top right.
Declaration
public bool ShowLives { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
SuccessMessages
The messages that might appear on success.
Declaration
public List<string> SuccessMessages { get; }
Property Value
| Type | Description |
|---|---|
| List<string> |
TotalLives
The number of Lives of the minigame.
Declaration
public int TotalLives { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Visible
If the Scaleform should be visible or not.
Declaration
public override bool Visible { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
View SourceWord
The Word shown to select in the menu.
Declaration
public string Word { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceReset()
Resets the entire Hacking minigame.
Declaration
public void Reset()
RunProgram(int)
Runs the specified Hacking program.
Declaration
public void RunProgram(int program)
Parameters
| Type | Name | Description |
|---|---|---|
| int | program | The program to open. |
SetColumnSpeed(int, float)
Sets the speed of one of the 8 columns.
Declaration
public void SetColumnSpeed(int index, float speed)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index of the column. |
| float | speed | The speed of the column. |
Update()
Updates the information of the Hacking window.
Declaration
public override void Update()
Overrides
Events
View SourceHackFinished
Event triggered when the player finishes a hack.
Declaration
public event BruteForceFinishedEventHandler HackFinished
Event Type
| Type | Description |
|---|---|
| BruteForceFinishedEventHandler |