2022-10-21 17:16:00 +02:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [share](./bitburner.ns.share.md)
|
|
|
|
|
|
|
|
## NS.share() method
|
|
|
|
|
2023-03-21 23:54:49 +01:00
|
|
|
Share the server's ram with your factions.
|
2022-10-21 17:16:00 +02:00
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
share(): Promise<void>;
|
|
|
|
```
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
Promise<void>
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
|
|
|
RAM cost: 2.4 GB
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
Increases your rep gain of all faction work types while share is called. Scales with thread count.
|
2022-10-21 17:16:00 +02:00
|
|
|
|