2021-12-09 00:19:30 +01:00
|
|
|
<!-- 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
|
|
|
|
|
2022-01-13 19:48:54 +01:00
|
|
|
Throw a party for your employees
|
2021-12-09 02:03:22 +01:00
|
|
|
|
2021-12-09 00:19:30 +01:00
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
throwParty(divisionName: string, cityName: string, costPerEmployee: number): Promise<number>;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2021-12-09 02:03:22 +01:00
|
|
|
| divisionName | string | Name of the division |
|
|
|
|
| cityName | string | Name of the city |
|
|
|
|
| costPerEmployee | number | Amount to spend per employee. |
|
2021-12-09 00:19:30 +01:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
Promise<number>
|
|
|
|
|
2021-12-09 02:03:22 +01:00
|
|
|
Amount of happiness increased.
|
|
|
|
|