bitburner-src/markdown/bitburner.codingcontract.md

25 lines
902 B
Markdown
Raw Normal View History

2021-10-30 12:34:14 -04:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [CodingContract](./bitburner.codingcontract.md)
## CodingContract interface
2021-10-30 15:46:34 -04:00
Coding Contact API
2021-10-30 12:34:14 -04:00
<b>Signature:</b>
```typescript
export interface CodingContract
2021-10-30 12:34:14 -04:00
```
## Methods
| Method | Description |
| --- | --- |
| [attempt(answer, fn, host, opts)](./bitburner.codingcontract.attempt.md) | Attemps a coding contract. |
2021-11-03 00:27:21 -04:00
| [getContractType(fn, host)](./bitburner.codingcontract.getcontracttype.md) | Get the type of a coding contract. |
| [getData(fn, host)](./bitburner.codingcontract.getdata.md) | Get the input data. |
| [getDescription(fn, host)](./bitburner.codingcontract.getdescription.md) | Get the description. |
| [getNumTriesRemaining(fn, host)](./bitburner.codingcontract.getnumtriesremaining.md) | Get the number of attempt remaining. |
2021-10-30 12:34:14 -04:00