_internal.interfaces.store.ISellable - vladzaharia/bitburner GitHub Wiki
_internal/interfaces/store.ISellable
Represents a class capable of selling, with a percentage of available money allocated to it.
interface
| Name | Description |
|---|---|
S |
The sell parameters for implementing classes. |
▸ sell(params): Promise<boolean>
Sell an item with parameters params, if possible.
| Name | Type | Description |
|---|---|---|
params |
S |
Parameters for this transaction. |
Promise<boolean>
Whether the transaction was successful.