mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
NETSCRIPT: reduce RAM cost for renamePurchasedServer to 0 (#450)
This commit is contained in:
5
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
5
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -6082,13 +6082,12 @@ export interface NS {
|
||||
/**
|
||||
* Rename a purchased server.
|
||||
* @remarks
|
||||
* RAM cost: 2.00 GB
|
||||
* RAM cost: 0 GB
|
||||
*
|
||||
* @param hostname - Current server hostname.
|
||||
* @param newName - New server hostname.
|
||||
* @returns True if the upgrade succeeded, and false otherwise.
|
||||
*/
|
||||
renamePurchasedServer(hostname: string, newName: string): boolean;
|
||||
renamePurchasedServer(hostname: string, newName: string): void;
|
||||
|
||||
/**
|
||||
* Delete a purchased server.
|
||||
|
||||
Reference in New Issue
Block a user