mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-25 07:32:27 +01:00
28 lines
695 B
ReStructuredText
28 lines
695 B
ReStructuredText
|
placedFragments() Netscript Function
|
||
|
=======================================
|
||
|
|
||
|
.. js:function:: placedFragments()
|
||
|
|
||
|
:RAM cost: 5 GB
|
||
|
:returns: The list of all fragment that are embedded in Stanek's Gift.
|
||
|
|
||
|
.. code-block:: typescript
|
||
|
[
|
||
|
{
|
||
|
// In world coordinates
|
||
|
x: number;
|
||
|
y: number;
|
||
|
heat: number;
|
||
|
charge: number;
|
||
|
id: number;
|
||
|
shape: boolean[][];
|
||
|
type: string;
|
||
|
magnitude: number;
|
||
|
limit: number;
|
||
|
}
|
||
|
]
|
||
|
Example:
|
||
|
|
||
|
.. code-block:: javascript
|
||
|
var myFragments = placedFragments();
|