mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 18:23:54 +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();
|