mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
doc
This commit is contained in:
@@ -4,11 +4,7 @@
|
||||
|
||||
## Hacknet.getCacheUpgradeCost() method
|
||||
|
||||
This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).
|
||||
|
||||
Returns the cost of upgrading the cache level of the specified Hacknet Server by n.
|
||||
|
||||
If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned.
|
||||
Calculate the cost of upgrading hacknet node cache.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
@@ -33,3 +29,9 @@ Cost of upgrading the specified Hacknet Node's cache.
|
||||
|
||||
RAM cost: 0 GB
|
||||
|
||||
This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).
|
||||
|
||||
Returns the cost of upgrading the cache level of the specified Hacknet Server by n.
|
||||
|
||||
If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user