bitburner-src/input/bitburner.api.json

25063 lines
878 KiB
JSON
Raw Normal View History

2021-10-30 18:34:14 +02:00
{
"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!AugmentationStats:interface",
2021-10-30 21:46:34 +02:00
"docComment": "/**\n * Data representing the internal values of an Augmentation.\n *\n * @public\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface AugmentationStats "
2021-10-30 18:34:14 +02:00
}
],
"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",
2021-10-30 21:46:34 +02:00
"docComment": "/**\n * Multipler to amount of money injected into servers using grow\n */\n",
2021-10-30 18:34:14 +02:00
"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",
2021-10-30 21:46:34 +02:00
"docComment": "/**\n * Return value of {@link Sleeve.getSleevePurchasableAugs | getSleevePurchasableAugs}\n *\n * @public\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface AugmentPair "
2021-10-30 18:34:14 +02:00
}
],
"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: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "name",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!BasicHGWOptions:interface",
2021-10-30 21:46:34 +02:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface BasicHGWOptions "
2021-10-30 18:34:14 +02:00
}
],
"releaseTag": "Public",
"name": "BasicHGWOptions",
"members": [
2021-10-30 21:46:34 +02:00
{
"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
}
},
2021-10-30 18:34:14 +02:00
{
"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": false,
"releaseTag": "Public",
"name": "threads",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!BitNodeMultipliers:interface",
2021-10-30 21:46:34 +02:00
"docComment": "/**\n * All multipliers affecting the difficulty of the current challenge.\n *\n * @public\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface BitNodeMultipliers "
2021-10-30 18:34:14 +02:00
}
],
"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#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#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 money can be stolen from a server 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#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#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
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Bladeburner:interface",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface Bladeburner "
}
],
"releaseTag": "Public",
"name": "Bladeburner",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getActionAutolevel:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "getActionAutolevel(type: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ", name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
2021-11-03 05:27:21 +01:00
"endIndex": 4
2021-10-30 18:34:14 +02:00
}
}
],
"name": "getActionAutolevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getActionCountRemaining:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "getActionCountRemaining(type: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ", name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
2021-11-03 05:27:21 +01:00
"endIndex": 4
2021-10-30 18:34:14 +02:00
}
}
],
"name": "getActionCountRemaining"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getActionCurrentLevel:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "getActionCurrentLevel(type: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ", name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
2021-11-03 05:27:21 +01:00
"endIndex": 4
2021-10-30 18:34:14 +02:00
}
}
],
"name": "getActionCurrentLevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getActionEstimatedSuccessChance:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "getActionEstimatedSuccessChance(type: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ", name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "[number, number]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
2021-11-03 05:27:21 +01:00
"endIndex": 4
2021-10-30 18:34:14 +02:00
}
}
],
"name": "getActionEstimatedSuccessChance"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getActionMaxLevel:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "getActionMaxLevel(type: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ", name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
2021-11-03 05:27:21 +01:00
"endIndex": 4
2021-10-30 18:34:14 +02:00
}
}
],
"name": "getActionMaxLevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getActionRepGain:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "getActionRepGain(type: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ", name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ", level: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
2021-11-03 05:27:21 +01:00
"endIndex": 4
2021-10-30 18:34:14 +02:00
}
},
{
"parameterName": "level",
"parameterTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
}
}
],
"name": "getActionRepGain"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getActionTime:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "getActionTime(type: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ", name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
2021-11-03 05:27:21 +01:00
"endIndex": 4
2021-10-30 18:34:14 +02:00
}
}
],
"name": "getActionTime"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getBlackOpNames:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getBlackOpNames(): "
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getBlackOpNames"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getBlackOpRank:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getBlackOpRank(name: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"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)",
2021-11-03 05:27:21 +01:00
"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 youve 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",
2021-10-30 18:34:14 +02:00
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getCity(): "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getCityChaos(name: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getCityCommunities(name: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getCityEstimatedPopulation(name: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getContractNames(): "
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getContractNames"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getCurrentAction:member(1)",
2021-11-03 05:27:21 +01:00
"docComment": "/**\n * Get current action.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Returns an object that represents the players 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 players current Bladeburner action.\n */\n",
2021-10-30 18:34:14 +02:00
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getGeneralActionNames(): "
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getGeneralActionNames"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getOperationNames:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getOperationNames(): "
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getOperationNames"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getRank:member(1)",
2021-11-03 05:27:21 +01:00
"docComment": "/**\n * Get player bladeburner rank.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Returns the players Bladeburner Rank.\n *\n * @returns Players Bladeburner Rank.\n */\n",
2021-10-30 18:34:14 +02:00
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getSkillLevel(name: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getSkillNames(): "
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getSkillNames"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getSkillPoints:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getSkillUpgradeCost(name: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"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)",
2021-11-03 05:27:21 +01:00
"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 * function getStaminaPercentage() {\n * let res = bladeburner.getStamina();\n * return res[0] / res[1];\n * }\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "getTeamSize(type: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ", name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
2021-11-03 05:27:21 +01:00
"endIndex": 4
2021-10-30 18:34:14 +02:00
}
}
],
"name": "getTeamSize"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#joinBladeburnerDivision:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "setActionAutolevel(type: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ", name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ", autoLevel: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
2021-11-03 05:27:21 +01:00
"endIndex": 4
2021-10-30 18:34:14 +02:00
}
},
{
"parameterName": "autoLevel",
"parameterTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
}
}
],
"name": "setActionAutolevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#setActionLevel:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "setActionLevel(type: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ", name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ", level: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
2021-11-03 05:27:21 +01:00
"endIndex": 4
2021-10-30 18:34:14 +02:00
}
},
{
"parameterName": "level",
"parameterTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
}
}
],
"name": "setActionLevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#setTeamSize:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "setTeamSize(type: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ", name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ", size: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
2021-11-03 05:27:21 +01:00
"endIndex": 4
2021-10-30 18:34:14 +02:00
}
},
{
"parameterName": "size",
"parameterTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
}
}
],
"name": "setTeamSize"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#startAction:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "startAction(type: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ", name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
2021-11-03 05:27:21 +01:00
"endIndex": 4
2021-10-30 18:34:14 +02:00
}
}
],
"name": "startAction"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#stopBladeburnerAction:member(1)",
2021-11-03 05:27:21 +01:00
"docComment": "/**\n * Stop current action.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Stops the current Bladeburner action.\n */\n",
2021-10-30 18:34:14 +02:00
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "switchCity(name: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "upgradeSkill(name: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"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",
2021-10-30 21:46:34 +02:00
"docComment": "/**\n * Bladeburner current action.\n *\n * @public\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface BladeburnerCurAction "
2021-10-30 18:34:14 +02:00
}
],
"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",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "name",
"propertyTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BladeburnerCurAction#type:member",
"docComment": "/**\n * Type of Action\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type: "
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "type",
"propertyTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!CharacterInfo:interface",
2021-10-30 21:46:34 +02:00
"docComment": "/**\n * @public\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface CharacterInfo "
2021-10-30 18:34:14 +02:00
}
],
"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: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"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",
2021-11-03 05:27:21 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "company",
"propertyTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
}
},
{
"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",
2021-11-03 05:27:21 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "factions",
"propertyTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
}
},
{
"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",
2021-11-03 05:27:21 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "jobTitle",
"propertyTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
}
},
{
"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 "
2021-10-30 18:34:14 +02:00
}
],
"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",
2021-10-30 21:46:34 +02:00
"docComment": "/**\n * Options to affect the behavior of {@link CodingContract} attempt.\n *\n * @public\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface CodingAttemptOptions "
2021-10-30 18:34:14 +02:00
}
],
"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 contracts 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",
2021-10-30 21:46:34 +02:00
"docComment": "/**\n * Coding Contact API\n *\n * @public\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface CodingContract "
2021-10-30 18:34:14 +02:00
}
],
"releaseTag": "Public",
"name": "CodingContract",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!CodingContract#attempt:member(1)",
2021-11-03 05:27:21 +01:00
"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 contracts reward. Otherwise, it will be an empty string.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "attempt(answer: "
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string[] | number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-22 17:36:13 +01:00
"text": ", filename: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"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,
2021-10-30 18:34:14 +02:00
"parameters": [
{
"parameterName": "answer",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-11-22 17:36:13 +01:00
"parameterName": "filename",
2021-10-30 18:34:14 +02:00
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-22 17:36:13 +01:00
"text": "getContractType(filename: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-22 17:36:13 +01:00
"parameterName": "filename",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "getContractType"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!CodingContract#getData:member(1)",
2021-11-22 17:36:13 +01:00
"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 contracts 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 contracts data;\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-22 17:36:13 +01:00
"text": "getData(filename: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-22 17:36:13 +01:00
"parameterName": "filename",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "getData"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!CodingContract#getDescription:member(1)",
2021-11-03 05:27:21 +01:00
"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 Contracts text description.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-22 17:36:13 +01:00
"text": "getDescription(filename: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-22 17:36:13 +01:00
"parameterName": "filename",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "getDescription"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!CodingContract#getNumTriesRemaining:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-22 17:36:13 +01:00
"text": "getNumTriesRemaining(filename: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-22 17:36:13 +01:00
"parameterName": "filename",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "getNumTriesRemaining"
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!CrimeStats:interface",
2021-10-30 21:46:34 +02:00
"docComment": "/**\n * Data representing the internal values of a crime.\n *\n * @public\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface CrimeStats "
2021-10-30 18:34:14 +02:00
}
],
"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",
2021-10-30 21:46:34 +02:00
"docComment": "/**\n * Amount of karma lost for successfully committing this crime\n */\n",
2021-10-30 18:34:14 +02:00
"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": []
},
2021-11-03 05:33:14 +01:00
{
"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 "
2021-11-03 05:33:14 +01:00
}
],
"releaseTag": "Public",
"name": "EquipmentStats",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!EquipmentStats#agi:member",
"docComment": "/**\n * Agility multiplier\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "agi?: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
2021-11-03 05:33:14 +01:00
"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?: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
2021-11-03 05:33:14 +01:00
"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?: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
2021-11-03 05:33:14 +01:00
"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?: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
2021-11-03 05:33:14 +01:00
"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?: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
2021-11-03 05:33:14 +01:00
"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?: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
"name": "str",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Formulas:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface Formulas "
}
],
"releaseTag": "Public",
"name": "Formulas",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Formulas#hacking:member",
"docComment": "",
"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": "",
"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": "",
"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": "",
"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": []
},
2021-10-30 18:34:14 +02:00
{
"kind": "Interface",
"canonicalReference": "bitburner!Gang:interface",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface Gang "
2021-10-30 18:34:14 +02:00
}
],
"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",
2021-10-30 18:34:14 +02:00
"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"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 5
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "memberName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "ascendMember"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#canRecruitMember:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"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"
},
2021-10-30 18:34:14 +02:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getBonusTime:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getChanceToWinClash(gangName: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getEquipmentCost(equipName: "
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "equipName",
"parameterTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
}
}
],
"name": "getEquipmentCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getEquipmentNames:member(1)",
2021-11-03 05:27:21 +01:00
"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 Equpiment/Augmentations.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getEquipmentNames(): "
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getEquipmentNames"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getEquipmentStats:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getEquipmentStats(equipName: "
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
2021-11-03 05:33:14 +01:00
"text": "EquipmentStats",
"canonicalReference": "bitburner!EquipmentStats:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "equipName",
"parameterTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
}
}
],
"name": "getEquipmentStats"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getEquipmentType:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getEquipmentType(equipName: "
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "equipName",
"parameterTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
}
}
],
"name": "getEquipmentType"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getGangInformation:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getOtherGangInformation(): "
},
{
"kind": "Reference",
"text": "GangOtherInfo",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!GangOtherInfo:interface"
2021-10-30 18:34:14 +02:00
},
{
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getTaskNames(): "
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getTaskNames"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getTaskStats:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getTaskStats(name: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
2021-11-03 05:33:14 +01:00
"text": "GangTaskStats",
"canonicalReference": "bitburner!GangTaskStats:interface"
2021-10-30 18:34:14 +02:00
},
{
"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"
},
2021-10-30 18:34:14 +02:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#purchaseEquipment:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "purchaseEquipment(memberName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", equipName: "
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "memberName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "equipName",
"parameterTypeTokenRange": {
"startIndex": 3,
2021-11-03 05:27:21 +01:00
"endIndex": 4
2021-10-30 18:34:14 +02:00
}
}
],
"name": "purchaseEquipment"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#recruitMember:member(1)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "setMemberTask(memberName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", taskName: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"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)",
2021-11-03 05:27:21 +01:00
"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",
2021-10-30 18:34:14 +02:00
"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",
2021-11-03 05:27:21 +01:00
"canonicalReference": "bitburner!GangGenInfo:interface",
"docComment": "/**\n * Gang general info.\n *\n * @public\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface GangGenInfo "
2021-10-30 18:34:14 +02:00
}
],
"releaseTag": "Public",
2021-11-03 05:27:21 +01:00
"name": "GangGenInfo",
2021-10-30 18:34:14 +02:00
"members": [
{
"kind": "PropertySignature",
2021-11-03 05:27:21 +01:00
"canonicalReference": "bitburner!GangGenInfo#faction:member",
"docComment": "/**\n * Name of faction that the gang belongs to (\"Slum Snakes\", etc.)\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "faction: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:27:21 +01:00
"name": "faction",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:27:21 +01:00
"canonicalReference": "bitburner!GangGenInfo#isHacking:member",
"docComment": "/**\n * Boolean indicating whether or not its a hacking gang\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "isHacking: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:27:21 +01:00
"name": "isHacking",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:27:21 +01:00
"canonicalReference": "bitburner!GangGenInfo#moneyGainRate:member",
"docComment": "/**\n * Money earned per second\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "moneyGainRate: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:27:21 +01:00
"name": "moneyGainRate",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:27:21 +01:00
"canonicalReference": "bitburner!GangGenInfo#power:member",
"docComment": "/**\n * Gang's power for territory warfare\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "power: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:27:21 +01:00
"name": "power",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:27:21 +01:00
"canonicalReference": "bitburner!GangGenInfo#respect:member",
"docComment": "/**\n * Gang's respect\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "respect: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:27:21 +01:00
"name": "respect",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:27:21 +01:00
"canonicalReference": "bitburner!GangGenInfo#respectGainRate:member",
"docComment": "/**\n * Respect earned per second\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "respectGainRate: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:27:21 +01:00
"name": "respectGainRate",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:27:21 +01:00
"canonicalReference": "bitburner!GangGenInfo#territory:member",
"docComment": "/**\n * Amount of territory held. Returned in decimal form, not percentage\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "territory: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:27:21 +01:00
"name": "territory",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:27:21 +01:00
"canonicalReference": "bitburner!GangGenInfo#territoryClashChance:member",
"docComment": "/**\n * Clash chance. Returned in decimal form, not percentage\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "territoryClashChance: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:27:21 +01:00
"name": "territoryClashChance",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangGenInfo#territoryWarfareEngaged:member",
"docComment": "/**\n * Boolean 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
}
},
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
2021-11-03 05:27:21 +01:00
"canonicalReference": "bitburner!GangGenInfo#wantedLevel:member",
"docComment": "/**\n * Gang's wanted level\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "wantedLevel: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:27:21 +01:00
"name": "wantedLevel",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:27:21 +01:00
"canonicalReference": "bitburner!GangGenInfo#wantedLevelGainRate:member",
"docComment": "/**\n * Wanted level gained/lost per second (negative for losses)\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "wantedLevelGainRate: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:27:21 +01:00
"name": "wantedLevelGainRate",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:27:21 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!GangMemberAscension:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface GangMemberAscension "
2021-11-03 05:27:21 +01:00
}
],
"releaseTag": "Public",
"name": "GangMemberAscension",
"members": [
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
2021-11-03 05:27:21 +01:00
"canonicalReference": "bitburner!GangMemberAscension#agi:member",
"docComment": "/**\n * Agility multiplier gained from ascending.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "agi: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:27:21 +01:00
"name": "agi",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberAscension#cha:member",
2021-10-30 21:46:34 +02:00
"docComment": "/**\n * Charisma multiplier gained from ascending.\n */\n",
2021-10-30 18:34:14 +02:00
"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",
2021-10-30 21:46:34 +02:00
"docComment": "/**\n * Defense multiplier gained from ascending.\n */\n",
2021-10-30 18:34:14 +02:00
"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",
2021-10-30 21:46:34 +02:00
"docComment": "/**\n * Dexterity multiplier gained from ascending.\n */\n",
2021-10-30 18:34:14 +02:00
"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",
2021-10-30 21:46:34 +02:00
"docComment": "/**\n * Hacking multiplier gained from ascending.\n */\n",
2021-10-30 18:34:14 +02:00
"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",
2021-10-30 21:46:34 +02:00
"docComment": "/**\n * Strength multiplier gained from ascending.\n */\n",
2021-10-30 18:34:14 +02:00
"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 "
2021-10-30 18:34:14 +02:00
}
],
"releaseTag": "Public",
"name": "GangMemberInfo",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#agi_asc_mult:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "agi_asc_mult: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "agi_asc_mult",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#agi_asc_points:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "agi_asc_points: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "agi_asc_points",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#agi_exp:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "agi_exp: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "agi_exp",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#agi_mult:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "agi_mult: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "agi_mult",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#agi:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "agi: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "agi",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#augmentations:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "augmentations: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "augmentations",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#cha_asc_mult:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "cha_asc_mult: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "cha_asc_mult",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#cha_asc_points:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "cha_asc_points: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "cha_asc_points",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#cha_exp:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "cha_exp: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "cha_exp",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#cha_mult:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "cha_mult: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "cha_mult",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#cha:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "cha: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "cha",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#def_asc_mult:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "def_asc_mult: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "def_asc_mult",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#def_asc_points:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "def_asc_points: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "def_asc_points",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#def_exp:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "def_exp: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "def_exp",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#def_mult:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "def_mult: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "def_mult",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#def:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "def: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "def",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#dex_asc_mult:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "dex_asc_mult: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dex_asc_mult",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#dex_asc_points:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "dex_asc_points: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dex_asc_points",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#dex_exp:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "dex_exp: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dex_exp",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#dex_mult:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "dex_mult: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dex_mult",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#dex:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "dex: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dex",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-11-03 05:33:14 +01:00
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#earnedRespect:member",
"docComment": "",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "earnedRespect: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
"name": "earnedRespect",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#hack_asc_mult:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "hack_asc_mult: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hack_asc_mult",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#hack_asc_points:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "hack_asc_points: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hack_asc_points",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#hack_exp:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "hack_exp: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hack_exp",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#hack_mult:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "hack_mult: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hack_mult",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#hack:member",
"docComment": "",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "hack: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hack",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#name:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "name",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#str_asc_mult:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "str_asc_mult: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "str_asc_mult",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#str_asc_points:member",
"docComment": "",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
"text": "str_asc_points: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "str_asc_points",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#str_exp:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "str_exp: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:27:21 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "str_exp",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#str_mult:member",
"docComment": "",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
"text": "str_mult: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "str_mult",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#str:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "str: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "str",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#task:member",
"docComment": "",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
"text": "task: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "task",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#upgrades:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "upgrades: "
2021-10-30 18:34:14 +02:00
},
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
"text": "string[]"
2021-11-03 05:27:21 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "upgrades",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!GangOtherInfo:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "export interface GangOtherInfo "
}
],
"releaseTag": "Public",
"name": "GangOtherInfo",
"members": [
{
"kind": "IndexSignature",
"canonicalReference": "bitburner!GangOtherInfo:index(1)",
"docComment": "/**\n * Stock Symbol\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "[key: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "]: "
},
{
"kind": "Reference",
"text": "GangOtherInfoObject",
"canonicalReference": "bitburner!GangOtherInfoObject:interface"
},
{
"kind": "Content",
"text": "[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 5
},
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "key",
"parameterTypeTokenRange": {
"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": [
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangOtherInfoObject#power:member",
"docComment": "/**\n * Gang power\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "power: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:27:21 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "power",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangOtherInfoObject#territory:member",
"docComment": "/**\n * Gang territory, in decimal form\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "territory: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"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",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface GangTaskStats "
2021-11-03 05:33:14 +01:00
}
],
"releaseTag": "Public",
"name": "GangTaskStats",
2021-11-03 05:33:14 +01:00
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#agiWeight:member",
"docComment": "/**\n * Agility skill impact on task scaling\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "agiWeight: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "agiWeight",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:27:21 +01:00
},
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#baseMoney:member",
"docComment": "/**\n * Base money earned\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "baseMoney: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
"name": "baseMoney",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-11-03 05:33:14 +01:00
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#baseRespect:member",
"docComment": "/**\n * Base respect earned\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "baseRespect: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
"name": "baseRespect",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-11-03 05:33:14 +01:00
}
},
2021-11-03 05:33:14 +01:00
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#baseWanted:member",
"docComment": "/**\n * Base wanted earned\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "baseWanted: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
"name": "baseWanted",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-11-03 05:33:14 +01:00
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#chaWeight:member",
"docComment": "/**\n * Charisma skill impact on task scaling\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "chaWeight: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-11-03 05:27:21 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "chaWeight",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#defWeight:member",
"docComment": "/**\n * Defense skill impact on task scaling\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "defWeight: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "defWeight",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#desc:member",
"docComment": "/**\n * Task Description\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "desc: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "desc",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-11-03 05:33:14 +01:00
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#dexWeight:member",
"docComment": "/**\n * Dexterity skill impact on task scaling\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "dexWeight: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"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": [
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
"text": "difficulty: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "difficulty",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#hackWeight:member",
"docComment": "/**\n * Hacking skill impact on task scaling\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "hackWeight: "
2021-10-30 18:34:14 +02:00
},
{
"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: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"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: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "isHacking",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#name:member",
"docComment": "/**\n * Task name\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"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": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "strWeight: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"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": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "territory: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Reference",
"text": "GangTerritory",
"canonicalReference": "bitburner!GangTerritory:interface"
},
{
"kind": "Content",
"text": ";"
2021-10-30 18:34:14 +02:00
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "territory",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!GangTerritory:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "money: "
2021-11-03 05:33:14 +01:00
},
{
"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: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "respect",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTerritory#wanted:member",
"docComment": "/**\n * Wanted gain impact on task scaling\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "wanted: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "wanted",
"propertyTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!HackingFormulas:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface HackingFormulas "
}
],
"releaseTag": "Public",
"name": "HackingFormulas",
"members": [
2021-11-03 05:33:14 +01:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HackingFormulas#growPercent:member(1)",
"docComment": "",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "growPercent(server: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", threads: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", player: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", cores?: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "server",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:27:21 +01:00
},
{
"parameterName": "threads",
2021-11-03 05:27:21 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "player",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "cores",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
2021-10-30 18:34:14 +02:00
}
],
"name": "growPercent"
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!HackingFormulas#growTime:member(1)",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "growTime(server: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", player: "
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "server",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
"parameterName": "player",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-11-03 05:27:21 +01:00
}
],
"name": "growTime"
2021-11-03 05:27:21 +01:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!HackingFormulas#hackChance:member(1)",
"docComment": "",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "hackChance(server: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", player: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
2021-11-03 05:27:21 +01:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "server",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "player",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "hackChance"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!HackingFormulas#hackExp:member(1)",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "hackExp(server: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", player: "
2021-11-03 05:33:14 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
2021-11-03 05:27:21 +01:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "server",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "player",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "hackExp"
2021-11-03 05:27:21 +01:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!HackingFormulas#hackPercent:member(1)",
"docComment": "",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "hackPercent(server: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", player: "
2021-11-03 05:33:14 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
2021-11-03 05:27:21 +01:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
2021-10-30 18:34:14 +02:00
{
"parameterName": "server",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
"parameterName": "player",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
"name": "hackPercent"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!HackingFormulas#hackTime:member(1)",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "hackTime(server: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", player: "
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
2021-11-03 05:27:21 +01:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "server",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "player",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "hackTime"
2021-11-03 05:27:21 +01:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!HackingFormulas#weakenTime:member(1)",
"docComment": "",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "weakenTime(server: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", player: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "server",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "player",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "weakenTime"
2021-11-03 05:27:21 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!HackingMultipliers:interface",
"docComment": "/**\n * Hack related multipliers.\n *\n * @public\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface HackingMultipliers "
2021-11-03 05:27:21 +01:00
}
],
"releaseTag": "Public",
"name": "HackingMultipliers",
2021-11-03 05:27:21 +01:00
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HackingMultipliers#chance:member",
"docComment": "/**\n * Player's hacking chance multiplier.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "chance: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "chance",
2021-11-03 05:27:21 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!HackingMultipliers#growth:member",
"docComment": "/**\n * Player's hacking growth multiplier\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "growth: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "growth",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!HackingMultipliers#money:member",
"docComment": "/**\n * Player's hacking money stolen multiplier.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "money: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "money",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-11-03 05:33:14 +01:00
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HackingMultipliers#speed:member",
"docComment": "/**\n * Player's hacking speed multiplier.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "speed: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "speed",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
}
],
"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",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface Hacknet "
2021-11-03 05:33:14 +01:00
}
],
"releaseTag": "Public",
"name": "Hacknet",
2021-11-03 05:33:14 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getCacheUpgradeCost(index: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", n: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"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"
2021-11-03 05:33:14 +01:00
},
{
"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",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "getCoreUpgradeCost(index: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", n: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "index",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "n",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "getCoreUpgradeCost"
2021-10-30 18:34:14 +02:00
},
{
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getHashUpgradeLevel(upgName: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "upgName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getHashUpgradeLevel"
2021-11-03 05:33:14 +01:00
},
{
"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",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "getLevelUpgradeCost(index: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", n: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "index",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "n",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "getLevelUpgradeCost"
2021-11-03 05:33:14 +01:00
},
{
"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",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "getNodeStats(index: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "NodeStats",
"canonicalReference": "bitburner!NodeStats:interface"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "index",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getNodeStats"
2021-10-30 18:34:14 +02:00
},
{
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getPurchaseNodeCost(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getPurchaseNodeCost"
2021-10-30 18:34:14 +02:00
},
{
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getRamUpgradeCost(index: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", n: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "index",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "n",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "getRamUpgradeCost"
2021-11-03 05:33:14 +01:00
},
{
"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",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "getStudyMult(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getStudyMult"
2021-11-03 05:33:14 +01:00
},
{
"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",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": "getTrainingMult(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": ";"
2021-10-30 18:34:14 +02:00
}
],
2021-11-03 05:33:14 +01:00
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getTrainingMult"
2021-10-30 18:34:14 +02:00
},
{
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "hashCapacity(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "hashCapacity"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"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 * var upgradeName = \"Sell for Corporation Funds\";\n * if (hacknet.numHashes() > hacknet.hashCost(upgradeName)) {\n * hacknet.spendHashes(upgName);\n * }\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "hashCost(upgName: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": "string"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "upgName",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "hashCost"
2021-10-30 18:34:14 +02:00
},
{
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "maxNumNodes(): "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-10-30 21:46:34 +02:00
"startIndex": 1,
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-10-30 21:46:34 +02:00
"parameters": [],
"name": "maxNumNodes"
2021-10-30 18:34:14 +02:00
},
{
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "numHashes(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "numHashes"
2021-10-30 18:34:14 +02:00
},
{
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "numNodes(): "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"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 Nodes 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(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "purchaseNode"
2021-10-30 18:34:14 +02:00
},
{
"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 * hacknet.spendHashes(\"Sell for Corporation Funds\");\n * hacknet.spendHashes(\"Increase Maximum Money\", \"foodnstuff\");\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "spendHashes(upgName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", upgTarget?: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-11-03 05:33:14 +01:00
"parameters": [
{
"parameterName": "upgName",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "upgTarget",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-11-03 05:33:14 +01:00
}
],
"name": "spendHashes"
2021-10-30 18:34:14 +02:00
},
{
"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 Servers cache n times.\n *\n * Returns true if it successfully upgrades the Servers 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 Nodes cores are successfully purchased, false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "upgradeCache(index: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", n: "
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-11-03 05:33:14 +01:00
"parameters": [
{
"parameterName": "index",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "n",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-11-03 05:33:14 +01:00
}
],
"name": "upgradeCache"
2021-10-30 18:34:14 +02:00
},
{
"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 Nodes cores are successfully purchased, false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "upgradeCore(index: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
"text": ", n: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "index",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "n",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "upgradeCore"
2021-10-30 18:34:14 +02:00
},
{
"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 Nodes 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 Nodes level is successfully upgraded, false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "upgradeLevel(index: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": ", n: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "index",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
{
"parameterName": "n",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
"name": "upgradeLevel"
2021-10-30 18:34:14 +02:00
},
{
"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 Nodes RAM n times. Note that each upgrade doubles the Nodes RAM. So this is equivalent to multiplying the Nodes RAM by 2 n.\n *\n * Returns true if the Hacknet Nodes 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 Nodes ram is successfully upgraded, false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "upgradeRam(index: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", n: "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "index",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "n",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
"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": [
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetMultipliers#coreCost:member",
"docComment": "/**\n * Player's hacknet core cost multiplier\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "coreCost: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
"name": "coreCost",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-11-03 05:33:14 +01:00
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetMultipliers#levelCost:member",
"docComment": "/**\n * Player's hacknet level cost multiplier\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "levelCost: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "levelCost",
"propertyTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetMultipliers#production:member",
"docComment": "/**\n * Player's hacknet production multiplier\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "production: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "production",
"propertyTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetMultipliers#purchaseCost:member",
"docComment": "/**\n * Player's hacknet purchase cost multiplier\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "purchaseCost: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "purchaseCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetMultipliers#ramCost:member",
"docComment": "/**\n * Player's hacknet ram cost multiplier\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "ramCost: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "ramCost",
"propertyTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!HacknetNodesFormulas:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface HacknetNodesFormulas "
}
],
"releaseTag": "Public",
"name": "HacknetNodesFormulas",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetNodesFormulas#constants:member(1)",
"docComment": "",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "constants(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 1,
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-11-03 05:33:14 +01:00
"parameters": [],
"name": "constants"
2021-11-03 05:33:14 +01:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetNodesFormulas#coreUpgradeCost:member(1)",
"docComment": "",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": "coreUpgradeCost(startingCore: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": ", extraCores?: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": ", costMult?: "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "startingCore",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "extraCores",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "costMult",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
"name": "coreUpgradeCost"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetNodesFormulas#hacknetNodeCost:member(1)",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "hacknetNodeCost(n: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", mult: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "n",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "mult",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
"name": "hacknetNodeCost"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetNodesFormulas#levelUpgradeCost:member(1)",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "levelUpgradeCost(startingLevel: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", extraLevels?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", costMult?: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "startingLevel",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "extraLevels",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "costMult",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
"name": "levelUpgradeCost"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetNodesFormulas#moneyGainRate:member(1)",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "moneyGainRate(level: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", ram: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", cores: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": ", mult?: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "level",
2021-10-30 18:34:14 +02:00
"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
}
2021-10-30 18:34:14 +02:00
}
],
"name": "moneyGainRate"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetNodesFormulas#ramUpgradeCost:member(1)",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "ramUpgradeCost(startingRam: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", extraLevels?: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": ", costMult?: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "startingRam",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
{
"parameterName": "extraLevels",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "costMult",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
"name": "ramUpgradeCost"
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!HacknetServersFormulas:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "interface HacknetServersFormulas "
}
],
"releaseTag": "Public",
"name": "HacknetServersFormulas",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetServersFormulas#cacheUpgradeCost:member(1)",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "cacheUpgradeCost(startingCache: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
"text": ", extraCache?: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "startingCache",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
{
"parameterName": "extraCache",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "cacheUpgradeCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetServersFormulas#constants:member(1)",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "constants(): "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "any"
},
{
"kind": "Content",
"text": ";"
2021-10-30 18:34:14 +02:00
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "constants"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetServersFormulas#coreUpgradeCost:member(1)",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "coreUpgradeCost(startingCore: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": ", extraCores?: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
"text": ", costMult?: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "startingCore",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
{
"parameterName": "extraCores",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "costMult",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
"name": "coreUpgradeCost"
2021-11-03 05:33:14 +01:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetServersFormulas#hacknetServerCost:member(1)",
"docComment": "",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "hacknetServerCost(n: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": ", mult: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "n",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
{
"parameterName": "mult",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
"name": "hacknetServerCost"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetServersFormulas#hashGainRate:member(1)",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "hashGainRate(level: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"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"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "level",
2021-10-30 18:34:14 +02:00
"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
}
2021-10-30 18:34:14 +02:00
}
],
"name": "hashGainRate"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetServersFormulas#hashUpgradeCost:member(1)",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "hashUpgradeCost(upgName: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", level: "
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-11-03 05:33:14 +01:00
"parameters": [
{
"parameterName": "upgName",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "level",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-11-03 05:33:14 +01:00
}
],
"name": "hashUpgradeCost"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetServersFormulas#levelUpgradeCost:member(1)",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "levelUpgradeCost(startingLevel: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", extraLevels?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", costMult?: "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "startingLevel",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "extraLevels",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "costMult",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
"name": "levelUpgradeCost"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetServersFormulas#ramUpgradeCost:member(1)",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "ramUpgradeCost(startingRam: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", extraLevels?: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", costMult?: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "startingRam",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "extraLevels",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "costMult",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
"name": "ramUpgradeCost"
}
],
"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": [
2021-10-30 18:34:14 +02:00
{
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "cache: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"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: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "cores",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#hashCapacity:member",
"docComment": "/**\n * Hash Capacity provided by this Node. Only applicable for Hacknet Servers\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "hashCapacity: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"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: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "level",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#name:member",
"docComment": "/**\n * Node's name\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"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: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "production",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#ram:member",
"docComment": "/**\n * Node's RAM\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "ram: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "ram",
"propertyTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#ramUsed:member",
"docComment": "/**\n * Node's used RAM\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
}
},
2021-11-03 05:33:14 +01:00
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#timeOnline:member",
"docComment": "/**\n * Number of seconds since Node has been purchased\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "timeOnline: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "timeOnline",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#totalProduction:member",
"docComment": "/**\n * Total number of money Node has produced\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "totalProduction: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
2021-11-03 05:33:14 +01:00
{
"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 * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface NS extends "
},
{
"kind": "Reference",
"text": "Singularity",
"canonicalReference": "bitburner!Singularity:interface"
},
{
"kind": "Content",
"text": " "
}
],
"releaseTag": "Public",
"name": "NS",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#alert:member(1)",
"docComment": "/**\n * Open up a message box.\n *\n * @param msg - Message to alert.\n */\n",
"excerptTokens": [
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
"text": "alert(msg: "
2021-11-03 05:33:14 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "any"
2021-10-30 18:34:14 +02:00
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
"text": "): "
2021-11-03 05:33:14 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "msg",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "alert"
2021-10-30 18:34:14 +02:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#args:member",
"docComment": "/**\n * Arguments passed into the script.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Arguments passed into a script can be accessed using a normal array using the [] operator (args[0], args[1], etc…).\n *\n * It is also possible to get the number of arguments that was passed into a script using: 'args.length' WARNING: Do not try to modify the args array. This will break the game.\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
2021-10-30 18:34:14 +02:00
"kind": "Content",
"text": "readonly args: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": "(string | number)[]"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "args",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#asleep:member(1)",
"docComment": "/**\n * Suspends the script for n milliseconds. Doesn't block with concurrent calls.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param millis - Number of milliseconds to sleep.\n *\n * @returns \n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "asleep(millis: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
"text": "<void>"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 5
2021-11-03 05:33:14 +01:00
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "millis",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "asleep"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#atExit:member(1)",
"docComment": "/**\n * Add callback function when the script dies\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * NS2 exclusive\n *\n * Add callback to be executed when the script dies.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "atExit(f: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "() => void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "f",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "atExit"
2021-10-30 18:34:14 +02:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#bladeburner:member",
"docComment": "/**\n * Namespace for bladeburner functions.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "readonly bladeburner: "
2021-10-30 18:34:14 +02:00
},
2021-11-03 05:33:14 +01:00
{
"kind": "Reference",
"text": "Bladeburner",
"canonicalReference": "bitburner!Bladeburner:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "bladeburner",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#brutessh:member(1)",
"docComment": "/**\n * Runs BruteSSH.exe on a server.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * Runs the BruteSSH.exe program on the target server. BruteSSH.exe must exist on your home computer.\n *\n * @param host - Hostname of the target server.\n *\n * @example\n * ```ts\n * brutessh(\"foodnstuff\");\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "brutessh(host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "brutessh"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#clear:member(1)",
"docComment": "/**\n * Clear data from a file.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Delete all data from that text file.\n *\n * @param handle - Text file to clear.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "clear(handle: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "handle",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "clear"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#clearLog:member(1)",
"docComment": "/**\n * Clears the scripts logs.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "clearLog(): "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "clearLog"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#clearPort:member(1)",
"docComment": "/**\n * Clear data from a port.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Deleta all data from the underlying queue.\n *\n * @param handle - Port to clear.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "clearPort(handle: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "handle",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "clearPort"
2021-11-03 05:33:14 +01:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#codingcontract:member",
"docComment": "/**\n * Namespace for codingcontract functions.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "readonly codingcontract: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Reference",
"text": "CodingContract",
"canonicalReference": "bitburner!CodingContract:interface"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "codingcontract",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#deleteServer:member(1)",
"docComment": "/**\n * Delete a purchased server.\n *\n * @remarks\n *\n * 2.25 GB\n *\n * Deletes one of your purchased servers, which is specified by its hostname.\n *\n * The hostname argument can be any data type, but it will be converted to a string. Whitespace is automatically removed from the string. This function will not delete a server that still has scripts running on it.\n *\n * @param host - Host of the server to delete.\n *\n * @returns True if successful, and false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "deleteServer(host: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "deleteServer"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#disableLog:member(1)",
"docComment": "/**\n * Disables logging for the given function.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Logging can be disabled for all functions by passing `ALL` as the argument.\n *\n * Note that this does not completely remove all logging functionality. This only stops a function from logging when the function is successful. If the function fails, it will still log the reason for failure.\n *\n * Notable functions that cannot have their logs disabled: run, exec, exit.\n *\n * @param fn - Name of function for which to disable logging.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "disableLog(fn: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "fn",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "disableLog"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#enableLog:member(1)",
"docComment": "/**\n * Enable logging for a certain function.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Re-enables logging for the given function. If `ALL` is passed into this function as an argument, then it will revert the effects of disableLog(`ALL`).\n *\n * @param fn - Name of function for which to enable logging.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "enableLog(fn: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "fn",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "enableLog"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#exec:member(1)",
"docComment": "/**\n * Start another script on any server.\n *\n * @remarks\n *\n * RAM cost: 1.3 GB\n *\n * Run a script as a separate process on a specified server. This is similar to the run function except that it can be used to run a script on any server, instead of just the current server.\n *\n * If the script was successfully started, then this functions returns the PID of that script. Otherwise, it returns 0.\n *\n * PID stands for Process ID. The PID is a unique identifier for each script. The PID will always be a positive integer.\n *\n * Running this function with a numThreads argument of 0 will return 0 without running the script. However, running this function with a negative numThreads argument will cause a runtime error.\n *\n * @param script - Filename of script to execute.\n *\n * @param host - Hostname of the `target server` on which to execute the script.\n *\n * @param numThreads - Optional thread count for new script. Set to 1 by default. Will be rounded to nearest integer.\n *\n * @param args - Additional arguments to pass into the new script that is being run. Note that if any arguments are being passed into the new script, then the third argument numThreads must be filled in with a value.\n *\n * @returns Returns the PID of a successfully started script, and 0 otherwise.\n *\n * @example\n * ```ts\n * //The simplest way to use the exec command is to call it with just the script name and the target server. The following example will try to run generic-hack.script on the foodnstuff server:\n * exec(\"generic-hack.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * //The following example will try to run the script generic-hack.script on the joesguns server with 10 threads:\n * exec(\"generic-hack.script\", \"joesguns\", 10);\n * ```\n *\n * @example\n * ```ts\n * //This last example will try to run the script foo.script on the foodnstuff server with 5 threads. It will also pass the number 1 and the string “test” in as arguments to the script:\n * exec(\"foo.script\", \"foodnstuff\", 5, 1, \"test\");\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "exec(script: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", numThreads?: "
},
{
"kind": "Content",
"text": "number"
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
"text": ", ...args: "
},
{
"kind": "Content",
"text": "string[]"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "script",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "numThreads",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
2021-10-30 18:34:14 +02:00
}
],
"name": "exec"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#exit:member(1)",
"docComment": "/**\n * Terminates the current script immediately.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "exit(): "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": "void"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "exit"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#fileExists:member(1)",
"docComment": "/**\n * Check if a file exists.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * Returns a boolean indicating whether the specified file exists on the target server. The filename for scripts is case-sensitive, but for other types of files it is not. For example, fileExists(“brutessh.exe”) will work fine, even though the actual program is named 'BruteSSH.exe'.\n *\n * If the hostname/ip argument is omitted, then the function will search through the current server (the server running the script that calls this function) for the file.\n *\n * @param filename - Filename of file to check.\n *\n * @param host - Host of target server. This is optional. If it is not specified then the function will use the current server as the target server.\n *\n * @returns True if specified file exists, and false otherwise.\n *\n * @example\n * ```ts\n * //The function call will return true if the script named foo.script exists on the foodnstuff server, and false otherwise.\n * fileExists(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * //The function call will return true if the current server contains the FTPCrack.exe program, and false otherwise.\n * fileExists(\"ftpcrack.exe\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "fileExists(filename: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "filename",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
"name": "fileExists"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#flags:member(1)",
"docComment": "/**\n * Parse command line flags.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Allows unix like flag parsing.\n *\n * @example\n * ```ts\n * // example.script\n * var data = flags([\n * ['delay', 0], // a default number means this flag is a number\n * ['server', 'foodnstuff'], // a default string means this flag is a string\n * ['exclude', []], // a default array means this flag is a default array of string\n * ['help', false], // a default boolean means this flag is a boolean\n * ]);\n * tprint(data);\n *\n * // [home ~/]> run example.script\n * // {\"_\":[],\"delay\":0,\"server\":\"foodnstuff\",\"exclude\":[],\"help\":false}\n * // [home ~/]> run example.script --delay 3000\n * // {\"_\":[],\"server\":\"foodnstuff\",\"exclude\":[],\"help\":false,\"delay\":3000}\n * // [home ~/]> run example.script --delay 3000 --server harakiri-sushi\n * // {\"_\":[],\"exclude\":[],\"help\":false,\"delay\":3000,\"server\":\"harakiri-sushi\"}\n * // [home ~/]> run example.script --delay 3000 --server harakiri-sushi hello world\n * // {\"_\":[\"hello\",\"world\"],\"exclude\":[],\"help\":false,\"delay\":3000,\"server\":\"harakiri-sushi\"}\n * // [home ~/]> run example.script --delay 3000 --server harakiri-sushi hello world --exclude a --exclude b\n * // {\"_\":[\"hello\",\"world\"],\"help\":false,\"delay\":3000,\"server\":\"harakiri-sushi\",\"exclude\":[\"a\",\"b\"]}\n * // [home ~/]> run example.script --help\n * // {\"_\":[],\"delay\":0,\"server\":\"foodnstuff\",\"exclude\":[],\"help\":true}\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "flags(schema: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "[string, string | number | boolean | string[]][]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "any"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-10-30 18:34:14 +02:00
"parameters": [
{
"parameterName": "schema",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "flags"
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#formulas:member",
"docComment": "/**\n * Namespace for formulas functions.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "readonly formulas: "
},
{
"kind": "Reference",
"text": "Formulas",
"canonicalReference": "bitburner!Formulas:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "formulas",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#ftpcrack:member(1)",
"docComment": "/**\n * Runs FTPCrack.exe on a server.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * Runs the FTPCrack.exe program on the target server. FTPCrack.exe must exist on your home computer.\n *\n * @param host - Hostname of the target server.\n *\n * @example\n * ```ts\n * ftpcrack(\"foodnstuff\");\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "ftpcrack(host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
2021-11-03 05:33:14 +01:00
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "ftpcrack"
2021-10-30 18:34:14 +02:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#gang:member",
"docComment": "/**\n * Namespace for gang functions.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "readonly gang: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Reference",
"text": "Gang",
"canonicalReference": "bitburner!Gang:interface"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "gang",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getBitNodeMultipliers:member(1)",
"docComment": "/**\n * Get the current Bitnode multipliers.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Returns an object containing the current BitNode multipliers. This function requires Source-File 5 in order to run. The multipliers are returned in decimal forms (e.g. 1.5 instead of 150%). The multipliers represent the difference between the current BitNode and the original BitNode (BitNode-1).\n *\n * For example, if the CrimeMoney multiplier has a value of 0.1, then that means that committing crimes in the current BitNode will only give 10% of the money you would have received in BitNode-1.\n *\n * @returns Object containing the current BitNode multipliers.\n *\n * @example\n * ```ts\n * mults = getBitNodeMultipliers();\n * print(mults.ServerMaxMoney);\n * print(mults.HackExpGain);\n * ```\n *\n */\n",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "getBitNodeMultipliers(): "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Reference",
"text": "BitNodeMultipliers",
"canonicalReference": "bitburner!BitNodeMultipliers:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getBitNodeMultipliers"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getFavorToDonate:member(1)",
"docComment": "/**\n * Returns the amount of Faction favor required to be able to donate to a faction.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * @returns Amount of Faction favor required to be able to donate to a faction.\n */\n",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "getFavorToDonate(): "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
2021-10-30 18:34:14 +02:00
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getFavorToDonate"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getGrowTime:member(1)",
2021-11-13 15:35:13 +01:00
"docComment": "/**\n * Get the execution time of a grow() call.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * Returns the amount of time in milliseconds it takes to execute the grow Netscript function on the target server. The function takes in an optional hackLvl parameter that can be specified to see what the grow time would be at different hacking levels.\n *\n * @param host - Host of target server.\n *\n * @param hackLvl - Optional hacking level for the calculation. Defaults to players current hacking level.\n *\n * @param intLvl - Optional intelligence level for the calculation. Defaults to players current intelligence level. (Intelligence is unlocked after obtaining Source-File 5).\n *\n * @returns Returns the amount of time in milliseconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getGrowTime(host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getGrowTime"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getHackingLevel:member(1)",
"docComment": "/**\n * Returns the players current hacking level.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * @returns Players current hacking level\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getHackingLevel(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getHackingLevel"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getHackingMultipliers:member(1)",
"docComment": "/**\n * Get hacking related multipliers.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Returns an object containing the Players hacking related multipliers. These multipliers are returned in fractional forms, not percentages (e.g. 1.5 instead of 150%).\n *\n * @returns Object containing the Players hacking related multipliers.\n *\n * @example\n * ```ts\n * //Example of how this can be used:\n * mults = getHackingMultipliers();\n * print(mults.chance);\n * print(mults.growth);\n * ```\n *\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "getHackingMultipliers(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Reference",
"text": "HackingMultipliers",
"canonicalReference": "bitburner!HackingMultipliers:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getHackingMultipliers"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getHacknetMultipliers:member(1)",
"docComment": "/**\n * Get hacknet related multipliers.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Returns an object containing the Players hacknet related multipliers. These multipliers are returned in fractional forms, not percentages (e.g. 1.5 instead of 150%).\n *\n * @returns Object containing the Players hacknet related multipliers.\n *\n * @example\n * ```ts\n * //Example of how this can be used:\n * mults = getHacknetMultipliers();\n * print(mults.production);\n * print(mults.purchaseCost);\n * ```\n *\n */\n",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "getHacknetMultipliers(): "
},
{
"kind": "Reference",
"text": "HacknetMultipliers",
"canonicalReference": "bitburner!HacknetMultipliers:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getHacknetMultipliers"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getHackTime:member(1)",
"docComment": "/**\n * Get the execution time of a hack() call.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * Returns the amount of time in milliseconds it takes to execute the hack Netscript function on the target server. The function takes in an optional hackLvl parameter that can be specified to see what the hack time would be at different hacking levels.\n *\n * @param host - Host of target server.\n *\n * @param hackLvl - Optional hacking level for the calculation. Defaults to players current hacking level.\n *\n * @param intLvl - Optional intelligence level for the calculation. Defaults to players current intelligence level. (Intelligence is unlocked after obtaining Source-File 5).\n *\n * @returns Returns the amount of time in milliseconds it takes to execute the hack Netscript function. Returns Infinity if called on a Hacknet Server.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getHackTime(host: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getHackTime"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getHostname:member(1)",
"docComment": "/**\n * Returns a string with the hostname of the server that the script is running on.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * @returns Hostname of the server that the script is on.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getHostname(): "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getHostname"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getPlayer:member(1)",
"docComment": "/**\n * Get information about the player.\n *\n * @returns Player info\n */\n",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "getPlayer(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Reference",
"text": "Player",
"canonicalReference": "bitburner!Player:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getPlayer"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getPortHandle:member(1)",
"docComment": "/**\n * Get all data on a port.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Get a handle to a Netscript Port.\n *\n * WARNING: Port Handles only work in NetscriptJS (Netscript 2.0). They will not work in Netscript 1.0.\n *\n * @param port - Port number. Must be an integer between 1 and 20.\n *\n * @returns Data in the specified port.\n *\n * @see\n *\n * https://bitburner.readthedocs.io/en/latest/netscript/netscriptmisc.html#netscript-ports\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getPortHandle(port: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "any[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "port",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getPortHandle"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getPurchasedServerCost:member(1)",
"docComment": "/**\n * Get cost of purchasing a server.\n *\n * @remarks\n *\n * RAM cost: 0.25 GB\n *\n * Returns the cost to purchase a server with the specified amount of ram.\n *\n * @param ram - Amount of RAM of a potential purchased server. Must be a power of 2 (2, 4, 8, 16, etc.). Maximum value of 1048576 (2^20).\n *\n * @returns The cost to purchase a server with the specified amount of ram.\n *\n * @example\n * ```ts\n * for (i = 1; i <= 20; i++) {\n * tprint(i + \" -- \" + getPurchasedServerCost(Math.pow(2, i)));\n * }\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getPurchasedServerCost(ram: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "ram",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
}
}
],
"name": "getPurchasedServerCost"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getPurchasedServerLimit:member(1)",
"docComment": "/**\n * Returns the maximum number of servers you can purchase.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * @returns Returns the maximum number of servers you can purchase.\n */\n",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "getPurchasedServerLimit(): "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
2021-11-03 05:33:14 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getPurchasedServerLimit"
2021-11-03 05:33:14 +01:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getPurchasedServerMaxRam:member(1)",
"docComment": "/**\n * Returns the maximum RAM that a purchased server can have.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * @returns Returns the maximum RAM that a purchased server can have.\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "getPurchasedServerMaxRam(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [],
"name": "getPurchasedServerMaxRam"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getPurchasedServers:member(1)",
"docComment": "/**\n * Returns an array with either the hostnames or IPs of all of the servers you have purchased.\n *\n * @remarks\n *\n * 2.25 GB\n *\n * @param hostnameMode - Optional. Defaults to true. Returns hostnames if true, and IPs if false.\n *\n * @returns Returns an array with either the hostnames or IPs of all of the servers you have purchased.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getPurchasedServers(hostnameMode?: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "hostnameMode",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getPurchasedServers"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getRunningScript:member(1)",
"docComment": "/**\n * Get general info about a running script.\n *\n * @remarks\n *\n * RAM cost: 0.3 GB\n *\n * @returns info about a running script\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-22 17:36:13 +01:00
"text": "getRunningScript(filename: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "string | number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", hostname: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "string"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": ", ...args: "
},
{
"kind": "Content",
"text": "(string | number)[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "RunningScript",
"canonicalReference": "bitburner!RunningScript:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-22 17:36:13 +01:00
"parameterName": "filename",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "hostname",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-11-03 05:33:14 +01:00
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "getRunningScript"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getScriptExpGain:member(1)",
"docComment": "/**\n * Get the exp gain of a script.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * Returns the amount of hacking experience the specified script generates while online (when the game is open, does not apply for offline experience gains). Remember that a script is uniquely identified by both its name and its arguments.\n *\n * This function can also return the total experience gain rate of all of your active scripts by running the function with no arguments.\n *\n * @param script - Filename of script.\n *\n * @param host - Server on which script is running.\n *\n * @param args - Arguments that the script is running with.\n *\n * @returns Amount of hacking experience the specified script generates while online.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getScriptExpGain(script: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
"text": ", ...args: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "script",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
{
"parameterName": "host",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
"name": "getScriptExpGain"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getScriptIncome:member(1)",
"docComment": "/**\n * Get the income of a script.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * Returns the amount of income the specified script generates while online (when the game is open, does not apply for offline income). Remember that a script is uniquely identified by both its name and its arguments. So for example if you ran a script with the arguments “foodnstuff” and “5” then in order to use this function to get that scripts income you must specify those same arguments in the same order in this function call.\n *\n * This function can also be called with no arguments. If called with no arguments, then this function will return an array of two values. The first value is the total income (dollar / second) of all of your active scripts (scripts that are currently running on any server). The second value is the total income (dollar / second) that youve earned from scripts since you last installed Augmentations.\n *\n * @param script - Filename of script.\n *\n * @param host - Server on which script is running.\n *\n * @param args - Arguments that the script is running with.\n *\n * @returns Amount of income the specified script generates while online.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getScriptIncome(script: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", host: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", ...args: "
},
{
"kind": "Content",
"text": "string[]"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "): "
},
{
"kind": "Content",
"text": "number | [number, number]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "script",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
"name": "getScriptIncome"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getScriptLogs:member(1)",
"docComment": "/**\n * Get all the logs of a script.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Returns a scripts logs. The logs are returned as an array, where each line is an element in the array. The most recently logged line is at the end of the array. Note that there is a maximum number of lines that a script stores in its logs. This is configurable in the games options. If the function is called with no arguments, it will return the current scripts logs.\n *\n * Otherwise, the fn, hostname/ip, and args… arguments can be used to get the logs from another script. Remember that scripts are uniquely identified by both their names and arguments.\n *\n * @param fn - Optional. Filename of script to get logs from.\n *\n * @param host - Optional. Hostname of the server that the script is on.\n *\n * @param args - Arguments to identify which scripts to get logs for.\n *\n * @returns Returns an string array, where each line is an element in the array. The most recently logged line is at the end of the array.\n *\n * @example\n * ```ts\n * //Get logs from foo.script on the current server that was run with no args\n * getScriptLogs(\"foo.script\");\n * ```\n *\n * @example\n * ```ts\n * //Open logs from foo.script on the foodnstuff server that was run with no args\n * getScriptLogs(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * //Open logs from foo.script on the foodnstuff server that was run with the arguments [1, \"test\"]\n * getScriptLogs(\"foo.script\", \"foodnstuff\", 1, \"test\");\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getScriptLogs(fn?: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", host?: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", ...args: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "any[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-10-30 18:34:14 +02:00
"parameters": [
{
"parameterName": "fn",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "args",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "getScriptLogs"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getScriptName:member(1)",
"docComment": "/**\n * Returns the current script name.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @returns Current script name.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getScriptName(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getScriptName"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getScriptRam:member(1)",
"docComment": "/**\n * Get the ram cost of a script.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * Returns the amount of RAM required to run the specified script on the target server. Returns 0 if the script does not exist.\n *\n * @param script - Filename of script. This is case-sensitive.\n *\n * @param host - Host of target server the script is located on. This is optional, If it is not specified then the function will se the current server as the target server.\n *\n * @returns Amount of RAM required to run the specified script on the target server, and 0 if the script does not exist.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getScriptRam(script: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "script",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-11-03 05:33:14 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "getScriptRam"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServer:member(1)",
"docComment": "/**\n * Returns a server object for the given server. Defaults to the running script's server if host is not specified.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * @param host - Optional. Hostname for the requested server object.\n *\n * @returns The requested server object.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getServer(host?: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Server",
"canonicalReference": "bitburner!Server:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServer"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerBaseSecurityLevel:member(1)",
"docComment": "/**\n * @remarks\n *\n * RAM cost: 0.1 GB Returns the base security level of the target server. This is the security level that the server starts out with. This is different than getServerSecurityLevel because getServerSecurityLevel returns the current security level of a server, which can constantly change due to hack, grow, and weaken, calls on that server. The base security level will stay the same until you reset by installing an Augmentation(s).\n *\n * @deprecated\n *\n * DEPRECATED\n *\n * @param host - Host of target server.\n *\n * @returns Base security level of the target server.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getServerBaseSecurityLevel(host: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerBaseSecurityLevel"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerGrowth:member(1)",
"docComment": "/**\n * Get a server growth parameter.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * Returns the servers instrinsic “growth parameter”. This growth parameter is a number between 1 and 100 that represents how quickly the servers money grows. This parameter affects the percentage by which the servers money is increased when using the grow function. A higher growth parameter will result in a higher percentage increase from grow.\n *\n * @param host - Host of target server.\n *\n * @returns Parameter that affects the percentage by which the servers money is increased when using the grow function.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getServerGrowth(host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerGrowth"
2021-11-03 05:33:14 +01:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerMaxMoney:member(1)",
"docComment": "/**\n * Get maximum money available on a server.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * Returns the maximum amount of money that can be available on a server.\n *\n * @param host - Host of target server.\n *\n * @returns Maximum amount of money available on the server.\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "getServerMaxMoney(host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerMaxMoney"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerMaxRam:member(1)",
"docComment": "/**\n * Get the max RAM on a server.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * @param host - Hostname of the target server.\n *\n * @returns max ram\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getServerMaxRam(host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerMaxRam"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerMinSecurityLevel:member(1)",
"docComment": "/**\n * Returns the minimum security level of the target server.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * @param host - Host of target server.\n *\n * @returns Minimum security level of the target server.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getServerMinSecurityLevel(host: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerMinSecurityLevel"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerMoneyAvailable:member(1)",
"docComment": "/**\n * Get money available on a server.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * Returns the amount of money available on a server. Running this function on the home computer will return the players money.\n *\n * @param host - Host of target server\n *\n * @returns Amount of money available on the server.\n *\n * @example\n * ```ts\n * getServerMoneyAvailable(\"foodnstuff\");\n * getServerMoneyAvailable(\"home\"); //Returns player's money\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getServerMoneyAvailable(host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerMoneyAvailable"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerNumPortsRequired:member(1)",
"docComment": "/**\n * Returns the number of open ports required to successfully run NUKE.exe on the specified server.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * @param host - Host of target server.\n *\n * @returns The number of open ports required to successfully run NUKE.exe on the specified server.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getServerNumPortsRequired(host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
}
],
"name": "getServerNumPortsRequired"
2021-11-03 05:33:14 +01:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerRam:member(1)",
"docComment": "/**\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * Returns an array with two elements that gives information about a servers memory (RAM). The first element in the array is the amount of RAM that the server has total (in GB). The second element in the array is the amount of RAM that is currently being used on the server (in GB).\n *\n * @deprecated\n *\n * DEPRECATED\n *\n * @param host - Host of target server.\n *\n * @returns Array with total and used memory on the specified server.\n *\n * @example\n * ```ts\n * res = getServerRam(\"helios\");\n * totalRam = res[0];\n * ramUsed = res[1];\n * ```\n *\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": "getServerRam(host: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": "string"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "[number, number]"
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerRam"
2021-11-03 05:27:21 +01:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerRequiredHackingLevel:member(1)",
"docComment": "/**\n * Returns the required hacking level of the target server.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * @param host - Host of target server.\n *\n * @returns The required hacking level of the target server.\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "getServerRequiredHackingLevel(host: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerRequiredHackingLevel"
2021-11-03 05:27:21 +01:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerSecurityLevel:member(1)",
"docComment": "/**\n * Get server security level.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * Returns the security level of the target server. A servers security level is denoted by a number, typically between 1 and 100 (but it can go above 100).\n *\n * @param host - Host of target server.\n *\n * @returns Security level of the target server.\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "getServerSecurityLevel(host: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": "): "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerSecurityLevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerUsedRam:member(1)",
"docComment": "/**\n * Get the used RAM on a server.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * @param host - Hostname of the target server.\n *\n * @returns used ram\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getServerUsedRam(host: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "string"
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerUsedRam"
2021-11-03 05:27:21 +01:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getTimeSinceLastAug:member(1)",
"docComment": "/**\n * Returns the amount of time in milliseconds that have passed since you last installed Augmentations.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * @returns Time in milliseconds that have passed since you last installed Augmentations.\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "getTimeSinceLastAug(): "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getTimeSinceLastAug"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getWeakenTime:member(1)",
2021-11-13 15:35:13 +01:00
"docComment": "/**\n * Get the execution time of a weaken() call.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * Returns the amount of time in milliseconds it takes to execute the weaken() Netscript function on the target server. The function takes in an optional hackLvl parameter that can be specified to see what the weaken time would be at different hacking levels.\n *\n * @param host - Host of target server.\n *\n * @param hackLvl - Optional hacking level for the calculation. Defaults to players current hacking level.\n *\n * @param intLvl - Optional intelligence level for the calculation. Defaults to players current intelligence level. (Intelligence is unlocked after obtaining Source-File 5).\n *\n * @returns Returns the amount of time in milliseconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getWeakenTime(host: "
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
"text": "string"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "): "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getWeakenTime"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#grow:member(1)",
"docComment": "/**\n * Spoof money in a servers bank account, increasing the amount available.\n *\n * @remarks\n *\n * RAM cost: 0.15 GB\n *\n * Use your hacking skills to increase the amount of money available on a server. The runtime for this command depends on your hacking level and the target servers security level. When `grow` completes, the money available on a target server will be increased by a certain, fixed percentage. This percentage is determined by the target servers growth rate (which varies between servers) and security level. Generally, higher-level servers have higher growth rates. The getServerGrowth() function can be used to obtain a servers growth rate.\n *\n * Like hack, `grow` can be called on any server, regardless of where the script is running. The grow() command requires root access to the target server, but there is no required hacking level to run the command. It also raises the security level of the target server by 0.004.\n *\n * @param host - Hostname of the target server to grow.\n *\n * @param opts - Optional parameters for configuring function behavior.\n *\n * @returns The number by which the money on the server was multiplied for the growth.\n *\n * @example\n * ```ts\n * grow(\"foodnstuff\");\n * grow(\"foodnstuff\", { threads: 5 }); // Only use 5 threads to grow\n * ```\n *\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "grow(host: "
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ", opts?: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Reference",
"text": "BasicHGWOptions",
"canonicalReference": "bitburner!BasicHGWOptions:interface"
2021-11-03 05:27:21 +01:00
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<number>"
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 7
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "opts",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "grow"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#growthAnalyze:member(1)",
"docComment": "/**\n * Calculate the number of grow thread needed to grow a server by a certain multiplier.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * This function returns the number of “growths” needed in order to increase the amount of money available on the specified server by the specified amount. The specified amount is multiplicative and is in decimal form, not percentage.\n *\n * Warning: The value returned by this function isnt necessarily a whole number.\n *\n * @param host - Hostname of the target server.\n *\n * @param growthAmount - Multiplicative factor by which the server is grown. Decimal form..\n *\n * @returns The amount of grow calls needed to grow the specified server by the specified amount\n *\n * @example\n * ```ts\n * //For example, if you want to determine how many grow calls you need to double the amount of money on foodnstuff, you would use:\n * growthAnalyze(\"foodnstuff\", 2);\n * //If this returns 100, then this means you need to call grow 100 times in order to double the money (or once with 100 threads).\n * ```\n *\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "growthAnalyze(host: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "string"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": ", growthAmount: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
2021-11-22 17:36:13 +01:00
{
"kind": "Content",
"text": ", cores?: "
},
{
"kind": "Content",
"text": "number"
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
2021-11-22 17:36:13 +01:00
"startIndex": 7,
"endIndex": 8
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "growthAmount",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-11-22 17:36:13 +01:00
},
{
"parameterName": "cores",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-11-03 05:33:14 +01:00
}
],
"name": "growthAnalyze"
},
2021-11-03 05:33:14 +01:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#growthAnalyzeSecurity:member(1)",
"docComment": "/**\n * Calculate the security increase for a number of thread.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Returns the security increase that would occur if a grow with this many threads happened.\n *\n * @param threads - Amount of threads that will be used.\n *\n * @returns The security increase.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "growthAnalyzeSecurity(threads: "
},
{
"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": "threads",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "growthAnalyzeSecurity"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#hack:member(1)",
"docComment": "/**\n * Steal a servers money.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * Function that is used to try and hack servers to steal money and gain hacking experience. The runtime for this command depends on your hacking level and the target servers security level. In order to hack a server you must first gain root access to that server and also have the required hacking level.\n *\n * A script can hack a server from anywhere. It does not need to be running on the same server to hack that server. For example, you can create a script that hacks the `foodnstuff` server and run that script on any server in the game.\n *\n * A successful `hack()` on a server will raise that servers security level by 0.002.\n *\n * @param host - Hostname of the target server to hack.\n *\n * @param opts - Optional parameters for configuring function behavior.\n *\n * @returns The amount of money stolen if the hack is successful, and zero otherwise.\n *\n * @example\n * ```ts\n * hack(\"foodnstuff\");\n * hack(\"foodnstuff\", { threads: 5 }); // Only use 5 threads to hack\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hack(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", opts?: "
},
{
"kind": "Reference",
"text": "BasicHGWOptions",
"canonicalReference": "bitburner!BasicHGWOptions:interface"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<number>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 7
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "opts",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "hack"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#hackAnalyze:member(1)",
"docComment": "/**\n * Get the percent of money stolen with a single thread.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Returns the percentage of the specified servers money you will steal with a single hack. This value is returned in percentage form, not decimal (Netscript functions typically return in decimal form, but not this one).\n *\n * @param host - Hostname of the target server.\n *\n * @returns The percentage of money you will steal from the target server with a single hack.\n *\n * @example\n * ```ts\n * //For example, assume the following returns 1:\n * hackAnalyze(\"foodnstuff\");\n * //This means that if hack the foodnstuff server, then you will steal 1% of its total money. If you hack using N threads, then you will steal N% of its total money.\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hackAnalyze(host: "
},
{
"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": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "hackAnalyze"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#hackAnalyzeChance:member(1)",
"docComment": "/**\n * Get the chance of successfully hacking a server.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Returns the chance you have of successfully hacking the specified server.\n *\n * This returned value is in decimal form, not percentage.\n *\n * @param host - Hostname of the target server.\n *\n * @returns The chance you have of successfully hacking the target server.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hackAnalyzeChance(host: "
},
{
"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": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "hackAnalyzeChance"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#hackAnalyzeSecurity:member(1)",
"docComment": "/**\n * Get the security increase for a number of thread.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Returns the security increase that would occur if a hack with this many threads happened.\n *\n * @param threads - Amount of threads that will be used.\n *\n * @returns The security increase.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hackAnalyzeSecurity(threads: "
},
{
"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": "threads",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "hackAnalyzeSecurity"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#hackAnalyzeThreads:member(1)",
"docComment": "/**\n * Predict the effect of hack.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * This function returns the number of script threads you need when running the hack command to steal the specified amount of money from the target server. If hackAmount is less than zero or greater than the amount of money available on the server, then this function returns -1.\n *\n * Warning: The value returned by this function isnt necessarily a whole number.\n *\n * @param host - Hostname of the target server to analyze.\n *\n * @param hackAmount - Amount of money you want to hack from the server.\n *\n * @returns The number of threads needed to hack the server for hackAmount money.\n *\n * @example\n * ```ts\n * //For example, lets say the foodnstuff server has $10m and you run:\n * hackAnalyzeThreads(\"foodnstuff\", 1e6);\n * //If this function returns 50, this means that if your next hack call is run on a script with 50 threads, it will steal $1m from the foodnstuff server.\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hackAnalyzeThreads(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", hackAmount: "
},
{
"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": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "hackAmount",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "hackAnalyzeThreads"
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#hacknet:member",
"docComment": "/**\n * Namespace for hacknet functions.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "readonly hacknet: "
},
{
"kind": "Reference",
"text": "Hacknet",
"canonicalReference": "bitburner!Hacknet:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hacknet",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#hasRootAccess:member(1)",
"docComment": "/**\n * Check if your have root access on a server.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * Returns a boolean indicating whether or not the player has root access to the specified target server.\n *\n * @param host - Host of the target server\n *\n * @returns True if player has root access to the specified target server, and false otherwise.\n *\n * @example\n * ```ts\n * if (hasRootAccess(\"foodnstuff\") == false) {\n * nuke(\"foodnstuff\");\n * }\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hasRootAccess(host: "
},
{
"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": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "hasRootAccess"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#httpworm:member(1)",
"docComment": "/**\n * Runs HTTPWorm.exe on a server.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * Runs the HTTPWorm.exe program on the target server. HTTPWorm.exe must exist on your home computer.\n *\n * @param host - Hostname of the target server.\n *\n * @example\n * ```ts\n * httpworm(\"foodnstuff\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "httpworm(host: "
},
{
"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": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "httpworm"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#isLogEnabled:member(1)",
"docComment": "/**\n * Checks the status of the logging for the given function.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param fn - Name of function to check.\n *\n * @returns Returns a boolean indicating whether or not logging is enabled for that function (or `ALL`)\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "isLogEnabled(fn: "
},
{
"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": "fn",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "isLogEnabled"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#isRunning:member(1)",
"docComment": "/**\n * Check if a script is running.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * Returns a boolean indicating whether the specified script is running on the target server. Remember that a script is uniquely identified by both its name and its arguments.\n *\n * @param script - Filename of script to check. This is case-sensitive.\n *\n * @param host - Host of target server.\n *\n * @param args - Arguments to specify/identify which scripts to search for.\n *\n * @returns True if specified script is running on the target server, and false otherwise.\n *\n * @example\n * ```ts\n * //The function call will return true if there is a script named foo.script with no arguments running on the foodnstuff server, and false otherwise:\n * isRunning(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * //The function call will return true if there is a script named foo.script with no arguments running on the current server, and false otherwise:\n * isRunning(\"foo.script\", getHostname());\n * ```\n *\n * @example\n * ```ts\n * //The function call will return true if there is a script named foo.script running with the arguments 1, 5, and “test” (in that order) on the joesguns server, and false otherwise:\n * isRunning(\"foo.script\", \"joesguns\", 1, 5, \"test\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "isRunning(script: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", ...args: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "isRunning"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#kill:member(1)",
"docComment": "/**\n * Terminate another script.\n *\n * @remarks\n *\n * RAM cost: 0.5 GB\n *\n * Kills the script on the target server specified by the scripts name and arguments. Remember that scripts are uniquely identified by both their name and arguments. For example, if `foo.script` is run with the argument 1, then this is not the same as `foo.script` run with the argument 2, even though they have the same code.\n *\n * @param script - Filename or pid of the script to kill\n *\n * @param host - Hostname of the server on which to kill the script.\n *\n * @param args - Arguments to identify which script to kill.\n *\n * @returns True if the script is successfully killed, and false otherwise.\n *\n * @example\n * ```ts\n * //The following example will try to kill a script named foo.script on the foodnstuff server that was ran with no arguments:\n * kill(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * //The following will try to kill a script named foo.script on the current server that was ran with no arguments:\n * kill(\"foo.script\", getHostname());\n * ```\n *\n * @example\n * ```ts\n * //The following will try to kill a script named foo.script on the current server that was ran with the arguments 1 and “foodnstuff”:\n * kill(\"foo.script\", getHostname(), 1, \"foodnstuff\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "kill(script: "
},
{
"kind": "Content",
"text": "string | number"
},
{
"kind": "Content",
"text": ", host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", ...args: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "kill"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#killall:member(1)",
"docComment": "/**\n * Terminate all scripts on a server.\n *\n * @remarks\n *\n * RAM cost: 0.5 GB\n *\n * Kills all running scripts on the specified server. This function returns true if any scripts were killed, and false otherwise. In other words, it will return true if there are any scripts running on the target server.\n *\n * @param host - IP or hostname of the server on which to kill all scripts.\n *\n * @returns True if any scripts were killed, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "killall(host: "
},
{
"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": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "killall"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#ls:member(1)",
"docComment": "/**\n * List files on a server.\n *\n * @remarks\n *\n * RAM cost: 0.2 GB\n *\n * Returns an array with the filenames of all files on the specified server (as strings). The returned array is sorted in alphabetic order.\n *\n * @param host - Host of the target server.\n *\n * @param grep - A substring to search for in the filename.\n *\n * @returns Array with the filenames of all files on the specified server.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ls(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", grep?: "
},
{
"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": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "grep",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "ls"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#nFormat:member(1)",
"docComment": "/**\n * Format a number\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Converts a number into a string with the specified formatter. This uses the numeraljs library, so the formatters must be compatible with that. This is the same function that the game itself uses to display numbers.\n *\n * see: http://numeraljs.com/\n *\n * @param n - Number to format.\n *\n * @param format - Formatter.\n *\n * @returns Formated number.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "nFormat(n: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", format: "
},
{
"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": "n",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "format",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "nFormat"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#nuke:member(1)",
"docComment": "/**\n * Runs NUKE.exe on a server.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * Runs the NUKE.exe program on the target server. NUKE.exe must exist on your home computer.\n *\n * @param host - Hostname of the target server.\n *\n * @example\n * ```ts\n * nuke(\"foodnstuff\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "nuke(host: "
},
{
"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": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "nuke"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#peek:member(1)",
"docComment": "/**\n * Get a copy of the data from a port without popping 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 * @param port - Port to peek. Must be an integer between 1 and 20.\n *\n * @returns Data in the specified port.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "peek(port: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "any"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "port",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "peek"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#print:member(1)",
"docComment": "/**\n * Prints a value or a variable to the scripts logs.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param msg - Value to be printed.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "print(msg: "
},
{
"kind": "Content",
"text": "any"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "msg",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "print"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#prompt:member(1)",
"docComment": "/**\n * Prompt the player with a Yes/No modal.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Prompts the player with a dialog box with two options: “Yes” and “No”. This function will return true if the player click “Yes” and false if the player clicks “No”. The scripts execution is halted until the player selects one of the options.\n *\n * @param txt - Text to appear in the prompt dialog box.\n *\n * @returns True if the player click “Yes” and false if the player clicks “No”.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "prompt(txt: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<boolean>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 5
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "txt",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "prompt"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#ps:member(1)",
"docComment": "/**\n * List running scripts on a server.\n *\n * @remarks\n *\n * RAM cost: 0.2 GB\n *\n * Returns an array with general information about all scripts running on the specified target server.\n *\n * @param host - Host address of the target server. If not specified, it will be the current servers IP by default.\n *\n * @returns Array with general information about all scripts running on the specified target server.\n *\n * @example\n * ```ts\n * //(using NetscriptJS (Netscript 2.0))\n * export async function main(ns) {\n * const ps = ns.ps(\"home\");\n * for (let i = 0; i < ps.length; ++i) {\n * ns.tprint(ps[i].filename + ' ' + ps[i].threads);\n * ns.tprint(ps[i].args);\n * }\n * }\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ps(host?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "ProcessInfo",
"canonicalReference": "bitburner!ProcessInfo:interface"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 5
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "ps"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#purchaseServer:member(1)",
"docComment": "/**\n * Purchase a server.\n *\n * @remarks\n *\n * 2.25 GB\n *\n * Purchased a server with the specified hostname and amount of RAM.\n *\n * The hostname argument can be any data type, but it will be converted to a string and have whitespace removed. Anything that resolves to an empty string will cause the function to fail. If there is already a server with the specified hostname, then the function will automatically append a number at the end of the hostname argument value until it finds a unique hostname. For example, if the script calls `purchaseServer(“foo”, 4)` but a server named “foo” already exists, the it will automatically change the hostname to `foo-0`. If there is already a server with the hostname `foo-0`, then it will change the hostname to `foo-1`, and so on.\n *\n * Note that there is a maximum limit to the amount of servers you can purchase.\n *\n * Returns the hostname of the newly purchased server as a string. If the function fails to purchase a server, then it will return an empty string. The function will fail if the arguments passed in are invalid, if the player does not have enough money to purchase the specified server, or if the player has exceeded the maximum amount of servers.\n *\n * @param hostname - Host of the purchased server.\n *\n * @param ram - Amount of RAM of the purchased server. Must be a power of 2 (2, 4, 8, 16, etc.). Maximum value of 1048576 (2^20).\n *\n * @returns The hostname of the newly purchased server.\n *\n * @example\n * ```ts\n * ram = 64;\n * hn = \"pserv-\";\n * for (i = 0; i < 5; ++i) {\n * purchaseServer(hn + i, ram);\n * }\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "purchaseServer(hostname: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", ram: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "hostname",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "ram",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "purchaseServer"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#read:member(1)",
"docComment": "/**\n * Read content of a file.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is used to read data from a port or from a text file (.txt).\n *\n * This function will return the data in the specified text file. If the text file does not exist, an empty string will be returned.\n *\n * @param handle - Port or text file to read from.\n *\n * @returns Data in the specified text file or port.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "read(handle: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "any"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "handle",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "read"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#readPort:member(1)",
"docComment": "/**\n * Read data from a port.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Read data from that port. A port is a serialized queue. This function will remove the first element from that queue and return it. If the queue is empty, then the string “NULL PORT DATA” will be returned.\n *\n * @returns the data read.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "readPort(port: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "any"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "port",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "readPort"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#relaysmtp:member(1)",
"docComment": "/**\n * Runs relaySMTP.exe on a server.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * Runs the relaySMTP.exe program on the target server. relaySMTP.exe must exist on your home computer.\n *\n * @param host - Hostname of the target server.\n *\n * @example\n * ```ts\n * relaysmtp(\"foodnstuff\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "relaysmtp(host: "
},
{
"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": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "relaysmtp"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#rm:member(1)",
"docComment": "/**\n * Delete a file.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Removes the specified file from the current server. This function works for every file type except message (.msg) files.\n *\n * @param name - Filename of file to remove. Must include the extension.\n *\n * @param host - Host Address of the server on which to delete the file. Optional. Defaults to current server.\n *\n * @returns True if it successfully deletes the file, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "rm(name: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
"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": "name",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "rm"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#run:member(1)",
"docComment": "/**\n * Start another script on the current server.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Run a script as a separate process. This function can only be used to run scripts located on the current server (the server running the script that calls this function). Requires a significant amount of RAM to run this command.\n *\n * If the script was successfully started, then this functions returns the PID of that script. Otherwise, it returns 0.\n *\n * PID stands for Process ID. The PID is a unique identifier for each script. The PID will always be a positive integer.\n *\n * Running this function with a numThreads argument of 0 will return 0 without running the script. However, running this function with a negative numThreads argument will cause a runtime error.\n *\n * @param script - Filename of script to run.\n *\n * @param numThreads - Optional thread count for new script. Set to 1 by default. Will be rounded to nearest integer.\n *\n * @param args - Additional arguments to pass into the new script that is being run. Note that if any arguments are being passed into the new script, then the second argument numThreads must be filled in with a value.\n *\n * @returns Returns the PID of a successfully started script, and 0 otherwise.\n *\n * @example\n * ```ts\n * //The simplest way to use the run command is to call it with just the script name. The following example will run foo.script single-threaded with no arguments:\n * run(\"foo.script\");\n * ```\n *\n * @example\n * ```ts\n * //The following example will run foo.script but with 5 threads instead of single-threaded:\n * run(\"foo.script\", 5);\n * ```\n *\n * @example\n * ```ts\n * //This next example will run foo.script single-threaded, and will pass the string foodnstuff into the script as an argument:\n * run(\"foo.script\", 1, 'foodnstuff');\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "run(script: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", numThreads?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", ...args: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "numThreads",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "run"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#scan:member(1)",
"docComment": "/**\n * Get the list servers connected to a server.\n *\n * @remarks\n *\n * RAM cost: 0.2 GB\n *\n * Returns an array containing the hostnames or IPs of all servers that are one node way from the specified target server. The hostnames/IPs in the returned array are strings.\n *\n * @param host - Hostname of the server to scan.\n *\n * @param hostnames - Optional boolean specifying whether the function should output hostnames (if true) or IP addresses (if false).\n *\n * @returns Returns an string of hostnames or IP.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "scan(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", hostnames?: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "hostnames",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "scan"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#scp:member(1)",
"docComment": "/**\n * Copy file between servers.\n *\n * @remarks\n *\n * RAM cost: 0.6 GB\n *\n * Copies a script or literature (.lit) file(s) to another server. The files argument can be either a string specifying a single file to copy, or an array of strings specifying multiple files to copy.\n *\n * @param files - Filename or an array of filenames of script/literature files to copy.\n *\n * @param source - Host of the source server, which is the server from which the file will be copied. This argument is optional and if its omitted the source will be the current server.\n *\n * @param destination - Host of the destination server, which is the server to which the file will be copied.\n *\n * @returns True if the script/literature file is successfully copied over and false otherwise. If the files argument is an array then this function will return true if at least one of the files in the array is successfully copied.\n *\n * @example\n * ```ts\n * //Copies foo.lit from the helios server to the home computer:\n * scp(\"foo.lit\", \"helios\", \"home\");\n * ```\n *\n * @example\n * ```ts\n * //Tries to copy three files from rothman-uni to home computer:\n * files = [\"foo1.lit\", \"foo2.script\", \"foo3.script\"];\n * scp(files, \"rothman-uni\", \"home\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-11-22 17:36:13 +01:00
"text": "scp(files: "
},
{
"kind": "Content",
2021-11-22 17:36:13 +01:00
"text": "string | string[]"
},
{
"kind": "Content",
2021-11-22 17:36:13 +01:00
"text": ", source: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
2021-11-22 17:36:13 +01:00
"text": ", destination: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
2021-11-22 17:36:13 +01:00
"text": "): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<boolean>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 9
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "files",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "source",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "destination",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "scp"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#scriptKill:member(1)",
"docComment": "/**\n * Kill all scripts with a filename.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Kills all scripts with the specified filename on the target server specified by hostname, regardless of arguments.\n *\n * @param script - Filename of script to kill. This is case-sensitive.\n *\n * @param host - Host of target server.\n *\n * @returns true if one or more scripts were successfully killed, and false if none were.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "scriptKill(script: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host: "
},
{
"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": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "scriptKill"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#scriptRunning:member(1)",
"docComment": "/**\n * Check if any script with a filename is running.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Returns a boolean indicating whether any instance of the specified script is running on the target server, regardless of its arguments.\n *\n * This is different than the isRunning function because it does not try to identify a specific instance of a running script by its arguments.\n *\n * @param script - Filename of script to check. This is case-sensitive.\n *\n * @param host - Host of target server.\n *\n * @returns True if the specified script is running, and false otherwise.\n *\n * @example\n * ```ts\n * //The function call will return true if there is any script named foo.script running on the foodnstuff server, and false otherwise:\n * scriptRunning(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * //The function call will return true if there is any script named “foo.script” running on the current server, and false otherwise:\n * scriptRunning(\"foo.script\", getHostname());\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "scriptRunning(script: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host: "
},
{
"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": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "scriptRunning"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#serverExists:member(1)",
"docComment": "/**\n * Returns a boolean denoting whether or not the specified server exists.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * @param host - Host of target server.\n *\n * @returns True if specified server exists, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "serverExists(host: "
},
{
"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": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "serverExists"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#sleep:member(1)",
"docComment": "/**\n * Suspends the script for n milliseconds.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param millis - Number of milliseconds to sleep.\n *\n * @returns \n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "sleep(millis: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<void>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 5
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "millis",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "sleep"
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#sleeve:member",
"docComment": "/**\n * Namespace for sleeve functions.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "readonly sleeve: "
},
{
"kind": "Reference",
"text": "Sleeve",
"canonicalReference": "bitburner!Sleeve:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "sleeve",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#spawn:member(1)",
"docComment": "/**\n * Terminate current script and start another in 10s.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Terminates the current script, and then after a delay of about 10 seconds it will execute the newly-specified script. The purpose of this function is to execute a new script without being constrained by the RAM usage of the current one. This function can only be used to run scripts on the local server.\n *\n * Because this function immediately terminates the script, it does not have a return value.\n *\n * @param script - Filename of script to execute.\n *\n * @param numThreads - Number of threads to spawn new script with. Will be rounded to nearest integer.\n *\n * @param args - Additional arguments to pass into the new script that is being run.\n *\n * @example\n * ```ts\n * //The following example will execute the script foo.script with 10 threads and the arguments foodnstuff and 90:\n * spawn('foo.script', 10, 'foodnstuff', 90);\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "spawn(script: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", numThreads?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", ...args: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "numThreads",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "spawn"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#sprintf:member(1)",
"docComment": "/**\n * Format a string.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * see: https://github.com/alexei/sprintf.js\n *\n * @param format - String to format.\n *\n * @param args - Formating arguments.\n *\n * @returns Formated text.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "sprintf(format: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", ...args: "
},
{
"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": "format",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "sprintf"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#sqlinject:member(1)",
"docComment": "/**\n * Runs SQLInject.exe on a server.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * @param host - Hostname of the target server.\n *\n * @example\n * ```ts\n * sqlinject(\"foodnstuff\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "sqlinject(host: "
},
{
"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": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "sqlinject"
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#stock:member",
"docComment": "/**\n * Namespace for stock functions.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "readonly stock: "
},
{
"kind": "Reference",
"text": "TIX",
"canonicalReference": "bitburner!TIX:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "stock",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#tail:member(1)",
"docComment": "/**\n * Open the tail window of a script.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Opens a scripts logs. This is functionally the same as the tail Terminal command.\n *\n * If the function is called with no arguments, it will open the current scripts logs.\n *\n * Otherwise, the fn, hostname/ip, and args… arguments can be used to get the logs from another script. Remember that scripts are uniquely identified by both their names and arguments.\n *\n * @param fn - Optional. Filename of the script being tailed. If omitted, the current script is tailed.\n *\n * @param host - Optional. Hostname of the script being tailed. Defaults to the server this script is running on. If args are specified, this is not optional.\n *\n * @param args - Arguments for the script being tailed.\n *\n * @example\n * ```ts\n * //Open logs from foo.script on the current server that was run with no args\n * tail(\"foo.script\");\n * ```\n *\n * @example\n * ```ts\n * //Get logs from foo.script on the foodnstuff server that was run with no args\n * tail(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * //Get logs from foo.script on the foodnstuff server that was run with the arguments [1, \"test\"]\n * tail(\"foo.script\", \"foodnstuff\", 1, \"test\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "tail(fn?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", ...args: "
},
{
"kind": "Content",
"text": "any[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "fn",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "tail"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#tFormat:member(1)",
"docComment": "/**\n * Format time to readable string\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param milliseconds - Number of millisecond to format.\n *\n * @param milliPrecision - Format time with subsecond precision, defaults to false.\n *\n * @returns The formatted time.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "tFormat(milliseconds: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", milliPrecision?: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "milliseconds",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "milliPrecision",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "tFormat"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#toast:member(1)",
"docComment": "/**\n * Queue a toast (bottom-right notification).\n *\n * @param msg - Message in the toast.\n *\n * @param variant - Type of toast, must be one of success, info, warning, error. Defaults to success.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "toast(msg: "
},
{
"kind": "Content",
"text": "any"
},
{
"kind": "Content",
"text": ", variant?: "
},
{
"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": "msg",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "variant",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "toast"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#tprint:member(1)",
"docComment": "/**\n * Prints a value or a variable to the Terminal.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param msg - Value to be printed.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "tprint(msg: "
},
{
"kind": "Content",
"text": "any"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "msg",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "tprint"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#tprintf:member(1)",
2021-11-22 17:36:13 +01:00
"docComment": "/**\n * Prints a raw value or a variable to the Terminal.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param format - format of the message\n *\n * @param msg - Value to be printed.\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-11-22 17:36:13 +01:00
"text": "tprintf(format: "
},
{
"kind": "Content",
2021-11-22 17:36:13 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ", ...values: "
},
{
"kind": "Content",
"text": "any[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-22 17:36:13 +01:00
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-22 17:36:13 +01:00
"parameterName": "format",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-22 17:36:13 +01:00
},
{
"parameterName": "values",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "tprintf"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#tryWritePort:member(1)",
"docComment": "/**\n * Attempt to write to a port.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Attempts to write data to the specified Netscript Port. If the port is full, the data will not be written. Otherwise, the data will be written normally.\n *\n * @param port - Port or text file that will be written to.\n *\n * @param data - Data to write.\n *\n * @returns True if the data is successfully written to the port, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "tryWritePort(port: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", data: "
},
{
"kind": "Content",
"text": "string[] | number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<boolean>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 7
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "port",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "data",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "tryWritePort"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#vsprintf:member(1)",
"docComment": "/**\n * Format a string with an array of arguments.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * see: https://github.com/alexei/sprintf.js\n *\n * @param format - String to format.\n *\n * @param args - Formating arguments.\n *\n * @returns Formated text.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "vsprintf(format: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", args: "
},
{
"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": "format",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "vsprintf"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#weaken:member(1)",
"docComment": "/**\n * Reduce a server security level.\n *\n * @remarks\n *\n * RAM cost: 0.15 GB\n *\n * Use your hacking skills to attack a servers security, lowering the servers security level. The runtime for this command depends on your hacking level and the target servers security level. This function lowers the security level of the target server by 0.05.\n *\n * Like hack and grow, `weaken` can be called on any server, regardless of where the script is running. This command requires root access to the target server, but there is no required hacking level to run the command.\n *\n * @param host - Hostname of the target server to weaken.\n *\n * @param opts - Optional parameters for configuring function behavior.\n *\n * @returns The amount by which the target servers security level was decreased. This is equivalent to 0.05 multiplied by the number of script threads.\n *\n * @example\n * ```ts\n * weaken(\"foodnstuff\");\n * weaken(\"foodnstuff\", { threads: 5 }); // Only use 5 threads to weaken\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "weaken(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", opts?: "
},
{
"kind": "Reference",
"text": "BasicHGWOptions",
"canonicalReference": "bitburner!BasicHGWOptions:interface"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<number>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 7
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "opts",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "weaken"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#weakenAnalyze:member(1)",
"docComment": "/**\n * Predict the effect of weaken.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Returns the security decrease that would occur if a weaken with this many threads happened.\n *\n * @param threads - Amount of threads that will be used.\n *\n * @param cores - Optional. The number of cores of the server that would run weaken.\n *\n * @returns The security decrease.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "weakenAnalyze(threads: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", cores?: "
},
{
"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": "threads",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "cores",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "weakenAnalyze"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#wget:member(1)",
"docComment": "/**\n * Download a file from the internet.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Retrieves data from a URL and downloads it to a file on the specified server. The data can only be downloaded to a script (.script, .ns, .js) or a text file (.txt). If the file already exists, it will be overwritten by this command. Note that it will not be possible to download data from many websites because they do not allow cross-origin resource sharing (CORS).\n *\n * IMPORTANT: This is an asynchronous function that returns a Promise. The Promises resolved value will be a boolean indicating whether or not the data was successfully retrieved from the URL. Because the function is async and returns a Promise, it is recommended you use wget in NetscriptJS (Netscript 2.0).\n *\n * In NetscriptJS, you must preface any call to wget with the await keyword (like you would hack or sleep). wget will still work in Netscript 1.0, but the functions execution will not be synchronous (i.e. it may not execute when you expect/want it to). Furthermore, since Promises are not supported in ES5, you will not be able to process the returned value of wget in Netscript 1.0.\n *\n * @param url - URL to pull data from.\n *\n * @param target - Filename to write data to. Must be script or text file.\n *\n * @param host - Optional hostname/ip of server for target file.\n *\n * @returns True if the data was successfully retrieved from the URL, false otherwise.\n *\n * @example\n * ```ts\n * wget(\"https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md\", \"game_readme.txt\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "wget(url: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", target: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<boolean>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 9
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "url",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "target",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "wget"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#write:member(1)",
"docComment": "/**\n * Write data to a file.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function can be used to either write data to a text file (.txt).\n *\n * This function will write data to that text file. If the specified text file does not exist, then it will be created. The third argument mode, defines how the data will be written to the text file. If *mode is set to “w”, then the data is written in “write” mode which means that it will overwrite all existing data on the text file. If mode is set to any other value then the data will be written in “append” mode which means that the data will be added at the end of the text file.\n *\n * @param handle - Port or text file that will be written to.\n *\n * @param data - Data to write.\n *\n * @param mode - Defines the write mode. Only valid when writing to text files.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "write(handle: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", data?: "
},
{
"kind": "Content",
"text": "string[] | number"
},
{
"kind": "Content",
"text": ", mode?: "
},
{
"kind": "Content",
"text": "\"w\" | \"a\""
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<void>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 9
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "handle",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "data",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "mode",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "write"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#writePort:member(1)",
"docComment": "/**\n * Write data to a port.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Write data to that netscript port.\n *\n * @returns The data popped off the queue if it was full.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "writePort(port: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", data: "
},
{
"kind": "Content",
"text": "string | number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<any>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 7
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "port",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "data",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "writePort"
}
],
"extendsTokenRanges": [
{
"startIndex": 1,
"endIndex": 3
}
]
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Player:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface Player "
}
],
"releaseTag": "Public",
"name": "Player",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#agility_exp_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "agility_exp_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "agility_exp_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#agility_exp:member",
"docComment": "",
"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!Player#agility_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "agility_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "agility_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#agility:member",
"docComment": "",
"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!Player#bitNodeN:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "bitNodeN: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "bitNodeN",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#bladeburner_analysis_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "bladeburner_analysis_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "bladeburner_analysis_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#bladeburner_max_stamina_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "bladeburner_max_stamina_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "bladeburner_max_stamina_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#bladeburner_stamina_gain_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "bladeburner_stamina_gain_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "bladeburner_stamina_gain_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#bladeburner_success_chance_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "bladeburner_success_chance_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "bladeburner_success_chance_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#charisma_exp_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "charisma_exp_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "charisma_exp_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#charisma_exp:member",
"docComment": "",
"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!Player#charisma_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "charisma_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "charisma_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#charisma:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "charisma: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "charisma",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#city:member",
"docComment": "",
"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!Player#className:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "className: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "className",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#company_rep_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "company_rep_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "company_rep_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#companyName:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "companyName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "companyName",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#createProgramName:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "createProgramName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "createProgramName",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#createProgramReqLvl:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "createProgramReqLvl: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "createProgramReqLvl",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#crime_money_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "crime_money_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "crime_money_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#crime_success_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "crime_success_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "crime_success_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#crimeType:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "crimeType: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "crimeType",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#currentWorkFactionDescription:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "currentWorkFactionDescription: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "currentWorkFactionDescription",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#currentWorkFactionName:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "currentWorkFactionName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "currentWorkFactionName",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#defense_exp_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "defense_exp_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "defense_exp_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#defense_exp:member",
"docComment": "",
"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!Player#defense_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "defense_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "defense_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#defense:member",
"docComment": "",
"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!Player#dexterity_exp_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "dexterity_exp_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dexterity_exp_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#dexterity_exp:member",
"docComment": "",
"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!Player#dexterity_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "dexterity_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dexterity_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#dexterity:member",
"docComment": "",
"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!Player#faction_rep_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "faction_rep_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "faction_rep_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#factions:member",
"docComment": "",
"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!Player#hacking_chance_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "hacking_chance_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hacking_chance_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hacking_exp_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "hacking_exp_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hacking_exp_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hacking_exp:member",
"docComment": "",
"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!Player#hacking_grow_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "hacking_grow_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hacking_grow_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hacking_money_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "hacking_money_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hacking_money_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hacking_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "hacking_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hacking_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hacking_speed_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "hacking_speed_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hacking_speed_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hacking:member",
"docComment": "",
"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!Player#hacknet_node_core_cost_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "hacknet_node_core_cost_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hacknet_node_core_cost_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hacknet_node_level_cost_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "hacknet_node_level_cost_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hacknet_node_level_cost_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hacknet_node_money_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "hacknet_node_money_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hacknet_node_money_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hacknet_node_purchase_cost_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "hacknet_node_purchase_cost_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hacknet_node_purchase_cost_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hacknet_node_ram_cost_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "hacknet_node_ram_cost_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hacknet_node_ram_cost_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#has4SData:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "has4SData: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "has4SData",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#has4SDataTixApi:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "has4SDataTixApi: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "has4SDataTixApi",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hasTixApiAccess:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "hasTixApiAccess: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hasTixApiAccess",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hasWseAccount:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "hasWseAccount: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hasWseAccount",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hp:member",
"docComment": "",
"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!Player#intelligence:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "intelligence: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "intelligence",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#isWorking:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "isWorking: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "isWorking",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#jobs:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "jobs: "
},
{
"kind": "Content",
"text": "any"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "jobs",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#location:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "location: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "location",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#max_hp:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "max_hp: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "max_hp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#money:member",
"docComment": "",
"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!Player#numPeopleKilled:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "numPeopleKilled: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "numPeopleKilled",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#playtimeSinceLastAug:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "playtimeSinceLastAug: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "playtimeSinceLastAug",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#playtimeSinceLastBitnode:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "playtimeSinceLastBitnode: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "playtimeSinceLastBitnode",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#strength_exp_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "strength_exp_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "strength_exp_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#strength_exp:member",
"docComment": "",
"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!Player#strength_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "strength_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "strength_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#strength:member",
"docComment": "",
"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!Player#tor:member",
"docComment": "",
"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!Player#totalPlaytime:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "totalPlaytime: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "totalPlaytime",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#work_money_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "work_money_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "work_money_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#workAgiExpGained:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "workAgiExpGained: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workAgiExpGained",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#workAgiExpGainRate:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "workAgiExpGainRate: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workAgiExpGainRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#workChaExpGained:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "workChaExpGained: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workChaExpGained",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#workChaExpGainRate:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "workChaExpGainRate: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workChaExpGainRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#workDefExpGained:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "workDefExpGained: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workDefExpGained",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#workDefExpGainRate:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "workDefExpGainRate: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workDefExpGainRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#workDexExpGained:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "workDexExpGained: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workDexExpGained",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#workDexExpGainRate:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "workDexExpGainRate: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workDexExpGainRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#workHackExpGained:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "workHackExpGained: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workHackExpGained",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#workHackExpGainRate:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "workHackExpGainRate: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workHackExpGainRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#workMoneyGained:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "workMoneyGained: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workMoneyGained",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#workMoneyGainRate:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "workMoneyGainRate: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workMoneyGainRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#workMoneyLossRate:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "workMoneyLossRate: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workMoneyLossRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#workRepGained:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "workRepGained: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workRepGained",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#workRepGainRate:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "workRepGainRate: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workRepGainRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#workStrExpGained:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "workStrExpGained: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workStrExpGained",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#workStrExpGainRate:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "workStrExpGainRate: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workStrExpGainRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#workType:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "workType: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workType",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!PlayerSkills:interface",
"docComment": "/**\n * Short summary of the players skills.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface PlayerSkills "
}
],
"releaseTag": "Public",
"name": "PlayerSkills",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!PlayerSkills#agility:member",
"docComment": "/**\n * Agility level\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!PlayerSkills#charisma:member",
"docComment": "/**\n * Chraisma level\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "charisma: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "charisma",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!PlayerSkills#defense:member",
"docComment": "/**\n * Defense level\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!PlayerSkills#dexterity:member",
"docComment": "/**\n * Dexterity level\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!PlayerSkills#hacking:member",
"docComment": "/**\n * Hacking level\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!PlayerSkills#intelligence:member",
"docComment": "/**\n * Intelligence level\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "intelligence: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "intelligence",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!PlayerSkills#strength:member",
"docComment": "/**\n * Strength level\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
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!ProcessInfo:interface",
"docComment": "/**\n * A single process on a server.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface ProcessInfo "
}
],
"releaseTag": "Public",
"name": "ProcessInfo",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!ProcessInfo#args:member",
"docComment": "/**\n * Script's arguments\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "args: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "args",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!ProcessInfo#filename:member",
"docComment": "/**\n * Script name.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "filename: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "filename",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!ProcessInfo#threads:member",
"docComment": "/**\n * Number of threads script is running with\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "threads: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "threads",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!RunningScript:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface RunningScript "
}
],
"releaseTag": "Public",
"name": "RunningScript",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!RunningScript#args:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "args: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "args",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!RunningScript#filename:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "filename: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "filename",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!RunningScript#logs:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "logs: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "logs",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!RunningScript#offlineExpGained:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "offlineExpGained: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "offlineExpGained",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!RunningScript#offlineMoneyMade:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "offlineMoneyMade: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "offlineMoneyMade",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!RunningScript#offlineRunningTime:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "offlineRunningTime: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "offlineRunningTime",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!RunningScript#onlineExpGained:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "onlineExpGained: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "onlineExpGained",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!RunningScript#onlineMoneyMade:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "onlineMoneyMade: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "onlineMoneyMade",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!RunningScript#onlineRunningTime:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "onlineRunningTime: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "onlineRunningTime",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!RunningScript#pid:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "pid: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "pid",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!RunningScript#ramUsage:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "ramUsage: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "ramUsage",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!RunningScript#server:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "server: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "server",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!RunningScript#threads:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "threads: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "threads",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Server:interface",
"docComment": "/**\n * A single server.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface Server "
2021-11-03 05:33:14 +01:00
}
],
"releaseTag": "Public",
"name": "Server",
"members": [
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Server#cpuCores:member",
"docComment": "/**\n * How many CPU cores this server has. Maximum of 8. Affects magnitude of grow and weaken.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "cpuCores: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "cpuCores",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Server#ftpPortOpen:member",
"docComment": "/**\n * Flag indicating whether the FTP port is open\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "ftpPortOpen: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "ftpPortOpen",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Server#hasAdminRights:member",
"docComment": "/**\n * Flag indicating whether player has admin/root access to this server\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "hasAdminRights: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "hasAdminRights",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#hostname:member",
"docComment": "/**\n * Hostname. Must be unique\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "hostname: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
"name": "hostname",
"propertyTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-11-03 05:33:14 +01:00
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#httpPortOpen:member",
"docComment": "/**\n * Flag indicating whether HTTP Port is open\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "httpPortOpen: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "boolean"
2021-11-03 05:27:21 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "httpPortOpen",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#ip:member",
"docComment": "/**\n * IP Address. Must be unique\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "ip: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": "string"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "ip",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#isConnectedTo:member",
"docComment": "/**\n * Flag indicating whether player is curently connected to this server\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "isConnectedTo: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "isConnectedTo",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#maxRam:member",
"docComment": "/**\n * RAM (GB) available on this server\n */\n",
"excerptTokens": [
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "maxRam: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-11-03 05:27:21 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "maxRam",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#organizationName:member",
"docComment": "/**\n * Name of company/faction/etc. that this server belongs to. Optional, not applicable to all Servers\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "organizationName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "organizationName",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#ramUsed:member",
"docComment": "/**\n * RAM (GB) used. i.e. unavailable RAM\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ramUsed: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-11-03 05:27:21 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "ramUsed",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#smtpPortOpen:member",
"docComment": "/**\n * Flag indicating whether SMTP Port is open\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "smtpPortOpen: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "smtpPortOpen",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#sqlPortOpen:member",
"docComment": "/**\n * Flag indicating whether SQL Port is open\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "sqlPortOpen: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "sqlPortOpen",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#sshPortOpen:member",
"docComment": "/**\n * Flag indicating whether the SSH Port is open\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "sshPortOpen: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "sshPortOpen",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Singularity:interface",
"docComment": "/**\n * Singularity API\n *\n * @remarks\n *\n * This API requires Source-File 4 level 1 / 2 / 3 to use.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface Singularity "
2021-11-03 05:33:14 +01:00
}
],
"releaseTag": "Public",
"name": "Singularity",
"members": [
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:27:21 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#applyToCompany:member(1)",
"docComment": "/**\n * Apply for a job at a company.\n *\n * @remarks\n *\n * RAM cost: 3 GB\n *\n * Singularity - Level 2\n *\n * This function will automatically try to apply to the specified company for a position in the specified field. This function can also be used to apply for promotions by specifying the company and field you are already employed at.\n *\n * This function will return true if you successfully get a job/promotion, and false otherwise. Note that if you are trying to use this function to apply for a promotion and you dont get one, it will return false.\n *\n * @param companyName - Name of company to apply to.\n *\n * @param field - Field to which you want to apply.\n *\n * @returns True if the player successfully get a job/promotion, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "applyToCompany(companyName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", field: "
},
{
"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": "companyName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "field",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "applyToCompany"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#checkFactionInvitations:member(1)",
"docComment": "/**\n * List all current faction invitations.\n *\n * @remarks\n *\n * RAM cost: 3 GB\n *\n * Singularity - Level 2\n *\n * Returns an array with the name of all Factions you currently have oustanding invitations from.\n *\n * @returns Array with the name of all Factions you currently have oustanding invitations from.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "checkFactionInvitations(): "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "checkFactionInvitations"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#commitCrime:member(1)",
"docComment": "/**\n * Commit a crime.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Singularity - Level 3\n *\n * This function is used to automatically attempt to commit crimes. If you are already in the middle of some working action (such as working for a company or training at a gym), then running this function will automatically cancel that action and give you your earnings.\n *\n * This function returns the number of seconds it takes to attempt the specified crime (e.g It takes 60 seconds to attempt the Rob Store crime, so running `commitCrime('rob store')` will return 60).\n *\n * Warning: I do not recommend using the time returned from this function to try and schedule your crime attempts. Instead, I would use the isBusy Singularity function to check whether you have finished attempting a crime. This is because although the game sets a certain crime to be X amount of seconds, there is no guarantee that your browser will follow that time limit.\n *\n * @param crime - Name of crime to attempt.\n *\n * @returns True if you successfully start working on the specified program, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "commitCrime(crime: "
},
{
"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": "crime",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "commitCrime"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#connect:member(1)",
"docComment": "/**\n * Connect to a server.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Singularity - Level 1\n *\n * Run the connect HOSTNAME command in the terminal. Can only connect to neighbors.\n *\n * @returns True if the connect command was successful, false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "connect(hostname: "
},
{
"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": "hostname",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "connect"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#createProgram:member(1)",
"docComment": "/**\n * Create a program.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Singularity - Level 3\n *\n * This function will automatically set you to start working on creating the specified program. If you are already in the middle of some “working” action (such as working for a company, training at a gym, or taking a course), then running this function will automatically cancel that action and give you your earnings.\n *\n * This function returns true if you successfully start working on the specified program, and false otherwise.\n *\n * Note that creating a program using this function has the same hacking level requirements as it normally would. These level requirements are: * BruteSSH.exe: 50 * FTPCrack.exe: 100 * relaySMTP.exe: 250 * HTTPWorm.exe: 500 * SQLInject.exe: 750 * DeepscanV1.exe: 75 * DeepscanV2.exe: 400 * ServerProfiler.exe: 75 * AutoLink.exe: 25\n *\n * @param program - Name of program to create.\n *\n * @returns True if you successfully start working on the specified program, and false otherwise.\n *\n * @example\n * ```ts\n * createProgram(“relaysmtp.exe”);\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "createProgram(program: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:27:21 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
2021-11-03 05:27:21 +01:00
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-11-03 05:27:21 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "program",
2021-11-03 05:27:21 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "createProgram"
2021-11-03 05:27:21 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#donateToFaction:member(1)",
"docComment": "/**\n * Donate to a faction.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Singularity - Level 3\n *\n * Attempts to donate money to the specified faction in exchange for reputation. Returns true if you successfully donate the money, and false otherwise.\n *\n * @param faction - Name of faction to donate to.\n *\n * @param amount - Amount of money to donate.\n *\n * @returns True if the money was donated, and false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "donateToFaction(faction: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", amount: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "faction",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "amount",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "donateToFaction"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getAugmentationCost:member(1)",
"docComment": "/**\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Singularity - Level 3\n *\n * This function returns an array with two elements that gives the cost for the specified Augmentation. The first element in the returned array is the reputation requirement of the Augmentation, and the second element is the money cost.\n *\n * If an invalid Augmentation name is passed in for the augName argument, this function will return the array [-1, -1].\n *\n * @deprecated\n *\n * Get the price and reputation of an augmentation.\n *\n * @param augName - Name of Augmentation.\n *\n * @returns Array with first element as a reputation requirement and second element as the money cost.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getAugmentationCost(augName: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "): "
},
{
"kind": "Content",
"text": "[number, number]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-11-03 05:27:21 +01:00
"parameters": [
{
"parameterName": "augName",
2021-11-03 05:27:21 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getAugmentationCost"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getAugmentationPrereq:member(1)",
"docComment": "/**\n * Get the pre-requisite of an augmentation.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Singularity - Level 3\n *\n * This function returns an array with the names of the prerequisite Augmentation(s) for the specified Augmentation. If there are no prerequisites, a blank array is returned.\n *\n * @param augName - Name of Augmentation.\n *\n * @returns Array with the names of the prerequisite Augmentation(s) for the specified Augmentation.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getAugmentationPrereq(augName: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "augName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getAugmentationPrereq"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getAugmentationPrice:member(1)",
"docComment": "/**\n * Get price of an augmentation.\n *\n * @remarks\n *\n * RAM cost: 2.5 GB\n *\n * Singularity - Level 3\n *\n * @param augName - Name of Augmentation.\n *\n * @returns Price of the augmentation.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getAugmentationPrice(augName: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "augName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getAugmentationPrice"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getAugmentationRepReq:member(1)",
"docComment": "/**\n * Get reputation requirement of an augmentation.\n *\n * @remarks\n *\n * RAM cost: 2.5 GB\n *\n * Singularity - Level 3\n *\n * @param augName - Name of Augmentation.\n *\n * @returns Reputation requirement of the augmentation.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getAugmentationRepReq(augName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "augName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getAugmentationRepReq"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#getAugmentationsFromFaction:member(1)",
"docComment": "/**\n * Get a list of augmentation available from a faction.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Singularity - Level 3\n *\n * Returns an array containing the names (as strings) of all Augmentations that are available from the specified faction.\n *\n * @param faction - Name of faction.\n *\n * @returns Array containing the names of all Augmentations.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "getAugmentationsFromFaction(faction: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:27:21 +01:00
"parameterName": "faction",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-11-03 05:33:14 +01:00
"name": "getAugmentationsFromFaction"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#getAugmentationStats:member(1)",
"docComment": "/**\n * Get the stats of an augmentation.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Singularity - Level 3\n *\n * This function returns augmentation stats.\n *\n * @param name - Name of Augmentation. CASE-SENSITIVE.\n *\n * @returns Augmentation stats.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "getAugmentationStats(name: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
2021-11-03 05:33:14 +01:00
"kind": "Reference",
"text": "AugmentationStats",
"canonicalReference": "bitburner!AugmentationStats:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
2021-11-03 05:27:21 +01:00
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "name",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-11-03 05:33:14 +01:00
"name": "getAugmentationStats"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getCharacterInformation:member(1)",
"docComment": "/**\n * @remarks\n *\n * RAM cost: 0.5 GB\n *\n * Singularity - Level 1\n *\n * @deprecated\n *\n * Returns an object with various information about your character.\n *\n * @returns Object with various information about your character.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getCharacterInformation(): "
},
{
"kind": "Reference",
"text": "CharacterInfo",
"canonicalReference": "bitburner!CharacterInfo:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getCharacterInformation"
},
2021-10-30 18:34:14 +02:00
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#getCompanyFavor:member(1)",
"docComment": "/**\n * Get company favor.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Singularity - Level 2\n *\n * This function will return the amount of favor you have at the specified company. If the company passed in as an argument is invalid, -1 will be returned.\n *\n * @param companyName - Name of the company.\n *\n * @returns Amount of favor you have at the specified company.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "getCompanyFavor(companyName: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
2021-11-03 05:27:21 +01:00
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "companyName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-11-03 05:33:14 +01:00
"name": "getCompanyFavor"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getCompanyFavorGain:member(1)",
"docComment": "/**\n * Get company favor gain.\n *\n * @remarks\n *\n * RAM cost: 0.75 GB\n *\n * Singularity - Level 2\n *\n * This function will return the amount of favor you will gain for the specified company when you reset by installing Augmentations.\n *\n * @param companyName - Name of the company.\n *\n * @returns Amount of favor you gain at the specified company when you reset by installing Augmentations.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "getCompanyFavorGain(companyName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-11-03 05:33:14 +01:00
"parameters": [
{
"parameterName": "companyName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getCompanyFavorGain"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#getCompanyRep:member(1)",
"docComment": "/**\n * Get company reputation.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Singularity - Level 2\n *\n * This function will return the amount of reputation you have at the specified company. If the company passed in as an argument is invalid, -1 will be returned.\n *\n * @param companyName - Name of the company.\n *\n * @returns Amount of reputation you have at the specified company.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "getCompanyRep(companyName: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "companyName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-11-03 05:33:14 +01:00
"name": "getCompanyRep"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#getCrimeChance:member(1)",
"docComment": "/**\n * Get chance to successfully commit a crime.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Singularity - Level 3\n *\n * This function returns your chance of success at commiting the specified crime.\n *\n * @param crime - Name of crime.\n *\n * @returns Chance of success at commiting the specified crime.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "getCrimeChance(crime: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "crime",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-11-03 05:33:14 +01:00
"name": "getCrimeChance"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#getCrimeStats:member(1)",
"docComment": "/**\n * Get stats related to a crime.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Singularity - Level 3\n *\n * Returns the stats of the crime.\n *\n * @param crime - Name of crime. Not case-sensitive\n *\n * @returns The stats of the crime.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "getCrimeStats(crime: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "CrimeStats",
"canonicalReference": "bitburner!CrimeStats:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-11-03 05:33:14 +01:00
"parameters": [
{
"parameterName": "crime",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getCrimeStats"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getCurrentServer:member(1)",
"docComment": "/**\n * Get the current server.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Singularity - Level 1\n *\n * @returns Name of the current server.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getCurrentServer(): "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getCurrentServer"
},
2021-10-30 18:34:14 +02:00
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#getFactionFavor:member(1)",
"docComment": "/**\n * Get faction favor.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Singularity - Level 2\n *\n * This function returns the amount of favor you have for the specified faction.\n *\n * @param faction - Name of faction.\n *\n * @returns Amount of favor you have for the specified faction.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "getFactionFavor(faction: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:27:21 +01:00
"parameterName": "faction",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-11-03 05:33:14 +01:00
"name": "getFactionFavor"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#getFactionFavorGain:member(1)",
"docComment": "/**\n * Get faction favor gain.\n *\n * @remarks\n *\n * RAM cost: 0.75 GB\n *\n * Singularity - Level 2\n *\n * This function returns the amount of favor you will gain for the specified faction when you reset by installing Augmentations.\n *\n * @param faction - Name of faction.\n *\n * @returns Amount of favor you will gain for the specified faction when you reset by installing Augmentations.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "getFactionFavorGain(faction: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:27:21 +01:00
"parameterName": "faction",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-11-03 05:33:14 +01:00
"name": "getFactionFavorGain"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#getFactionRep:member(1)",
"docComment": "/**\n * Get faction reputation.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Singularity - Level 2\n *\n * This function returns the amount of reputation you have for the specified faction.\n *\n * @param faction - Name of faction to work for.\n *\n * @returns Amount of reputation you have for the specified faction.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "getFactionRep(faction: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "faction",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-11-03 05:33:14 +01:00
"name": "getFactionRep"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#getOwnedAugmentations:member(1)",
"docComment": "/**\n * Get a list of owned augmentation.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Singularity - Level 3\n *\n * This function returns an array containing the names (as strings) of all Augmentations you have.\n *\n * @param purchased - Specifies whether the returned array should include Augmentations you have purchased but not yet installed. By default, this argument is false which means that the return value will NOT have the purchased Augmentations.\n *\n * @returns Array containing the names (as strings) of all Augmentations you have.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "getOwnedAugmentations(purchased?: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "boolean"
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string[]"
},
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 3,
"endIndex": 4
2021-11-03 05:27:21 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-11-03 05:33:14 +01:00
"parameters": [
{
"parameterName": "purchased",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getOwnedAugmentations"
2021-11-03 05:27:21 +01:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#getOwnedSourceFiles:member(1)",
"docComment": "/**\n * Get a list of acquired Source-Files.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Singularity - Level 3\n *\n * Returns an array of source files\n *\n * @returns Array containing an object with number and level of the source file.\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "getOwnedSourceFiles(): "
},
{
"kind": "Reference",
"text": "SourceFileLvl",
"canonicalReference": "bitburner!SourceFileLvl:interface"
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:33:14 +01:00
"endIndex": 3
2021-11-03 05:27:21 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
2021-11-03 05:33:14 +01:00
"name": "getOwnedSourceFiles"
2021-11-03 05:27:21 +01:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getStats:member(1)",
"docComment": "/**\n * @remarks\n *\n * RAM cost: 0.5 GB\n *\n * Singularity - Level 1\n *\n * @deprecated\n *\n * Returns an object with the Players stats.\n *\n * @returns Object with the Players stats.\n *\n * @example\n * ```ts\n * res = getStats();\n * print('My charisma level is: ' + res.charisma);\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getStats(): "
},
{
"kind": "Reference",
"text": "PlayerSkills",
"canonicalReference": "bitburner!PlayerSkills:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getStats"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getUpgradeHomeCoresCost:member(1)",
"docComment": "/**\n * Get the price of upgrading home cores.\n *\n * @remarks\n *\n * RAM cost: 1.5 GB\n *\n * Singularity - Level 2\n *\n * Returns the cost of upgrading the players home computer cores.\n *\n * @returns Cost of upgrading the players home computer cores.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getUpgradeHomeCoresCost(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getUpgradeHomeCoresCost"
},
2021-11-03 05:27:21 +01:00
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#getUpgradeHomeRamCost:member(1)",
"docComment": "/**\n * Get the price of upgrading home RAM.\n *\n * @remarks\n *\n * RAM cost: 1.5 GB\n *\n * Singularity - Level 2\n *\n * Returns the cost of upgrading the players home computer RAM.\n *\n * @returns Cost of upgrading the players home computer RAM.\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "getUpgradeHomeRamCost(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 1,
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getUpgradeHomeRamCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#goToLocation:member(1)",
"docComment": "/**\n * Go to a location.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Singularity - Level 3\n *\n * Move the player to a specific location.\n *\n * @param locationName - Name of the location.\n *\n * @returns True if the player was moved there, false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "goToLocation(locationName: "
},
{
"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": "locationName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "goToLocation"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#gymWorkout:member(1)",
"docComment": "/**\n * Workout at the gym.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Singularity - Level 1\n *\n * This function will automatically set you to start working out at a gym to train a particular stat. If you are already in the middle of some “working” action (such as working at a company, for a faction, or on a program), then running this function will automatically cancel that action and give you your earnings.\n *\n * The cost and experience gains for all of these gyms are the same as if you were to manually visit these gyms and train\n *\n * @param gymName - Name of gym. You must be in the correct city for whatever gym you specify.\n *\n * @param stat - The stat you want to train.\n *\n * @returns True if actions is successfully started, false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "gymWorkout(gymName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", stat: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "gymName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
{
"parameterName": "stat",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
2021-11-03 05:33:14 +01:00
"name": "gymWorkout"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#hospitalize:member(1)",
"docComment": "/**\n * Hospitalize the player.\n *\n * @remarks\n *\n * RAM cost: 0.25 GB\n *\n * Singularity - Level 1\n *\n * @returns The cost of the hospitalization.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hospitalize(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "hospitalize"
},
2021-10-30 18:34:14 +02:00
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#installAugmentations:member(1)",
"docComment": "/**\n * Install your purchased augmentations.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Singularity - Level 3\n *\n * This function will automatically install your Augmentations, resetting the game as usual.\n *\n * @param cbScript - This is a script that will automatically be run after Augmentations are installed (after the reset). This script will be run with no arguments and 1 thread. It must be located on your home computer.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "installAugmentations(cbScript?: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "): "
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "cbScript",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-11-03 05:33:14 +01:00
"name": "installAugmentations"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#installBackdoor:member(1)",
"docComment": "/**\n * Run the backdoor command in the terminal.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Singularity - Level 1\n *\n * @returns True if the installation was successful.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "installBackdoor(): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
2021-11-22 17:36:13 +01:00
"text": "<void>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "installBackdoor"
},
2021-10-30 18:34:14 +02:00
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#isBusy:member(1)",
"docComment": "/**\n * Check if the player is busy.\n *\n * @remarks\n *\n * RAM cost: 0.5 GB\n *\n * Singularity - Level 1\n *\n * Returns a boolean indicating whether or not the player is currently performing an action. These actions include working for a company/faction, studying at a univeristy, working out at a gym, creating a program, committing a crime, or carrying out a Hacking Mission.\n *\n * @returns True if the player is currently performing an action, false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "isBusy(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
2021-11-03 05:33:14 +01:00
"name": "isBusy"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#isFocused:member(1)",
"docComment": "/**\n * Check if the player is focused.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * Singularity - Level 2\n *\n * @returns True if the player is focused.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "isFocused(): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "isFocused"
},
2021-10-30 18:34:14 +02:00
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#joinFaction:member(1)",
"docComment": "/**\n * Join a faction.\n *\n * @remarks\n *\n * RAM cost: 3 GB\n *\n * Singularity - Level 2\n *\n * This function will automatically accept an invitation from a faction and join it.\n *\n * @param faction - Name of faction to join.\n *\n * @returns True if player joined the faction, and false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "joinFaction(faction: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:27:21 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-11-03 05:27:21 +01:00
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "faction",
2021-11-03 05:27:21 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-11-03 05:33:14 +01:00
"name": "joinFaction"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#manualHack:member(1)",
"docComment": "/**\n * Run the hack command in the terminal.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Singularity - Level 1\n *\n * @returns Amount of money stolen by manual hacking.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "manualHack(): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<number>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "manualHack"
},
2021-10-30 18:34:14 +02:00
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#purchaseAugmentation:member(1)",
"docComment": "/**\n * Purchase an augmentation\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Singularity - Level 3\n *\n * This function will try to purchase the specified Augmentation through the given Faction.\n *\n * This function will return true if the Augmentation is successfully purchased, and false otherwise.\n *\n * @param faction - Name of faction to purchase Augmentation from.\n *\n * @param augmentation - Name of Augmentation to purchase.\n *\n * @returns True if the Augmentation is successfully purchased, and false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "purchaseAugmentation(faction: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ", augmentation: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:27:21 +01:00
"parameterName": "faction",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-11-03 05:33:14 +01:00
"parameterName": "augmentation",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-11-03 05:33:14 +01:00
"name": "purchaseAugmentation"
},
2021-10-30 18:34:14 +02:00
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#purchaseProgram:member(1)",
"docComment": "/**\n * Purchase a program from the dark web.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Singularity - Level 1\n *\n * This function allows you to automatically purchase programs. You MUST have a TOR router in order to use this function. The cost of purchasing programs using this function is the same as if you were purchasing them through the Dark Web using the Terminal buy command.\n *\n * @param programName - Name of program to purchase.\n *\n * @returns True if the specified program is purchased, and false otherwise.\n *\n * @example\n * ```ts\n * purchaseProgram(\"brutessh.exe\");\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "purchaseProgram(programName: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "programName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-11-03 05:33:14 +01:00
"name": "purchaseProgram"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#purchaseTor:member(1)",
"docComment": "/**\n * Purchase the TOR router.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Singularity - Level 1\n *\n * This function allows you to automatically purchase a TOR router. The cost for purchasing a TOR router using this function is the same as if you were to manually purchase one.\n *\n * @returns True if actions is successful, false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "purchaseTor(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
2021-11-03 05:33:14 +01:00
"name": "purchaseTor"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#setFocus:member(1)",
"docComment": "/**\n * Set the players focus.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * Singularity - Level 2\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "setFocus(focus: "
},
{
"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": "focus",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "setFocus"
},
2021-10-30 18:34:14 +02:00
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#softReset:member(1)",
"docComment": "/**\n * Soft reset the game.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Singularity - Level 3\n *\n * This function will perform a reset even if you dont have any augmentation installed.\n *\n * @param cbScript - This is a script that will automatically be run after Augmentations are installed (after the reset). This script will be run with no arguments and 1 thread. It must be located on your home computer.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "softReset(cbScript: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "cbScript",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-11-03 05:33:14 +01:00
"name": "softReset"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#stopAction:member(1)",
"docComment": "/**\n * Stop the current action.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Singularity - Level 1\n *\n * This function is used to end whatever action the player is currently performing. The player will receive whatever money/experience/etc. he has earned from that action.\n *\n * The actions that can be stopped with this function are:\n *\n * * Studying at a university * Working for a company/faction * Creating a program * Committing a Crime\n *\n * This function will return true if the players action was ended. It will return false if the player was not performing an action when this function was called.\n *\n * @returns True if the players action was ended, false if the player was not performing an action.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "stopAction(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 1,
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-11-03 05:33:14 +01:00
"parameters": [],
"name": "stopAction"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#travelToCity:member(1)",
"docComment": "/**\n * Travel to another city.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Singularity - Level 1\n *\n * This function allows the player to travel to any city. The cost for using this function is the same as the cost for traveling through the Travel Agency.\n *\n * @param city - City to travel to.\n *\n * @returns True if actions is successful, false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "travelToCity(city: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "city",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-11-03 05:33:14 +01:00
"name": "travelToCity"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#universityCourse:member(1)",
"docComment": "/**\n * Take university class.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Singularity - Level 1\n *\n * This function will automatically set you to start taking a course at a university. If you are already in the middle of some “working” action (such as working at a company, for a faction, or on a program), then running this function will automatically cancel that action and give you your earnings.\n *\n * The cost and experience gains for all of these universities and classes are the same as if you were to manually visit and take these classes.\n *\n * @param universityName - Name of university. You must be in the correct city for whatever university you specify.\n *\n * @param courseName - Name of course.\n *\n * @returns True if actions is successfully started, false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "universityCourse(universityName: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ", courseName: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "universityName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-11-03 05:33:14 +01:00
"parameterName": "courseName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-11-03 05:33:14 +01:00
"name": "universityCourse"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#upgradeHomeCores:member(1)",
"docComment": "/**\n * Upgrade home computer cores.\n *\n * @remarks\n *\n * RAM cost: 3 GB\n *\n * Singularity - Level 2\n *\n * This function will upgrade amount of cores on the players home computer. The cost is the same as if you were to do it manually.\n *\n * This function will return true if the players home computer cores is successfully upgraded, and false otherwise.\n *\n * @returns True if the players home computer cores is successfully upgraded, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "upgradeHomeCores(): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "upgradeHomeCores"
},
2021-11-03 05:33:14 +01:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#upgradeHomeRam:member(1)",
"docComment": "/**\n * Upgrade home computer RAM.\n *\n * @remarks\n *\n * RAM cost: 3 GB\n *\n * Singularity - Level 2\n *\n * This function will upgrade amount of RAM on the players home computer. The cost is the same as if you were to do it manually.\n *\n * This function will return true if the players home computer RAM is successfully upgraded, and false otherwise.\n *\n * @returns True if the players home computer RAM is successfully upgraded, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "upgradeHomeRam(): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "upgradeHomeRam"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#workForCompany:member(1)",
"docComment": "/**\n * Work for a company.\n *\n * @remarks\n *\n * RAM cost: 3 GB\n *\n * Singularity - Level 2\n *\n * This function will automatically set you to start working at the company at which you are employed. If you are already in the middle of some “working” action (such as working for a faction, training at a gym, or creating a program), then running this function will automatically cancel that action and give you your earnings.\n *\n * This function will return true if the player starts working, and false otherwise.\n *\n * Note that when you are working for a company, you will not actually receive your earnings (reputation, money, experience) until you FINISH the action.\n *\n * @param companyName - Name of company to work for. Must be an exact match. Optional. If not specified, this argument defaults to the last job that you worked\n *\n * @returns True if the player starts working, and false otherwise.\n *\n * @example\n * ```ts\n * //If you only want to work until you get 100,000 company reputation. One small hack to get around this is to continuously restart the action to receive your earnings:\n * while (getCompanyRep(COMPANY HERE) < VALUE) {\n * workForCompany();\n * sleep(60000);\n * }\n * //This way, your company reputation will be updated every minute.\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "workForCompany(companyName?: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "companyName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-11-03 05:33:14 +01:00
"name": "workForCompany"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Singularity#workForFaction:member(1)",
"docComment": "/**\n * Work for a faction.\n *\n * @remarks\n *\n * RAM cost: 3 GB\n *\n * Singularity - Level 2\n *\n * This function will automatically set you to start working for the specified faction. Obviously, you must be a member of the faction or else this function will fail. If you are already in the middle of some “working” action (such as working for a company, training at a gym, or creating a program), then running this function will automatically cancel that action and give you your earnings.\n *\n * This function will return true if you successfully start working for the specified faction, and false otherwise.\n *\n * Note that when you are working for a faction, you will not actually receive your earnings (reputation, experience) until you FINISH the action.\n *\n * @param faction - Name of faction to work for.\n *\n * @param workType - Type of work to perform for the faction.\n *\n * @returns True if the player starts working, and false otherwise.\n *\n * @example\n * ```ts\n * //If you only want to work until you get 100,000 faction reputation. One small hack to get around this is to continuously restart the action to receive your earnings:\n * while (getFactionRep(FACTION NAME) < VALUE) {\n * workForFaction(FACNAME, WORKTYPE);\n * sleep(60000);\n * }\n * //This way, your faction reputation will be updated every minute.\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "workForFaction(faction: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ", workType: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-11-03 05:33:14 +01:00
"parameterName": "faction",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-11-03 05:33:14 +01:00
"parameterName": "workType",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-11-03 05:33:14 +01:00
"name": "workForFaction"
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!SkillsFormulas:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface SkillsFormulas "
}
],
"releaseTag": "Public",
"name": "SkillsFormulas",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!SkillsFormulas#calculateExp:member(1)",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "calculateExp(skill: "
},
{
"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": "skill",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "mult",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "calculateExp"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!SkillsFormulas#calculateSkill:member(1)",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "calculateSkill(exp: "
},
{
"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": "exp",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "mult",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "calculateSkill"
}
],
"extendsTokenRanges": []
},
2021-11-03 05:33:14 +01:00
{
"kind": "Interface",
"canonicalReference": "bitburner!Sleeve:interface",
"docComment": "/**\n * Sleeve API\n *\n * @remarks\n *\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this API.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface Sleeve "
2021-11-03 05:33:14 +01:00
}
],
"releaseTag": "Public",
"name": "Sleeve",
"members": [
2021-10-30 18:34:14 +02:00
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Sleeve#getInformation:member(1)",
"docComment": "/**\n * Get information about a sleeve.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Return a struct containing tons of information about this sleeve\n *\n * @param sleeveNumber - Index of the sleeve to retrieve information.\n *\n * @returns Object containing tons of information about this sleeve.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "getInformation(sleeveNumber: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
2021-11-03 05:33:14 +01:00
"kind": "Reference",
"text": "SleeveInformation",
"canonicalReference": "bitburner!SleeveInformation:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-11-03 05:33:14 +01:00
"name": "getInformation"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Sleeve#getNumSleeves:member(1)",
"docComment": "/**\n * Get the number of sleeves you own.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Return the number of duplicate sleeves the player has.\n *\n * @returns number of duplicate sleeves the player has.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "getNumSleeves(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getNumSleeves"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#getSleeveAugmentations:member(1)",
"docComment": "/**\n * Get augmentations installed on a sleeve.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Return a list of augmentation names that this sleeve has installed.\n *\n * @param sleeveNumber - Index of the sleeve to retrieve augmentations from.\n *\n * @returns List of augmentation names that this sleeve has installed.\n */\n",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "getSleeveAugmentations(sleeveNumber: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-11-03 05:33:14 +01:00
"name": "getSleeveAugmentations"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Sleeve#getSleevePurchasableAugs:member(1)",
"docComment": "/**\n * List purchasable augs for a sleeve.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Return a list of augmentations that the player can buy for this sleeve.\n *\n * @param sleeveNumber - Index of the sleeve to retrieve purchasable augmentations from.\n *\n * @returns List of augmentations that the player can buy for this sleeve.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "getSleevePurchasableAugs(sleeveNumber: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
2021-11-03 05:33:14 +01:00
{
"kind": "Reference",
"text": "AugmentPair",
"canonicalReference": "bitburner!AugmentPair:interface"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
2021-11-03 05:33:14 +01:00
"endIndex": 5
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-11-03 05:33:14 +01:00
"name": "getSleevePurchasableAugs"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Sleeve#getSleeveStats:member(1)",
"docComment": "/**\n * Get the stats of a sleeve.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Return a structure containing the stats of the sleeve.\n *\n * @param sleeveNumber - Index of the sleeve to get stats of.\n *\n * @returns Object containing the stats of the sleeve.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "getSleeveStats(sleeveNumber: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
2021-11-03 05:33:14 +01:00
"kind": "Reference",
"text": "SleeveSkills",
"canonicalReference": "bitburner!SleeveSkills:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-11-03 05:33:14 +01:00
"name": "getSleeveStats"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Sleeve#getTask:member(1)",
"docComment": "/**\n * Get task of a sleeve.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Return the current task that the sleeve is performing. type is set to “Idle” if the sleeve isnt doing anything.\n *\n * @param sleeveNumber - Index of the sleeve to retrieve task from.\n *\n * @returns Object containing information the current task that the sleeve is performing.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "getTask(sleeveNumber: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
2021-11-03 05:33:14 +01:00
"kind": "Reference",
"text": "SleeveTask",
"canonicalReference": "bitburner!SleeveTask:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-11-03 05:33:14 +01:00
"name": "getTask"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!Sleeve#purchaseSleeveAug:member(1)",
"docComment": "/**\n * Purchase an aug for a sleeve.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Return true if the aug was purchased and installed on the sleeve.\n *\n * @param sleeveNumber - Index of the sleeve to buy an aug for.\n *\n * @param augName - Name of the aug to buy. Must be an exact match.\n *\n * @returns True if the aug was purchased and installed on the sleeve, false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "purchaseSleeveAug(sleeveNumber: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ", augName: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-11-03 05:33:14 +01:00
"parameterName": "augName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-11-03 05:33:14 +01:00
"name": "purchaseSleeveAug"
},
2021-11-03 05:27:21 +01:00
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#setToCommitCrime:member(1)",
"docComment": "/**\n * Set a sleeve to commit crime.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Return a boolean indicating whether or not this action was set successfully.\n *\n * Returns false if an invalid action is specified.\n *\n * @param sleeveNumber - Index of the sleeve to start commiting crime.\n *\n * @param name - Name of the crime. Must be an exact match.\n *\n * @returns True if this action was set successfully, false otherwise.\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "setToCommitCrime(sleeveNumber: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ", name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": "boolean"
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
2021-11-03 05:27:21 +01:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
2021-11-03 05:27:21 +01:00
{
2021-11-03 05:33:14 +01:00
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-11-03 05:27:21 +01:00
}
],
2021-11-03 05:33:14 +01:00
"name": "setToCommitCrime"
2021-11-03 05:27:21 +01:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#setToCompanyWork:member(1)",
"docComment": "/**\n * Set a sleeve to work for a company.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Return a boolean indicating whether or not the sleeve started working or this company.\n *\n * @param sleeveNumber - Index of the sleeve to work for the company.\n *\n * @param companyName - Name of the company to work for.\n *\n * @returns True if the sleeve started working on this company, false otherwise.\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "setToCompanyWork(sleeveNumber: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ", companyName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:33:14 +01:00
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:27:21 +01:00
},
{
2021-11-03 05:33:14 +01:00
"parameterName": "companyName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
2021-11-03 05:33:14 +01:00
"name": "setToCompanyWork"
2021-10-30 18:34:14 +02:00
},
2021-11-03 05:33:14 +01:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#setToFactionWork:member(1)",
"docComment": "/**\n * Set a sleeve to work for a faction.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Return a boolean indicating whether or not the sleeve started working or this faction.\n *\n * @param sleeveNumber - Index of the sleeve to work for the faction.\n *\n * @param factionName - Name of the faction to work for.\n *\n * @param factionWorkType - Name of the action to perform for this faction.\n *\n * @returns True if the sleeve started working on this faction, false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "setToFactionWork(sleeveNumber: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ", factionName: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ", factionWorkType: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
},
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": ";"
2021-10-30 18:34:14 +02:00
}
],
2021-11-03 05:27:21 +01:00
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
2021-11-03 05:27:21 +01:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:33:14 +01:00
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"parameterName": "factionName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"parameterName": "factionWorkType",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-11-03 05:27:21 +01:00
}
],
2021-11-03 05:33:14 +01:00
"name": "setToFactionWork"
2021-11-03 05:27:21 +01:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#setToGymWorkout:member(1)",
"docComment": "/**\n * Set a sleeve to workout at the gym.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Return a boolean indicating whether or not the sleeve started working out.\n *\n * @param sleeveNumber - Index of the sleeve to workout at the gym.\n *\n * @param gymName - Name of the gym.\n *\n * @param stat - Name of the stat to train.\n *\n * @returns True if the sleeve started working out, false otherwise.\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "setToGymWorkout(sleeveNumber: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ", gymName: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ", stat: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
},
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": ";"
2021-10-30 18:34:14 +02:00
}
],
2021-11-03 05:27:21 +01:00
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
2021-11-03 05:27:21 +01:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:33:14 +01:00
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"parameterName": "gymName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"parameterName": "stat",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
2021-11-03 05:33:14 +01:00
"name": "setToGymWorkout"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#setToShockRecovery:member(1)",
"docComment": "/**\n * Set a sleeve to shock recovery.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Return a boolean indicating whether or not this action was set successfully.\n *\n * @param sleeveNumber - Index of the sleeve to start recovery.\n *\n * @returns True if this action was set successfully, false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "setToShockRecovery(sleeveNumber: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-11-03 05:27:21 +01:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "setToShockRecovery"
2021-11-03 05:27:21 +01:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#setToSynchronize:member(1)",
"docComment": "/**\n * Set a sleeve to synchronize.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Return a boolean indicating whether or not this action was set successfully.\n *\n * @param sleeveNumber - Index of the sleeve to start synchronizing.\n *\n * @returns True if this action was set successfully, false otherwise.\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "setToSynchronize(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "setToSynchronize"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#setToUniversityCourse:member(1)",
"docComment": "/**\n * Set a sleeve to take a class at a university.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Return a boolean indicating whether or not this action was set successfully.\n *\n * @param sleeveNumber - Index of the sleeve to start taking class.\n *\n * @param university - Name of the university to attend.\n *\n * @param className - Name of the class to follow.\n *\n * @returns True if this action was set successfully, false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "setToUniversityCourse(sleeveNumber: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ", university: "
},
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ", className: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:33:14 +01:00
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"parameterName": "university",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"parameterName": "className",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
2021-11-03 05:33:14 +01:00
"name": "setToUniversityCourse"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#travel:member(1)",
"docComment": "/**\n * Make a sleeve travel to another city.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Return a boolean indicating whether or not the sleeve reached destination.\n *\n * @param sleeveNumber - Index of the sleeve to travel.\n *\n * @param cityName - Name of the destination city.\n *\n * @returns True if the sleeve reached destination, false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "travel(sleeveNumber: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ", cityName: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "cityName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "travel"
2021-10-30 18:34:14 +02:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveInformation:interface",
"docComment": "/**\n * Object representing sleeve information.\n *\n * @public\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface SleeveInformation "
2021-10-30 18:34:14 +02:00
}
],
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "SleeveInformation",
2021-10-30 18:34:14 +02:00
"members": [
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveInformation#city:member",
"docComment": "/**\n * location of the sleeve\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "city: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "city",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveInformation#earningsForPlayer:member",
"docComment": "/**\n * earnings synchronized to the player\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "earningsForPlayer: "
},
{
"kind": "Reference",
"text": "SleeveWorkGains",
"canonicalReference": "bitburner!SleeveWorkGains:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "earningsForPlayer",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#earningsForSleeves:member",
"docComment": "/**\n * earnings synchronized to other sleeves\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "earningsForSleeves: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Reference",
"text": "SleeveWorkGains",
"canonicalReference": "bitburner!SleeveWorkGains:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "earningsForSleeves",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveInformation#earningsForTask:member",
"docComment": "/**\n * earnings for this sleeve\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "earningsForTask: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Reference",
"text": "SleeveWorkGains",
"canonicalReference": "bitburner!SleeveWorkGains:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "earningsForTask",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveInformation#hp:member",
"docComment": "/**\n * current hp of the sleeve\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "hp: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "hp",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveInformation#jobs:member",
"docComment": "/**\n * jobs available to the sleeve\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "jobs: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "jobs",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveInformation#jobTitle:member",
"docComment": "/**\n * job titles available to the sleeve\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "jobTitle: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "jobTitle",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveInformation#maxHp:member",
"docComment": "/**\n * max hp of the sleeve\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "maxHp: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "maxHp",
2021-11-03 05:27:21 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveInformation#mult:member",
"docComment": "/**\n * sleeve multipliers\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "mult: "
2021-11-03 05:27:21 +01:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Reference",
"text": "CharacterMult",
"canonicalReference": "bitburner!CharacterMult:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "mult",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveInformation#timeWorked:member",
"docComment": "/**\n * time spent on the current task in milliseconds\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "timeWorked: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "timeWorked",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveInformation#tor:member",
"docComment": "/**\n * does this sleeve have access to the tor router\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "tor: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "tor",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveInformation#workRepGain:member",
"docComment": "/**\n * faction or company reputation gained for the current task\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "workRepGain: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "workRepGain",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!SleeveSkills:interface",
"docComment": "/**\n * Object representing a sleeve stats.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface SleeveSkills "
2021-11-03 05:33:14 +01:00
}
],
"releaseTag": "Public",
"name": "SleeveSkills",
"members": [
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveSkills#agility:member",
"docComment": "/**\n * current agility of the sleeve\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "agility: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "agility",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveSkills#charisma:member",
"docComment": "/**\n * current charisma of the sleeve\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "charisma: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "charisma",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveSkills#defense:member",
"docComment": "/**\n * current defense of the sleeve\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "defense: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "defense",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveSkills#dexterity:member",
"docComment": "/**\n * current dexterity of the sleeve\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "dexterity: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "dexterity",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveSkills#hacking:member",
2021-11-03 05:33:14 +01:00
"docComment": "/**\n * current hacking skill of the sleeve\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "hacking: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hacking",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveSkills#shock:member",
"docComment": "/**\n * current shock of the sleeve [0-100]\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "shock: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "shock",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveSkills#strength:member",
"docComment": "/**\n * current strength of the sleeve\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "strength: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "strength",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveSkills#sync:member",
"docComment": "/**\n * current sync of the sleeve [0-100]\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "sync: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-10-30 21:46:34 +02:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "sync",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!SleeveTask:interface",
"docComment": "/**\n * Object representing a sleeve current task.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface SleeveTask "
2021-11-03 05:33:14 +01:00
}
],
"releaseTag": "Public",
"name": "SleeveTask",
"members": [
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveTask#crime:member",
"docComment": "/**\n * crime currently attempting, if any\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "crime: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "crime",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveTask#factionWorkType:member",
"docComment": "/**\n * faction work type being performed, if any\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "factionWorkType: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "factionWorkType",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveTask#gymStatType:member",
"docComment": "/**\n * stat being trained at the gym, if any\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "gymStatType: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "gymStatType",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveTask#location:member",
"docComment": "/**\n * location of the task, if any\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "location: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "location",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveTask#task:member",
"docComment": "/**\n * task type\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "task: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "task",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
}
2021-11-03 05:33:14 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!SleeveWorkGains:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface SleeveWorkGains "
2021-11-03 05:33:14 +01:00
}
],
"releaseTag": "Public",
"name": "SleeveWorkGains",
"members": [
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveWorkGains#workAgiExpGain:member",
"docComment": "/**\n * agility exp gained from work\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "workAgiExpGain: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "workAgiExpGain",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:27:21 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveWorkGains#workChaExpGain:member",
"docComment": "/**\n * charisma exp gained from work\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "workChaExpGain: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "workChaExpGain",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveWorkGains#workDefExpGain:member",
"docComment": "/**\n * defense exp gained from work,\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "workDefExpGain: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "workDefExpGain",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveWorkGains#workDexExpGain:member",
"docComment": "/**\n * dexterity exp gained from work\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "workDexExpGain: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "workDexExpGain",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveWorkGains#workHackExpGain:member",
"docComment": "/**\n * hacking exp gained from work\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "workHackExpGain: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "workHackExpGain",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveWorkGains#workMoneyGain:member",
"docComment": "/**\n * money gained from work\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "workMoneyGain: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "workMoneyGain",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SleeveWorkGains#workStrExpGain:member",
"docComment": "/**\n * strength exp gained from work\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "workStrExpGain: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "workStrExpGain",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!SourceFileLvl:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface SourceFileLvl "
2021-11-03 05:33:14 +01:00
}
],
"releaseTag": "Public",
"name": "SourceFileLvl",
"members": [
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SourceFileLvl#lvl:member",
"docComment": "/**\n * The level of the source file\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "lvl: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "lvl",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:27:21 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!SourceFileLvl#n:member",
"docComment": "/**\n * The number of the source file\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "n: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "n",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!StockOrder:interface",
"docComment": "/**\n * Return value of {@link TIX.getOrders | getOrders}\n *\n * @public\n */\n",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": "export interface StockOrder "
2021-11-03 05:33:14 +01:00
}
],
"releaseTag": "Public",
"name": "StockOrder",
"members": [
{
"kind": "IndexSignature",
"canonicalReference": "bitburner!StockOrder:index(1)",
"docComment": "/**\n * Stock Symbol\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "[key: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "]: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Reference",
2021-11-03 05:33:14 +01:00
"text": "StockOrderObject",
"canonicalReference": "bitburner!StockOrderObject:interface"
},
{
"kind": "Content",
"text": "[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 5
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "key",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
]
2021-10-30 18:34:14 +02:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!StockOrderObject:interface",
"docComment": "/**\n * Value in map of {@link StockOrder}\n *\n * @public\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface StockOrderObject "
2021-10-30 18:34:14 +02:00
}
],
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "StockOrderObject",
2021-10-30 18:34:14 +02:00
"members": [
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!StockOrderObject#position:member",
"docComment": "/**\n * Order position\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "position: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "position",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!StockOrderObject#price:member",
"docComment": "/**\n * Price per share\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "price: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "price",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!StockOrderObject#shares:member",
"docComment": "/**\n * Number of shares\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "shares: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"name": "shares",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!StockOrderObject#type:member",
"docComment": "/**\n * Order type\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "type",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!TIX:interface",
2021-10-30 21:46:34 +02:00
"docComment": "/**\n * Stock market API\n *\n * @public\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-10-30 22:03:34 +02:00
"text": "export interface TIX "
2021-10-30 18:34:14 +02:00
}
],
"releaseTag": "Public",
"name": "TIX",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#buy:member(1)",
2021-10-30 22:03:34 +02:00
"docComment": "/**\n * Buy stocks.\n *\n * @remarks\n *\n * RAM cost: 2.5 GB Attempts to purchase shares of a stock using a Market Order.\n *\n * If the player does not have enough money to purchase the specified number of shares, then no shares will be purchased. Remember that every transaction on the stock exchange costs a certain commission fee.\n *\n * If this function successfully purchases the shares, it will return the stock price at which each share was purchased. Otherwise, it will return 0.\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares to purchased. Must be positive. Will be rounded to nearest integer.\n *\n * @returns The stock price at which each share was purchased, otherwise 0 if the shares weren't purchased.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "buy(sym: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", shares: "
},
{
"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": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "shares",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "buy"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#cancelOrder:member(1)",
2021-10-30 22:03:34 +02:00
"docComment": "/**\n * Cancel order for stocks.\n *\n * @remarks\n *\n * RAM cost: 2.5 GB Cancels an oustanding Limit or Stop order on the stock market.\n *\n * The ability to use limit and stop orders is **not** immediately available to the player and must be unlocked later on in the game.\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares for order. Must be positive. Will be rounded to nearest integer.\n *\n * @param price - Execution price for the order.\n *\n * @param type - Type of order.\n *\n * @param pos - Specifies whether the order is a “Long” or “Short” position.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "cancelOrder(sym: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", shares: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", price: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", type: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", pos: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "shares",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "price",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
},
{
"parameterName": "pos",
"parameterTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
}
}
],
"name": "cancelOrder"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getAskPrice:member(1)",
2021-10-30 22:03:34 +02:00
"docComment": "/**\n * Returns the ask price of that stock.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * @param sym - Stock symbol.\n *\n * @returns The ask price of a stock.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getAskPrice(sym: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getAskPrice"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getBidPrice:member(1)",
2021-10-30 22:03:34 +02:00
"docComment": "/**\n * Returns the bid price of that stock.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * @param sym - Stock symbol.\n *\n * @returns The bid price of a stock.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getBidPrice(sym: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getBidPrice"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getForecast:member(1)",
2021-10-30 22:03:34 +02:00
"docComment": "/**\n * Returns the probability that the specified stocks price will increase (as opposed to decrease) during the next tick.\n *\n * @remarks\n *\n * RAM cost: 2.5 GB The probability is returned as a decimal value, NOT a percentage (e.g. if a stock has a 60% chance of increasing, then this function will return 0.6, NOT 60).\n *\n * In other words, if this function returned 0.30 for a stock, then this means that the stocks price has a 30% chance of increasing and a 70% chance of decreasing during the next tick.\n *\n * In order to use this function, you must first purchase access to the Four Sigma (4S) Market Data TIX API.\n *\n * @param sym - Stock symbol.\n *\n * @returns Probability that the specified stocks price will increase (as opposed to decrease) during the next tick.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getForecast(sym: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getForecast"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getMaxShares:member(1)",
2021-10-30 22:03:34 +02:00
"docComment": "/**\n * Returns the maximum number of shares of a stock.\n *\n * @remarks\n *\n * RAM cost: 2 GB This is the maximum amount of the stock that can be purchased in both the Long and Short positions combined.\n *\n * @param sym - Stock symbol.\n *\n * @returns Maximum number of shares that the stock has.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getMaxShares(sym: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getMaxShares"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getOrders:member(1)",
2021-11-03 05:27:21 +01:00
"docComment": "/**\n * Returns your order book for the stock market.\n *\n * @remarks\n *\n * RAM cost: 2.5 GB This is an object containing information for all the Limit and Stop Orders you have in the stock market. The object has the following structure:\n * ```ts\n * {\n * string1: [ // Array of orders for this stock\n * {\n * shares: Order quantity\n * price: Order price\n * type: Order type\n * position: Either \"L\" or \"S\" for Long or Short position\n * },\n * {\n * ...\n * },\n * ...\n * ],\n * string2: [ // Array of orders for this stock\n * ...\n * ],\n * ...\n * }\n * ```\n *\n * The “Order type” property can have one of the following four values: \"Limit Buy Order\", \"Limit Sell Order\", \"Stop Buy Order\", \"Stop Sell Order\". Note that the order book will only contain information for stocks that you actually have orders in.\n *\n * @returns Object containing information for all the Limit and Stop Orders you have in the stock market.\n *\n * @example\n * ```ts\n * \"If you do not have orders in Nova Medical (NVMD), then the returned object will not have a “NVMD” property.\"\n * {\n * ECP: [\n * {\n * shares: 5,\n * price: 100,000\n * type: \"Stop Buy Order\",\n * position: \"S\",\n * },\n * {\n * shares: 25,\n * price: 125,000\n * type: \"Limit Sell Order\",\n * position: \"L\",\n * },\n * ],\n * SYSC: [\n * {\n * shares: 100,\n * price: 10,000\n * type: \"Limit Buy Order\",\n * position: \"L\",\n * },\n * ],\n * }\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getOrders(): "
},
{
"kind": "Reference",
"text": "StockOrder",
2021-11-03 05:33:14 +01:00
"canonicalReference": "bitburner!StockOrder:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getOrders"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getPosition:member(1)",
2021-10-30 22:03:34 +02:00
"docComment": "/**\n * Returns the players position in a stock.\n *\n * @remarks\n *\n * RAM cost: 2 GB Returns an array of four elements that represents the players position in a stock.\n *\n * The first element is the returned array is the number of shares the player owns of the stock in the Long position. The second element in the array is the average price of the players shares in the Long position.\n *\n * The third element in the array is the number of shares the player owns of the stock in the Short position. The fourth element in the array is the average price of the players Short position.\n *\n * All elements in the returned array are numeric.\n *\n * @param sym - Stock symbol.\n *\n * @returns Array of four elements that represents the players position in a stock.\n *\n * @example\n * ```ts\n * pos = getPosition(\"ECP\");\n * shares = pos[0];\n * avgPx = pos[1];\n * sharesShort = pos[2];\n * avgPxShort = pos[3];\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getPosition(sym: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "[number, number, number, number]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getPosition"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getPrice:member(1)",
2021-10-30 22:03:34 +02:00
"docComment": "/**\n * Returns the price of a stock\n *\n * @remarks\n *\n * RAM cost: 2 GB The stocks price is the average of its bid and ask price.\n *\n * @param sym - Stock symbol.\n *\n * @returns The price of a stock.\n *\n * @example\n * ```ts\n * getPrice(\"FISG\");\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getPrice(sym: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getPrice"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getPurchaseCost:member(1)",
2021-10-30 22:03:34 +02:00
"docComment": "/**\n * Calculates cost of buying stocks.\n *\n * @remarks\n *\n * RAM cost: 2 GB Calculates and returns how much it would cost to buy a given number of shares of a stock. This takes into account spread, large transactions influencing the price of the stock and commission fees.\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares to purchase.\n *\n * @param posType - Specifies whether the order is a “Long” or “Short” position.\n *\n * @returns Cost to buy a given number of shares of a stock.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getPurchaseCost(sym: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", shares: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", posType: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "shares",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "posType",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "getPurchaseCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getSaleGain:member(1)",
2021-10-30 22:03:34 +02:00
"docComment": "/**\n * Calculate profit of setting stocks.\n *\n * @remarks\n *\n * RAM cost: 2 GB Calculates and returns how much you would gain from selling a given number of shares of a stock. This takes into account spread, large transactions influencing the price of the stock and commission fees.\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares to sell.\n *\n * @param posType - Specifies whether the order is a “Long” or “Short” position.\n *\n * @returns Gain from selling a given number of shares of a stock.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getSaleGain(sym: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", shares: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", posType: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "shares",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "posType",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "getSaleGain"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getSymbols:member(1)",
2021-10-30 21:46:34 +02:00
"docComment": "/**\n * Returns an array of the symbols of the tradable stocks\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * @returns Array of the symbols of the tradable stocks.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getSymbols(): "
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getSymbols"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getVolatility:member(1)",
2021-10-30 22:03:34 +02:00
"docComment": "/**\n * Returns the volatility of the specified stock.\n *\n * @remarks\n *\n * RAM cost: 2.5 GB Volatility represents the maximum percentage by which a stocks price can change every tick. The volatility is returned as a decimal value, NOT a percentage (e.g. if a stock has a volatility of 3%, then this function will return 0.03, NOT 3).\n *\n * In order to use this function, you must first purchase access to the Four Sigma (4S) Market Data TIX API.\n *\n * @param sym - Stock symbol.\n *\n * @returns Volatility of the specified stock.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "getVolatility(sym: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getVolatility"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#placeOrder:member(1)",
2021-10-30 22:03:34 +02:00
"docComment": "/**\n * Place order for stocks.\n *\n * @remarks\n *\n * RAM cost: 2.5 GB Places an order on the stock market. This function only works for Limit and Stop Orders.\n *\n * The ability to place limit and stop orders is **not** immediately available to the player and must be unlocked later on in the game.\n *\n * Returns true if the order is successfully placed, and false otherwise.\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares for order. Must be positive. Will be rounded to nearest integer.\n *\n * @param price - Execution price for the order.\n *\n * @param type - Type of order.\n *\n * @param pos - Specifies whether the order is a “Long” or “Short” position.\n *\n * @returns True if the order is successfully placed, and false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "placeOrder(sym: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", shares: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", price: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", type: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", pos: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "shares",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "price",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
},
{
"parameterName": "pos",
"parameterTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
}
}
],
"name": "placeOrder"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#purchase4SMarketData:member(1)",
2021-10-30 22:03:34 +02:00
"docComment": "/**\n * Purchase 4S Market Data Access.\n *\n * @remarks\n *\n * RAM cost: 2.5 GB\n *\n * @returns True if you successfully purchased it or if you already have access, false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "purchase4SMarketData(): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "purchase4SMarketData"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#purchase4SMarketDataTixApi:member(1)",
2021-10-30 22:03:34 +02:00
"docComment": "/**\n * Purchase 4S Market Data TIX API Access.\n *\n * @remarks\n *\n * RAM cost: 2.5 GB\n *\n * @returns True if you successfully purchased it or if you already have access, false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "purchase4SMarketDataTixApi(): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "purchase4SMarketDataTixApi"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#sell:member(1)",
2021-10-30 22:03:34 +02:00
"docComment": "/**\n * Sell stocks.\n *\n * @remarks\n *\n * RAM cost: 2.5 GB Attempts to sell shares of a stock using a Market Order.\n *\n * If the specified number of shares in the function exceeds the amount that the player actually owns, then this function will sell all owned shares. Remember that every transaction on the stock exchange costs a certain commission fee.\n *\n * The net profit made from selling stocks with this function is reflected in the scripts statistics. This net profit is calculated as:\n *\n * shares * (sell_price - average_price_of_purchased_shares)\n *\n * If the sale is successful, this function will return the stock price at which each share was sold. Otherwise, it will return 0.\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares to sell. Must be positive. Will be rounded to nearest integer.\n *\n * @returns The stock price at which each share was sold, otherwise 0 if the shares weren't sold.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "sell(sym: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", shares: "
},
{
"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": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "shares",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "sell"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#sellShort:member(1)",
2021-10-30 22:03:34 +02:00
"docComment": "/**\n * Sell short stock.\n *\n * @remarks\n *\n * RAM cost: 2.5 GB Attempts to sell a short position of a stock using a Market Order.\n *\n * The ability to short a stock is **not** immediately available to the player and must be unlocked later on in the game.\n *\n * If the specified number of shares exceeds the amount that the player actually owns, then this function will sell all owned shares. Remember that every transaction on the stock exchange costs a certain commission fee.\n *\n * If the sale is successful, this function will return the stock price at which each share was sold. Otherwise it will return 0.\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares to sell. Must be positive. Will be rounded to nearest integer.\n *\n * @returns The stock price at which each share was sold, otherwise 0 if the shares weren't sold.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "sellShort(sym: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", shares: "
},
{
"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": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "shares",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "sellShort"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#short:member(1)",
2021-10-30 22:03:34 +02:00
"docComment": "/**\n * Short stocks.\n *\n * @remarks\n *\n * RAM cost: 2.5 GB Attempts to purchase a short position of a stock using a Market Order.\n *\n * The ability to short a stock is **not** immediately available to the player and must be unlocked later on in the game.\n *\n * If the player does not have enough money to purchase the specified number of shares, then no shares will be purchased. Remember that every transaction on the stock exchange costs a certain commission fee.\n *\n * If the purchase is successful, this function will return the stock price at which each share was purchased. Otherwise, it will return 0.\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares to short. Must be positive. Will be rounded to nearest integer.\n *\n * @returns The stock price at which each share was purchased, otherwise 0 if the shares weren't purchased.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "short(sym: "
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ", shares: "
},
{
"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": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "shares",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "short"
}
],
"extendsTokenRanges": []
}
]
}
]
}