updated buyback and sells functions docs

This commit is contained in:
phyzical 2022-01-19 08:25:12 +08:00
parent dd47a8baa0
commit 71ac4aacf1
4 changed files with 14 additions and 8 deletions

@ -9,14 +9,14 @@ Buyback Shares
<b>Signature:</b>
```typescript
buyBackShares(amt: number): void;
buyBackShares(amount: number): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| amt | number | |
| amount | number | Amount of shares to buy back. |
<b>Returns:</b>

@ -19,6 +19,7 @@ export interface Corporation extends WarehouseAPI, OfficeAPI
| --- | --- |
| [acceptInvestmentOffer()](./bitburner.corporation.acceptinvestmentoffer.md) | Accept investment based on you companies current valuation |
| [bribe(factionName, amountCash, amountShares)](./bitburner.corporation.bribe.md) | Bribe a faction |
| [buyBackShares(amount)](./bitburner.corporation.buybackshares.md) | Buyback Shares |
| [createCorporation(corporationName, selfFund)](./bitburner.corporation.createcorporation.md) | Create a Corporation |
| [expandCity(divisionName, cityName)](./bitburner.corporation.expandcity.md) | Expand to a new city |
| [expandIndustry(industryType, divisionName)](./bitburner.corporation.expandindustry.md) | Expand to a new industry |
@ -34,5 +35,6 @@ export interface Corporation extends WarehouseAPI, OfficeAPI
| [hasUnlockUpgrade(upgradeName)](./bitburner.corporation.hasunlockupgrade.md) | Check if you have a one time unlockable upgrade |
| [issueDividends(percent)](./bitburner.corporation.issuedividends.md) | Issue dividends |
| [levelUpgrade(upgradeName)](./bitburner.corporation.levelupgrade.md) | Level an upgrade. |
| [sellShares(amount)](./bitburner.corporation.sellshares.md) | Sell Shares |
| [unlockUpgrade(upgradeName)](./bitburner.corporation.unlockupgrade.md) | Unlock an upgrade |

@ -9,14 +9,14 @@ Sell Shares
<b>Signature:</b>
```typescript
sellShares(amt: number): void;
sellShares(amount: number): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| amt | number | |
| amount | number | Amount of shares to sell. |
<b>Returns:</b>

@ -6489,12 +6489,16 @@ export interface Corporation extends WarehouseAPI, OfficeAPI {
issueDividends(percent: number): void;
/**
* Buyback Shares
* @param amount - Amount of shares to buy back.
*
*/
buyBackShares(amt: number): void;
buyBackShares(amount: number): void;
/**
* Sell Shares
*/
sellShares(amt: number): void;
* Sell Shares
* @param amount - Amount of shares to sell.
*
*/
sellShares(amount: number): void;
}
/**