bitburner-src/markdown/bitburner.officeapi.buycoffee.md

28 lines
639 B
Markdown
Raw Normal View History

2021-12-08 18:19:30 -05:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [OfficeAPI](./bitburner.officeapi.md) &gt; [buyCoffee](./bitburner.officeapi.buycoffee.md)
## OfficeAPI.buyCoffee() method
2021-12-08 20:03:22 -05:00
Buy coffee for your employees
2021-12-08 18:19:30 -05:00
<b>Signature:</b>
```typescript
2022-08-17 08:50:05 -04:00
buyCoffee(divisionName: string, cityName: string): boolean;
2021-12-08 18:19:30 -05:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2021-12-08 20:03:22 -05:00
| divisionName | string | Name of the division |
| cityName | string | Name of the city |
2021-12-08 18:19:30 -05:00
<b>Returns:</b>
2022-08-17 08:50:05 -04:00
boolean
2021-12-08 18:19:30 -05:00
2022-08-17 08:50:05 -04:00
true if buying coffee was successful, false otherwise
2021-12-08 20:03:22 -05:00