mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-30 01:47:33 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
1.1 KiB
1.1 KiB
Home > bitburner > CodingContract
CodingContract interface
Coding Contract API
Signature:
export interface CodingContract
Methods
Method | Description |
---|---|
attempt(answer, filename, host, opts) | Attempts a coding contract. |
createDummyContract(type) | Generate a dummy contract. |
getContractType(filename, host) | Get the type of a coding contract. |
getContractTypes() | List all contract types. |
getData(filename, host) | Get the input data. |
getDescription(filename, host) | Get the description. |
getNumTriesRemaining(filename, host) | Get the number of attempts remaining. |