mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
This commit is contained in:
7
dist/bitburner.d.ts
vendored
7
dist/bitburner.d.ts
vendored
@@ -2720,7 +2720,7 @@ export declare interface NS extends Singularity {
|
||||
* @param args - Additional arguments to pass into the new script that is being run. Note that if any arguments are being passed into the new script, then the second argument numThreads must be filled in with a value.
|
||||
* @returns Returns the PID of a successfully started script, and 0 otherwise.
|
||||
*/
|
||||
run(script: string, numThreads?: number, ...args: string[]): number;
|
||||
run(script: string, numThreads?: number, ...args: Array<string | number | boolean>): number;
|
||||
|
||||
/**
|
||||
* Start another script on any server.
|
||||
@@ -2760,7 +2760,7 @@ export declare interface NS extends Singularity {
|
||||
* @param args - Additional arguments to pass into the new script that is being run. Note that if any arguments are being passed into the new script, then the third argument numThreads must be filled in with a value.
|
||||
* @returns Returns the PID of a successfully started script, and 0 otherwise.
|
||||
*/
|
||||
exec(script: string, host: string, numThreads?: number, ...args: string[]): number;
|
||||
exec(script: string, host: string, numThreads?: number, ...args: Array<string | number | boolean>): number;
|
||||
|
||||
/**
|
||||
* Terminate current script and start another in 10s.
|
||||
@@ -3678,8 +3678,9 @@ export declare interface NS extends Singularity {
|
||||
* Queue a toast (bottom-right notification).
|
||||
* @param msg - Message in the toast.
|
||||
* @param variant - Type of toast, must be one of success, info, warning, error. Defaults to success.
|
||||
* @param duration - Duration of toast in ms, defaults to 2000
|
||||
*/
|
||||
toast(msg: any, variant?: string): void;
|
||||
toast(msg: any, variant?: string, duration?: number): void;
|
||||
|
||||
/**
|
||||
* Download a file from the internet.
|
||||
|
||||
16
dist/vendor.bundle.js
vendored
16
dist/vendor.bundle.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user