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
|
2022-08-17 14:50:05 +02:00
|
|
|
throwParty(divisionName: string, cityName: string, costPerEmployee: number): number;
|
2021-12-09 00:19:30 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## 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>
|
|
|
|
|
2022-08-17 14:50:05 +02:00
|
|
|
number
|
2021-12-09 00:19:30 +01:00
|
|
|
|
2022-08-17 14:50:05 +02:00
|
|
|
Multiplier for happiness and morale, or zero on failure
|
2021-12-09 02:03:22 +01:00
|
|
|
|