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