bitburner-src/markdown/bitburner.autocompletedata.md
G4mingJon4s 651b17739c
NETSCRIPT: Add ns.self() as a free info function ()
* added utility info

* moved info to running script

* fix for RAM cost

* description changes

Co-authored-by: David Walker <d0sboots@gmail.com>

* fixed wrong formatting

* Added parent to ignored fields

---------

Co-authored-by: David Walker <d0sboots@gmail.com>
2024-09-07 17:34:24 -07:00

1.4 KiB

Home > bitburner > AutocompleteData

AutocompleteData interface

Used for autocompletion

Signature:

interface AutocompleteData 

Properties

Property Modifiers Type Description
enums NSEnums Netscript Enums
filename string The filename of the script about to be run
hostname string The hostname of the server the script would be running on
processes ProcessInfo[] The processes running on the host
scripts string[] All scripts on the current server
servers string[] All server hostnames
txts string[] All text files on the current server

Methods

Method Description
flags(schema) Parses the flags schema on the already inputted flags