{ "metadata": { "toolPackage": "@microsoft/api-extractor", "toolVersion": "7.18.17", "schemaVersion": 1004, "oldestForwardsCompatibleVersion": 1001, "tsdocConfig": { "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json", "noStandardTags": true, "tagDefinitions": [ { "tagName": "@alpha", "syntaxKind": "modifier" }, { "tagName": "@beta", "syntaxKind": "modifier" }, { "tagName": "@defaultValue", "syntaxKind": "block" }, { "tagName": "@decorator", "syntaxKind": "block", "allowMultiple": true }, { "tagName": "@deprecated", "syntaxKind": "block" }, { "tagName": "@eventProperty", "syntaxKind": "modifier" }, { "tagName": "@example", "syntaxKind": "block", "allowMultiple": true }, { "tagName": "@experimental", "syntaxKind": "modifier" }, { "tagName": "@inheritDoc", "syntaxKind": "inline" }, { "tagName": "@internal", "syntaxKind": "modifier" }, { "tagName": "@label", "syntaxKind": "inline" }, { "tagName": "@link", "syntaxKind": "inline", "allowMultiple": true }, { "tagName": "@override", "syntaxKind": "modifier" }, { "tagName": "@packageDocumentation", "syntaxKind": "modifier" }, { "tagName": "@param", "syntaxKind": "block", "allowMultiple": true }, { "tagName": "@privateRemarks", "syntaxKind": "block" }, { "tagName": "@public", "syntaxKind": "modifier" }, { "tagName": "@readonly", "syntaxKind": "modifier" }, { "tagName": "@remarks", "syntaxKind": "block" }, { "tagName": "@returns", "syntaxKind": "block" }, { "tagName": "@sealed", "syntaxKind": "modifier" }, { "tagName": "@see", "syntaxKind": "block" }, { "tagName": "@throws", "syntaxKind": "block", "allowMultiple": true }, { "tagName": "@typeParam", "syntaxKind": "block", "allowMultiple": true }, { "tagName": "@virtual", "syntaxKind": "modifier" }, { "tagName": "@betaDocumentation", "syntaxKind": "modifier" }, { "tagName": "@internalRemarks", "syntaxKind": "block" }, { "tagName": "@preapproved", "syntaxKind": "modifier" } ], "supportForTags": { "@alpha": true, "@beta": true, "@defaultValue": true, "@decorator": true, "@deprecated": true, "@eventProperty": true, "@example": true, "@experimental": true, "@inheritDoc": true, "@internal": true, "@label": true, "@link": true, "@override": true, "@packageDocumentation": true, "@param": true, "@privateRemarks": true, "@public": true, "@readonly": true, "@remarks": true, "@returns": true, "@sealed": true, "@see": true, "@throws": true, "@typeParam": true, "@virtual": true, "@betaDocumentation": true, "@internalRemarks": true, "@preapproved": true } } }, "kind": "Package", "canonicalReference": "bitburner!", "docComment": "", "name": "bitburner", "members": [ { "kind": "EntryPoint", "canonicalReference": "bitburner!", "name": "", "members": [ { "kind": "Interface", "canonicalReference": "bitburner!ActiveFragment:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface ActiveFragment " } ], "releaseTag": "Public", "name": "ActiveFragment", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!ActiveFragment#avgCharge:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "avgCharge: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "avgCharge", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!ActiveFragment#id:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "id: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "id", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!ActiveFragment#numCharge:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "numCharge: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "numCharge", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!ActiveFragment#rotation:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "rotation: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "rotation", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!ActiveFragment#x:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "x: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "x", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!ActiveFragment#y:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "y: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "y", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!AugmentationStats:interface", "docComment": "/**\n * Data representing the internal values of an Augmentation.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface AugmentationStats " } ], "releaseTag": "Public", "name": "AugmentationStats", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#agility_exp_mult:member", "docComment": "/**\n * Multipler to agility experience gain rate\n */\n", "excerptTokens": [ { "kind": "Content", "text": "agility_exp_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "agility_exp_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#agility_mult:member", "docComment": "/**\n * Multipler to agility skill\n */\n", "excerptTokens": [ { "kind": "Content", "text": "agility_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "agility_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#bladeburner_analysis_mult:member", "docComment": "/**\n * Multipler to effectiveness in Bladeburner Field Analysis\n */\n", "excerptTokens": [ { "kind": "Content", "text": "bladeburner_analysis_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "bladeburner_analysis_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#bladeburner_max_stamina_mult:member", "docComment": "/**\n * Multipler to Bladeburner max stamina\n */\n", "excerptTokens": [ { "kind": "Content", "text": "bladeburner_max_stamina_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "bladeburner_max_stamina_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#bladeburner_stamina_gain_mult:member", "docComment": "/**\n * Multipler to Bladeburner stamina gain rate\n */\n", "excerptTokens": [ { "kind": "Content", "text": "bladeburner_stamina_gain_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "bladeburner_stamina_gain_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#bladeburner_success_chance_mult:member", "docComment": "/**\n * Multipler to success chance in Bladeburner contracts/operations\n */\n", "excerptTokens": [ { "kind": "Content", "text": "bladeburner_success_chance_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "bladeburner_success_chance_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#charisma_exp_mult:member", "docComment": "/**\n * Multipler to charisma experience gain rate\n */\n", "excerptTokens": [ { "kind": "Content", "text": "charisma_exp_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "charisma_exp_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#charisma_mult:member", "docComment": "/**\n * Multipler to charisma skill\n */\n", "excerptTokens": [ { "kind": "Content", "text": "charisma_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "charisma_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#company_rep_mult:member", "docComment": "/**\n * Multipler to amount of reputation gained when working\n */\n", "excerptTokens": [ { "kind": "Content", "text": "company_rep_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "company_rep_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#crime_money_mult:member", "docComment": "/**\n * Multipler to amount of money gained from crimes\n */\n", "excerptTokens": [ { "kind": "Content", "text": "crime_money_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "crime_money_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#crime_success_mult:member", "docComment": "/**\n * Multipler to crime success rate\n */\n", "excerptTokens": [ { "kind": "Content", "text": "crime_success_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "crime_success_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#defense_exp_mult:member", "docComment": "/**\n * Multipler to defense experience gain rate\n */\n", "excerptTokens": [ { "kind": "Content", "text": "defense_exp_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "defense_exp_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#defense_mult:member", "docComment": "/**\n * Multipler to defense skill\n */\n", "excerptTokens": [ { "kind": "Content", "text": "defense_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "defense_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#dexterity_exp_mult:member", "docComment": "/**\n * Multipler to dexterity experience gain rate\n */\n", "excerptTokens": [ { "kind": "Content", "text": "dexterity_exp_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "dexterity_exp_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#dexterity_mult:member", "docComment": "/**\n * Multipler to dexterity skill\n */\n", "excerptTokens": [ { "kind": "Content", "text": "dexterity_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "dexterity_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#faction_rep_mult:member", "docComment": "/**\n * Multipler to amount of reputation gained when working\n */\n", "excerptTokens": [ { "kind": "Content", "text": "faction_rep_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "faction_rep_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#hacking_chance_mult:member", "docComment": "/**\n * Multipler to chance of successfully performing a hack\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hacking_chance_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "hacking_chance_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#hacking_exp_mult:member", "docComment": "/**\n * Multipler to hacking experience gain rate\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hacking_exp_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "hacking_exp_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#hacking_grow_mult:member", "docComment": "/**\n * Multipler to amount of money injected into servers using grow\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hacking_grow_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "hacking_grow_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#hacking_money_mult:member", "docComment": "/**\n * Multipler to amount of money the player gains from hacking\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hacking_money_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "hacking_money_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#hacking_mult:member", "docComment": "/**\n * Multipler to hacking skill\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hacking_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "hacking_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#hacking_speed_mult:member", "docComment": "/**\n * Multipler to hacking speed\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hacking_speed_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "hacking_speed_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#hacknet_node_core_cost_mult:member", "docComment": "/**\n * Multipler to cost of core for a Hacknet Node\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hacknet_node_core_cost_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "hacknet_node_core_cost_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#hacknet_node_level_cost_mult:member", "docComment": "/**\n * Multipler to cost of leveling up a Hacknet Node\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hacknet_node_level_cost_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "hacknet_node_level_cost_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#hacknet_node_money_mult:member", "docComment": "/**\n * Multipler to amount of money produced by Hacknet Nodes\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hacknet_node_money_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "hacknet_node_money_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#hacknet_node_purchase_cost_mult:member", "docComment": "/**\n * Multipler to cost of purchasing a Hacknet Node\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hacknet_node_purchase_cost_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "hacknet_node_purchase_cost_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#hacknet_node_ram_cost_mult:member", "docComment": "/**\n * Multipler to cost of ram for a Hacknet Node\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hacknet_node_ram_cost_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "hacknet_node_ram_cost_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#strength_exp_mult:member", "docComment": "/**\n * Multipler to strength experience gain rate\n */\n", "excerptTokens": [ { "kind": "Content", "text": "strength_exp_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "strength_exp_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#strength_mult:member", "docComment": "/**\n * Multipler to strength skill\n */\n", "excerptTokens": [ { "kind": "Content", "text": "strength_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "strength_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentationStats#work_money_mult:member", "docComment": "/**\n * Multipler to amount of money gained from working\n */\n", "excerptTokens": [ { "kind": "Content", "text": "work_money_mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "work_money_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!AugmentPair:interface", "docComment": "/**\n * Return value of {@link Sleeve.getSleevePurchasableAugs | getSleevePurchasableAugs}\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface AugmentPair " } ], "releaseTag": "Public", "name": "AugmentPair", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentPair#cost:member", "docComment": "/**\n * augmentation cost\n */\n", "excerptTokens": [ { "kind": "Content", "text": "cost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "cost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!AugmentPair#name:member", "docComment": "/**\n * augmentation name\n */\n", "excerptTokens": [ { "kind": "Content", "text": "name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "name", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!BasicHGWOptions:interface", "docComment": "/**\n * Options to affect the behavior of {@link NS.hack | hack}, {@link NS.grow | grow}, and {@link NS.weaken | weaken}.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface BasicHGWOptions " } ], "releaseTag": "Public", "name": "BasicHGWOptions", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!BasicHGWOptions#stock:member", "docComment": "/**\n * Set to true this action will affect the stock market.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "stock?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "stock", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BasicHGWOptions#threads:member", "docComment": "/**\n * Number of threads to use for this function. Must be less than or equal to the number of threads the script is running with.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "threads?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "threads", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!BitNodeMultipliers:interface", "docComment": "/**\n * All multipliers affecting the difficulty of the current challenge.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface BitNodeMultipliers " } ], "releaseTag": "Public", "name": "BitNodeMultipliers", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#AgilityLevelMultiplier:member", "docComment": "/**\n * Influences how quickly the player's agility level (not exp) scales\n */\n", "excerptTokens": [ { "kind": "Content", "text": "AgilityLevelMultiplier: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "AgilityLevelMultiplier", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#AugmentationMoneyCost:member", "docComment": "/**\n * Influences the base cost to purchase an augmentation.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "AugmentationMoneyCost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "AugmentationMoneyCost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#AugmentationRepCost:member", "docComment": "/**\n * Influences the base rep the player must have with a faction to purchase an augmentation.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "AugmentationRepCost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "AugmentationRepCost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#BladeburnerRank:member", "docComment": "/**\n * Influences how quickly the player can gain rank within Bladeburner.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "BladeburnerRank: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "BladeburnerRank", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#BladeburnerSkillCost:member", "docComment": "/**\n * Influences the cost of skill levels from Bladeburner.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "BladeburnerSkillCost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "BladeburnerSkillCost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#CharismaLevelMultiplier:member", "docComment": "/**\n * Influences how quickly the player's charisma level (not exp) scales\n */\n", "excerptTokens": [ { "kind": "Content", "text": "CharismaLevelMultiplier: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "CharismaLevelMultiplier", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#ClassGymExpGain:member", "docComment": "/**\n * Influences the experience gained for each ability when a player completes a class.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ClassGymExpGain: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "ClassGymExpGain", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#CodingContractMoney:member", "docComment": "/**\n * Influences the amount of money gained from completing Coding Contracts\n */\n", "excerptTokens": [ { "kind": "Content", "text": "CodingContractMoney: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "CodingContractMoney", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#CompanyWorkExpGain:member", "docComment": "/**\n * Influences the experience gained for each ability when the player completes working their job.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "CompanyWorkExpGain: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "CompanyWorkExpGain", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#CompanyWorkMoney:member", "docComment": "/**\n * Influences how much money the player earns when completing working their job.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "CompanyWorkMoney: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "CompanyWorkMoney", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#CorporationValuation:member", "docComment": "/**\n * Influences the valuation of corporations created by the player.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "CorporationValuation: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "CorporationValuation", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#CrimeExpGain:member", "docComment": "/**\n * Influences the base experience gained for each ability when the player commits a crime.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "CrimeExpGain: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "CrimeExpGain", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#CrimeMoney:member", "docComment": "/**\n * Influences the base money gained when the player commits a crime.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "CrimeMoney: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "CrimeMoney", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#DaedalusAugsRequirement:member", "docComment": "/**\n * Influences how many Augmentations you need in order to get invited to the Daedalus faction\n */\n", "excerptTokens": [ { "kind": "Content", "text": "DaedalusAugsRequirement: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "DaedalusAugsRequirement", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#DefenseLevelMultiplier:member", "docComment": "/**\n * Influences how quickly the player's defense level (not exp) scales\n */\n", "excerptTokens": [ { "kind": "Content", "text": "DefenseLevelMultiplier: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "DefenseLevelMultiplier", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#DexterityLevelMultiplier:member", "docComment": "/**\n * Influences how quickly the player's dexterity level (not exp) scales\n */\n", "excerptTokens": [ { "kind": "Content", "text": "DexterityLevelMultiplier: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "DexterityLevelMultiplier", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#FactionPassiveRepGain:member", "docComment": "/**\n * Influences how much rep the player gains in each faction simply by being a member.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "FactionPassiveRepGain: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "FactionPassiveRepGain", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#FactionWorkExpGain:member", "docComment": "/**\n * Influences the experience gained for each ability when the player completes work for a Faction.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "FactionWorkExpGain: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "FactionWorkExpGain", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#FactionWorkRepGain:member", "docComment": "/**\n * Influences how much rep the player gains when performing work for a faction.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "FactionWorkRepGain: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "FactionWorkRepGain", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#FourSigmaMarketDataApiCost:member", "docComment": "/**\n * Influences how much it costs to unlock the stock market's 4S Market Data API\n */\n", "excerptTokens": [ { "kind": "Content", "text": "FourSigmaMarketDataApiCost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "FourSigmaMarketDataApiCost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#FourSigmaMarketDataCost:member", "docComment": "/**\n * Influences how much it costs to unlock the stock market's 4S Market Data (NOT API)\n */\n", "excerptTokens": [ { "kind": "Content", "text": "FourSigmaMarketDataCost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "FourSigmaMarketDataCost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#GangSoftcap:member", "docComment": "/**\n * Influences the respect gain and money gain of your gang.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "GangSoftcap: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "GangSoftcap", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#HackExpGain:member", "docComment": "/**\n * Influences the experienced gained when hacking a server.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "HackExpGain: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "HackExpGain", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#HackingLevelMultiplier:member", "docComment": "/**\n * Influences how quickly the player's hacking level (not experience) scales\n */\n", "excerptTokens": [ { "kind": "Content", "text": "HackingLevelMultiplier: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "HackingLevelMultiplier", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#HacknetNodeMoney:member", "docComment": "/**\n * Influences how much money is produced by Hacknet Nodes and the hash rate of Hacknet Servers (unlocked in BitNode-9)\n */\n", "excerptTokens": [ { "kind": "Content", "text": "HacknetNodeMoney: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "HacknetNodeMoney", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#HomeComputerRamCost:member", "docComment": "/**\n * Influences how much money it costs to upgrade your home computer's RAM\n */\n", "excerptTokens": [ { "kind": "Content", "text": "HomeComputerRamCost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "HomeComputerRamCost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#InfiltrationMoney:member", "docComment": "/**\n * Influences how much money is gained when the player infiltrates a company.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "InfiltrationMoney: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "InfiltrationMoney", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#InfiltrationRep:member", "docComment": "/**\n * Influences how much rep the player can gain from factions when selling stolen documents and secrets\n */\n", "excerptTokens": [ { "kind": "Content", "text": "InfiltrationRep: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "InfiltrationRep", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#ManualHackMoney:member", "docComment": "/**\n * Influences how much money can be stolen from a server when the player performs a hack against it through the Terminal.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ManualHackMoney: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "ManualHackMoney", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#PurchasedServerCost:member", "docComment": "/**\n * Influence how much it costs to purchase a server\n */\n", "excerptTokens": [ { "kind": "Content", "text": "PurchasedServerCost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "PurchasedServerCost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#PurchasedServerLimit:member", "docComment": "/**\n * Influences the maximum number of purchased servers you can have\n */\n", "excerptTokens": [ { "kind": "Content", "text": "PurchasedServerLimit: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "PurchasedServerLimit", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#PurchasedServerMaxRam:member", "docComment": "/**\n * Influences the maximum allowed RAM for a purchased server\n */\n", "excerptTokens": [ { "kind": "Content", "text": "PurchasedServerMaxRam: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "PurchasedServerMaxRam", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#PurchasedServerSoftCap:member", "docComment": "/**\n * Influences cost of any purchased server at or above 128GB\n */\n", "excerptTokens": [ { "kind": "Content", "text": "PurchasedServerSoftCap: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "PurchasedServerSoftCap", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#RepToDonateToFaction:member", "docComment": "/**\n * Influences the minimum favor the player must have with a faction before they can donate to gain rep.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "RepToDonateToFaction: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "RepToDonateToFaction", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#ScriptHackMoney:member", "docComment": "/**\n * Influences how much the money on a server can be reduced when a script performs a hack against it.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ScriptHackMoney: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "ScriptHackMoney", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#ScriptHackMoneyGain:member", "docComment": "/**\n * Influences how much of the money stolen by a scripted hack will be added to the player's money.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ScriptHackMoneyGain: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "ScriptHackMoneyGain", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#ServerGrowthRate:member", "docComment": "/**\n * Influences the growth percentage per cycle against a server.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ServerGrowthRate: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "ServerGrowthRate", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#ServerMaxMoney:member", "docComment": "/**\n * Influences the maxmimum money that a server can grow to.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ServerMaxMoney: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "ServerMaxMoney", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#ServerStartingMoney:member", "docComment": "/**\n * Influences the initial money that a server starts with.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ServerStartingMoney: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "ServerStartingMoney", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#ServerStartingSecurity:member", "docComment": "/**\n * Influences the initial security level (hackDifficulty) of a server.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ServerStartingSecurity: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "ServerStartingSecurity", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#ServerWeakenRate:member", "docComment": "/**\n * Influences the weaken amount per invocation against a server.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ServerWeakenRate: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "ServerWeakenRate", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#StaneksGiftExtraSize:member", "docComment": "/**\n * Influences the size of the gift\n */\n", "excerptTokens": [ { "kind": "Content", "text": "StaneksGiftExtraSize: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "StaneksGiftExtraSize", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#StaneksGiftPowerMultiplier:member", "docComment": "/**\n * Influences the power of the gift\n */\n", "excerptTokens": [ { "kind": "Content", "text": "StaneksGiftPowerMultiplier: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "StaneksGiftPowerMultiplier", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#StrengthLevelMultiplier:member", "docComment": "/**\n * Influences how quickly the player's strength level (not exp) scales\n */\n", "excerptTokens": [ { "kind": "Content", "text": "StrengthLevelMultiplier: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "StrengthLevelMultiplier", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BitNodeMultipliers#WorldDaemonDifficulty:member", "docComment": "/**\n * Influences the hacking skill required to backdoor the world daemon.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "WorldDaemonDifficulty: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "WorldDaemonDifficulty", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!Bladeburner:interface", "docComment": "/**\n * Bladeburner API\n *\n * @remarks\n *\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this API.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface Bladeburner " } ], "releaseTag": "Public", "name": "Bladeburner", "members": [ { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getActionAutolevel:member(1)", "docComment": "/**\n * Get wether an action is set to autolevel.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Return a boolean indicating whether or not this action is currently set to autolevel.\n *\n * Returns false if an invalid action is specified.\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns True if the action is set to autolevel, and false otherwise.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getActionAutolevel(type: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "type", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "getActionAutolevel" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getActionCountRemaining:member(1)", "docComment": "/**\n * Get action count remaining.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Returns the remaining count of the specified action.\n *\n * Note that this is meant to be used for Contracts and Operations. This function will return ‘Infinity’ for actions such as Training and Field Analysis. This function will return 1 for BlackOps not yet completed regardless of wether the player has the required rank to attempt the mission or not.\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Remaining count of the specified action.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getActionCountRemaining(type: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "type", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "getActionCountRemaining" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getActionCurrentLevel:member(1)", "docComment": "/**\n * Get the current level of an action.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Returns the current level of this action.\n *\n * Returns -1 if an invalid action is specified.\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Current level of the specified action.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getActionCurrentLevel(type: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "type", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "getActionCurrentLevel" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getActionEstimatedSuccessChance:member(1)", "docComment": "/**\n * Get estimate success chance of an action.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Returns the estimated success chance for the specified action. This chance is returned as a decimal value, NOT a percentage (e.g. if you have an estimated success chance of 80%, then this function will return 0.80, NOT 80).\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Estimated success chance for the specified action.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getActionEstimatedSuccessChance(type: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "[number, number]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "type", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "getActionEstimatedSuccessChance" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getActionMaxLevel:member(1)", "docComment": "/**\n * Get the maximum level of an action.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Returns the maximum level for this action.\n *\n * Returns -1 if an invalid action is specified.\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Maximum level of the specified action.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getActionMaxLevel(type: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "type", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "getActionMaxLevel" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getActionRepGain:member(1)", "docComment": "/**\n * Get the reputation gain of an action.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Returns the average Bladeburner reputation gain for successfully completing the specified action. Note that this value is an ‘average’ and the real reputation gain may vary slightly from this value.\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @param level - Optional action level at which to calculate the gain\n *\n * @returns Average Bladeburner reputation gain for successfully completing the specified action.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getActionRepGain(type: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", level: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "type", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "parameterName": "level", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } } ], "name": "getActionRepGain" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getActionTime:member(1)", "docComment": "/**\n * Get the time to complete an action.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Returns the number of seconds it takes to complete the specified action\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Number of milliseconds it takes to complete the specified action.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getActionTime(type: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "type", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "getActionTime" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getBlackOpNames:member(1)", "docComment": "/**\n * List all black ops.\n *\n * @remarks\n *\n * RAM cost: 0.4 GB\n *\n * Returns an array of strings containing the names of all Bladeburner Black Ops.\n *\n * @returns Array of strings containing the names of all Bladeburner Black Ops.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getBlackOpNames(): " }, { "kind": "Content", "text": "string[]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getBlackOpNames" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getBlackOpRank:member(1)", "docComment": "/**\n * Get black op required rank.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Returns the rank required to complete this BlackOp.\n *\n * Returns -1 if an invalid action is specified.\n *\n * @param name - Name of BlackOp. Must be an exact match.\n *\n * @returns Rank required to complete this BlackOp.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getBlackOpRank(name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getBlackOpRank" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getBonusTime:member(1)", "docComment": "/**\n * Get bladeburner bonus time.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Returns the amount of accumulated “bonus time” (seconds) for the Bladeburner mechanic.\n *\n * “Bonus time” is accumulated when the game is offline or if the game is inactive in the browser.\n *\n * “Bonus time” makes the game progress faster, up to 5x the normal speed. For example, if an action takes 30 seconds to complete but you’ve accumulated over 30 seconds in bonus time, then the action will only take 6 seconds in real life to complete.\n *\n * @returns Amount of accumulated “bonus time” (milliseconds) for the Bladeburner mechanic.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getBonusTime(): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getBonusTime" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getCity:member(1)", "docComment": "/**\n * Get current city.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Returns the city that the player is currently in (for Bladeburner).\n *\n * @returns City that the player is currently in (for Bladeburner).\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getCity(): " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getCity" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getCityChaos:member(1)", "docComment": "/**\n * Get chaos of a city.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Returns the chaos in the specified city, or -1 if an invalid city was specified.\n *\n * @param cityName - Name of city. Case-sensitive\n *\n * @returns Chaos in the specified city.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getCityChaos(name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getCityChaos" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getCityCommunities:member(1)", "docComment": "/**\n * Get number of communities in a city.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Returns the estimated number of Synthoid communities in the specified city, or -1 if an invalid city was specified.\n *\n * @param cityName - Name of city. Case-sensitive\n *\n * @returns Number of Synthoids communities in the specified city.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getCityCommunities(name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getCityCommunities" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getCityEstimatedPopulation:member(1)", "docComment": "/**\n * Get estimated population in city.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Returns the estimated number of Synthoids in the specified city, or -1 if an invalid city was specified.\n *\n * @param cityName - Name of city. Case-sensitive\n *\n * @returns Estimated number of Synthoids in the specified city.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getCityEstimatedPopulation(name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getCityEstimatedPopulation" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getContractNames:member(1)", "docComment": "/**\n * List all contracts.\n *\n * @remarks\n *\n * RAM cost: 0.4 GB\n *\n * Returns an array of strings containing the names of all Bladeburner contracts.\n *\n * @returns Array of strings containing the names of all Bladeburner contracts.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getContractNames(): " }, { "kind": "Content", "text": "string[]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getContractNames" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getCurrentAction:member(1)", "docComment": "/**\n * Get current action.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Returns an object that represents the player’s current Bladeburner action. If the player is not performing an action, the function will return an object with the ‘type’ property set to “Idle”.\n *\n * @returns Object that represents the player’s current Bladeburner action.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getCurrentAction(): " }, { "kind": "Reference", "text": "BladeburnerCurAction", "canonicalReference": "bitburner!BladeburnerCurAction:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getCurrentAction" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getGeneralActionNames:member(1)", "docComment": "/**\n * List all general actions.\n *\n * @remarks\n *\n * RAM cost: 0.4 GB\n *\n * Returns an array of strings containing the names of all general Bladeburner actions.\n *\n * @returns Array of strings containing the names of all general Bladeburner actions.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getGeneralActionNames(): " }, { "kind": "Content", "text": "string[]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getGeneralActionNames" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getOperationNames:member(1)", "docComment": "/**\n * List all operations.\n *\n * @remarks\n *\n * RAM cost: 0.4 GB\n *\n * Returns an array of strings containing the names of all Bladeburner operations.\n *\n * @returns Array of strings containing the names of all Bladeburner operations.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getOperationNames(): " }, { "kind": "Content", "text": "string[]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getOperationNames" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getRank:member(1)", "docComment": "/**\n * Get player bladeburner rank.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Returns the player’s Bladeburner Rank.\n *\n * @returns Player’s Bladeburner Rank.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getRank(): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getRank" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getSkillLevel:member(1)", "docComment": "/**\n * Get skill level.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * This function returns your level in the specified skill.\n *\n * The function returns -1 if an invalid skill name is passed in.\n *\n * @param skillName - Name of skill. Case-sensitive and must be an exact match\n *\n * @returns Level in the specified skill.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getSkillLevel(name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getSkillLevel" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getSkillNames:member(1)", "docComment": "/**\n * List all skills.\n *\n * @remarks\n *\n * RAM cost: 0.4 GB\n *\n * Returns an array of strings containing the names of all general Bladeburner skills.\n *\n * @returns Array of strings containing the names of all general Bladeburner skills.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getSkillNames(): " }, { "kind": "Content", "text": "string[]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getSkillNames" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getSkillPoints:member(1)", "docComment": "/**\n * Get bladeburner skill points.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Returns the number of Bladeburner skill points you have.\n *\n * @returns Number of Bladeburner skill points you have.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getSkillPoints(): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getSkillPoints" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getSkillUpgradeCost:member(1)", "docComment": "/**\n * Get cost to upgrade skill.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * This function returns the number of skill points needed to upgrade the specified skill.\n *\n * The function returns -1 if an invalid skill name is passed in.\n *\n * @param skillName - Name of skill. Case-sensitive and must be an exact match\n *\n * @returns Number of skill points needed to upgrade the specified skill.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getSkillUpgradeCost(name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getSkillUpgradeCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getStamina:member(1)", "docComment": "/**\n * Get bladeburner stamina.\n *\n * @remarks\n *\n * RAM cost: 4 GB Returns an array with two elements: * [Current stamina, Max stamina]\n *\n * @returns Array containing current stamina and max stamina.\n *\n * @example\n * ```ts\n * // NS1:\n * function getStaminaPercentage() {\n * var res = bladeburner.getStamina();\n * return res[0] / res[1];\n * }\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * function getStaminaPercentage() {\n * const [current, max] = ns.bladeburner.getStamina();\n * return current / max;\n * }\n * ```\n *\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getStamina(): " }, { "kind": "Content", "text": "[number, number]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getStamina" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#getTeamSize:member(1)", "docComment": "/**\n * Get team size.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Returns the number of Bladeburner team members you have assigned to the specified action.\n *\n * Setting a team is only applicable for Operations and BlackOps. This function will return 0 for other action types.\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Number of Bladeburner team members that were assigned to the specified action.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getTeamSize(type: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "type", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "getTeamSize" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#joinBladeburnerDivision:member(1)", "docComment": "/**\n * Join the bladeburner division.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Attempts to join the Bladeburner division.\n *\n * Returns true if you successfully join the Bladeburner division, or if you are already a member.\n *\n * Returns false otherwise.\n *\n * @returns True if you successfully join the Bladeburner division, or if you are already a member, false otherwise.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "joinBladeburnerDivision(): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "joinBladeburnerDivision" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#joinBladeburnerFaction:member(1)", "docComment": "/**\n * Join the bladeburner faction.\n *\n * @remarks\n *\n * RAM cost: 4 GB Attempts to join the Bladeburner faction.\n *\n * Returns true if you successfully join the Bladeburner faction, or if you are already a member.\n *\n * Returns false otherwise.\n *\n * @returns True if you successfully join the Bladeburner faction, or if you are already a member, false otherwise.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "joinBladeburnerFaction(): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "joinBladeburnerFaction" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#setActionAutolevel:member(1)", "docComment": "/**\n * Set an action autolevel.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Enable/disable autoleveling for the specified action.\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @param autoLevel - Whether or not to autolevel this action\n */\n", "excerptTokens": [ { "kind": "Content", "text": "setActionAutolevel(type: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", autoLevel: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "type", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "parameterName": "autoLevel", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } } ], "name": "setActionAutolevel" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#setActionLevel:member(1)", "docComment": "/**\n * Set the level of an action.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Set the level for the specified action.\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @param level - Level to set this action to.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "setActionLevel(type: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", level: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "type", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "parameterName": "level", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } } ], "name": "setActionLevel" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#setTeamSize:member(1)", "docComment": "/**\n * Set team size.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Set the team size for the specified Bladeburner action.\n *\n * Returns the team size that was set, or -1 if the function failed.\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @param size - Number of team members to set. Will be converted using Math.round().\n *\n * @returns Number of Bladeburner team members you assigned to the specified action.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "setTeamSize(type: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", size: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "type", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "parameterName": "size", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } } ], "name": "setTeamSize" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#startAction:member(1)", "docComment": "/**\n * Start an action.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Attempts to start the specified Bladeburner action. Returns true if the action was started successfully, and false otherwise.\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match\n *\n * @returns True if the action was started successfully, and false otherwise.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "startAction(type: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "type", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "startAction" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#stopBladeburnerAction:member(1)", "docComment": "/**\n * Stop current action.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Stops the current Bladeburner action.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "stopBladeburnerAction(): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "stopBladeburnerAction" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#switchCity:member(1)", "docComment": "/**\n * Travel to another city in bladeburner.\n *\n * @remarks\n *\n * RAM cost: 4 GB Attempts to switch to the specified city (for Bladeburner only).\n *\n * Returns true if successful, and false otherwise\n *\n * @param cityName - Name of city. Case-sensitive\n *\n * @returns true if successful, and false otherwise\n */\n", "excerptTokens": [ { "kind": "Content", "text": "switchCity(name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "switchCity" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Bladeburner#upgradeSkill:member(1)", "docComment": "/**\n * Upgrade skill.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Attempts to upgrade the specified Bladeburner skill.\n *\n * Returns true if the skill is successfully upgraded, and false otherwise.\n *\n * @param skillName - Name of skill to be upgraded. Case-sensitive and must be an exact match\n *\n * @returns true if the skill is successfully upgraded, and false otherwise.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "upgradeSkill(name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "upgradeSkill" } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!BladeburnerCurAction:interface", "docComment": "/**\n * Bladeburner current action.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface BladeburnerCurAction " } ], "releaseTag": "Public", "name": "BladeburnerCurAction", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!BladeburnerCurAction#name:member", "docComment": "/**\n * Name of Action\n */\n", "excerptTokens": [ { "kind": "Content", "text": "name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "name", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!BladeburnerCurAction#type:member", "docComment": "/**\n * Type of Action\n */\n", "excerptTokens": [ { "kind": "Content", "text": "type: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "type", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!CharacterInfo:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface CharacterInfo " } ], "releaseTag": "Public", "name": "CharacterInfo", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterInfo#bitnode:member", "docComment": "/**\n * Current BitNode number\n */\n", "excerptTokens": [ { "kind": "Content", "text": "bitnode: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "bitnode", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterInfo#city:member", "docComment": "/**\n * Name of city you are currently in\n */\n", "excerptTokens": [ { "kind": "Content", "text": "city: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "city", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterInfo#company:member", "docComment": "/**\n * Array of all companies at which you have jobs\n */\n", "excerptTokens": [ { "kind": "Content", "text": "company: " }, { "kind": "Content", "text": "string[]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "company", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterInfo#factions:member", "docComment": "/**\n * Array of factions you are currently a member of\n */\n", "excerptTokens": [ { "kind": "Content", "text": "factions: " }, { "kind": "Content", "text": "string[]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "factions", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterInfo#hp:member", "docComment": "/**\n * Current health points\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "hp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterInfo#jobTitle:member", "docComment": "/**\n * Array of job positions for all companies you are employed at. Same order as 'jobs'\n */\n", "excerptTokens": [ { "kind": "Content", "text": "jobTitle: " }, { "kind": "Content", "text": "string[]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "jobTitle", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterInfo#maxHp:member", "docComment": "/**\n * Maximum health points\n */\n", "excerptTokens": [ { "kind": "Content", "text": "maxHp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "maxHp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterInfo#mult:member", "docComment": "/**\n * Object with many of the player's multipliers from Augmentations/Source Files\n */\n", "excerptTokens": [ { "kind": "Content", "text": "mult: " }, { "kind": "Reference", "text": "CharacterMult", "canonicalReference": "bitburner!CharacterMult:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterInfo#timeWorked:member", "docComment": "/**\n * Timed worked in ms\n */\n", "excerptTokens": [ { "kind": "Content", "text": "timeWorked: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "timeWorked", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterInfo#tor:member", "docComment": "/**\n * Boolean indicating whether or not you have a tor router\n */\n", "excerptTokens": [ { "kind": "Content", "text": "tor: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "tor", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterInfo#workAgiExpGain:member", "docComment": "/**\n * Agi experience earned so far from work\n */\n", "excerptTokens": [ { "kind": "Content", "text": "workAgiExpGain: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "workAgiExpGain", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterInfo#workChaExpGain:member", "docComment": "/**\n * Cha experience earned so far from work\n */\n", "excerptTokens": [ { "kind": "Content", "text": "workChaExpGain: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "workChaExpGain", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterInfo#workDefExpGain:member", "docComment": "/**\n * Def experience earned so far from work\n */\n", "excerptTokens": [ { "kind": "Content", "text": "workDefExpGain: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "workDefExpGain", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterInfo#workDexExpGain:member", "docComment": "/**\n * Dex experience earned so far from work\n */\n", "excerptTokens": [ { "kind": "Content", "text": "workDexExpGain: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "workDexExpGain", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterInfo#workHackExpGain:member", "docComment": "/**\n * Hacking experience earned so far from work\n */\n", "excerptTokens": [ { "kind": "Content", "text": "workHackExpGain: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "workHackExpGain", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterInfo#workMoneyGain:member", "docComment": "/**\n * Money earned so far from work, if applicable\n */\n", "excerptTokens": [ { "kind": "Content", "text": "workMoneyGain: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "workMoneyGain", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterInfo#workRepGain:member", "docComment": "/**\n * Reputation earned so far from work, if applicable\n */\n", "excerptTokens": [ { "kind": "Content", "text": "workRepGain: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "workRepGain", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterInfo#workStrExpGain:member", "docComment": "/**\n * Str experience earned so far from work\n */\n", "excerptTokens": [ { "kind": "Content", "text": "workStrExpGain: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "workStrExpGain", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!CharacterMult:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface CharacterMult " } ], "releaseTag": "Public", "name": "CharacterMult", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterMult#agility:member", "docComment": "/**\n * Agility stat\n */\n", "excerptTokens": [ { "kind": "Content", "text": "agility: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "agility", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterMult#agilityExp:member", "docComment": "/**\n * Agility exp\n */\n", "excerptTokens": [ { "kind": "Content", "text": "agilityExp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "agilityExp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterMult#companyRep:member", "docComment": "/**\n * Company reputation\n */\n", "excerptTokens": [ { "kind": "Content", "text": "companyRep: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "companyRep", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterMult#crimeMoney:member", "docComment": "/**\n * Money earned from crimes\n */\n", "excerptTokens": [ { "kind": "Content", "text": "crimeMoney: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "crimeMoney", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterMult#crimeSuccess:member", "docComment": "/**\n * Crime success chance\n */\n", "excerptTokens": [ { "kind": "Content", "text": "crimeSuccess: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "crimeSuccess", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterMult#defense:member", "docComment": "/**\n * Defense stat\n */\n", "excerptTokens": [ { "kind": "Content", "text": "defense: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "defense", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterMult#defenseExp:member", "docComment": "/**\n * Defense exp\n */\n", "excerptTokens": [ { "kind": "Content", "text": "defenseExp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "defenseExp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterMult#dexterity:member", "docComment": "/**\n * Dexterity stat\n */\n", "excerptTokens": [ { "kind": "Content", "text": "dexterity: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "dexterity", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterMult#dexterityExp:member", "docComment": "/**\n * Dexterity exp\n */\n", "excerptTokens": [ { "kind": "Content", "text": "dexterityExp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "dexterityExp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterMult#factionRep:member", "docComment": "/**\n * Faction reputation\n */\n", "excerptTokens": [ { "kind": "Content", "text": "factionRep: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "factionRep", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterMult#hacking:member", "docComment": "/**\n * Hacking stat\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hacking: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "hacking", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterMult#hackingExp:member", "docComment": "/**\n * Hacking exp\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hackingExp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "hackingExp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterMult#strength:member", "docComment": "/**\n * Strength stat\n */\n", "excerptTokens": [ { "kind": "Content", "text": "strength: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "strength", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterMult#strengthExp:member", "docComment": "/**\n * Strength exp\n */\n", "excerptTokens": [ { "kind": "Content", "text": "strengthExp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "strengthExp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CharacterMult#workMoney:member", "docComment": "/**\n * Money earned from jobs\n */\n", "excerptTokens": [ { "kind": "Content", "text": "workMoney: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "workMoney", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!CodingAttemptOptions:interface", "docComment": "/**\n * Options to affect the behavior of {@link CodingContract} attempt.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface CodingAttemptOptions " } ], "releaseTag": "Public", "name": "CodingAttemptOptions", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!CodingAttemptOptions#returnReward:member", "docComment": "/**\n * If truthy, then the function will return a string that states the contract’s reward when it is successfully solved.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "returnReward: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "returnReward", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!CodingContract:interface", "docComment": "/**\n * Coding Contract API\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface CodingContract " } ], "releaseTag": "Public", "name": "CodingContract", "members": [ { "kind": "MethodSignature", "canonicalReference": "bitburner!CodingContract#attempt:member(1)", "docComment": "/**\n * Attemps a coding contract.\n *\n * @remarks\n *\n * RAM cost: 10 GB\n *\n * Attempts to solve the Coding Contract with the provided solution.\n *\n * @param answer - Solution for the contract.\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @param opts - Optional parameters for configuring function behavior.\n *\n * @returns True if the solution was correct, false otherwise. If the returnReward option is configured, then the function will instead return a string. If the contract is successfully solved, the string will contain a description of the contract’s reward. Otherwise, it will be an empty string.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "attempt(answer: " }, { "kind": "Content", "text": "string[] | number" }, { "kind": "Content", "text": ", filename: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", host?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", opts?: " }, { "kind": "Reference", "text": "CodingAttemptOptions", "canonicalReference": "bitburner!CodingAttemptOptions:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean | string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 9, "endIndex": 10 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "answer", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "filename", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "parameterName": "host", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } }, { "parameterName": "opts", "parameterTypeTokenRange": { "startIndex": 7, "endIndex": 8 } } ], "name": "attempt" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!CodingContract#getContractType:member(1)", "docComment": "/**\n * Get the type of a coding contract.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Returns a name describing the type of problem posed by the Coding Contract. (e.g. Find Largest Prime Factor, Total Ways to Sum, etc.)\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns Name describing the type of problem posed by the Coding Contract.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getContractType(filename: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", host?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "filename", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "host", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "getContractType" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!CodingContract#getData:member(1)", "docComment": "/**\n * Get the input data.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Get the data associated with the specific Coding Contract. Note that this is not the same as the contract’s description. This is just the data that the contract wants you to act on in order to solve\n *\n * @param filename - Filename of the contract.\n *\n * @param host - Host of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns The specified contract’s data, data type depends on contract type.;\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getData(filename: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", host?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "filename", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "host", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "getData" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!CodingContract#getDescription:member(1)", "docComment": "/**\n * Get the description.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Get the full text description for the problem posed by the Coding Contract.\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns Contract’s text description.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getDescription(filename: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", host?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "filename", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "host", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "getDescription" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!CodingContract#getNumTriesRemaining:member(1)", "docComment": "/**\n * Get the number of attempt remaining.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Get the number of tries remaining on the contract before it self-destructs.\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns How many attempts are remaining for the contract;\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getNumTriesRemaining(filename: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", host?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "filename", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "host", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "getNumTriesRemaining" } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!Corporation:interface", "docComment": "/**\n * Corporation API\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface Corporation extends " }, { "kind": "Reference", "text": "WarehouseAPI", "canonicalReference": "bitburner!WarehouseAPI:interface" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "OfficeAPI", "canonicalReference": "bitburner!OfficeAPI:interface" }, { "kind": "Content", "text": " " } ], "releaseTag": "Public", "name": "Corporation", "members": [ { "kind": "MethodSignature", "canonicalReference": "bitburner!Corporation#acceptInvestmentOffer:member(1)", "docComment": "/**\n * Accept investment based on you companies current valuation\n *\n * @remarks\n *\n * Is based on current valuation and will not honer a specific Offer\n *\n * @returns An offer of investment\n */\n", "excerptTokens": [ { "kind": "Content", "text": "acceptInvestmentOffer(): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "acceptInvestmentOffer" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Corporation#bribe:member(1)", "docComment": "/**\n * Bribe a faction\n *\n * @param factionName - Faction name\n *\n * @param amountCash - Amount of money to bribe\n *\n * @param amountShares - Amount of shares to bribe\n *\n * @returns True if successful, false if not\n */\n", "excerptTokens": [ { "kind": "Content", "text": "bribe(factionName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", amountCash: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", amountShares: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "factionName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "amountCash", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "parameterName": "amountShares", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } } ], "name": "bribe" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Corporation#createCorporation:member(1)", "docComment": "/**\n * Create a Corporation\n *\n * @param divisionName - Name of the division\n *\n * @param selfFund - If you should self fund, defaults to true, false will only work on Bitnode 3\n *\n * @returns true if created and false if not\n */\n", "excerptTokens": [ { "kind": "Content", "text": "createCorporation(corporationName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", selfFund: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "corporationName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "selfFund", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "createCorporation" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Corporation#expandCity:member(1)", "docComment": "/**\n * Expand to a new city\n *\n * @param divisionName - Name of the division\n *\n * @param cityName - Name of the city\n */\n", "excerptTokens": [ { "kind": "Content", "text": "expandCity(divisionName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", cityName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "divisionName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "cityName", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "expandCity" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Corporation#expandIndustry:member(1)", "docComment": "/**\n * Expand to a new industry\n *\n * @param industryType - Name of the industry\n *\n * @param divisionName - Name of the division\n */\n", "excerptTokens": [ { "kind": "Content", "text": "expandIndustry(industryType: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", divisionName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "industryType", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "divisionName", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "expandIndustry" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Corporation#getCorporation:member(1)", "docComment": "/**\n * Get corporation data\n *\n * @returns Corporation data\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getCorporation(): " }, { "kind": "Reference", "text": "CorporationInfo", "canonicalReference": "bitburner!CorporationInfo:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getCorporation" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Corporation#getDivision:member(1)", "docComment": "/**\n * Get division data\n *\n * @param divisionName - Name of the division\n *\n * @returns Division data\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getDivision(divisionName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Division", "canonicalReference": "bitburner!Division:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "divisionName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getDivision" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Corporation#getExpandCityCost:member(1)", "docComment": "/**\n * Gets the cost to expand into a new city\n *\n * @returns cost\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getExpandCityCost(): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getExpandCityCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Corporation#getExpandIndustryCost:member(1)", "docComment": "/**\n * Gets the cost to expand into a new industry\n *\n * @param industryName - Name of the industry\n *\n * @returns cost\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getExpandIndustryCost(industryName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "industryName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getExpandIndustryCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Corporation#getInvestmentOffer:member(1)", "docComment": "/**\n * Get an offer for investment based on you companies current valuation\n *\n * @returns An offer of investment\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getInvestmentOffer(): " }, { "kind": "Reference", "text": "InvestmentOffer", "canonicalReference": "bitburner!InvestmentOffer:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getInvestmentOffer" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Corporation#getUnlockUpgradeCost:member(1)", "docComment": "/**\n * Gets the cost to unlock a one time unlockable upgrade\n *\n * @param upgradeName - Name of the upgrade\n *\n * @returns cost of the upgrade\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getUnlockUpgradeCost(upgradeName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "upgradeName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getUnlockUpgradeCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Corporation#getUpgradeLevel:member(1)", "docComment": "/**\n * Get the level of a levelable upgrade\n *\n * @param upgradeName - Name of the upgrade\n *\n * @returns the level of the upgrade\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getUpgradeLevel(upgradeName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "upgradeName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getUpgradeLevel" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Corporation#getUpgradeLevelCost:member(1)", "docComment": "/**\n * Gets the cost to unlock the next level of a levelable upgrade\n *\n * @param upgradeName - Name of the upgrade\n *\n * @returns cost of the upgrade\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getUpgradeLevelCost(upgradeName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "upgradeName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getUpgradeLevelCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Corporation#goPublic:member(1)", "docComment": "/**\n * Go public\n *\n * @param numShares - number of shares you would like to issue for your IPO\n *\n * @returns true if you successfully go public, false if not\n */\n", "excerptTokens": [ { "kind": "Content", "text": "goPublic(numShares: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "numShares", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "goPublic" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Corporation#hasUnlockUpgrade:member(1)", "docComment": "/**\n * Check if you have a one time unlockable upgrade\n *\n * @param upgradeName - Name of the upgrade\n *\n * @returns true if unlocked and false if not\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hasUnlockUpgrade(upgradeName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "upgradeName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "hasUnlockUpgrade" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Corporation#issueDividends:member(1)", "docComment": "/**\n * Issue dividends\n *\n * @param percent - Percent of profit to issue as dividends.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "issueDividends(percent: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "percent", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "issueDividends" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Corporation#levelUpgrade:member(1)", "docComment": "/**\n * Level an upgrade.\n *\n * @param upgradeName - Name of the upgrade\n */\n", "excerptTokens": [ { "kind": "Content", "text": "levelUpgrade(upgradeName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "upgradeName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "levelUpgrade" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Corporation#unlockUpgrade:member(1)", "docComment": "/**\n * Unlock an upgrade\n *\n * @param upgradeName - Name of the upgrade\n */\n", "excerptTokens": [ { "kind": "Content", "text": "unlockUpgrade(upgradeName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "upgradeName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "unlockUpgrade" } ], "extendsTokenRanges": [ { "startIndex": 1, "endIndex": 2 }, { "startIndex": 3, "endIndex": 5 } ] }, { "kind": "Interface", "canonicalReference": "bitburner!CorporationInfo:interface", "docComment": "/**\n * General info about a corporation\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "interface CorporationInfo " } ], "releaseTag": "Public", "name": "CorporationInfo", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!CorporationInfo#divisions:member", "docComment": "/**\n * Array of all divisions\n */\n", "excerptTokens": [ { "kind": "Content", "text": "divisions: " }, { "kind": "Reference", "text": "Division", "canonicalReference": "bitburner!Division:interface" }, { "kind": "Content", "text": "[]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "divisions", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CorporationInfo#expenses:member", "docComment": "/**\n * Expenses per second this cycle\n */\n", "excerptTokens": [ { "kind": "Content", "text": "expenses: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "expenses", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CorporationInfo#funds:member", "docComment": "/**\n * Funds available\n */\n", "excerptTokens": [ { "kind": "Content", "text": "funds: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "funds", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CorporationInfo#issuedShares:member", "docComment": "/**\n * Amount of shares issued\n */\n", "excerptTokens": [ { "kind": "Content", "text": "issuedShares: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "issuedShares", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CorporationInfo#name:member", "docComment": "/**\n * Name of the corporation\n */\n", "excerptTokens": [ { "kind": "Content", "text": "name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "name", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CorporationInfo#numShares:member", "docComment": "/**\n * Amount of share owned\n */\n", "excerptTokens": [ { "kind": "Content", "text": "numShares: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "numShares", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CorporationInfo#public:member", "docComment": "/**\n * Indicating if the company is public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "public: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "public", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CorporationInfo#revenue:member", "docComment": "/**\n * Revenue per second this cycle\n */\n", "excerptTokens": [ { "kind": "Content", "text": "revenue: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "revenue", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CorporationInfo#sharePrice:member", "docComment": "/**\n * Price of the shares\n */\n", "excerptTokens": [ { "kind": "Content", "text": "sharePrice: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "sharePrice", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CorporationInfo#shareSaleCooldown:member", "docComment": "/**\n * Cooldown until shares can be sold again\n */\n", "excerptTokens": [ { "kind": "Content", "text": "shareSaleCooldown: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "shareSaleCooldown", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CorporationInfo#state:member", "docComment": "/**\n * State of the corporation. Possible states are START, PURCHASE, PRODUCTION, SALE, EXPORT.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "state: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "state", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CorporationInfo#totalShares:member", "docComment": "/**\n * Total number of shares issues by this corporation\n */\n", "excerptTokens": [ { "kind": "Content", "text": "totalShares: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "totalShares", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!CrimeStats:interface", "docComment": "/**\n * Data representing the internal values of a crime.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface CrimeStats " } ], "releaseTag": "Public", "name": "CrimeStats", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#agility_exp:member", "docComment": "/**\n * agility exp gained from crime\n */\n", "excerptTokens": [ { "kind": "Content", "text": "agility_exp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "agility_exp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#agility_success_weight:member", "docComment": "/**\n * agility level impact on success change of the crime\n */\n", "excerptTokens": [ { "kind": "Content", "text": "agility_success_weight: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "agility_success_weight", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#charisma_exp:member", "docComment": "/**\n * charisma exp gained from crime\n */\n", "excerptTokens": [ { "kind": "Content", "text": "charisma_exp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "charisma_exp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#charisma_success_weight:member", "docComment": "/**\n * charisma level impact on success change of the crime\n */\n", "excerptTokens": [ { "kind": "Content", "text": "charisma_success_weight: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "charisma_success_weight", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#defense_exp:member", "docComment": "/**\n * defense exp gained from crime\n */\n", "excerptTokens": [ { "kind": "Content", "text": "defense_exp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "defense_exp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#defense_success_weight:member", "docComment": "/**\n * defense level impact on success change of the crime\n */\n", "excerptTokens": [ { "kind": "Content", "text": "defense_success_weight: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "defense_success_weight", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#dexterity_exp:member", "docComment": "/**\n * dexterity exp gained from crime\n */\n", "excerptTokens": [ { "kind": "Content", "text": "dexterity_exp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "dexterity_exp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#dexterity_success_weight:member", "docComment": "/**\n * dexterity level impact on success change of the crime\n */\n", "excerptTokens": [ { "kind": "Content", "text": "dexterity_success_weight: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "dexterity_success_weight", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#difficulty:member", "docComment": "/**\n * Number representing the difficulty of the crime. Used for success chance calculations\n */\n", "excerptTokens": [ { "kind": "Content", "text": "difficulty: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "difficulty", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#hacking_exp:member", "docComment": "/**\n * hacking exp gained from crime\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hacking_exp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "hacking_exp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#hacking_success_weight:member", "docComment": "/**\n * hacking level impact on success change of the crime\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hacking_success_weight: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "hacking_success_weight", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#intelligence_exp:member", "docComment": "/**\n * intelligence exp gained from crime\n */\n", "excerptTokens": [ { "kind": "Content", "text": "intelligence_exp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "intelligence_exp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#karma:member", "docComment": "/**\n * Amount of karma lost for successfully committing this crime\n */\n", "excerptTokens": [ { "kind": "Content", "text": "karma: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "karma", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#kills:member", "docComment": "/**\n * How many people die as a result of this crime\n */\n", "excerptTokens": [ { "kind": "Content", "text": "kills: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "kills", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#money:member", "docComment": "/**\n * How much money is given\n */\n", "excerptTokens": [ { "kind": "Content", "text": "money: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "money", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#name:member", "docComment": "/**\n * Name of crime\n */\n", "excerptTokens": [ { "kind": "Content", "text": "name: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "name", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#strength_exp:member", "docComment": "/**\n * strength exp gained from crime\n */\n", "excerptTokens": [ { "kind": "Content", "text": "strength_exp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "strength_exp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#strength_success_weight:member", "docComment": "/**\n * strength level impact on success change of the crime\n */\n", "excerptTokens": [ { "kind": "Content", "text": "strength_success_weight: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "strength_success_weight", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#time:member", "docComment": "/**\n * Milliseconds it takes to attempt the crime\n */\n", "excerptTokens": [ { "kind": "Content", "text": "time: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "time", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!CrimeStats#type:member", "docComment": "/**\n * Description of the crime activity\n */\n", "excerptTokens": [ { "kind": "Content", "text": "type: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "type", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!Division:interface", "docComment": "/**\n * Corporation division\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "interface Division " } ], "releaseTag": "Public", "name": "Division", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!Division#awareness:member", "docComment": "/**\n * Awareness of the division\n */\n", "excerptTokens": [ { "kind": "Content", "text": "awareness: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "awareness", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Division#cities:member", "docComment": "/**\n * Cities in which this division has expanded\n */\n", "excerptTokens": [ { "kind": "Content", "text": "cities: " }, { "kind": "Content", "text": "string[]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "cities", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Division#lastCycleExpenses:member", "docComment": "/**\n * Expenses last cycle\n */\n", "excerptTokens": [ { "kind": "Content", "text": "lastCycleExpenses: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "lastCycleExpenses", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Division#lastCycleRevenue:member", "docComment": "/**\n * Revenue last cycle\n */\n", "excerptTokens": [ { "kind": "Content", "text": "lastCycleRevenue: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "lastCycleRevenue", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Division#name:member", "docComment": "/**\n * Name of the division\n */\n", "excerptTokens": [ { "kind": "Content", "text": "name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "name", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Division#popularity:member", "docComment": "/**\n * Popularity of the division\n */\n", "excerptTokens": [ { "kind": "Content", "text": "popularity: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "popularity", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Division#prodMult:member", "docComment": "/**\n * Production multiplier\n */\n", "excerptTokens": [ { "kind": "Content", "text": "prodMult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "prodMult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Division#products:member", "docComment": "/**\n * Products developed by this division\n */\n", "excerptTokens": [ { "kind": "Content", "text": "products: " }, { "kind": "Content", "text": "string[]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "products", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Division#research:member", "docComment": "/**\n * Amount of research in that division\n */\n", "excerptTokens": [ { "kind": "Content", "text": "research: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "research", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Division#thisCycleExpenses:member", "docComment": "/**\n * Expenses this cycle\n */\n", "excerptTokens": [ { "kind": "Content", "text": "thisCycleExpenses: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "thisCycleExpenses", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Division#thisCycleRevenue:member", "docComment": "/**\n * Revenue this cycle\n */\n", "excerptTokens": [ { "kind": "Content", "text": "thisCycleRevenue: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "thisCycleRevenue", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Division#type:member", "docComment": "/**\n * Type of division, like Aggriculture\n */\n", "excerptTokens": [ { "kind": "Content", "text": "type: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "type", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Division#upgrades:member", "docComment": "/**\n * All research bought\n */\n", "excerptTokens": [ { "kind": "Content", "text": "upgrades: " }, { "kind": "Content", "text": "number[]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "upgrades", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!Employee:interface", "docComment": "/**\n * Employee in an office\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "interface Employee " } ], "releaseTag": "Public", "name": "Employee", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!Employee#cha:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "cha: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "cha", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Employee#cre:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "cre: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "cre", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Employee#eff:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "eff: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "eff", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Employee#ene:member", "docComment": "/**\n * Energy\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ene: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "ene", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Employee#exp:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "exp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "exp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Employee#hap:member", "docComment": "/**\n * Happiness\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hap: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "hap", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Employee#int:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "int: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "int", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Employee#loc:member", "docComment": "/**\n * City\n */\n", "excerptTokens": [ { "kind": "Content", "text": "loc: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "loc", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Employee#mor:member", "docComment": "/**\n * Morale\n */\n", "excerptTokens": [ { "kind": "Content", "text": "mor: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "mor", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Employee#name:member", "docComment": "/**\n * Name of the employee\n */\n", "excerptTokens": [ { "kind": "Content", "text": "name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "name", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Employee#pos:member", "docComment": "/**\n * Current job\n */\n", "excerptTokens": [ { "kind": "Content", "text": "pos: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "pos", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Employee#sal:member", "docComment": "/**\n * Salary\n */\n", "excerptTokens": [ { "kind": "Content", "text": "sal: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "sal", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!EmployeeJobs:interface", "docComment": "/**\n * Object representing the number of employee in each job.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "interface EmployeeJobs " } ], "releaseTag": "Public", "name": "EmployeeJobs", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!EmployeeJobs#\"Research & Development\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "\"Research & Development\": " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "\"Research & Development\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!EmployeeJobs#Business:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "Business: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "Business", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!EmployeeJobs#Engineer:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "Engineer: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "Engineer", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!EmployeeJobs#Management:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "Management: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "Management", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!EmployeeJobs#Operations:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "Operations: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "Operations", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!EmployeeJobs#Training:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "Training: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "Training", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!EmployeeJobs#Unassigned:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "Unassigned: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "Unassigned", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!EquipmentStats:interface", "docComment": "/**\n * Object representing data representing a gang member equipment.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface EquipmentStats " } ], "releaseTag": "Public", "name": "EquipmentStats", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!EquipmentStats#agi:member", "docComment": "/**\n * Agility multiplier\n */\n", "excerptTokens": [ { "kind": "Content", "text": "agi?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "agi", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!EquipmentStats#cha:member", "docComment": "/**\n * Charisma multiplier\n */\n", "excerptTokens": [ { "kind": "Content", "text": "cha?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "cha", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!EquipmentStats#def:member", "docComment": "/**\n * Defense multiplier\n */\n", "excerptTokens": [ { "kind": "Content", "text": "def?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "def", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!EquipmentStats#dex:member", "docComment": "/**\n * Dexterity multiplier\n */\n", "excerptTokens": [ { "kind": "Content", "text": "dex?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "dex", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!EquipmentStats#hack:member", "docComment": "/**\n * Hacking multiplier\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hack?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "hack", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!EquipmentStats#str:member", "docComment": "/**\n * Strength multiplier\n */\n", "excerptTokens": [ { "kind": "Content", "text": "str?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": true, "releaseTag": "Public", "name": "str", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "TypeAlias", "canonicalReference": "bitburner!FilenameOrPID:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "type FilenameOrPID = " }, { "kind": "Content", "text": "number | string" }, { "kind": "Content", "text": ";" } ], "releaseTag": "Public", "name": "FilenameOrPID", "typeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "Interface", "canonicalReference": "bitburner!Formulas:interface", "docComment": "/**\n * Formulas API\n *\n * @remarks\n *\n * You need Formulas.exe on your home computer to use this API.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface Formulas " } ], "releaseTag": "Public", "name": "Formulas", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!Formulas#gang:member", "docComment": "/**\n * Gang formulas\n */\n", "excerptTokens": [ { "kind": "Content", "text": "gang: " }, { "kind": "Reference", "text": "GangFormulas", "canonicalReference": "bitburner!GangFormulas:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "gang", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Formulas#hacking:member", "docComment": "/**\n * Hacking formulas\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hacking: " }, { "kind": "Reference", "text": "HackingFormulas", "canonicalReference": "bitburner!HackingFormulas:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "hacking", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Formulas#hacknetNodes:member", "docComment": "/**\n * Hacknet Nodes formulas\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hacknetNodes: " }, { "kind": "Reference", "text": "HacknetNodesFormulas", "canonicalReference": "bitburner!HacknetNodesFormulas:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "hacknetNodes", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Formulas#hacknetServers:member", "docComment": "/**\n * Hacknet Servers formulas\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hacknetServers: " }, { "kind": "Reference", "text": "HacknetServersFormulas", "canonicalReference": "bitburner!HacknetServersFormulas:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "hacknetServers", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Formulas#skills:member", "docComment": "/**\n * Skills formulas\n */\n", "excerptTokens": [ { "kind": "Content", "text": "skills: " }, { "kind": "Reference", "text": "SkillsFormulas", "canonicalReference": "bitburner!SkillsFormulas:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "skills", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!Fragment:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface Fragment " } ], "releaseTag": "Public", "name": "Fragment", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!Fragment#id:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "id: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "id", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Fragment#limit:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "limit: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "limit", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Fragment#power:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "power: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "power", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Fragment#shape:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "shape: " }, { "kind": "Content", "text": "boolean[][]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "shape", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Fragment#type:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "type: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "type", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!Gang:interface", "docComment": "/**\n * Gang API\n *\n * @remarks\n *\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this API.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface Gang " } ], "releaseTag": "Public", "name": "Gang", "members": [ { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#ascendMember:member(1)", "docComment": "/**\n * Ascend a gang member.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Ascend the specified Gang Member.\n *\n * @param memberName - Name of member to ascend.\n *\n * @returns Object with info about the ascension results. undefined if ascension did not occur.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ascendMember(memberName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "GangMemberAscension", "canonicalReference": "bitburner!GangMemberAscension:interface" }, { "kind": "Content", "text": " | undefined" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "memberName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "ascendMember" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#canRecruitMember:member(1)", "docComment": "/**\n * Check if you can recruit a new gang member.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Returns boolean indicating whether a member can currently be recruited\n *\n * @returns True if a member can currently be recruited, false otherwise.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "canRecruitMember(): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "canRecruitMember" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#createGang:member(1)", "docComment": "/**\n * Create a gang.\n *\n * @remarks\n *\n * RAM cost: 1GB\n *\n * Create a gang with the specified faction.\n *\n * @returns True if the gang was created, false otherwise.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "createGang(faction: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "faction", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "createGang" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#getAscensionResult:member(1)", "docComment": "/**\n * Get the result of an ascension without ascending.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Get the result of an ascension without ascending.\n *\n * @param memberName - Name of member.\n *\n * @returns Object with info about the ascension results. undefined if ascension is impossible.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getAscensionResult(memberName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "GangMemberAscension", "canonicalReference": "bitburner!GangMemberAscension:interface" }, { "kind": "Content", "text": " | undefined" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "memberName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getAscensionResult" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#getBonusTime:member(1)", "docComment": "/**\n * Get bonus time.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Returns the amount of accumulated “bonus time” (seconds) for the Gang mechanic.\n *\n * “Bonus time” is accumulated when the game is offline or if the game is inactive in the browser.\n *\n * “Bonus time” makes the game progress faster, up to 10x the normal speed.\n *\n * @returns Bonus time for the Gang mechanic in milliseconds.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getBonusTime(): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getBonusTime" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#getChanceToWinClash:member(1)", "docComment": "/**\n * Get chance to win clash with other gang.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Returns the chance you have to win a clash with the specified gang. The chance is returned in decimal form, not percentage\n *\n * @param gangName - Target gang\n *\n * @returns Chance you have to win a clash with the specified gang.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getChanceToWinClash(gangName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "gangName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getChanceToWinClash" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#getEquipmentCost:member(1)", "docComment": "/**\n * Get cost of equipment.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Get the amount of money it takes to purchase a piece of Equipment or an Augmentation. If an invalid Equipment/Augmentation is specified, this function will return Infinity.\n *\n * @param equipName - Name of equipment.\n *\n * @returns Cost to purchase the specified Equipment/Augmentation (number). Infinity for invalid arguments\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getEquipmentCost(equipName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "equipName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getEquipmentCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#getEquipmentNames:member(1)", "docComment": "/**\n * List equipment names.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Get the name of all possible equipment/upgrades you can purchase for your Gang Members. This includes Augmentations.\n *\n * @returns Names of all Equipments/Augmentations.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getEquipmentNames(): " }, { "kind": "Content", "text": "string[]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getEquipmentNames" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#getEquipmentStats:member(1)", "docComment": "/**\n * Get stats of an equipment.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Get the specified equipment stats.\n *\n * @param equipName - Name of equipment.\n *\n * @returns A dictionary containing the stats of the equipment.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getEquipmentStats(equipName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "EquipmentStats", "canonicalReference": "bitburner!EquipmentStats:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "equipName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getEquipmentStats" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#getEquipmentType:member(1)", "docComment": "/**\n * Get type of an equipment.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Get the specified equipment type.\n *\n * @param equipName - Name of equipment.\n *\n * @returns Type of the equipment.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getEquipmentType(equipName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "equipName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getEquipmentType" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#getGangInformation:member(1)", "docComment": "/**\n * Get information about your gang.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Get general information about the gang.\n *\n * @returns Object containing general information about the gang.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getGangInformation(): " }, { "kind": "Reference", "text": "GangGenInfo", "canonicalReference": "bitburner!GangGenInfo:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getGangInformation" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#getMemberInformation:member(1)", "docComment": "/**\n * Get information about a specific gang member.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Get stat and equipment-related information about a Gang Member\n *\n * @param name - Name of member.\n *\n * @returns Object containing stat and equipment-related information about a Gang Member.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getMemberInformation(name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "GangMemberInfo", "canonicalReference": "bitburner!GangMemberInfo:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getMemberInformation" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#getMemberNames:member(1)", "docComment": "/**\n * List all gang members.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Get the names of all Gang members\n *\n * @returns Names of all Gang members.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getMemberNames(): " }, { "kind": "Content", "text": "string[]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getMemberNames" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#getOtherGangInformation:member(1)", "docComment": "/**\n * Get information about the other gangs.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Get territory and power information about all gangs.\n *\n * @returns Object containing territory and power information about all gangs.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getOtherGangInformation(): " }, { "kind": "Reference", "text": "GangOtherInfo", "canonicalReference": "bitburner!GangOtherInfo:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getOtherGangInformation" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#getTaskNames:member(1)", "docComment": "/**\n * List member task names.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Get the name of all valid tasks that Gang members can be assigned to.\n *\n * @returns All valid tasks that Gang members can be assigned to.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getTaskNames(): " }, { "kind": "Content", "text": "string[]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getTaskNames" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#getTaskStats:member(1)", "docComment": "/**\n * Get stats of a task.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Get the stats of a gang task stats. This is typically used to evaluate which action should be executed next.\n *\n * @param name - Name of the task.\n *\n * @returns Detailed stats of a task.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getTaskStats(name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "GangTaskStats", "canonicalReference": "bitburner!GangTaskStats:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getTaskStats" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#inGang:member(1)", "docComment": "/**\n * Check if you're in a gang.\n *\n * @remarks\n *\n * RAM cost: 1GB\n *\n * @returns True if you're in a gang, false otherwise.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "inGang(): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "inGang" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#purchaseEquipment:member(1)", "docComment": "/**\n * Purchase an equipment for a gang member.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Attempt to purchase the specified Equipment/Augmentation for the specified Gang member.\n *\n * @param memberName - Name of Gang member to purchase the equipment for.\n *\n * @param equipName - Name of Equipment/Augmentation to purchase.\n *\n * @returns True if the equipment was successfully purchased. False otherwise\n */\n", "excerptTokens": [ { "kind": "Content", "text": "purchaseEquipment(memberName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", equipName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "memberName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "equipName", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "purchaseEquipment" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#recruitMember:member(1)", "docComment": "/**\n * Recruit a new gang member.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Attempt to recruit a new gang member.\n *\n * Possible reasons for failure: * Cannot currently recruit a new member * There already exists a member with the specified name\n *\n * @param name - Name of member to recruit.\n *\n * @returns True if the member was successfully recruited, false otherwise.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "recruitMember(name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "recruitMember" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#setMemberTask:member(1)", "docComment": "/**\n * Set gang member to task.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Attempts to assign the specified Gang Member to the specified task. If an invalid task is specified, the Gang member will be set to idle (“Unassigned”).\n *\n * @param memberName - Name of Gang member to assign.\n *\n * @param taskName - Task to assign.\n *\n * @returns True if the Gang Member was successfully assigned to the task, false otherwise.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "setMemberTask(memberName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", taskName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "memberName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "taskName", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "setMemberTask" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Gang#setTerritoryWarfare:member(1)", "docComment": "/**\n * Enable/Disable territory warfare.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Set whether or not the gang should engage in territory warfare\n *\n * @param engage - Whether or not to engage in territory warfare.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "setTerritoryWarfare(engage: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "engage", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "setTerritoryWarfare" } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!GangFormulas:interface", "docComment": "/**\n * Gang formulas\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "interface GangFormulas " } ], "releaseTag": "Public", "name": "GangFormulas", "members": [ { "kind": "MethodSignature", "canonicalReference": "bitburner!GangFormulas#ascensionMultiplier:member(1)", "docComment": "/**\n * Calculate ascension mult.\n *\n * @param points - Amount of ascension points.\n *\n * @returns The calculated ascension mult.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ascensionMultiplier(points: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "points", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "ascensionMultiplier" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!GangFormulas#ascensionPointsGain:member(1)", "docComment": "/**\n * Calculate ascension point gain.\n *\n * @param exp - Experience point before ascension.\n *\n * @returns The calculated ascension point gain.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ascensionPointsGain(exp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "exp", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "ascensionPointsGain" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!GangFormulas#moneyGain:member(1)", "docComment": "/**\n * Calculate money gain per tick.\n *\n * @param gang - Gang info from {@link Gang.getGangInformation | getGangInformation}\n *\n * @param member - Member info from {@link Gang.getMemberInformation | getMemberInformation}\n *\n * @param task - Task info from {@link Gang.getTaskStats | getTaskStats}\n *\n * @returns The calculated money gain.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "moneyGain(gang: " }, { "kind": "Reference", "text": "GangGenInfo", "canonicalReference": "bitburner!GangGenInfo:interface" }, { "kind": "Content", "text": ", member: " }, { "kind": "Reference", "text": "GangMemberInfo", "canonicalReference": "bitburner!GangMemberInfo:interface" }, { "kind": "Content", "text": ", task: " }, { "kind": "Reference", "text": "GangTaskStats", "canonicalReference": "bitburner!GangTaskStats:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "gang", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "member", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "parameterName": "task", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } } ], "name": "moneyGain" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!GangFormulas#respectGain:member(1)", "docComment": "/**\n * Calculate respect gain per tick.\n *\n * @param gang - Gang info from {@link Gang.getGangInformation | getGangInformation}\n *\n * @param member - Gang info from {@link Gang.getMemberInformation | getMemberInformation}\n *\n * @param task - Gang info from {@link Gang.getTaskStats | getTaskStats}\n *\n * @returns The calculated respect gain.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "respectGain(gang: " }, { "kind": "Reference", "text": "GangGenInfo", "canonicalReference": "bitburner!GangGenInfo:interface" }, { "kind": "Content", "text": ", member: " }, { "kind": "Reference", "text": "GangMemberInfo", "canonicalReference": "bitburner!GangMemberInfo:interface" }, { "kind": "Content", "text": ", task: " }, { "kind": "Reference", "text": "GangTaskStats", "canonicalReference": "bitburner!GangTaskStats:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "gang", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "member", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "parameterName": "task", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } } ], "name": "respectGain" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!GangFormulas#wantedLevelGain:member(1)", "docComment": "/**\n * Calculate wanted gain per tick.\n *\n * @param gang - Gang info from {@link Gang.getGangInformation | getGangInformation}\n *\n * @param member - Member info from {@link Gang.getMemberInformation | getMemberInformation}\n *\n * @param task - Task info from {@link Gang.getTaskStats | getTaskStats}\n *\n * @returns The calculated wanted gain.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "wantedLevelGain(gang: " }, { "kind": "Reference", "text": "GangGenInfo", "canonicalReference": "bitburner!GangGenInfo:interface" }, { "kind": "Content", "text": ", member: " }, { "kind": "Reference", "text": "GangMemberInfo", "canonicalReference": "bitburner!GangMemberInfo:interface" }, { "kind": "Content", "text": ", task: " }, { "kind": "Reference", "text": "GangTaskStats", "canonicalReference": "bitburner!GangTaskStats:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "gang", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "member", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "parameterName": "task", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } } ], "name": "wantedLevelGain" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!GangFormulas#wantedPenalty:member(1)", "docComment": "/**\n * Calculate the wanted penalty.\n *\n * @param gang - Gang info from {@link Gang.getGangInformation | getGangInformation}\n *\n * @returns The calculated wanted penalty.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "wantedPenalty(gang: " }, { "kind": "Reference", "text": "GangGenInfo", "canonicalReference": "bitburner!GangGenInfo:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "gang", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "wantedPenalty" } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!GangGenInfo:interface", "docComment": "/**\n * Gang general info.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface GangGenInfo " } ], "releaseTag": "Public", "name": "GangGenInfo", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!GangGenInfo#faction:member", "docComment": "/**\n * Name of faction that the gang belongs to (\"Slum Snakes\", etc.)\n */\n", "excerptTokens": [ { "kind": "Content", "text": "faction: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "faction", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangGenInfo#isHacking:member", "docComment": "/**\n * Indicating whether or not it's a hacking gang\n */\n", "excerptTokens": [ { "kind": "Content", "text": "isHacking: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "isHacking", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangGenInfo#moneyGainRate:member", "docComment": "/**\n * Money earned per game cycle\n */\n", "excerptTokens": [ { "kind": "Content", "text": "moneyGainRate: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "moneyGainRate", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangGenInfo#power:member", "docComment": "/**\n * Gang's power for territory warfare\n */\n", "excerptTokens": [ { "kind": "Content", "text": "power: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "power", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangGenInfo#respect:member", "docComment": "/**\n * Gang's respect\n */\n", "excerptTokens": [ { "kind": "Content", "text": "respect: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "respect", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangGenInfo#respectGainRate:member", "docComment": "/**\n * Respect earned per game cycle\n */\n", "excerptTokens": [ { "kind": "Content", "text": "respectGainRate: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "respectGainRate", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangGenInfo#territory:member", "docComment": "/**\n * Amount of territory held\n */\n", "excerptTokens": [ { "kind": "Content", "text": "territory: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "territory", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangGenInfo#territoryClashChance:member", "docComment": "/**\n * Clash chance\n */\n", "excerptTokens": [ { "kind": "Content", "text": "territoryClashChance: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "territoryClashChance", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangGenInfo#territoryWarfareEngaged:member", "docComment": "/**\n * Indicating if territory warfare is enabled\n */\n", "excerptTokens": [ { "kind": "Content", "text": "territoryWarfareEngaged: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "territoryWarfareEngaged", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangGenInfo#wantedLevel:member", "docComment": "/**\n * Gang's wanted level\n */\n", "excerptTokens": [ { "kind": "Content", "text": "wantedLevel: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "wantedLevel", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangGenInfo#wantedLevelGainRate:member", "docComment": "/**\n * Wanted level gained/lost per game cycle (negative for losses)\n */\n", "excerptTokens": [ { "kind": "Content", "text": "wantedLevelGainRate: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "wantedLevelGainRate", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangGenInfo#wantedPenalty:member", "docComment": "/**\n * Number indicating the current wanted penalty\n */\n", "excerptTokens": [ { "kind": "Content", "text": "wantedPenalty: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "wantedPenalty", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!GangMemberAscension:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface GangMemberAscension " } ], "releaseTag": "Public", "name": "GangMemberAscension", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberAscension#agi:member", "docComment": "/**\n * Agility multiplier gained from ascending\n */\n", "excerptTokens": [ { "kind": "Content", "text": "agi: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "agi", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberAscension#cha:member", "docComment": "/**\n * Charisma multiplier gained from ascending\n */\n", "excerptTokens": [ { "kind": "Content", "text": "cha: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "cha", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberAscension#def:member", "docComment": "/**\n * Defense multiplier gained from ascending\n */\n", "excerptTokens": [ { "kind": "Content", "text": "def: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "def", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberAscension#dex:member", "docComment": "/**\n * Dexterity multiplier gained from ascending\n */\n", "excerptTokens": [ { "kind": "Content", "text": "dex: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "dex", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberAscension#hack:member", "docComment": "/**\n * Hacking multiplier gained from ascending\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hack: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "hack", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberAscension#respect:member", "docComment": "/**\n * Amount of respect lost from ascending\n */\n", "excerptTokens": [ { "kind": "Content", "text": "respect: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "respect", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberAscension#str:member", "docComment": "/**\n * Strength multiplier gained from ascending\n */\n", "excerptTokens": [ { "kind": "Content", "text": "str: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "str", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!GangMemberInfo:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface GangMemberInfo " } ], "releaseTag": "Public", "name": "GangMemberInfo", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#agi_asc_mult:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "agi_asc_mult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "agi_asc_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#agi_asc_points:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "agi_asc_points: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "agi_asc_points", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#agi_exp:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "agi_exp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "agi_exp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#agi_mult:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "agi_mult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "agi_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#agi:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "agi: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "agi", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#augmentations:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "augmentations: " }, { "kind": "Content", "text": "string[]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "augmentations", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#cha_asc_mult:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "cha_asc_mult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "cha_asc_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#cha_asc_points:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "cha_asc_points: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "cha_asc_points", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#cha_exp:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "cha_exp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "cha_exp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#cha_mult:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "cha_mult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "cha_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#cha:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "cha: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "cha", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#def_asc_mult:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "def_asc_mult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "def_asc_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#def_asc_points:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "def_asc_points: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "def_asc_points", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#def_exp:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "def_exp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "def_exp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#def_mult:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "def_mult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "def_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#def:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "def: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "def", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#dex_asc_mult:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "dex_asc_mult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "dex_asc_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#dex_asc_points:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "dex_asc_points: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "dex_asc_points", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#dex_exp:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "dex_exp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "dex_exp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#dex_mult:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "dex_mult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "dex_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#dex:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "dex: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "dex", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#earnedRespect:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "earnedRespect: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "earnedRespect", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#hack_asc_mult:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hack_asc_mult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "hack_asc_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#hack_asc_points:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hack_asc_points: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "hack_asc_points", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#hack_exp:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hack_exp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "hack_exp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#hack_mult:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hack_mult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "hack_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#hack:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hack: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "hack", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#moneyGain:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "moneyGain: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "moneyGain", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#name:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "name", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#respectGain:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "respectGain: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "respectGain", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#str_asc_mult:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "str_asc_mult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "str_asc_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#str_asc_points:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "str_asc_points: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "str_asc_points", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#str_exp:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "str_exp: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "str_exp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#str_mult:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "str_mult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "str_mult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#str:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "str: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "str", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#task:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "task: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "task", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#upgrades:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "upgrades: " }, { "kind": "Content", "text": "string[]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "upgrades", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangMemberInfo#wantedLevelGain:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "wantedLevelGain: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "wantedLevelGain", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!GangOtherInfo:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface GangOtherInfo " } ], "releaseTag": "Public", "name": "GangOtherInfo", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!GangOtherInfo#\"Slum Snakes\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "\"Slum Snakes\": " }, { "kind": "Reference", "text": "GangOtherInfoObject", "canonicalReference": "bitburner!GangOtherInfoObject:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "\"Slum Snakes\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangOtherInfo#\"Speakers for the Dead\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "\"Speakers for the Dead\": " }, { "kind": "Reference", "text": "GangOtherInfoObject", "canonicalReference": "bitburner!GangOtherInfoObject:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "\"Speakers for the Dead\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangOtherInfo#\"The Black Hand\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "\"The Black Hand\": " }, { "kind": "Reference", "text": "GangOtherInfoObject", "canonicalReference": "bitburner!GangOtherInfoObject:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "\"The Black Hand\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangOtherInfo#\"The Dark Army\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "\"The Dark Army\": " }, { "kind": "Reference", "text": "GangOtherInfoObject", "canonicalReference": "bitburner!GangOtherInfoObject:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "\"The Dark Army\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangOtherInfo#\"The Syndicate\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "\"The Syndicate\": " }, { "kind": "Reference", "text": "GangOtherInfoObject", "canonicalReference": "bitburner!GangOtherInfoObject:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "\"The Syndicate\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangOtherInfo#NiteSec:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "NiteSec: " }, { "kind": "Reference", "text": "GangOtherInfoObject", "canonicalReference": "bitburner!GangOtherInfoObject:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "NiteSec", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangOtherInfo#Tetrads:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "Tetrads: " }, { "kind": "Reference", "text": "GangOtherInfoObject", "canonicalReference": "bitburner!GangOtherInfoObject:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "Tetrads", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!GangOtherInfoObject:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface GangOtherInfoObject " } ], "releaseTag": "Public", "name": "GangOtherInfoObject", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!GangOtherInfoObject#power:member", "docComment": "/**\n * Gang power\n */\n", "excerptTokens": [ { "kind": "Content", "text": "power: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "power", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangOtherInfoObject#territory:member", "docComment": "/**\n * Gang territory, in decimal form\n */\n", "excerptTokens": [ { "kind": "Content", "text": "territory: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "territory", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!GangTaskStats:interface", "docComment": "/**\n * Object representing data representing a gang member task.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface GangTaskStats " } ], "releaseTag": "Public", "name": "GangTaskStats", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!GangTaskStats#agiWeight:member", "docComment": "/**\n * Agility skill impact on task scaling\n */\n", "excerptTokens": [ { "kind": "Content", "text": "agiWeight: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "agiWeight", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangTaskStats#baseMoney:member", "docComment": "/**\n * Base money earned\n */\n", "excerptTokens": [ { "kind": "Content", "text": "baseMoney: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "baseMoney", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangTaskStats#baseRespect:member", "docComment": "/**\n * Base respect earned\n */\n", "excerptTokens": [ { "kind": "Content", "text": "baseRespect: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "baseRespect", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangTaskStats#baseWanted:member", "docComment": "/**\n * Base wanted earned\n */\n", "excerptTokens": [ { "kind": "Content", "text": "baseWanted: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "baseWanted", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangTaskStats#chaWeight:member", "docComment": "/**\n * Charisma skill impact on task scaling\n */\n", "excerptTokens": [ { "kind": "Content", "text": "chaWeight: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "chaWeight", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangTaskStats#defWeight:member", "docComment": "/**\n * Defense skill impact on task scaling\n */\n", "excerptTokens": [ { "kind": "Content", "text": "defWeight: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "defWeight", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangTaskStats#desc:member", "docComment": "/**\n * Task Description\n */\n", "excerptTokens": [ { "kind": "Content", "text": "desc: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "desc", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangTaskStats#dexWeight:member", "docComment": "/**\n * Dexterity skill impact on task scaling\n */\n", "excerptTokens": [ { "kind": "Content", "text": "dexWeight: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "dexWeight", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangTaskStats#difficulty:member", "docComment": "/**\n * Number representing the difficulty of the task\n */\n", "excerptTokens": [ { "kind": "Content", "text": "difficulty: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "difficulty", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangTaskStats#hackWeight:member", "docComment": "/**\n * Hacking skill impact on task scaling\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hackWeight: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "hackWeight", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangTaskStats#isCombat:member", "docComment": "/**\n * Is a task of a combat gang\n */\n", "excerptTokens": [ { "kind": "Content", "text": "isCombat: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "isCombat", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangTaskStats#isHacking:member", "docComment": "/**\n * Is a task of a hacking gang\n */\n", "excerptTokens": [ { "kind": "Content", "text": "isHacking: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "isHacking", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangTaskStats#name:member", "docComment": "/**\n * Task name\n */\n", "excerptTokens": [ { "kind": "Content", "text": "name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "name", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangTaskStats#strWeight:member", "docComment": "/**\n * Stength skill impact on task scaling\n */\n", "excerptTokens": [ { "kind": "Content", "text": "strWeight: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "strWeight", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangTaskStats#territory:member", "docComment": "/**\n * Territory impact on task scaling\n */\n", "excerptTokens": [ { "kind": "Content", "text": "territory: " }, { "kind": "Reference", "text": "GangTerritory", "canonicalReference": "bitburner!GangTerritory:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "territory", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!GangTerritory:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface GangTerritory " } ], "releaseTag": "Public", "name": "GangTerritory", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!GangTerritory#money:member", "docComment": "/**\n * Money gain impact on task scaling\n */\n", "excerptTokens": [ { "kind": "Content", "text": "money: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "money", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangTerritory#respect:member", "docComment": "/**\n * Respect gain impact on task scaling\n */\n", "excerptTokens": [ { "kind": "Content", "text": "respect: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "respect", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!GangTerritory#wanted:member", "docComment": "/**\n * Wanted gain impact on task scaling\n */\n", "excerptTokens": [ { "kind": "Content", "text": "wanted: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "wanted", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!HackingFormulas:interface", "docComment": "/**\n * Hacking formulas\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "interface HackingFormulas " } ], "releaseTag": "Public", "name": "HackingFormulas", "members": [ { "kind": "MethodSignature", "canonicalReference": "bitburner!HackingFormulas#growPercent:member(1)", "docComment": "/**\n * Calculate the percent a server would grow.\n *\n * @param server - Server info from {@link NS.getServer | getServer}\n *\n * @param threads - Amount of thread.\n *\n * @param player - Player info from {@link NS.getPlayer | getPlayer}\n *\n * @param cores - Number of cores on the computer that will execute grow.\n *\n * @returns The calculated grow percent.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "growPercent(server: " }, { "kind": "Reference", "text": "Server", "canonicalReference": "bitburner!Server:interface" }, { "kind": "Content", "text": ", threads: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", player: " }, { "kind": "Reference", "text": "Player", "canonicalReference": "bitburner!Player:interface" }, { "kind": "Content", "text": ", cores?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 9, "endIndex": 10 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "server", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "threads", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "parameterName": "player", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } }, { "parameterName": "cores", "parameterTypeTokenRange": { "startIndex": 7, "endIndex": 8 } } ], "name": "growPercent" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!HackingFormulas#growTime:member(1)", "docComment": "/**\n * Calculate grow time.\n *\n * @param server - Server info from {@link NS.getServer | getServer}\n *\n * @param player - Player info from {@link NS.getPlayer | getPlayer}\n *\n * @returns The calculated grow time.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "growTime(server: " }, { "kind": "Reference", "text": "Server", "canonicalReference": "bitburner!Server:interface" }, { "kind": "Content", "text": ", player: " }, { "kind": "Reference", "text": "Player", "canonicalReference": "bitburner!Player:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "server", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "player", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "growTime" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!HackingFormulas#hackChance:member(1)", "docComment": "/**\n * Calculate hack chance.\n *\n * @param server - Server info from {@link NS.getServer | getServer}\n *\n * @param player - Player info from {@link NS.getPlayer | getPlayer}\n *\n * @returns The calculated hack chance.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hackChance(server: " }, { "kind": "Reference", "text": "Server", "canonicalReference": "bitburner!Server:interface" }, { "kind": "Content", "text": ", player: " }, { "kind": "Reference", "text": "Player", "canonicalReference": "bitburner!Player:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "server", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "player", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "hackChance" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!HackingFormulas#hackExp:member(1)", "docComment": "/**\n * Calculate hack exp for one thread.\n *\n * @remarks\n *\n * Multiply by thread to get total exp\n *\n * @param server - Server info from {@link NS.getServer | getServer}\n *\n * @param player - Player info from {@link NS.getPlayer | getPlayer}\n *\n * @returns The calculated hack exp.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hackExp(server: " }, { "kind": "Reference", "text": "Server", "canonicalReference": "bitburner!Server:interface" }, { "kind": "Content", "text": ", player: " }, { "kind": "Reference", "text": "Player", "canonicalReference": "bitburner!Player:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "server", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "player", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "hackExp" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!HackingFormulas#hackPercent:member(1)", "docComment": "/**\n * Calculate hack percent for one thread.\n *\n * @remarks\n *\n * Multiply by thread to get total percent hacked.\n *\n * @param server - Server info from {@link NS.getServer | getServer}\n *\n * @param player - Player info from {@link NS.getPlayer | getPlayer}\n *\n * @returns The calculated hack percent.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hackPercent(server: " }, { "kind": "Reference", "text": "Server", "canonicalReference": "bitburner!Server:interface" }, { "kind": "Content", "text": ", player: " }, { "kind": "Reference", "text": "Player", "canonicalReference": "bitburner!Player:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "server", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "player", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "hackPercent" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!HackingFormulas#hackTime:member(1)", "docComment": "/**\n * Calculate hack time.\n *\n * @param server - Server info from {@link NS.getServer | getServer}\n *\n * @param player - Player info from {@link NS.getPlayer | getPlayer}\n *\n * @returns The calculated hack time.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hackTime(server: " }, { "kind": "Reference", "text": "Server", "canonicalReference": "bitburner!Server:interface" }, { "kind": "Content", "text": ", player: " }, { "kind": "Reference", "text": "Player", "canonicalReference": "bitburner!Player:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "server", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "player", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "hackTime" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!HackingFormulas#weakenTime:member(1)", "docComment": "/**\n * Calculate weaken time.\n *\n * @param server - Server info from {@link NS.getServer | getServer}\n *\n * @param player - Player info from {@link NS.getPlayer | getPlayer}\n *\n * @returns The calculated weaken time.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "weakenTime(server: " }, { "kind": "Reference", "text": "Server", "canonicalReference": "bitburner!Server:interface" }, { "kind": "Content", "text": ", player: " }, { "kind": "Reference", "text": "Player", "canonicalReference": "bitburner!Player:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "server", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "player", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "weakenTime" } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!HackingMultipliers:interface", "docComment": "/**\n * Hack related multipliers.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface HackingMultipliers " } ], "releaseTag": "Public", "name": "HackingMultipliers", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!HackingMultipliers#chance:member", "docComment": "/**\n * Player's hacking chance multiplier.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "chance: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "chance", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HackingMultipliers#growth:member", "docComment": "/**\n * Player's hacking growth multiplier\n */\n", "excerptTokens": [ { "kind": "Content", "text": "growth: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "growth", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HackingMultipliers#money:member", "docComment": "/**\n * Player's hacking money stolen multiplier.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "money: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "money", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HackingMultipliers#speed:member", "docComment": "/**\n * Player's hacking speed multiplier.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "speed: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "speed", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!Hacknet:interface", "docComment": "/**\n * Hacknet API\n *\n * @remarks\n *\n * Not all these functions are immediately available.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface Hacknet " } ], "releaseTag": "Public", "name": "Hacknet", "members": [ { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#getCacheUpgradeCost:member(1)", "docComment": "/**\n * Calculate the cost of upgrading hacknet node cache.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Returns the cost of upgrading the cache level of the specified Hacknet Server by n.\n *\n * If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned.\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of times to upgrade cache. Must be positive. Rounded to nearest integer.\n *\n * @returns Cost of upgrading the specified Hacknet Node's cache.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getCacheUpgradeCost(index: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", n: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "index", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "n", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "getCacheUpgradeCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#getCoreUpgradeCost:member(1)", "docComment": "/**\n * Calculate the cost of upgrading hacknet node cores.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Returns the cost of upgrading the number of cores of the specified Hacknet Node by n.\n *\n * If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned.\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of times to upgrade cores. Must be positive. Rounded to nearest integer.\n *\n * @returns Cost of upgrading the specified Hacknet Node's number of cores.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getCoreUpgradeCost(index: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", n: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "index", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "n", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "getCoreUpgradeCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#getHashUpgradeLevel:member(1)", "docComment": "/**\n * Get the level of a hash upgrade.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * @returns Level of the upgrade.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getHashUpgradeLevel(upgName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "upgName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getHashUpgradeLevel" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#getHashUpgrades:member(1)", "docComment": "/**\n * Get the list of hash upgrades\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Returns the list of all available hash upgrades that can be used in the spendHashes function.\n *\n * @returns An array containing the available upgrades\n *\n * @example\n * ```ts\n * // NS1:\n * var upgrades = hacknet.getHashUpgrades(); // [\"Sell for Money\",\"Sell for Corporation Funds\",...]\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * const upgrades = ns.hacknet.getHashUpgrades(); // [\"Sell for Money\",\"Sell for Corporation Funds\",...]\n * ```\n *\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getHashUpgrades(): " }, { "kind": "Content", "text": "string[]" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getHashUpgrades" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#getLevelUpgradeCost:member(1)", "docComment": "/**\n * Calculate the cost of upgrading hacknet node levels.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Returns the cost of upgrading the specified Hacknet Node by n levels.\n *\n * If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned.\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of levels to upgrade. Must be positive. Rounded to nearest integer.\n *\n * @returns Cost of upgrading the specified Hacknet Node.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getLevelUpgradeCost(index: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", n: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "index", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "n", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "getLevelUpgradeCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#getNodeStats:member(1)", "docComment": "/**\n * Get the stats of a hacknet node.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Returns an object containing a variety of stats about the specified Hacknet Node.\n *\n * Note that for Hacknet Nodes, production refers to the amount of money the node generates. For Hacknet Servers (the upgraded version of Hacknet Nodes), production refers to the amount of hashes the node generates.\n *\n * @param index - Index/Identifier of Hacknet Node\n *\n * @returns Object containing a variety of stats about the specified Hacknet Node.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getNodeStats(index: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "NodeStats", "canonicalReference": "bitburner!NodeStats:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "index", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "getNodeStats" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#getPurchaseNodeCost:member(1)", "docComment": "/**\n * Get the price of the next hacknet node.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Returns the cost of purchasing a new Hacknet Node.\n *\n * @returns Cost of purchasing a new Hacknet Node.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getPurchaseNodeCost(): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getPurchaseNodeCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#getRamUpgradeCost:member(1)", "docComment": "/**\n * Calculate the cost of upgrading hacknet node RAM.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Returns the cost of upgrading the RAM of the specified Hacknet Node n times.\n *\n * If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned.\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of times to upgrade RAM. Must be positive. Rounded to nearest integer.\n *\n * @returns Cost of upgrading the specified Hacknet Node's ram.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getRamUpgradeCost(index: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", n: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "index", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "n", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "getRamUpgradeCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#getStudyMult:member(1)", "docComment": "/**\n * Get the multipler to study.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * @returns Multiplier.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getStudyMult(): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getStudyMult" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#getTrainingMult:member(1)", "docComment": "/**\n * Get the multipler to training.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * @returns Multiplier.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "getTrainingMult(): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "getTrainingMult" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#hashCapacity:member(1)", "docComment": "/**\n * Get the maximum number of hashes you can store.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Returns the number of hashes you can store.\n *\n * @returns Number of hashes you can store.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hashCapacity(): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "hashCapacity" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#hashCost:member(1)", "docComment": "/**\n * Get the cost of a hash upgrade.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Returns the number of hashes required for the specified upgrade. The name of the upgrade must be an exact match.\n *\n * @param upgName - Name of the upgrade of Hacknet Node.\n *\n * @returns Number of hashes required for the specified upgrade.\n *\n * @example\n * ```ts\n * // NS1:\n * var upgradeName = \"Sell for Corporation Funds\";\n * if (hacknet.numHashes() > hacknet.hashCost(upgradeName)) {\n * hacknet.spendHashes(upgName);\n * }\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * const upgradeName = \"Sell for Corporation Funds\";\n * if (ns.hacknet.numHashes() > ns.hacknet.hashCost(upgradeName)) {\n * ns.hacknet.spendHashes(upgName);\n * }\n * ```\n *\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hashCost(upgName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "upgName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "hashCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#maxNumNodes:member(1)", "docComment": "/**\n * Get the maximum number of hacknet nodes.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @returns maximum number of hacknet nodes.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "maxNumNodes(): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "maxNumNodes" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#numHashes:member(1)", "docComment": "/**\n * Get the total number of hashes stored.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Returns the number of hashes you have.\n *\n * @returns Number of hashes you have.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "numHashes(): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "numHashes" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#numNodes:member(1)", "docComment": "/**\n * Get the number of hacknet nodes you own.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Returns the number of Hacknet Nodes you own.\n *\n * @returns number of hacknet nodes.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "numNodes(): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "numNodes" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#purchaseNode:member(1)", "docComment": "/**\n * Purchase a new hacknet node.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Purchases a new Hacknet Node. Returns a number with the index of the Hacknet Node. This index is equivalent to the number at the end of the Hacknet Node’s name (e.g The Hacknet Node named `hacknet-node-4` will have an index of 4).\n *\n * If the player cannot afford to purchase a new Hacknet Node then the function will return -1.\n *\n * @returns The index of the Hacknet Node or if the player cannot afford to purchase a new Hacknet Node the function will return -1.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "purchaseNode(): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "purchaseNode" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#spendHashes:member(1)", "docComment": "/**\n * Purchase a hash upgrade.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Spend the hashes generated by your Hacknet Servers on an upgrade. Returns a boolean value - true if the upgrade is successfully purchased, and false otherwise.\n *\n * The name of the upgrade must be an exact match. The `upgTarget` argument is used for upgrades such as `Reduce Minimum Security`, which applies to a specific server. In this case, the `upgTarget` argument must be the hostname of the server.\n *\n * @param upgName - Name of the upgrade of Hacknet Node.\n *\n * @param upgTarget - Object to which upgrade applies. Required for certain upgrades.\n *\n * @returns True if the upgrade is successfully purchased, and false otherwise..\n *\n * @example\n * ```ts\n * // NS1:\n * hacknet.spendHashes(\"Sell for Corporation Funds\");\n * hacknet.spendHashes(\"Increase Maximum Money\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * NS2:\n * ns.hacknet.spendHashes(\"Sell for Corporation Funds\");\n * ns.hacknet.spendHashes(\"Increase Maximum Money\", \"foodnstuff\");\n * ```\n *\n */\n", "excerptTokens": [ { "kind": "Content", "text": "spendHashes(upgName: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", upgTarget?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "upgName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "upgTarget", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "spendHashes" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#upgradeCache:member(1)", "docComment": "/**\n * Upgrade the cache of a hacknet node.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Tries to upgrade the specified Hacknet Server’s cache n times.\n *\n * Returns true if it successfully upgrades the Server’s cache n times, or if it purchases some positive amount and the Server reaches its max cache level.\n *\n * Returns false otherwise.\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of cache levels to purchase. Must be positive. Rounded to nearest integer.\n *\n * @returns True if the Hacknet Node’s cores are successfully purchased, false otherwise.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "upgradeCache(index: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", n: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "index", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "n", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "upgradeCache" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#upgradeCore:member(1)", "docComment": "/**\n * Upgrade the core of a hacknet node.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Tries to purchase n cores for the specified Hacknet Node.\n *\n * Returns true if it successfully purchases n cores for the Hacknet Node or if it purchases some positive amount and the Node reaches its max number of cores.\n *\n * Returns false otherwise.\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of cores to purchase. Must be positive. Rounded to nearest integer.\n *\n * @returns True if the Hacknet Node’s cores are successfully purchased, false otherwise.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "upgradeCore(index: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", n: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "index", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "n", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "upgradeCore" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#upgradeLevel:member(1)", "docComment": "/**\n * Upgrade the level of a hacknet node.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Tries to upgrade the level of the specified Hacknet Node by n.\n *\n * Returns true if the Hacknet Node’s level is successfully upgraded by n or if it is upgraded by some positive amount and the Node reaches its max level.\n *\n * Returns false otherwise.\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of levels to purchase. Must be positive. Rounded to nearest integer.\n *\n * @returns True if the Hacknet Node’s level is successfully upgraded, false otherwise.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "upgradeLevel(index: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", n: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "index", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "n", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "upgradeLevel" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!Hacknet#upgradeRam:member(1)", "docComment": "/**\n * Upgrade the RAM of a hacknet node.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Tries to upgrade the specified Hacknet Node’s RAM n times. Note that each upgrade doubles the Node’s RAM. So this is equivalent to multiplying the Node’s RAM by 2 n.\n *\n * Returns true if the Hacknet Node’s RAM is successfully upgraded n times or if it is upgraded some positive number of times and the Node reaches it max RAM.\n *\n * Returns false otherwise.\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of times to upgrade RAM. Must be positive. Rounded to nearest integer.\n *\n * @returns True if the Hacknet Node’s ram is successfully upgraded, false otherwise.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "upgradeRam(index: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", n: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "index", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "n", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "upgradeRam" } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!HacknetMultipliers:interface", "docComment": "/**\n * Hacknet related multipliers.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface HacknetMultipliers " } ], "releaseTag": "Public", "name": "HacknetMultipliers", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetMultipliers#coreCost:member", "docComment": "/**\n * Player's hacknet core cost multiplier\n */\n", "excerptTokens": [ { "kind": "Content", "text": "coreCost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "coreCost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetMultipliers#levelCost:member", "docComment": "/**\n * Player's hacknet level cost multiplier\n */\n", "excerptTokens": [ { "kind": "Content", "text": "levelCost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "levelCost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetMultipliers#production:member", "docComment": "/**\n * Player's hacknet production multiplier\n */\n", "excerptTokens": [ { "kind": "Content", "text": "production: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "production", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetMultipliers#purchaseCost:member", "docComment": "/**\n * Player's hacknet purchase cost multiplier\n */\n", "excerptTokens": [ { "kind": "Content", "text": "purchaseCost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "purchaseCost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetMultipliers#ramCost:member", "docComment": "/**\n * Player's hacknet ram cost multiplier\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ramCost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "ramCost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!HacknetNodeConstants:interface", "docComment": "/**\n * Hacknet node related constants\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface HacknetNodeConstants " } ], "releaseTag": "Public", "name": "HacknetNodeConstants", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetNodeConstants#BaseCost:member", "docComment": "/**\n * Base cost for a new node\n */\n", "excerptTokens": [ { "kind": "Content", "text": "BaseCost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "BaseCost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetNodeConstants#CoreBaseCost:member", "docComment": "/**\n * Base cost to increase cores\n */\n", "excerptTokens": [ { "kind": "Content", "text": "CoreBaseCost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "CoreBaseCost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetNodeConstants#LevelBaseCost:member", "docComment": "/**\n * Base cost per level\n */\n", "excerptTokens": [ { "kind": "Content", "text": "LevelBaseCost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "LevelBaseCost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetNodeConstants#MaxCores:member", "docComment": "/**\n * Max number of cores\n */\n", "excerptTokens": [ { "kind": "Content", "text": "MaxCores: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "MaxCores", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetNodeConstants#MaxLevel:member", "docComment": "/**\n * Max node level\n */\n", "excerptTokens": [ { "kind": "Content", "text": "MaxLevel: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "MaxLevel", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetNodeConstants#MaxRam:member", "docComment": "/**\n * Max amount of RAM in GB\n */\n", "excerptTokens": [ { "kind": "Content", "text": "MaxRam: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "MaxRam", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetNodeConstants#MoneyGainPerLevel:member", "docComment": "/**\n * Amount of money gained per level\n */\n", "excerptTokens": [ { "kind": "Content", "text": "MoneyGainPerLevel: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "MoneyGainPerLevel", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetNodeConstants#PurchaseNextMult:member", "docComment": "/**\n * Multiplier to purchase new node\n */\n", "excerptTokens": [ { "kind": "Content", "text": "PurchaseNextMult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "PurchaseNextMult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetNodeConstants#RamBaseCost:member", "docComment": "/**\n * Base cost to incrase RAM\n */\n", "excerptTokens": [ { "kind": "Content", "text": "RamBaseCost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "RamBaseCost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetNodeConstants#UpgradeCoreMult:member", "docComment": "/**\n * Multiplier to increase cores\n */\n", "excerptTokens": [ { "kind": "Content", "text": "UpgradeCoreMult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "UpgradeCoreMult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetNodeConstants#UpgradeLevelMult:member", "docComment": "/**\n * Multiplier to increase node level\n */\n", "excerptTokens": [ { "kind": "Content", "text": "UpgradeLevelMult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "UpgradeLevelMult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetNodeConstants#UpgradeRamMult:member", "docComment": "/**\n * Multiplier to increase RAM\n */\n", "excerptTokens": [ { "kind": "Content", "text": "UpgradeRamMult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "UpgradeRamMult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!HacknetNodesFormulas:interface", "docComment": "/**\n * Hacknet Node formulas\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "interface HacknetNodesFormulas " } ], "releaseTag": "Public", "name": "HacknetNodesFormulas", "members": [ { "kind": "MethodSignature", "canonicalReference": "bitburner!HacknetNodesFormulas#constants:member(1)", "docComment": "/**\n * All constants used by the game.\n *\n * @returns An object with all hacknet node constants used by the game.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "constants(): " }, { "kind": "Reference", "text": "HacknetNodeConstants", "canonicalReference": "bitburner!HacknetNodeConstants:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "constants" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!HacknetNodesFormulas#coreUpgradeCost:member(1)", "docComment": "/**\n * Calculate cost of upgrading hacknet node cores.\n *\n * @param startingCore - starting cores\n *\n * @param extraCores - amount of cores to purchase (defaults to 1)\n *\n * @param costMult - player cost reduction (default to 1)\n *\n * @returns The calculated cost.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "coreUpgradeCost(startingCore: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", extraCores?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", costMult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "startingCore", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "extraCores", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "parameterName": "costMult", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } } ], "name": "coreUpgradeCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!HacknetNodesFormulas#hacknetNodeCost:member(1)", "docComment": "/**\n * Calculate the cost of a hacknet node.\n *\n * @param n - number of the hacknet node\n *\n * @param mult - player cost reduction (defaults to 1)\n *\n * @returns The calculated cost.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hacknetNodeCost(n: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", mult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "n", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "mult", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "hacknetNodeCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!HacknetNodesFormulas#levelUpgradeCost:member(1)", "docComment": "/**\n * Calculate cost of upgrading hacknet node level.\n *\n * @param startingLevel - starting level\n *\n * @param extraLevels - amount of level to purchase (defaults to 1)\n *\n * @param costMult - player cost reduction (default to 1)\n *\n * @returns The calculated cost.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "levelUpgradeCost(startingLevel: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", extraLevels?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", costMult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "startingLevel", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "extraLevels", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "parameterName": "costMult", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } } ], "name": "levelUpgradeCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!HacknetNodesFormulas#moneyGainRate:member(1)", "docComment": "/**\n * Calculate money gain rate.\n *\n * @param level - level of the node.\n *\n * @param ram - ram of the node.\n *\n * @param cores - cores of the node.\n *\n * @param mult - player production mult (default to 1)\n *\n * @returns The calculated money gain rate.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "moneyGainRate(level: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", ram: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", cores: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 9, "endIndex": 10 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "level", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "ram", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "parameterName": "cores", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } }, { "parameterName": "mult", "parameterTypeTokenRange": { "startIndex": 7, "endIndex": 8 } } ], "name": "moneyGainRate" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!HacknetNodesFormulas#ramUpgradeCost:member(1)", "docComment": "/**\n * Calculate cost of upgrading hacknet node ram.\n *\n * @param startingRam - starting ram\n *\n * @param extraLevels - amount of level of ram to purchase (defaults to 1)\n *\n * @param costMult - player cost reduction (default to 1)\n *\n * @returns The calculated cost.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ramUpgradeCost(startingRam: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", extraLevels?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", costMult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "startingRam", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "extraLevels", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "parameterName": "costMult", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } } ], "name": "ramUpgradeCost" } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!HacknetServerConstants:interface", "docComment": "/**\n * Hacknet server related constants\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface HacknetServerConstants " } ], "releaseTag": "Public", "name": "HacknetServerConstants", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetServerConstants#BaseCost:member", "docComment": "/**\n * Base cost for a new server\n */\n", "excerptTokens": [ { "kind": "Content", "text": "BaseCost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "BaseCost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetServerConstants#CacheBaseCost:member", "docComment": "/**\n * Base cost to upgrade cache\n */\n", "excerptTokens": [ { "kind": "Content", "text": "CacheBaseCost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "CacheBaseCost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetServerConstants#CoreBaseCost:member", "docComment": "/**\n * Base cost to increase cores\n */\n", "excerptTokens": [ { "kind": "Content", "text": "CoreBaseCost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "CoreBaseCost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetServerConstants#HashesPerLevel:member", "docComment": "/**\n * Number of hashes calculated per level\n */\n", "excerptTokens": [ { "kind": "Content", "text": "HashesPerLevel: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "HashesPerLevel", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetServerConstants#MaxCache:member", "docComment": "/**\n * Max cache size\n */\n", "excerptTokens": [ { "kind": "Content", "text": "MaxCache: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "MaxCache", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetServerConstants#MaxCores:member", "docComment": "/**\n * Max number of cores\n */\n", "excerptTokens": [ { "kind": "Content", "text": "MaxCores: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "MaxCores", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetServerConstants#MaxLevel:member", "docComment": "/**\n * Max level for a server\n */\n", "excerptTokens": [ { "kind": "Content", "text": "MaxLevel: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "MaxLevel", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetServerConstants#MaxRam:member", "docComment": "/**\n * Max amount of RAM in GB\n */\n", "excerptTokens": [ { "kind": "Content", "text": "MaxRam: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "MaxRam", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetServerConstants#MaxServers:member", "docComment": "/**\n * Max number of servers\n */\n", "excerptTokens": [ { "kind": "Content", "text": "MaxServers: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "MaxServers", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetServerConstants#PurchaseMult:member", "docComment": "/**\n * Multiplier to purchase a new server\n */\n", "excerptTokens": [ { "kind": "Content", "text": "PurchaseMult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "PurchaseMult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetServerConstants#RamBaseCost:member", "docComment": "/**\n * Base cost to increase RAM\n */\n", "excerptTokens": [ { "kind": "Content", "text": "RamBaseCost: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "RamBaseCost", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetServerConstants#UpgradeCacheMult:member", "docComment": "/**\n * Multiplier to upgrade cache\n */\n", "excerptTokens": [ { "kind": "Content", "text": "UpgradeCacheMult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "UpgradeCacheMult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetServerConstants#UpgradeCoreMult:member", "docComment": "/**\n * Multiplier to increase cores\n */\n", "excerptTokens": [ { "kind": "Content", "text": "UpgradeCoreMult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "UpgradeCoreMult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetServerConstants#UpgradeLevelMult:member", "docComment": "/**\n * Multiplier to increase server level\n */\n", "excerptTokens": [ { "kind": "Content", "text": "UpgradeLevelMult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "UpgradeLevelMult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!HacknetServerConstants#UpgradeRamMult:member", "docComment": "/**\n * Multiplier to increase RAM\n */\n", "excerptTokens": [ { "kind": "Content", "text": "UpgradeRamMult: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "UpgradeRamMult", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!HacknetServersFormulas:interface", "docComment": "/**\n * Hacknet Server formulas\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "interface HacknetServersFormulas " } ], "releaseTag": "Public", "name": "HacknetServersFormulas", "members": [ { "kind": "MethodSignature", "canonicalReference": "bitburner!HacknetServersFormulas#cacheUpgradeCost:member(1)", "docComment": "/**\n * Calculate cost of upgrading hacknet server cache.\n *\n * @param startingCache - starting cache level\n *\n * @param extraCache - amount of levels of cache to purchase (defaults to 1)\n *\n * @returns The calculated cost.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "cacheUpgradeCost(startingCache: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", extraCache?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "startingCache", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "extraCache", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "cacheUpgradeCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!HacknetServersFormulas#constants:member(1)", "docComment": "/**\n * All constants used by the game.\n *\n * @returns An object with all hacknet server constants used by the game.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "constants(): " }, { "kind": "Reference", "text": "HacknetServerConstants", "canonicalReference": "bitburner!HacknetServerConstants:interface" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "constants" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!HacknetServersFormulas#coreUpgradeCost:member(1)", "docComment": "/**\n * Calculate cost of upgrading hacknet server cores.\n *\n * @param startingCore - starting cores\n *\n * @param extraCores - amount of cores to purchase (defaults to 1)\n *\n * @param costMult - player cost reduction (default to 1)\n *\n * @returns The calculated cost.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "coreUpgradeCost(startingCore: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", extraCores?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", costMult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "startingCore", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "extraCores", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "parameterName": "costMult", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } } ], "name": "coreUpgradeCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!HacknetServersFormulas#hacknetServerCost:member(1)", "docComment": "/**\n * Calculate the cost of a hacknet server.\n *\n * @param n - number of the hacknet server\n *\n * @param mult - player cost reduction (defaults to 1)\n *\n * @returns The calculated cost.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hacknetServerCost(n: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "n", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "mult", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "hacknetServerCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!HacknetServersFormulas#hashGainRate:member(1)", "docComment": "/**\n * Calculate hash gain rate.\n *\n * @param level - level of the server.\n *\n * @param ramUsed - ramUsed of the server.\n *\n * @param maxRam - maxRam of the server.\n *\n * @param cores - cores of the server.\n *\n * @param mult - player production mult (default to 1)\n *\n * @returns The calculated hash gain rate.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hashGainRate(level: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", ramUsed: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", maxRam: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", cores: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", mult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 11, "endIndex": 12 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "level", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "ramUsed", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "parameterName": "maxRam", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } }, { "parameterName": "cores", "parameterTypeTokenRange": { "startIndex": 7, "endIndex": 8 } }, { "parameterName": "mult", "parameterTypeTokenRange": { "startIndex": 9, "endIndex": 10 } } ], "name": "hashGainRate" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!HacknetServersFormulas#hashUpgradeCost:member(1)", "docComment": "/**\n * Calculate hash cost of an upgrade.\n *\n * @param upgName - name of the upgrade\n *\n * @param level - level of the upgrade\n *\n * @returns The calculated hash cost.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hashUpgradeCost(upgName: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", level: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "upgName", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "level", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "hashUpgradeCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!HacknetServersFormulas#levelUpgradeCost:member(1)", "docComment": "/**\n * Calculate cost of upgrading hacknet server level.\n *\n * @param startingLevel - starting level\n *\n * @param extraLevels - amount of level to purchase (defaults to 1)\n *\n * @param costMult - player cost reduction (default to 1)\n *\n * @returns The calculated cost.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "levelUpgradeCost(startingLevel: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", extraLevels?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", costMult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "startingLevel", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "extraLevels", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "parameterName": "costMult", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } } ], "name": "levelUpgradeCost" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!HacknetServersFormulas#ramUpgradeCost:member(1)", "docComment": "/**\n * Calculate cost of upgrading hacknet server ram.\n *\n * @param startingRam - starting ram\n *\n * @param extraLevels - amount of level of ram to purchase (defaults to 1)\n *\n * @param costMult - player cost reduction (default to 1)\n *\n * @returns The calculated cost.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ramUpgradeCost(startingRam: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", extraLevels?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", costMult?: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "startingRam", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "parameterName": "extraLevels", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "parameterName": "costMult", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } } ], "name": "ramUpgradeCost" } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!InvestmentOffer:interface", "docComment": "/**\n * Corporation investment offer\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "interface InvestmentOffer " } ], "releaseTag": "Public", "name": "InvestmentOffer", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!InvestmentOffer#funds:member", "docComment": "/**\n * Amount of funds you will get from this investment\n */\n", "excerptTokens": [ { "kind": "Content", "text": "funds: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "funds", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!InvestmentOffer#round:member", "docComment": "/**\n * Current round of funding (max 4)\n */\n", "excerptTokens": [ { "kind": "Content", "text": "round: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "round", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!InvestmentOffer#shares:member", "docComment": "/**\n * Amount of share you will give in exchange for this investment\n */\n", "excerptTokens": [ { "kind": "Content", "text": "shares: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "shares", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!Material:interface", "docComment": "/**\n * Material in a warehouse\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "interface Material " } ], "releaseTag": "Public", "name": "Material", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!Material#name:member", "docComment": "/**\n * Name of the material\n */\n", "excerptTokens": [ { "kind": "Content", "text": "name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "name", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Material#prod:member", "docComment": "/**\n * Amount of material produced\n */\n", "excerptTokens": [ { "kind": "Content", "text": "prod: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "prod", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Material#qlt:member", "docComment": "/**\n * Quality of the material\n */\n", "excerptTokens": [ { "kind": "Content", "text": "qlt: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "qlt", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Material#qty:member", "docComment": "/**\n * Amount of material\n */\n", "excerptTokens": [ { "kind": "Content", "text": "qty: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "qty", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!Material#sell:member", "docComment": "/**\n * Amount of material sold\n */\n", "excerptTokens": [ { "kind": "Content", "text": "sell: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "sell", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!NetscriptPort:interface", "docComment": "/**\n * Object representing a port. A port is a serialized queue.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface NetscriptPort " } ], "releaseTag": "Public", "name": "NetscriptPort", "members": [ { "kind": "MethodSignature", "canonicalReference": "bitburner!NetscriptPort#clear:member(1)", "docComment": "/**\n * Empties all data from the port.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n", "excerptTokens": [ { "kind": "Content", "text": "clear(): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "clear" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!NetscriptPort#empty:member(1)", "docComment": "/**\n * Check if the port is empty.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @returns true if the port is empty, otherwise false\n */\n", "excerptTokens": [ { "kind": "Content", "text": "empty(): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "empty" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!NetscriptPort#full:member(1)", "docComment": "/**\n * Check if the port is full.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @returns true if the port is full, otherwise false\n */\n", "excerptTokens": [ { "kind": "Content", "text": "full(): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "full" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!NetscriptPort#peek:member(1)", "docComment": "/**\n * Retrieve the first element from the port without removing it.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is used to peek at the data from a port. It returns the first element in the specified port without removing that element. If the port is empty, the string “NULL PORT DATA” will be returned.\n *\n * @returns the data read\n */\n", "excerptTokens": [ { "kind": "Content", "text": "peek(): " }, { "kind": "Content", "text": "string | number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "peek" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!NetscriptPort#read:member(1)", "docComment": "/**\n * Shift an element out of the port.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function will remove the first element from the port and return it. If the port is empty, then the string “NULL PORT DATA” will be returned.\n *\n * @returns the data read.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "read(): " }, { "kind": "Content", "text": "string | number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "read" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!NetscriptPort#tryWrite:member(1)", "docComment": "/**\n * Attempt to write data to the port.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @returns True if the data was added to the port, false if the port was full\n */\n", "excerptTokens": [ { "kind": "Content", "text": "tryWrite(value: " }, { "kind": "Content", "text": "string | number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "value", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "tryWrite" }, { "kind": "MethodSignature", "canonicalReference": "bitburner!NetscriptPort#write:member(1)", "docComment": "/**\n * Write data to a port.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @returns The data popped off the queue if it was full.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "write(value: " }, { "kind": "Content", "text": "string | number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "null | string | number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "value", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "write" } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!NodeStats:interface", "docComment": "/**\n * Object representing all the values related to a hacknet node.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface NodeStats " } ], "releaseTag": "Public", "name": "NodeStats", "members": [ { "kind": "PropertySignature", "canonicalReference": "bitburner!NodeStats#cache:member", "docComment": "/**\n * Cache level. Only applicable for Hacknet Servers\n */\n", "excerptTokens": [ { "kind": "Content", "text": "cache: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "cache", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!NodeStats#cores:member", "docComment": "/**\n * Node's number of cores\n */\n", "excerptTokens": [ { "kind": "Content", "text": "cores: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "cores", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!NodeStats#hashCapacity:member", "docComment": "/**\n * Hash Capacity provided by this Node. Only applicable for Hacknet Servers\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hashCapacity: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "hashCapacity", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!NodeStats#level:member", "docComment": "/**\n * Node's level\n */\n", "excerptTokens": [ { "kind": "Content", "text": "level: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "level", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!NodeStats#name:member", "docComment": "/**\n * Node's name\n */\n", "excerptTokens": [ { "kind": "Content", "text": "name: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "name", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!NodeStats#production:member", "docComment": "/**\n * Node's production per second\n */\n", "excerptTokens": [ { "kind": "Content", "text": "production: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "production", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!NodeStats#ram:member", "docComment": "/**\n * Node's RAM (GB)\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ram: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "ram", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!NodeStats#ramUsed:member", "docComment": "/**\n * Node's used RAM (GB)\n */\n", "excerptTokens": [ { "kind": "Content", "text": "ramUsed: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "ramUsed", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!NodeStats#timeOnline:member", "docComment": "/**\n * Number of seconds since Node has been purchased\n */\n", "excerptTokens": [ { "kind": "Content", "text": "timeOnline: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "timeOnline", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "bitburner!NodeStats#totalProduction:member", "docComment": "/**\n * Total number of money Node has produced\n */\n", "excerptTokens": [ { "kind": "Content", "text": "totalProduction: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isOptional": false, "releaseTag": "Public", "name": "totalProduction", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "bitburner!NS:interface", "docComment": "/**\n * Collection of all functions passed to scripts\n *\n * @remarks\n *\n * Basic ns1 usage example:\n * ```ts\n * // Basic ns functions can be used directly\n * getHostname();\n * // Some related functions are gathered within a common namespace\n * stock.getPrice();\n * ```\n *\n * {@link https://bitburner.readthedocs.io/en/latest/netscript/netscript1.html | ns1 in-game docs}