API: Add ns.renderTail (#1815)

This commit is contained in:
catloversg
2025-01-26 00:14:45 +07:00
committed by GitHub
parent 97d248419d
commit b161142796
5 changed files with 56 additions and 0 deletions

View File

@@ -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