mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 22:22:26 +01:00
added syntax useage to github ns main page
This commit is contained in:
parent
e3a0caf50f
commit
a48d91b4cd
@ -11,6 +11,23 @@ Collection of all functions passed to scripts
|
|||||||
```typescript
|
```typescript
|
||||||
export interface NS extends Singularity
|
export interface NS extends Singularity
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<b>Usage:</b>
|
||||||
|
|
||||||
|
ns1:
|
||||||
|
```
|
||||||
|
property.methodName
|
||||||
|
```
|
||||||
|
paragraph [ns1 gameDocs](https://bitburner.readthedocs.io/en/latest/netscript/netscript1.html)
|
||||||
|
|
||||||
|
<!-- Didn't know if you wanted separation here like horizontal rules will leave this up to you -->
|
||||||
|
|
||||||
|
ns2:
|
||||||
|
```
|
||||||
|
ns.property.methodName
|
||||||
|
```
|
||||||
|
paragraph [ns2 gameDocs](https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html)
|
||||||
|
|
||||||
<b>Extends:</b> [Singularity](./bitburner.singularity.md)
|
<b>Extends:</b> [Singularity](./bitburner.singularity.md)
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
Loading…
Reference in New Issue
Block a user