mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
DOCUMENTATION: Improve wording around host argument of getScriptRam (#2374)
This commit is contained in:
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -7968,8 +7968,8 @@ export interface NS {
|
||||
* Returns 0 if the script does not exist.
|
||||
*
|
||||
* @param script - Filename of script. This is case-sensitive.
|
||||
* @param host - Hostname/IP of target server the script is located on. Optional. Defaults to the server the calling script is running on.
|
||||
* @returns Amount of RAM (in GB) required to run the specified script on the target server, and 0 if the script does not exist.
|
||||
* @param host - Hostname/IP of the server the target script is located on. Optional. Defaults to the server the calling script is running on.
|
||||
* @returns Amount of RAM (in GB) required to run the specified script, and 0 if the script does not exist.
|
||||
*/
|
||||
getScriptRam(script: string, host?: string): number;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user