mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
BUGFIX: Coding contracts may have duplicate names (#2399)
This commit is contained in:
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -4059,10 +4059,12 @@ export interface CodingContract {
|
||||
*
|
||||
* Generate a dummy contract on the home computer with no reward. Used to test various algorithms.
|
||||
*
|
||||
* This function will return null and not generate a contract if the randomized contract name is the same as another contract's name.
|
||||
*
|
||||
* @param type - Type of contract to generate
|
||||
* @returns Filename of the contract.
|
||||
*/
|
||||
createDummyContract(type: CodingContractName): string;
|
||||
createDummyContract(type: CodingContractName): string | null;
|
||||
|
||||
/**
|
||||
* List all contract types.
|
||||
|
||||
Reference in New Issue
Block a user