mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
renameServer changes
* Update doc error, regenerate docs * Update a bad error message in renamePurchasedServer@serverPurchases.ts * restore true/false return (removed in #450 due to miscommunication)
This commit is contained in:
3
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
3
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -6086,8 +6086,9 @@ export interface NS {
|
||||
*
|
||||
* @param hostname - Current server hostname.
|
||||
* @param newName - New server hostname.
|
||||
* @returns True if successful, and false otherwise.
|
||||
*/
|
||||
renamePurchasedServer(hostname: string, newName: string): void;
|
||||
renamePurchasedServer(hostname: string, newName: string): boolean;
|
||||
|
||||
/**
|
||||
* Delete a purchased server.
|
||||
|
||||
Reference in New Issue
Block a user