Files
bitburner-src/markdown/bitburner.corporation.cancreatecorporation.md
catloversg 6e1848dd79 CORPORATION: Add new API to check if player can create corporation (#1598)
* CORPORATION: Add new API to check if player can create corporation
* Update description of createCorporation API
* Return enum instead of true/false
* Use throwIfReachable
* Fix typo in comment
2024-11-30 21:49:19 -08:00

785 B

Home > bitburner > Corporation > canCreateCorporation

Corporation.canCreateCorporation() method

Return whether the player can create a corporation. Does not require API access.

Signature:

canCreateCorporation(selfFund: boolean): CreatingCorporationCheckResult;

Parameters

Parameter Type Description
selfFund boolean true if you want to self-fund, false otherwise

Returns:

CreatingCorporationCheckResult

Result of the check

Remarks

RAM cost: 0 GB