Creates a focuser that manages working for companies.
The Netscript object.
Priority this focuser should run at, defaults to <>
.
Current company being worked for.
Faction manager.
The Netscript object.
The name of the focusable.
Work for a company, applying if necessary.
Whether the focus was successful.
Get megacorps which do not yet have a faction invite.
All megacorps which do not have a faction invite.
Check if there are any megacorps with unjoined factions.
True if there are megacorps available to focus on.
Executes a focus action, returning a predefined sleep time.
_sleepTime
if successful, -1 otherwise.
Gets how often to check for task completion, defaults to this._checkInterval
.
How often to check for task completion.
Returns value from preset field.
Value of this._detailField
if set, "" otherwise
Get time needed for task, defaults to this._sleepTime
.
The time to sleep before running the manager again.
Gets the current priority of the focusable action.
Current priority, with 0 being the highest.
Check if we have enough rep to stop working early.
True if we should continue working, false if we have enough rep.
Checks if the action should run in the background, defaults to if priority is > 50.
True if this can run in the background, False if it needs to be in the foreground.
Generated using TypeDoc
Focusable managing working for companies.