bitburner-src/markdown/bitburner.codingcontract.md

27 lines
1.1 KiB
Markdown
Raw Normal View History

2021-10-30 18:34:14 +02: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
2022-01-08 19:25:06 +01:00
Coding Contract API
2021-10-30 18:34:14 +02:00
<b>Signature:</b>
```typescript
export interface CodingContract
2021-10-30 18:34:14 +02:00
```
## Methods
| Method | Description |
| --- | --- |
2022-03-17 21:50:46 +01:00
| [attempt(answer, filename, host, opts)](./bitburner.codingcontract.attempt.md) | Attempts a coding contract. |
2022-10-10 00:46:13 +02:00
| [createDummyContract(type)](./bitburner.codingcontract.createdummycontract.md) | Generate a dummy contract. |
2021-11-22 17:36:13 +01:00
| [getContractType(filename, host)](./bitburner.codingcontract.getcontracttype.md) | Get the type of a coding contract. |
2022-10-10 00:46:13 +02:00
| [getContractTypes()](./bitburner.codingcontract.getcontracttypes.md) | List all contract types. |
2021-11-22 17:36:13 +01:00
| [getData(filename, host)](./bitburner.codingcontract.getdata.md) | Get the input data. |
| [getDescription(filename, host)](./bitburner.codingcontract.getdescription.md) | Get the description. |
2022-09-23 21:03:38 +02:00
| [getNumTriesRemaining(filename, host)](./bitburner.codingcontract.getnumtriesremaining.md) | Get the number of attempts remaining. |
2021-10-30 18:34:14 +02:00