Work functions do not take focus

setFocus readded and updated to send the user to the Work page if focusing.
This commit is contained in:
theit8514
2021-12-09 22:17:22 -05:00
parent e3a0caf50f
commit ad57f3dc73
7 changed files with 77 additions and 37 deletions

View File

@@ -1985,6 +1985,24 @@ export interface Singularity {
* @returns True if the installation was successful.
*/
installBackdoor(): Promise<void>;
/**
* SF4.2 - Check if the player is focused.
* @remarks
* RAM cost: 0.1 GB
*
*
* @returns True if the player is focused.
*/
isFocused(): void;
/**
* SF4.2 - Set the players focus.
* @remarks
* RAM cost: 0.1 GB
*
*/
setFocus(focus: boolean): void;
}
/**