mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 23:08:36 +02:00
MISC: Use FactionName enum in relevant APIs (#2101)
This commit is contained in:
@@ -15,14 +15,14 @@ Bribe a faction. You must satisfy these conditions:
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
bribe(factionName: string, amountCash: number): boolean;
|
||||
bribe(factionName: FactionName, amountCash: number): boolean;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| factionName | string | Faction name |
|
||||
| factionName | [FactionName](./bitburner.factionname.md) | Faction name |
|
||||
| amountCash | number | Amount of money to bribe |
|
||||
|
||||
**Returns:**
|
||||
|
||||
Reference in New Issue
Block a user