mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 01:32:55 +02:00
rebuild
This commit is contained in:
+6
-6
@@ -1992,7 +1992,7 @@ export interface Singularity {
|
||||
*
|
||||
* @returns True if the installation was successful.
|
||||
*/
|
||||
installBackdoor(): Promise<boolean>;
|
||||
installBackdoor(): Promise<void>;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -3607,7 +3607,7 @@ export interface NS extends Singularity {
|
||||
* @param growthAmount - Multiplicative factor by which the server is grown. Decimal form..
|
||||
* @returns The amount of grow calls needed to grow the specified server by the specified amount
|
||||
*/
|
||||
growthAnalyze(host: string, growthAmount: number): number;
|
||||
growthAnalyze(host: string, growthAmount: number, cores?: number): number;
|
||||
|
||||
/**
|
||||
* Calculate the security increase for a number of thread.
|
||||
@@ -4738,13 +4738,13 @@ export interface NS extends Singularity {
|
||||
* @remarks
|
||||
* RAM cost: 0.05 GB
|
||||
*
|
||||
* Returns the amount of time in seconds it takes to execute the grow Netscript function on the target server.
|
||||
* Returns the amount of time in milliseconds it takes to execute the grow Netscript function on the target server.
|
||||
* The function takes in an optional hackLvl parameter that can be specified to see what the grow time would be at different hacking levels.
|
||||
*
|
||||
* @param host - Host of target server.
|
||||
* @param hackLvl - Optional hacking level for the calculation. Defaults to player’s current hacking level.
|
||||
* @param intLvl - Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5).
|
||||
* @returns Returns the amount of time in seconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server.
|
||||
* @returns Returns the amount of time in milliseconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server.
|
||||
*/
|
||||
getGrowTime(host: string): number;
|
||||
|
||||
@@ -4753,13 +4753,13 @@ export interface NS extends Singularity {
|
||||
* @remarks
|
||||
* RAM cost: 0.05 GB
|
||||
*
|
||||
* Returns the amount of time in seconds it takes to execute the weaken() Netscript function on the target server.
|
||||
* Returns the amount of time in milliseconds it takes to execute the weaken() Netscript function on the target server.
|
||||
* The function takes in an optional hackLvl parameter that can be specified to see what the weaken time would be at different hacking levels.
|
||||
*
|
||||
* @param host - Host of target server.
|
||||
* @param hackLvl - Optional hacking level for the calculation. Defaults to player’s current hacking level.
|
||||
* @param intLvl - Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5).
|
||||
* @returns Returns the amount of time in seconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server.
|
||||
* @returns Returns the amount of time in milliseconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server.
|
||||
*/
|
||||
getWeakenTime(host: string): number;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user