bitburner-src/doc/source/netscript/codingcontractapi/getDescription.rst

13 lines
493 B
ReStructuredText

getDescription() Netscript Function
===================================
.. js:function:: getDescription(fn[, hostname/ip=current ip])
:param string fn: Filename of the contract
:param string hostname/ip: Hostname or IP of the server containing the contract.
Optional. Defaults to current server if not provided
Get the full text description for the problem posed by the Coding Contract
:returns: A string with the contract's text description