mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-12 09:23:18 +01:00
28 lines
658 B
Markdown
28 lines
658 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [OfficeAPI](./bitburner.officeapi.md) > [buyCoffee](./bitburner.officeapi.buycoffee.md)
|
|
|
|
## OfficeAPI.buyCoffee() method
|
|
|
|
Buy coffee for your employees
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
buyCoffee(divisionName: string, cityName: string): Promise<void>;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| divisionName | string | Name of the division |
|
|
| cityName | string | Name of the city |
|
|
|
|
<b>Returns:</b>
|
|
|
|
Promise<void>
|
|
|
|
A promise that is fulfilled when the coffee is served.
|
|
|