mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-21 23:22:04 +02:00
1.4 KiB
1.4 KiB
Home > bitburner > DarknetFormulas > getAuthenticateTime
DarknetFormulas.getAuthenticateTime() method
Gets the time it will take to authenticate a server.
Signature:
getAuthenticateTime(
serverDetails: DarknetServerDetails,
threads?: number,
player?: Person,
correctCharactersInPassword?: number,
): number;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
serverDetails |
The server to check authentication time on. | |
|
threads |
number |
(Optional) The number of threads to use for the authentication. Optional, defaults to 1 |
|
player |
(Optional) The player object. Optional, defaults to the current player status | |
|
correctCharactersInPassword |
number |
(Optional) only used for 2G_cellular model servers. The number of correct characters in the attempted password. Optional, defaults to 0 |
Returns:
number