mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-04 06:37:49 +02:00
UI: Added new locale-aware and configurable number formatting (#354)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
Purchase a hash upgrade.
|
||||
|
||||
<b>Signature:</b>
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
spendHashes(upgName: string, upgTarget?: string, count?: number): boolean;
|
||||
@@ -17,10 +17,10 @@ spendHashes(upgName: string, upgTarget?: string, count?: number): boolean;
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| upgName | string | Name of the upgrade of Hacknet Node. |
|
||||
| upgTarget | string | Object to which upgrade applies. Required for certain upgrades. |
|
||||
| count | number | Number of upgrades to buy at once. Defaults to 1 if not specified. For compatibility reasons, upgTarget must be specified, even if it is not used, in order to specify count. |
|
||||
| upgTarget | string | _(Optional)_ Object to which upgrade applies. Required for certain upgrades. |
|
||||
| count | number | _(Optional)_ Number of upgrades to buy at once. Defaults to 1 if not specified. For compatibility reasons, upgTarget must be specified, even if it is not used, in order to specify count. |
|
||||
|
||||
<b>Returns:</b>
|
||||
**Returns:**
|
||||
|
||||
boolean
|
||||
|
||||
|
||||
Reference in New Issue
Block a user