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) > [getDescription](./bitburner.codingcontract.getdescription.md)
|
|
|
|
|
|
|
|
|
|
## CodingContract.getDescription() method
|
|
|
|
|
|
|
|
|
|
Get the full text description for the problem posed by the Coding Contract.
|
|
|
|
|
|
|
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
|
|
```typescript
|
2021-10-30 21:46:34 +02:00
|
|
|
|
getDescription(fn: string, host?: string): string;
|
2021-10-30 18:34:14 +02:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
|
| --- | --- | --- |
|
|
|
|
|
| fn | string | Filename of the contract. |
|
2021-10-30 21:46:34 +02:00
|
|
|
|
| host | string | Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. |
|
2021-10-30 18:34:14 +02:00
|
|
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
|
|
string
|
|
|
|
|
|
|
|
|
|
Contract’s text description.
|
|
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
|
2021-10-30 21:46:34 +02:00
|
|
|
|
RAM cost: 5 GB
|
2021-10-30 18:34:14 +02:00
|
|
|
|
|