mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
API: Add ns.renderTail (#1815)
This commit is contained in:
13
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
13
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -6406,6 +6406,19 @@ export interface NS {
|
||||
*/
|
||||
tail(fn?: FilenameOrPID, host?: string, ...args: ScriptArg[]): void;
|
||||
|
||||
/**
|
||||
* Render a tail window.
|
||||
*
|
||||
* @remarks
|
||||
* RAM cost: 0 GB
|
||||
*
|
||||
* Tail windows are rendered at an interval defined in game settings. This function renders the tail window of the
|
||||
* specified script immediately.
|
||||
*
|
||||
* @param pid - Optional. PID of the script having its tail rendered. If omitted, the current script is used.
|
||||
*/
|
||||
renderTail(pid?: number): void;
|
||||
|
||||
/**
|
||||
* Move a tail window.
|
||||
* @remarks
|
||||
|
||||
Reference in New Issue
Block a user