mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
27 lines
661 B
ReStructuredText
27 lines
661 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;
|
|
charge: number;
|
|
id: number;
|
|
shape: boolean[][];
|
|
type: string;
|
|
power: number;
|
|
limit: number;
|
|
}
|
|
]
|
|
Example:
|
|
|
|
.. code-block:: javascript
|
|
var myFragments = placedFragments();
|