MISC: Use FactionName enum in relevant APIs (#2101)

This commit is contained in:
catloversg
2025-05-11 12:13:22 +07:00
committed by GitHub
parent 178da0fb5a
commit 4044b4a223
20 changed files with 62 additions and 54 deletions

View File

@@ -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:**