mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-23 16:13:49 +01:00
29 lines
732 B
Markdown
29 lines
732 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [OfficeAPI](./bitburner.officeapi.md) > [throwParty](./bitburner.officeapi.throwparty.md)
|
|
|
|
## OfficeAPI.throwParty() method
|
|
|
|
Throw a party for your employees
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
throwParty(divisionName: string, cityName: string, costPerEmployee: number): Promise<number>;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| divisionName | string | Name of the division |
|
|
| cityName | string | Name of the city |
|
|
| costPerEmployee | number | Amount to spend per employee. |
|
|
|
|
<b>Returns:</b>
|
|
|
|
Promise<number>
|
|
|
|
Amount of happiness increased.
|
|
|