bitburner-src/input/bitburner.api.json

33194 lines
1.1 MiB
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": [
2021-12-03 22:14:13 +01:00
{
"kind": "Interface",
"canonicalReference": "bitburner!ActiveFragment:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface ActiveFragment "
}
],
"releaseTag": "Public",
"name": "ActiveFragment",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!ActiveFragment#avgCharge:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "avgCharge: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "avgCharge",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!ActiveFragment#id:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "id: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "id",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!ActiveFragment#numCharge:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "numCharge: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "numCharge",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!ActiveFragment#rotation:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "rotation: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "rotation",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!ActiveFragment#x:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "x: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "x",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!ActiveFragment#y:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "y: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "y",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
2021-10-30 18:34:14 +02:00
{
"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",
2022-01-08 19:25:06 +01:00
"text": "threads?: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2022-01-08 19:25:06 +01:00
"isOptional": true,
2021-10-30 18:34:14 +02:00
"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
}
},
2022-01-16 00:39:37 +01:00
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#GangSoftcap:member",
"docComment": "/**\n * Influences the respect gain and money gain of your gang.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "GangSoftcap: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "GangSoftcap",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-10-30 18:34:14 +02:00
{
"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
}
},
2022-01-16 00:39:37 +01:00
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#PurchasedServerSoftCap:member",
"docComment": "/**\n * Influences cost of any purchased server at or above 128GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "PurchasedServerSoftCap: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "PurchasedServerSoftCap",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-10-30 18:34:14 +02:00
{
"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",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Influences how much the money on a server can be reduced when a script performs a hack against it.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
"text": "ScriptHackMoney: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "ScriptHackMoney",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2022-01-16 00:39:37 +01:00
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#ScriptHackMoneyGain:member",
"docComment": "/**\n * Influences how much of the money stolen by a scripted hack will be added to the player's money.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ScriptHackMoneyGain: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "ScriptHackMoneyGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-10-30 18:34:14 +02:00
{
"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
}
},
2022-01-16 00:39:37 +01:00
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#StaneksGiftExtraSize:member",
"docComment": "/**\n * Influences the size of the gift\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "StaneksGiftExtraSize: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "StaneksGiftExtraSize",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#StaneksGiftPowerMultiplier:member",
"docComment": "/**\n * Influences the power of the gift\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "StaneksGiftPowerMultiplier: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "StaneksGiftPowerMultiplier",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-10-30 18:34:14 +02:00
{
"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
}
2022-01-16 00:39:37 +01:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#WorldDaemonDifficulty:member",
"docComment": "/**\n * Influences the hacking skill required to backdoor the world daemon.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "WorldDaemonDifficulty: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "WorldDaemonDifficulty",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
}
],
"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)",
2022-01-08 19:25:06 +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 * // NS1:\n * function getStaminaPercentage() {\n * var res = bladeburner.getStamina();\n * return res[0] / res[1];\n * }\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * function getStaminaPercentage() {\n * const [current, max] = ns.bladeburner.getStamina();\n * return current / max;\n * }\n * ```\n *\n */\n",
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",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Coding Contract 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-12-16 18:59:11 +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, data type depends on contract type.;\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",
2021-12-16 18:59:11 +01:00
"text": "any"
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": "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",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Corporation:interface",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Corporation API\n *\n * @public\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "export interface Corporation extends "
},
{
"kind": "Reference",
"text": "WarehouseAPI",
"canonicalReference": "bitburner!WarehouseAPI:interface"
},
{
"kind": "Content",
"text": ", "
},
{
"kind": "Reference",
"text": "OfficeAPI",
"canonicalReference": "bitburner!OfficeAPI:interface"
},
{
"kind": "Content",
"text": " "
2021-10-30 18:34:14 +02:00
}
],
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "Corporation",
2021-10-30 18:34:14 +02:00
"members": [
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Corporation#expandCity:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Expand to a new city\n *\n * @param divisionName - Name of the division\n *\n * @param cityName - Name of the city\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "expandCity(divisionName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", cityName: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
},
{
"kind": "Content",
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "divisionName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "cityName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "expandCity"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Corporation#expandIndustry:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Expand to a new industry\n *\n * @param industryType - Name of the industry\n *\n * @param divisionName - Name of the division\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-09 02:03:22 +01:00
"text": "expandIndustry(industryType: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", divisionName: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
},
{
"kind": "Content",
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
2021-12-09 02:03:22 +01:00
"parameterName": "industryType",
2021-12-04 05:08:11 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "divisionName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "expandIndustry"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Corporation#getCorporation:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Get corporation data\n *\n * @returns Corporation data\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getCorporation(): "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "CorporationInfo",
"canonicalReference": "bitburner!CorporationInfo:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getCorporation"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Corporation#getDivision:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Get division data\n *\n * @param divisionName - Name of the division\n *\n * @returns Division data\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getDivision(divisionName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Division",
"canonicalReference": "bitburner!Division:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "divisionName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getDivision"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Corporation#issueDividends:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Issue dividends\n *\n * @param percent - Percent of profit to issue as dividends.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "issueDividends(percent: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
2021-12-04 05:08:11 +01:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "percent",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "issueDividends"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Corporation#levelUpgrade:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Level an upgrade.\n *\n * @param upgradeName - Name of the upgrade\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "levelUpgrade(upgradeName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "upgradeName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "levelUpgrade"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Corporation#unlockUpgrade:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Unlock an upgrade.\n *\n * @param upgradeName - Name of the upgrade\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "unlockUpgrade(upgradeName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "upgradeName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "unlockUpgrade"
}
],
"extendsTokenRanges": [
{
"startIndex": 1,
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
2021-12-04 05:08:11 +01:00
{
"startIndex": 3,
"endIndex": 5
}
]
},
{
"kind": "Interface",
"canonicalReference": "bitburner!CorporationInfo:interface",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * General info about a corporation\n *\n * @public\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "interface CorporationInfo "
}
],
"releaseTag": "Public",
"name": "CorporationInfo",
"members": [
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CorporationInfo#expenses:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Expenses per second this cycle\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "expenses: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "expenses",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CorporationInfo#funds:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Funds available\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "funds: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "funds",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CorporationInfo#issuedShares:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Amount of shares issued\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "issuedShares: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "issuedShares",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CorporationInfo#name:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Name of the corporation\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "name",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CorporationInfo#numShares:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Amount of share owned\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "numShares: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "numShares",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CorporationInfo#public:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Indicating if the company is public\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "public: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "public",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CorporationInfo#revenue:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Revenue per second this cycle\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "revenue: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "revenue",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CorporationInfo#sharePrice:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Price of the shares\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "sharePrice: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "sharePrice",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CorporationInfo#shareSaleCooldown:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Cooldown until shares can be sold again\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "shareSaleCooldown: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "shareSaleCooldown",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CorporationInfo#state:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * State of the corporation. Possible states are START, PURCHASE, PRODUCTION, SALE, EXPORT.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "state: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "state",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CorporationInfo#totalShares:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Total number of shares issues by this corporation\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "totalShares: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "totalShares",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
2021-11-03 05:33:14 +01:00
{
"kind": "Interface",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CrimeStats:interface",
"docComment": "/**\n * Data representing the internal values of a crime.\n *\n * @public\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "export interface CrimeStats "
2021-11-03 05:33:14 +01:00
}
],
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "CrimeStats",
2021-11-03 05:33:14 +01:00
"members": [
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CrimeStats#agility_exp:member",
"docComment": "/**\n * agility exp gained from crime\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "agility_exp: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "agility_exp",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CrimeStats#agility_success_weight:member",
"docComment": "/**\n * agility level impact on success change of the crime\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "agility_success_weight: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "agility_success_weight",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CrimeStats#charisma_exp:member",
"docComment": "/**\n * charisma exp gained from crime\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "charisma_exp: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "charisma_exp",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CrimeStats#charisma_success_weight:member",
"docComment": "/**\n * charisma level impact on success change of the crime\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "charisma_success_weight: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "charisma_success_weight",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CrimeStats#defense_exp:member",
"docComment": "/**\n * defense exp gained from crime\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "defense_exp: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "defense_exp",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CrimeStats#defense_success_weight:member",
"docComment": "/**\n * defense level impact on success change of the crime\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "defense_success_weight: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "defense_success_weight",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CrimeStats#dexterity_exp:member",
"docComment": "/**\n * dexterity exp gained from crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "dexterity_exp: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "dexterity_exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CrimeStats#dexterity_success_weight:member",
"docComment": "/**\n * dexterity level impact on success change of the crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "dexterity_success_weight: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "dexterity_success_weight",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CrimeStats#difficulty:member",
"docComment": "/**\n * Number representing the difficulty of the crime. Used for success chance calculations\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "difficulty: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "difficulty",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CrimeStats#hacking_exp:member",
"docComment": "/**\n * hacking exp gained from crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hacking_exp: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "hacking_exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
2021-10-30 18:34:14 +02:00
{
2021-12-03 22:14:13 +01:00
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CrimeStats#hacking_success_weight:member",
"docComment": "/**\n * hacking level impact on success change of the crime\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hacking_success_weight: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-03 22:14:13 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-03 22:14:13 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "hacking_success_weight",
2021-12-03 22:14:13 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CrimeStats#intelligence_exp:member",
"docComment": "/**\n * intelligence exp gained from crime\n */\n",
2021-12-03 22:14:13 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
2021-12-03 22:14:13 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "intelligence_exp: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-03 22:14:13 +01:00
"text": "number"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "intelligence_exp",
2021-12-03 22:14:13 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-03 22:14:13 +01:00
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CrimeStats#karma:member",
"docComment": "/**\n * Amount of karma lost for successfully committing this crime\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "karma: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-03 22:14:13 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-03 22:14:13 +01:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "karma",
2021-12-03 22:14:13 +01:00
"propertyTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-12-03 22:14:13 +01:00
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-03 22:14:13 +01:00
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CrimeStats#kills:member",
"docComment": "/**\n * How many people die as a result of this crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "kills: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
2021-12-03 22:14:13 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "kills",
2021-12-03 22:14:13 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!CrimeStats#money:member",
"docComment": "/**\n * How much money is given\n */\n",
2021-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "money: "
},
{
"kind": "Content",
2021-12-03 22:14:13 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "money",
2021-12-03 22:14:13 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
2021-12-03 22:14:13 +01:00
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#name:member",
"docComment": "/**\n * Name of crime\n */\n",
2021-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "name: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "name",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-03 22:14:13 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#strength_exp:member",
"docComment": "/**\n * strength exp gained from crime\n */\n",
2021-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "strength_exp: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "strength_exp",
"propertyTypeTokenRange": {
2021-12-03 22:14:13 +01:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
2021-12-03 22:14:13 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#strength_success_weight:member",
"docComment": "/**\n * strength level impact on success change of the crime\n */\n",
2021-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "strength_success_weight: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "strength_success_weight",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#time:member",
"docComment": "/**\n * Milliseconds it takes to attempt the crime\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "time: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "time",
"propertyTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#type:member",
"docComment": "/**\n * Description of the crime activity\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "type: "
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-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "type",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Division:interface",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Corporation division\n *\n * @public\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "interface Division "
}
],
"releaseTag": "Public",
"name": "Division",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Division#awareness:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Awareness of the division\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "awareness: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "awareness",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Division#cities:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Cities in which this division has expanded\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "cities: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "cities",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Division#lastCycleExpenses:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Expenses last cycle\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "lastCycleExpenses: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "lastCycleExpenses",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Division#lastCycleRevenue:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Revenue last cycle\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "lastCycleRevenue: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "lastCycleRevenue",
"propertyTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Division#name:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Name of the division\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +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",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "name",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Division#popularity:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Popularity of the division\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "popularity: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "popularity",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Division#prodMult:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Production multiplier\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "prodMult: "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "prodMult",
"propertyTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Division#research:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Amount of research in that division\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "research: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "research",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Division#thisCycleExpenses:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Expenses this cycle\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "thisCycleExpenses: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "thisCycleExpenses",
"propertyTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Division#thisCycleRevenue:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Revenue this cycle\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "thisCycleRevenue: "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "thisCycleRevenue",
"propertyTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Division#type:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Type of division, like Aggriculture\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "type: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "type",
"propertyTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Division#upgrades:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * All research bought\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "upgrades: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "upgrades",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Employee:interface",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Employee in an office\n *\n * @public\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "interface Employee "
}
],
"releaseTag": "Public",
"name": "Employee",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Employee#cha:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "cha: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "cha",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Employee#cre:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "cre: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "cre",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Employee#eff:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "eff: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "eff",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Employee#ene:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Energy\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "ene: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "ene",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Employee#exp:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "exp: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Employee#hap:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Happiness\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hap: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "hap",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Employee#int:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "int: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "int",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Employee#loc:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * City\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "loc: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "loc",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Employee#mor:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Morale\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "mor: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "mor",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Employee#name:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Name of the employee\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "name",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Employee#pos:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Current job\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "pos: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "pos",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Employee#sal:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Salary\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "sal: "
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-12-04 05:08:11 +01:00
"name": "sal",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!EmployeeJobs:interface",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Object representing the number of employee in each job.\n *\n * @public\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "interface EmployeeJobs "
}
],
"releaseTag": "Public",
"name": "EmployeeJobs",
"members": [
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!EmployeeJobs#\"Research & Development\":member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "\"Research & Development\": "
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-12-04 05:08:11 +01:00
"name": "\"Research & Development\"",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!EmployeeJobs#Business:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "Business: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "Business",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!EmployeeJobs#Engineer:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "Engineer: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "Engineer",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!EmployeeJobs#Management:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "Management: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "Management",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!EmployeeJobs#Operations:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "Operations: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "Operations",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!EmployeeJobs#Training:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "Training: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "Training",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!EmployeeJobs#Unassigned:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "Unassigned: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "Unassigned",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!EquipmentStats:interface",
"docComment": "/**\n * Object representing data representing a gang member equipment.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface EquipmentStats "
}
],
"releaseTag": "Public",
"name": "EquipmentStats",
"members": [
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!EquipmentStats#agi:member",
"docComment": "/**\n * Agility multiplier\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "agi?: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": true,
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "agi",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!EquipmentStats#cha:member",
"docComment": "/**\n * Charisma multiplier\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "cha?: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": true,
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "cha",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!EquipmentStats#def:member",
"docComment": "/**\n * Defense multiplier\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "def?: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": true,
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "def",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!EquipmentStats#dex:member",
"docComment": "/**\n * Dexterity multiplier\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "dex?: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": true,
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "dex",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!EquipmentStats#hack:member",
"docComment": "/**\n * Hacking multiplier\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hack?: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": true,
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "hack",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!EquipmentStats#str:member",
"docComment": "/**\n * Strength multiplier\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "str?: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": true,
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "str",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
}
],
"extendsTokenRanges": []
},
2022-01-16 00:39:37 +01:00
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!FilenameOrPID:type",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type FilenameOrPID = "
},
{
"kind": "Content",
"text": "number | string"
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "FilenameOrPID",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-12-04 05:08:11 +01:00
{
"kind": "Interface",
"canonicalReference": "bitburner!Formulas:interface",
"docComment": "/**\n * Formulas API\n *\n * @remarks\n *\n * You need Formulas.exe on your home computer to use this API.\n *\n * @public\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface Formulas "
}
],
"releaseTag": "Public",
"name": "Formulas",
"members": [
2021-12-09 00:19:30 +01:00
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Formulas#gang:member",
"docComment": "/**\n * Gang formulas\n */\n",
2021-12-09 00:19:30 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "gang: "
},
{
"kind": "Reference",
"text": "GangFormulas",
"canonicalReference": "bitburner!GangFormulas:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "gang",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Formulas#hacking:member",
"docComment": "/**\n * Hacking formulas\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hacking: "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "HackingFormulas",
"canonicalReference": "bitburner!HackingFormulas:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "hacking",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Formulas#hacknetNodes:member",
"docComment": "/**\n * Hacknet Nodes formulas\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hacknetNodes: "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "HacknetNodesFormulas",
"canonicalReference": "bitburner!HacknetNodesFormulas:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "hacknetNodes",
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-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Formulas#hacknetServers:member",
"docComment": "/**\n * Hacknet Servers formulas\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hacknetServers: "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "HacknetServersFormulas",
"canonicalReference": "bitburner!HacknetServersFormulas:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "hacknetServers",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Formulas#skills:member",
"docComment": "/**\n * Skills formulas\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "skills: "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "SkillsFormulas",
"canonicalReference": "bitburner!SkillsFormulas:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "skills",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Fragment:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface Fragment "
}
],
"releaseTag": "Public",
"name": "Fragment",
"members": [
2021-10-30 18:34:14 +02:00
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Fragment#id:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "id: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "id",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Fragment#limit:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "limit: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "limit",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Fragment#power:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "power: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "power",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Fragment#shape:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "shape: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean[][]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "shape",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Fragment#type:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "type: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "type",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Gang:interface",
"docComment": "/**\n * Gang API\n *\n * @remarks\n *\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this API.\n *\n * @public\n */\n",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "export interface Gang "
}
],
"releaseTag": "Public",
"name": "Gang",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#ascendMember:member(1)",
"docComment": "/**\n * Ascend a gang member.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Ascend the specified Gang Member.\n *\n * @param memberName - Name of member to ascend.\n *\n * @returns Object with info about the ascension results. undefined if ascension did not occur.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "ascendMember(memberName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "GangMemberAscension",
"canonicalReference": "bitburner!GangMemberAscension:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": " | undefined"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 5
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "memberName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "ascendMember"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#canRecruitMember:member(1)",
"docComment": "/**\n * Check if you can recruit a new gang member.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Returns boolean indicating whether a member can currently be recruited\n *\n * @returns True if a member can currently be recruited, false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "canRecruitMember(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "canRecruitMember"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "createGang(faction: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "faction",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "createGang"
2021-10-30 18:34:14 +02:00
},
2021-12-09 00:19:30 +01:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getAscensionResult:member(1)",
"docComment": "/**\n * Get the result of an ascension without ascending.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Get the result of an ascension without ascending.\n *\n * @param memberName - Name of member.\n *\n * @returns Object with info about the ascension results. undefined if ascension is impossible.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getAscensionResult(memberName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "GangMemberAscension",
"canonicalReference": "bitburner!GangMemberAscension:interface"
},
{
"kind": "Content",
"text": " | undefined"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 5
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "memberName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getAscensionResult"
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getBonusTime:member(1)",
"docComment": "/**\n * Get bonus time.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Returns the amount of accumulated “bonus time” (seconds) for the Gang mechanic.\n *\n * “Bonus time” is accumulated when the game is offline or if the game is inactive in the browser.\n *\n * “Bonus time” makes the game progress faster, up to 10x the normal speed.\n *\n * @returns Bonus time for the Gang mechanic in milliseconds.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getBonusTime(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getBonusTime"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getChanceToWinClash:member(1)",
"docComment": "/**\n * Get chance to win clash with other gang.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Returns the chance you have to win a clash with the specified gang. The chance is returned in decimal form, not percentage\n *\n * @param gangName - Target gang\n *\n * @returns Chance you have to win a clash with the specified gang.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getChanceToWinClash(gangName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "gangName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getChanceToWinClash"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getEquipmentCost:member(1)",
"docComment": "/**\n * Get cost of equipment.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Get the amount of money it takes to purchase a piece of Equipment or an Augmentation. If an invalid Equipment/Augmentation is specified, this function will return Infinity.\n *\n * @param equipName - Name of equipment.\n *\n * @returns Cost to purchase the specified Equipment/Augmentation (number). Infinity for invalid arguments\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getEquipmentCost(equipName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "equipName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getEquipmentCost"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getEquipmentNames:member(1)",
"docComment": "/**\n * List equipment names.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Get the name of all possible equipment/upgrades you can purchase for your Gang Members. This includes Augmentations.\n *\n * @returns Names of all Equipments/Augmentations.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getEquipmentNames(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getEquipmentNames"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getEquipmentStats:member(1)",
"docComment": "/**\n * Get stats of an equipment.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Get the specified equipment stats.\n *\n * @param equipName - Name of equipment.\n *\n * @returns A dictionary containing the stats of the equipment.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getEquipmentStats(equipName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "EquipmentStats",
"canonicalReference": "bitburner!EquipmentStats:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "equipName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getEquipmentStats"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getEquipmentType:member(1)",
"docComment": "/**\n * Get type of an equipment.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Get the specified equipment type.\n *\n * @param equipName - Name of equipment.\n *\n * @returns Type of the equipment.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getEquipmentType(equipName: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "equipName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getEquipmentType"
},
2021-11-03 05:33:14 +01:00
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getGangInformation:member(1)",
"docComment": "/**\n * Get information about your gang.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Get general information about the gang.\n *\n * @returns Object containing general information about the gang.\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getGangInformation(): "
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "GangGenInfo",
"canonicalReference": "bitburner!GangGenInfo:interface"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getGangInformation"
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getMemberInformation:member(1)",
"docComment": "/**\n * Get information about a specific gang member.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Get stat and equipment-related information about a Gang Member\n *\n * @param name - Name of member.\n *\n * @returns Object containing stat and equipment-related information about a Gang Member.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getMemberInformation(name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "GangMemberInfo",
"canonicalReference": "bitburner!GangMemberInfo:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getMemberInformation"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getMemberNames:member(1)",
"docComment": "/**\n * List all gang members.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Get the names of all Gang members\n *\n * @returns Names of all Gang members.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getMemberNames(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getMemberNames"
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getOtherGangInformation:member(1)",
"docComment": "/**\n * Get information about the other gangs.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Get territory and power information about all gangs.\n *\n * @returns Object containing territory and power information about all gangs.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getOtherGangInformation(): "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "GangOtherInfo",
"canonicalReference": "bitburner!GangOtherInfo:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getOtherGangInformation"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getTaskNames:member(1)",
"docComment": "/**\n * List member task names.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Get the name of all valid tasks that Gang members can be assigned to.\n *\n * @returns All valid tasks that Gang members can be assigned to.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getTaskNames(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getTaskNames"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getTaskStats:member(1)",
"docComment": "/**\n * Get stats of a task.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Get the stats of a gang task stats. This is typically used to evaluate which action should be executed next.\n *\n * @param name - Name of the task.\n *\n * @returns Detailed stats of a task.\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getTaskStats(name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "GangTaskStats",
"canonicalReference": "bitburner!GangTaskStats:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getTaskStats"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "inGang(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "inGang"
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#purchaseEquipment:member(1)",
"docComment": "/**\n * Purchase an equipment for a gang member.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * Attempt to purchase the specified Equipment/Augmentation for the specified Gang member.\n *\n * @param memberName - Name of Gang member to purchase the equipment for.\n *\n * @param equipName - Name of Equipment/Augmentation to purchase.\n *\n * @returns True if the equipment was successfully purchased. False otherwise\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "purchaseEquipment(memberName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ", equipName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "memberName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "equipName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "purchaseEquipment"
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#recruitMember:member(1)",
"docComment": "/**\n * Recruit a new gang member.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Attempt to recruit a new gang member.\n *\n * Possible reasons for failure: * Cannot currently recruit a new member * There already exists a member with the specified name\n *\n * @param name - Name of member to recruit.\n *\n * @returns True if the member was successfully recruited, false otherwise.\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "recruitMember(name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "recruitMember"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#setMemberTask:member(1)",
"docComment": "/**\n * Set gang member to task.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Attempts to assign the specified Gang Member to the specified task. If an invalid task is specified, the Gang member will be set to idle (“Unassigned”).\n *\n * @param memberName - Name of Gang member to assign.\n *\n * @param taskName - Task to assign.\n *\n * @returns True if the Gang Member was successfully assigned to the task, false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "setMemberTask(memberName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ", taskName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
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,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "memberName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "taskName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "setMemberTask"
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#setTerritoryWarfare:member(1)",
"docComment": "/**\n * Enable/Disable territory warfare.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * Set whether or not the gang should engage in territory warfare\n *\n * @param engage - Whether or not to engage in territory warfare.\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "setTerritoryWarfare(engage: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "engage",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "setTerritoryWarfare"
}
],
"extendsTokenRanges": []
},
2021-12-09 00:19:30 +01:00
{
"kind": "Interface",
"canonicalReference": "bitburner!GangFormulas:interface",
"docComment": "/**\n * Gang formulas\n *\n * @public\n */\n",
2021-12-09 00:19:30 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "interface GangFormulas "
}
],
"releaseTag": "Public",
"name": "GangFormulas",
"members": [
2021-12-09 18:59:46 +01:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!GangFormulas#ascensionMultiplier:member(1)",
"docComment": "/**\n * Calculate ascension mult.\n *\n * @param points - Amount of ascension points.\n *\n * @returns The calculated ascension mult.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ascensionMultiplier(points: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "points",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "ascensionMultiplier"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!GangFormulas#ascensionPointsGain:member(1)",
"docComment": "/**\n * Calculate ascension point gain.\n *\n * @param exp - Experience point before ascension.\n *\n * @returns The calculated ascension point gain.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ascensionPointsGain(exp: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "exp",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "ascensionPointsGain"
},
2021-12-09 00:19:30 +01:00
{
"kind": "MethodSignature",
2021-12-09 01:19:07 +01:00
"canonicalReference": "bitburner!GangFormulas#moneyGain:member(1)",
"docComment": "/**\n * Calculate money gain per tick.\n *\n * @param gang - Gang info from {@link Gang.getGangInformation | getGangInformation}\n *\n * @param member - Member info from {@link Gang.getMemberInformation | getMemberInformation}\n *\n * @param task - Task info from {@link Gang.getTaskStats | getTaskStats}\n *\n * @returns The calculated money gain.\n */\n",
2021-12-09 00:19:30 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-09 01:19:07 +01:00
"text": "moneyGain(gang: "
2021-12-09 00:19:30 +01:00
},
{
"kind": "Reference",
"text": "GangGenInfo",
"canonicalReference": "bitburner!GangGenInfo:interface"
},
{
"kind": "Content",
"text": ", member: "
},
{
"kind": "Reference",
"text": "GangMemberInfo",
"canonicalReference": "bitburner!GangMemberInfo:interface"
},
{
"kind": "Content",
"text": ", task: "
},
{
"kind": "Reference",
"text": "GangTaskStats",
"canonicalReference": "bitburner!GangTaskStats:interface"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "gang",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "member",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "task",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
2021-12-09 01:19:07 +01:00
"name": "moneyGain"
2021-12-09 00:19:30 +01:00
},
{
"kind": "MethodSignature",
2021-12-09 01:19:07 +01:00
"canonicalReference": "bitburner!GangFormulas#respectGain:member(1)",
"docComment": "/**\n * Calculate respect gain per tick.\n *\n * @param gang - Gang info from {@link Gang.getGangInformation | getGangInformation}\n *\n * @param member - Gang info from {@link Gang.getMemberInformation | getMemberInformation}\n *\n * @param task - Gang info from {@link Gang.getTaskStats | getTaskStats}\n *\n * @returns The calculated respect gain.\n */\n",
2021-12-09 00:19:30 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-09 01:19:07 +01:00
"text": "respectGain(gang: "
2021-12-09 00:19:30 +01:00
},
{
"kind": "Reference",
"text": "GangGenInfo",
"canonicalReference": "bitburner!GangGenInfo:interface"
},
{
"kind": "Content",
"text": ", member: "
},
{
"kind": "Reference",
"text": "GangMemberInfo",
"canonicalReference": "bitburner!GangMemberInfo:interface"
},
{
"kind": "Content",
"text": ", task: "
},
{
"kind": "Reference",
"text": "GangTaskStats",
"canonicalReference": "bitburner!GangTaskStats:interface"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "gang",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "member",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "task",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
2021-12-09 01:19:07 +01:00
"name": "respectGain"
2021-12-09 00:19:30 +01:00
},
{
"kind": "MethodSignature",
2021-12-09 01:19:07 +01:00
"canonicalReference": "bitburner!GangFormulas#wantedLevelGain:member(1)",
"docComment": "/**\n * Calculate wanted gain per tick.\n *\n * @param gang - Gang info from {@link Gang.getGangInformation | getGangInformation}\n *\n * @param member - Member info from {@link Gang.getMemberInformation | getMemberInformation}\n *\n * @param task - Task info from {@link Gang.getTaskStats | getTaskStats}\n *\n * @returns The calculated wanted gain.\n */\n",
2021-12-09 00:19:30 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-09 01:19:07 +01:00
"text": "wantedLevelGain(gang: "
2021-12-09 00:19:30 +01:00
},
{
"kind": "Reference",
"text": "GangGenInfo",
"canonicalReference": "bitburner!GangGenInfo:interface"
},
{
"kind": "Content",
"text": ", member: "
},
{
"kind": "Reference",
"text": "GangMemberInfo",
"canonicalReference": "bitburner!GangMemberInfo:interface"
},
{
"kind": "Content",
"text": ", task: "
},
{
"kind": "Reference",
"text": "GangTaskStats",
"canonicalReference": "bitburner!GangTaskStats:interface"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "gang",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "member",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "task",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
2021-12-09 01:19:07 +01:00
"name": "wantedLevelGain"
2021-12-09 00:19:30 +01:00
},
{
"kind": "MethodSignature",
2021-12-09 01:19:07 +01:00
"canonicalReference": "bitburner!GangFormulas#wantedPenalty:member(1)",
"docComment": "/**\n * Calculate the wanted penalty.\n *\n * @param gang - Gang info from {@link Gang.getGangInformation | getGangInformation}\n *\n * @returns The calculated wanted penalty.\n */\n",
2021-12-09 00:19:30 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-09 01:19:07 +01:00
"text": "wantedPenalty(gang: "
2021-12-09 00:19:30 +01:00
},
{
"kind": "Reference",
"text": "GangGenInfo",
"canonicalReference": "bitburner!GangGenInfo:interface"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "gang",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-09 01:19:07 +01:00
"name": "wantedPenalty"
2021-12-09 00:19:30 +01:00
}
],
"extendsTokenRanges": []
},
2021-12-04 05:08:11 +01:00
{
"kind": "Interface",
"canonicalReference": "bitburner!GangGenInfo:interface",
"docComment": "/**\n * Gang general info.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface GangGenInfo "
}
],
"releaseTag": "Public",
"name": "GangGenInfo",
"members": [
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
2021-12-04 05:08:11 +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-12-04 05:08:11 +01:00
"text": "faction: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"name": "faction",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangGenInfo#isHacking:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Indicating whether or not it's a hacking gang\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "isHacking: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "isHacking",
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",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangGenInfo#moneyGainRate:member",
2021-12-09 00:19:30 +01:00
"docComment": "/**\n * Money earned per game cycle\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "moneyGainRate: "
2021-11-03 05:27:21 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-03 20:12:32 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "moneyGainRate",
2021-12-03 20:12:32 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangGenInfo#power:member",
"docComment": "/**\n * Gang's power for territory warfare\n */\n",
2021-12-03 20:12:32 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "power: "
2021-12-03 20:12:32 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-03 20:12:32 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "power",
2021-12-03 20:12:32 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangGenInfo#respect:member",
"docComment": "/**\n * Gang's respect\n */\n",
2021-12-03 20:12:32 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "respect: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-03 20:12:32 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "respect",
2021-12-03 20:12:32 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangGenInfo#respectGainRate:member",
2021-12-09 00:19:30 +01:00
"docComment": "/**\n * Respect earned per game cycle\n */\n",
2021-12-03 20:12:32 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "respectGainRate: "
2021-12-03 20:12:32 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-03 20:12:32 +01:00
"isOptional": false,
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "respectGainRate",
2021-12-03 20:12:32 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangGenInfo#territory:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Amount of territory held\n */\n",
2021-12-03 20:12:32 +01:00
"excerptTokens": [
{
2021-12-03 20:12:32 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "territory: "
2021-12-03 20:12:32 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
2021-12-03 20:12:32 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "territory",
2021-12-03 20:12:32 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangGenInfo#territoryClashChance:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Clash chance\n */\n",
2021-12-03 20:12:32 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "territoryClashChance: "
2021-12-03 20:12:32 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
2021-12-03 20:12:32 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "territoryClashChance",
2021-12-03 20:12:32 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangGenInfo#territoryWarfareEngaged:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Indicating if territory warfare is enabled\n */\n",
2021-12-03 20:12:32 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "territoryWarfareEngaged: "
2021-12-03 20:12:32 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "boolean"
2021-12-03 20:12:32 +01:00
},
{
"kind": "Content",
"text": ";"
}
2021-12-03 20:12:32 +01:00
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "territoryWarfareEngaged",
2021-12-03 20:12:32 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
2021-12-04 05:08:11 +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-12-04 05:08:11 +01:00
"text": "wantedLevel: "
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",
2021-12-04 05:08:11 +01:00
"name": "wantedLevel",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangGenInfo#wantedLevelGainRate:member",
2021-12-09 00:19:30 +01:00
"docComment": "/**\n * Wanted level gained/lost per game cycle (negative for losses)\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",
2021-12-04 05:08:11 +01:00
"text": "wantedLevelGainRate: "
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-12-04 05:08:11 +01:00
"name": "wantedLevelGainRate",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-09 00:19:30 +01:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangGenInfo#wantedPenalty:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Number indicating the current wanted penalty\n */\n",
2021-12-09 00:19:30 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "wantedPenalty: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "wantedPenalty",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberAscension:interface",
"docComment": "/**\n * @public\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "export interface GangMemberAscension "
2021-11-03 05:33:14 +01:00
}
],
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "GangMemberAscension",
2021-11-03 05:33:14 +01:00
"members": [
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberAscension#agi:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Agility multiplier gained from ascending\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "agi: "
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-12-04 05:08:11 +01:00
"name": "agi",
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",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberAscension#cha:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Charisma multiplier gained from ascending\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "cha: "
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",
2021-12-04 05:08:11 +01:00
"name": "cha",
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",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberAscension#def:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Defense multiplier gained from ascending\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "def: "
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",
2021-12-04 05:08:11 +01:00
"name": "def",
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",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberAscension#dex:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Dexterity multiplier gained from ascending\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "dex: "
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",
2021-12-04 05:08:11 +01:00
"name": "dex",
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",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberAscension#hack:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Hacking multiplier gained from ascending\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hack: "
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",
2021-12-04 05:08:11 +01:00
"name": "hack",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberAscension#respect:member",
"docComment": "/**\n * Amount of respect lost from ascending\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "respect: "
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",
2021-12-04 05:08:11 +01:00
"name": "respect",
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",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberAscension#str:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Strength multiplier gained from ascending\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "str: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +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",
2021-12-04 05:08:11 +01:00
"name": "str",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!GangMemberInfo:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface GangMemberInfo "
}
],
"releaseTag": "Public",
"name": "GangMemberInfo",
"members": [
2021-11-03 05:33:14 +01:00
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberInfo#agi_asc_mult:member",
"docComment": "",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "agi_asc_mult: "
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",
2021-12-04 05:08:11 +01:00
"name": "agi_asc_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberInfo#agi_asc_points:member",
"docComment": "",
"excerptTokens": [
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "agi_asc_points: "
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",
2021-12-04 05:08:11 +01:00
"name": "agi_asc_points",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberInfo#agi_exp:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "agi_exp: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "agi_exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberInfo#agi_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "agi_mult: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "agi_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberInfo#agi:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "agi: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "agi",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberInfo#augmentations:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "augmentations: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "augmentations",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberInfo#cha_asc_mult:member",
"docComment": "",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "cha_asc_mult: "
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-12-04 05:08:11 +01:00
"name": "cha_asc_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberInfo#cha_asc_points:member",
"docComment": "",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "cha_asc_points: "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
2021-10-30 18:34:14 +02:00
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "cha_asc_points",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberInfo#cha_exp:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "cha_exp: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "cha_exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberInfo#cha_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "cha_mult: "
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",
2021-12-04 05:08:11 +01:00
"name": "cha_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberInfo#cha:member",
"docComment": "",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "cha: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "cha",
"propertyTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
2021-11-03 05:33:14 +01:00
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#def_asc_mult:member",
"docComment": "",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "def_asc_mult: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "def_asc_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#def_asc_points:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "def_asc_points: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "def_asc_points",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#def_exp:member",
"docComment": "",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "def_exp: "
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": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "def_exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#def_mult:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "def_mult: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "def_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#def:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "def: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:27:21 +01:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "def",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:27:21 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#dex_asc_mult:member",
"docComment": "",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "dex_asc_mult: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dex_asc_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#dex_asc_points:member",
"docComment": "",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "dex_asc_points: "
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,
2021-11-03 05:27:21 +01:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "dex_asc_points",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#dex_exp:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "dex_exp: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dex_exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#dex_mult:member",
"docComment": "",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "dex_mult: "
2021-11-03 05:33:14 +01:00
},
{
"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,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "dex_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:27:21 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#dex:member",
"docComment": "",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "dex: "
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",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dex",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#earnedRespect:member",
"docComment": "",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "earnedRespect: "
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",
2021-12-04 05:08:11 +01:00
"name": "earnedRespect",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#hack_asc_mult:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hack_asc_mult: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hack_asc_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#hack_asc_points:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "hack_asc_points: "
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-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hack_asc_points",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#hack_exp:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "hack_exp: "
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",
2021-12-04 05:08:11 +01:00
"name": "hack_exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:27:21 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#hack_mult:member",
"docComment": "",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hack_mult: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hack_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#hack:member",
"docComment": "",
"excerptTokens": [
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hack: "
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": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "hack",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-12-09 00:19:30 +01:00
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#moneyGain:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "moneyGain: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "moneyGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-11-03 05:27:21 +01:00
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberInfo#name:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "name: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "name",
2021-11-03 05:27:21 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-12-09 00:19:30 +01:00
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#respectGain:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "respectGain: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "respectGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-11-03 05:27:21 +01:00
{
2021-11-03 05:33:14 +01:00
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberInfo#str_asc_mult:member",
"docComment": "",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "str_asc_mult: "
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-12-04 05:08:11 +01:00
"name": "str_asc_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",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberInfo#str_asc_points:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "str_asc_points: "
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-12-04 05:08:11 +01:00
"name": "str_asc_points",
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",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!GangMemberInfo#str_exp:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "str_exp: "
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",
2021-12-04 05:08:11 +01:00
"name": "str_exp",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
2021-11-03 05:33:14 +01:00
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#str_mult:member",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "str_mult: "
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-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "str_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#str:member",
"docComment": "",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "str: "
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",
2021-12-04 05:08:11 +01:00
"name": "str",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#task:member",
"docComment": "",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "task: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "task",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#upgrades:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "upgrades: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "upgrades",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-09 00:19:30 +01:00
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#wantedLevelGain:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "wantedLevelGain: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "wantedLevelGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!GangOtherInfo:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface GangOtherInfo "
}
],
"releaseTag": "Public",
"name": "GangOtherInfo",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangOtherInfo#\"Slum Snakes\":member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "\"Slum Snakes\": "
},
{
"kind": "Reference",
"text": "GangOtherInfoObject",
"canonicalReference": "bitburner!GangOtherInfoObject:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "\"Slum Snakes\"",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangOtherInfo#\"Speakers for the Dead\":member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "\"Speakers for the Dead\": "
},
{
"kind": "Reference",
"text": "GangOtherInfoObject",
"canonicalReference": "bitburner!GangOtherInfoObject:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "\"Speakers for the Dead\"",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangOtherInfo#\"The Black Hand\":member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "\"The Black Hand\": "
},
{
"kind": "Reference",
"text": "GangOtherInfoObject",
"canonicalReference": "bitburner!GangOtherInfoObject:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "\"The Black Hand\"",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangOtherInfo#\"The Dark Army\":member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "\"The Dark Army\": "
},
{
"kind": "Reference",
"text": "GangOtherInfoObject",
"canonicalReference": "bitburner!GangOtherInfoObject:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "\"The Dark Army\"",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangOtherInfo#\"The Syndicate\":member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "\"The Syndicate\": "
},
{
"kind": "Reference",
"text": "GangOtherInfoObject",
"canonicalReference": "bitburner!GangOtherInfoObject:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "\"The Syndicate\"",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangOtherInfo#NiteSec:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "NiteSec: "
},
{
"kind": "Reference",
"text": "GangOtherInfoObject",
"canonicalReference": "bitburner!GangOtherInfoObject:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "NiteSec",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangOtherInfo#Tetrads:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "Tetrads: "
},
{
"kind": "Reference",
"text": "GangOtherInfoObject",
"canonicalReference": "bitburner!GangOtherInfoObject:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "Tetrads",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!GangOtherInfoObject:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface GangOtherInfoObject "
}
],
"releaseTag": "Public",
"name": "GangOtherInfoObject",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangOtherInfoObject#power:member",
"docComment": "/**\n * Gang power\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "power: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "power",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangOtherInfoObject#territory:member",
"docComment": "/**\n * Gang territory, in decimal form\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "territory: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "territory",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!GangTaskStats:interface",
"docComment": "/**\n * Object representing data representing a gang member task.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface GangTaskStats "
}
],
"releaseTag": "Public",
"name": "GangTaskStats",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#agiWeight:member",
"docComment": "/**\n * Agility skill impact on task scaling\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "agiWeight: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "agiWeight",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#baseMoney:member",
"docComment": "/**\n * Base money earned\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "baseMoney: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "baseMoney",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#baseRespect:member",
"docComment": "/**\n * Base respect earned\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "baseRespect: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "baseRespect",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#baseWanted:member",
"docComment": "/**\n * Base wanted earned\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "baseWanted: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "baseWanted",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#chaWeight:member",
"docComment": "/**\n * Charisma skill impact on task scaling\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "chaWeight: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "chaWeight",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#defWeight:member",
"docComment": "/**\n * Defense skill impact on task scaling\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "defWeight: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "defWeight",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#desc:member",
"docComment": "/**\n * Task Description\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "desc: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "desc",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#dexWeight:member",
"docComment": "/**\n * Dexterity skill impact on task scaling\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "dexWeight: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dexWeight",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#difficulty:member",
"docComment": "/**\n * Number representing the difficulty of the task\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "difficulty: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "difficulty",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#hackWeight:member",
"docComment": "/**\n * Hacking skill impact on task scaling\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hackWeight: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hackWeight",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#isCombat:member",
"docComment": "/**\n * Is a task of a combat gang\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "isCombat: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "isCombat",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#isHacking:member",
"docComment": "/**\n * Is a task of a hacking gang\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "isHacking: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "isHacking",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#name:member",
"docComment": "/**\n * Task name\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "name: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "name",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#strWeight:member",
"docComment": "/**\n * Stength skill impact on task scaling\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "strWeight: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "strWeight",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTaskStats#territory:member",
"docComment": "/**\n * Territory impact on task scaling\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "territory: "
},
{
"kind": "Reference",
"text": "GangTerritory",
"canonicalReference": "bitburner!GangTerritory:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "territory",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!GangTerritory:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface GangTerritory "
}
],
"releaseTag": "Public",
"name": "GangTerritory",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTerritory#money:member",
"docComment": "/**\n * Money gain impact on task scaling\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "money: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "money",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTerritory#respect:member",
"docComment": "/**\n * Respect gain impact on task scaling\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "respect: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "respect",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTerritory#wanted:member",
"docComment": "/**\n * Wanted gain impact on task scaling\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "wanted: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "wanted",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!HackingFormulas:interface",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * Hacking formulas\n *\n * @public\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "interface HackingFormulas "
}
],
"releaseTag": "Public",
"name": "HackingFormulas",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HackingFormulas#growPercent:member(1)",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * Calculate the percent a server would grow.\n *\n * @param server - Server info from {@link NS.getServer | getServer}\n *\n * @param threads - Amount of thread.\n *\n * @param player - Player info from {@link NS.getPlayer | getPlayer}\n *\n * @param cores - Number of cores on the computer that will execute grow.\n *\n * @returns The calculated grow percent.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "growPercent(server: "
},
{
2021-12-09 01:19:07 +01:00
"kind": "Reference",
"text": "Server",
"canonicalReference": "bitburner!Server:interface"
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": ", threads: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", player: "
},
{
2021-12-09 01:19:07 +01:00
"kind": "Reference",
"text": "Player",
"canonicalReference": "bitburner!Player:interface"
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": ", cores?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "server",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "threads",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "player",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "cores",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
}
],
"name": "growPercent"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HackingFormulas#growTime:member(1)",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * Calculate grow time.\n *\n * @param server - Server info from {@link NS.getServer | getServer}\n *\n * @param player - Player info from {@link NS.getPlayer | getPlayer}\n *\n * @returns The calculated grow time.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "growTime(server: "
},
{
2021-12-09 01:19:07 +01:00
"kind": "Reference",
"text": "Server",
"canonicalReference": "bitburner!Server:interface"
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": ", player: "
},
{
2021-12-09 01:19:07 +01:00
"kind": "Reference",
"text": "Player",
"canonicalReference": "bitburner!Player:interface"
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "server",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "player",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "growTime"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HackingFormulas#hackChance:member(1)",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * Calculate hack chance.\n *\n * @param server - Server info from {@link NS.getServer | getServer}\n *\n * @param player - Player info from {@link NS.getPlayer | getPlayer}\n *\n * @returns The calculated hack chance.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "hackChance(server: "
},
{
2021-12-09 01:19:07 +01:00
"kind": "Reference",
"text": "Server",
"canonicalReference": "bitburner!Server:interface"
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": ", player: "
},
{
2021-12-09 01:19:07 +01:00
"kind": "Reference",
"text": "Player",
"canonicalReference": "bitburner!Player:interface"
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "server",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "player",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "hackChance"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HackingFormulas#hackExp:member(1)",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * Calculate hack exp for one thread.\n *\n * @remarks\n *\n * Multiply by thread to get total exp\n *\n * @param server - Server info from {@link NS.getServer | getServer}\n *\n * @param player - Player info from {@link NS.getPlayer | getPlayer}\n *\n * @returns The calculated hack exp.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "hackExp(server: "
},
{
2021-12-09 01:19:07 +01:00
"kind": "Reference",
"text": "Server",
"canonicalReference": "bitburner!Server:interface"
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": ", player: "
},
{
2021-12-09 01:19:07 +01:00
"kind": "Reference",
"text": "Player",
"canonicalReference": "bitburner!Player:interface"
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "server",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "player",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "hackExp"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HackingFormulas#hackPercent:member(1)",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * Calculate hack percent for one thread.\n *\n * @remarks\n *\n * Multiply by thread to get total percent hacked.\n *\n * @param server - Server info from {@link NS.getServer | getServer}\n *\n * @param player - Player info from {@link NS.getPlayer | getPlayer}\n *\n * @returns The calculated hack percent.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "hackPercent(server: "
},
{
2021-12-09 01:19:07 +01:00
"kind": "Reference",
"text": "Server",
"canonicalReference": "bitburner!Server:interface"
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": ", player: "
},
{
2021-12-09 01:19:07 +01:00
"kind": "Reference",
"text": "Player",
"canonicalReference": "bitburner!Player:interface"
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "server",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "player",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "hackPercent"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HackingFormulas#hackTime:member(1)",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * Calculate hack time.\n *\n * @param server - Server info from {@link NS.getServer | getServer}\n *\n * @param player - Player info from {@link NS.getPlayer | getPlayer}\n *\n * @returns The calculated hack time.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "hackTime(server: "
},
{
2021-12-09 01:19:07 +01:00
"kind": "Reference",
"text": "Server",
"canonicalReference": "bitburner!Server:interface"
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": ", player: "
},
{
2021-12-09 01:19:07 +01:00
"kind": "Reference",
"text": "Player",
"canonicalReference": "bitburner!Player:interface"
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "server",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "player",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "hackTime"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HackingFormulas#weakenTime:member(1)",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * Calculate weaken time.\n *\n * @param server - Server info from {@link NS.getServer | getServer}\n *\n * @param player - Player info from {@link NS.getPlayer | getPlayer}\n *\n * @returns The calculated weaken time.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "weakenTime(server: "
},
{
2021-12-09 01:19:07 +01:00
"kind": "Reference",
"text": "Server",
"canonicalReference": "bitburner!Server:interface"
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": ", player: "
},
{
2021-12-09 01:19:07 +01:00
"kind": "Reference",
"text": "Player",
"canonicalReference": "bitburner!Player:interface"
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "server",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "player",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "weakenTime"
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!HackingMultipliers:interface",
"docComment": "/**\n * Hack related multipliers.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface HackingMultipliers "
}
],
"releaseTag": "Public",
"name": "HackingMultipliers",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HackingMultipliers#chance:member",
"docComment": "/**\n * Player's hacking chance multiplier.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "chance: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "chance",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HackingMultipliers#growth:member",
"docComment": "/**\n * Player's hacking growth multiplier\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "growth: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "growth",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HackingMultipliers#money:member",
"docComment": "/**\n * Player's hacking money stolen multiplier.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "money: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "money",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HackingMultipliers#speed:member",
"docComment": "/**\n * Player's hacking speed multiplier.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "speed: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "speed",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Hacknet:interface",
"docComment": "/**\n * Hacknet API\n *\n * @remarks\n *\n * Not all these functions are immediately available.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface Hacknet "
}
],
"releaseTag": "Public",
"name": "Hacknet",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#getCacheUpgradeCost:member(1)",
"docComment": "/**\n * Calculate the cost of upgrading hacknet node cache.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Returns the cost of upgrading the cache level of the specified Hacknet Server by n.\n *\n * If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned.\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of times to upgrade cache. Must be positive. Rounded to nearest integer.\n *\n * @returns Cost of upgrading the specified Hacknet Node's cache.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getCacheUpgradeCost(index: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", n: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "index",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "n",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "getCacheUpgradeCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#getCoreUpgradeCost:member(1)",
"docComment": "/**\n * Calculate the cost of upgrading hacknet node cores.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Returns the cost of upgrading the number of cores of the specified Hacknet Node by n.\n *\n * If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned.\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of times to upgrade cores. Must be positive. Rounded to nearest integer.\n *\n * @returns Cost of upgrading the specified Hacknet Node's number of cores.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getCoreUpgradeCost(index: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", n: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "index",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "n",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "getCoreUpgradeCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#getHashUpgradeLevel:member(1)",
"docComment": "/**\n * Get the level of a hash upgrade.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * @returns Level of the upgrade.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getHashUpgradeLevel(upgName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "upgName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getHashUpgradeLevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#getHashUpgrades:member(1)",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Get the list of hash upgrades\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Returns the list of all available hash upgrades that can be used in the spendHashes function.\n *\n * @returns An array containing the available upgrades\n *\n * @example\n * ```ts\n * // NS1:\n * var upgrades = hacknet.getHashUpgrades(); // [\"Sell for Money\",\"Sell for Corporation Funds\",...]\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * const upgrades = ns.hacknet.getHashUpgrades(); // [\"Sell for Money\",\"Sell for Corporation Funds\",...]\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getHashUpgrades(): "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getHashUpgrades"
},
2021-12-04 05:08:11 +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",
"excerptTokens": [
{
"kind": "Content",
"text": "getLevelUpgradeCost(index: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", n: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "index",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "n",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "getLevelUpgradeCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#getNodeStats:member(1)",
"docComment": "/**\n * Get the stats of a hacknet node.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Returns an object containing a variety of stats about the specified Hacknet Node.\n *\n * Note that for Hacknet Nodes, production refers to the amount of money the node generates. For Hacknet Servers (the upgraded version of Hacknet Nodes), production refers to the amount of hashes the node generates.\n *\n * @param index - Index/Identifier of Hacknet Node\n *\n * @returns Object containing a variety of stats about the specified Hacknet Node.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getNodeStats(index: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "NodeStats",
"canonicalReference": "bitburner!NodeStats:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "index",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getNodeStats"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#getPurchaseNodeCost:member(1)",
"docComment": "/**\n * Get the price of the next hacknet node.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Returns the cost of purchasing a new Hacknet Node.\n *\n * @returns Cost of purchasing a new Hacknet Node.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getPurchaseNodeCost(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getPurchaseNodeCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#getRamUpgradeCost:member(1)",
"docComment": "/**\n * Calculate the cost of upgrading hacknet node RAM.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Returns the cost of upgrading the RAM of the specified Hacknet Node n times.\n *\n * If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned.\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of times to upgrade RAM. Must be positive. Rounded to nearest integer.\n *\n * @returns Cost of upgrading the specified Hacknet Node's ram.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getRamUpgradeCost(index: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", n: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "index",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "n",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "getRamUpgradeCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#getStudyMult:member(1)",
"docComment": "/**\n * Get the multipler to study.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * @returns Multiplier.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getStudyMult(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getStudyMult"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#getTrainingMult:member(1)",
"docComment": "/**\n * Get the multipler to training.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * @returns Multiplier.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getTrainingMult(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getTrainingMult"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#hashCapacity:member(1)",
"docComment": "/**\n * Get the maximum number of hashes you can store.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Returns the number of hashes you can store.\n *\n * @returns Number of hashes you can store.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hashCapacity(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "hashCapacity"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#hashCost:member(1)",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Get the cost of a hash upgrade.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Returns the number of hashes required for the specified upgrade. The name of the upgrade must be an exact match.\n *\n * @param upgName - Name of the upgrade of Hacknet Node.\n *\n * @returns Number of hashes required for the specified upgrade.\n *\n * @example\n * ```ts\n * // NS1:\n * var upgradeName = \"Sell for Corporation Funds\";\n * if (hacknet.numHashes() > hacknet.hashCost(upgradeName)) {\n * hacknet.spendHashes(upgName);\n * }\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * const upgradeName = \"Sell for Corporation Funds\";\n * if (ns.hacknet.numHashes() > ns.hacknet.hashCost(upgradeName)) {\n * ns.hacknet.spendHashes(upgName);\n * }\n * ```\n *\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "hashCost(upgName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "upgName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "hashCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#maxNumNodes:member(1)",
"docComment": "/**\n * Get the maximum number of hacknet nodes.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @returns maximum number of hacknet nodes.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "maxNumNodes(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "maxNumNodes"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#numHashes:member(1)",
"docComment": "/**\n * Get the total number of hashes stored.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Returns the number of hashes you have.\n *\n * @returns Number of hashes you have.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "numHashes(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "numHashes"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#numNodes:member(1)",
"docComment": "/**\n * Get the number of hacknet nodes you own.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Returns the number of Hacknet Nodes you own.\n *\n * @returns number of hacknet nodes.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "numNodes(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "numNodes"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#purchaseNode:member(1)",
"docComment": "/**\n * Purchase a new hacknet node.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Purchases a new Hacknet Node. Returns a number with the index of the Hacknet Node. This index is equivalent to the number at the end of the Hacknet 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(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "purchaseNode"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#spendHashes:member(1)",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Purchase a hash upgrade.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Spend the hashes generated by your Hacknet Servers on an upgrade. Returns a boolean value - true if the upgrade is successfully purchased, and false otherwise.\n *\n * The name of the upgrade must be an exact match. The `upgTarget` argument is used for upgrades such as `Reduce Minimum Security`, which applies to a specific server. In this case, the `upgTarget` argument must be the hostname of the server.\n *\n * @param upgName - Name of the upgrade of Hacknet Node.\n *\n * @param upgTarget - Object to which upgrade applies. Required for certain upgrades.\n *\n * @returns True if the upgrade is successfully purchased, and false otherwise..\n *\n * @example\n * ```ts\n * // NS1:\n * hacknet.spendHashes(\"Sell for Corporation Funds\");\n * hacknet.spendHashes(\"Increase Maximum Money\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * NS2:\n * ns.hacknet.spendHashes(\"Sell for Corporation Funds\");\n * ns.hacknet.spendHashes(\"Increase Maximum Money\", \"foodnstuff\");\n * ```\n *\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "spendHashes(upgName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", upgTarget?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "upgName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "upgTarget",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "spendHashes"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#upgradeCache:member(1)",
"docComment": "/**\n * Upgrade the cache of a hacknet node.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Tries to upgrade the specified Hacknet 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",
"excerptTokens": [
{
"kind": "Content",
"text": "upgradeCache(index: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", n: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "index",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "n",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "upgradeCache"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#upgradeCore:member(1)",
"docComment": "/**\n * Upgrade the core of a hacknet node.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Tries to purchase n cores for the specified Hacknet Node.\n *\n * Returns true if it successfully purchases n cores for the Hacknet Node or if it purchases some positive amount and the Node reaches its max number of cores.\n *\n * Returns false otherwise.\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of cores to purchase. Must be positive. Rounded to nearest integer.\n *\n * @returns True if the Hacknet Nodes cores are successfully purchased, false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "upgradeCore(index: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", n: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "index",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "n",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "upgradeCore"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#upgradeLevel:member(1)",
"docComment": "/**\n * Upgrade the level of a hacknet node.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Tries to upgrade the level of the specified Hacknet Node by n.\n *\n * Returns true if the Hacknet 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",
"excerptTokens": [
{
"kind": "Content",
"text": "upgradeLevel(index: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", n: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "index",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "n",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "upgradeLevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#upgradeRam:member(1)",
"docComment": "/**\n * Upgrade the RAM of a hacknet node.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * Tries to upgrade the specified Hacknet 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",
"excerptTokens": [
{
"kind": "Content",
"text": "upgradeRam(index: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", n: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "index",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "n",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "upgradeRam"
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!HacknetMultipliers:interface",
"docComment": "/**\n * Hacknet related multipliers.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface HacknetMultipliers "
}
],
"releaseTag": "Public",
"name": "HacknetMultipliers",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetMultipliers#coreCost:member",
"docComment": "/**\n * Player's hacknet core cost multiplier\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "coreCost: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "coreCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetMultipliers#levelCost:member",
"docComment": "/**\n * Player's hacknet level cost multiplier\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "levelCost: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "levelCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetMultipliers#production:member",
"docComment": "/**\n * Player's hacknet production multiplier\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "production: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "production",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetMultipliers#purchaseCost:member",
"docComment": "/**\n * Player's hacknet purchase cost multiplier\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "purchaseCost: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "purchaseCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetMultipliers#ramCost:member",
"docComment": "/**\n * Player's hacknet ram cost multiplier\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ramCost: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "ramCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
2022-01-16 00:39:37 +01:00
"canonicalReference": "bitburner!HacknetNodeConstants:interface",
"docComment": "/**\n * Hacknet node related constants\n *\n * @public\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "export interface HacknetNodeConstants "
2021-12-04 05:08:11 +01:00
}
],
"releaseTag": "Public",
2022-01-16 00:39:37 +01:00
"name": "HacknetNodeConstants",
2021-12-04 05:08:11 +01:00
"members": [
{
2022-01-16 00:39:37 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetNodeConstants#BaseCost:member",
"docComment": "/**\n * Base cost for a new node\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "BaseCost: "
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2022-01-16 00:39:37 +01:00
"releaseTag": "Public",
"name": "BaseCost",
"propertyTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 1,
"endIndex": 2
2022-01-16 00:39:37 +01:00
}
2021-12-04 05:08:11 +01:00
},
{
2022-01-16 00:39:37 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetNodeConstants#CoreBaseCost:member",
"docComment": "/**\n * Base cost to increase cores\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "CoreBaseCost: "
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "CoreBaseCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetNodeConstants#LevelBaseCost:member",
"docComment": "/**\n * Base cost per level\n */\n",
"excerptTokens": [
2021-12-04 05:08:11 +01:00
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "LevelBaseCost: "
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "number"
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "LevelBaseCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetNodeConstants#MaxCores:member",
"docComment": "/**\n * Max number of cores\n */\n",
"excerptTokens": [
2021-12-04 05:08:11 +01:00
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "MaxCores: "
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2022-01-16 00:39:37 +01:00
"name": "MaxCores",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetNodeConstants#MaxLevel:member",
"docComment": "/**\n * Max node level\n */\n",
"excerptTokens": [
2021-12-04 05:08:11 +01:00
{
2022-01-16 00:39:37 +01:00
"kind": "Content",
"text": "MaxLevel: "
2021-12-04 05:08:11 +01:00
},
{
2022-01-16 00:39:37 +01:00
"kind": "Content",
"text": "number"
2021-12-04 05:08:11 +01:00
},
{
2022-01-16 00:39:37 +01:00
"kind": "Content",
"text": ";"
2021-12-04 05:08:11 +01:00
}
],
2022-01-16 00:39:37 +01:00
"isOptional": false,
"releaseTag": "Public",
"name": "MaxLevel",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
2022-01-16 00:39:37 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetNodeConstants#MaxRam:member",
"docComment": "/**\n * Max amount of RAM in GB\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "MaxRam: "
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "MaxRam",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetNodeConstants#MoneyGainPerLevel:member",
"docComment": "/**\n * Amount of money gained per level\n */\n",
"excerptTokens": [
2021-12-04 05:08:11 +01:00
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "MoneyGainPerLevel: "
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2022-01-16 00:39:37 +01:00
"name": "MoneyGainPerLevel",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetNodeConstants#PurchaseNextMult:member",
"docComment": "/**\n * Multiplier to purchase new node\n */\n",
"excerptTokens": [
2021-12-04 05:08:11 +01:00
{
2022-01-16 00:39:37 +01:00
"kind": "Content",
"text": "PurchaseNextMult: "
2021-12-04 05:08:11 +01:00
},
{
2022-01-16 00:39:37 +01:00
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
2021-12-04 05:08:11 +01:00
}
],
2022-01-16 00:39:37 +01:00
"isOptional": false,
"releaseTag": "Public",
"name": "PurchaseNextMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetNodeConstants#RamBaseCost:member",
"docComment": "/**\n * Base cost to incrase RAM\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "RamBaseCost: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "RamBaseCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetNodeConstants#UpgradeCoreMult:member",
"docComment": "/**\n * Multiplier to increase cores\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "UpgradeCoreMult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "UpgradeCoreMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetNodeConstants#UpgradeLevelMult:member",
"docComment": "/**\n * Multiplier to increase node level\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "UpgradeLevelMult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "UpgradeLevelMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetNodeConstants#UpgradeRamMult:member",
"docComment": "/**\n * Multiplier to increase RAM\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "UpgradeRamMult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "UpgradeRamMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!HacknetNodesFormulas:interface",
"docComment": "/**\n * Hacknet Node formulas\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface HacknetNodesFormulas "
}
],
"releaseTag": "Public",
"name": "HacknetNodesFormulas",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetNodesFormulas#constants:member(1)",
"docComment": "/**\n * All constants used by the game.\n *\n * @returns An object with all hacknet node constants used by the game.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "constants(): "
},
{
"kind": "Reference",
"text": "HacknetNodeConstants",
"canonicalReference": "bitburner!HacknetNodeConstants:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "constants"
2021-12-04 05:08:11 +01:00
},
{
"kind": "MethodSignature",
2022-01-16 00:39:37 +01:00
"canonicalReference": "bitburner!HacknetNodesFormulas#coreUpgradeCost:member(1)",
"docComment": "/**\n * Calculate cost of upgrading hacknet node cores.\n *\n * @param startingCore - starting cores\n *\n * @param extraCores - amount of cores to purchase (defaults to 1)\n *\n * @param costMult - player cost reduction (default to 1)\n *\n * @returns The calculated cost.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "coreUpgradeCost(startingCore: "
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": ", extraCores?: "
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", costMult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2022-01-16 00:39:37 +01:00
"parameterName": "startingCore",
2021-12-04 05:08:11 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2022-01-16 00:39:37 +01:00
"parameterName": "extraCores",
2021-12-04 05:08:11 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "costMult",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
2022-01-16 00:39:37 +01:00
"name": "coreUpgradeCost"
2021-12-04 05:08:11 +01:00
},
{
"kind": "MethodSignature",
2022-01-16 00:39:37 +01:00
"canonicalReference": "bitburner!HacknetNodesFormulas#hacknetNodeCost:member(1)",
"docComment": "/**\n * Calculate the cost of a hacknet node.\n *\n * @param n - number of the hacknet node\n *\n * @param mult - player cost reduction (defaults to 1)\n *\n * @returns The calculated cost.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "hacknetNodeCost(n: "
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": ", mult: "
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2022-01-16 00:39:37 +01:00
"startIndex": 5,
"endIndex": 6
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2022-01-16 00:39:37 +01:00
"parameterName": "n",
2021-12-04 05:08:11 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2022-01-16 00:39:37 +01:00
"parameterName": "mult",
2021-12-04 05:08:11 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2022-01-16 00:39:37 +01:00
"name": "hacknetNodeCost"
2021-12-04 05:08:11 +01:00
},
{
"kind": "MethodSignature",
2022-01-16 00:39:37 +01:00
"canonicalReference": "bitburner!HacknetNodesFormulas#levelUpgradeCost:member(1)",
"docComment": "/**\n * Calculate cost of upgrading hacknet node level.\n *\n * @param startingLevel - starting level\n *\n * @param extraLevels - amount of level to purchase (defaults to 1)\n *\n * @param costMult - player cost reduction (default to 1)\n *\n * @returns The calculated cost.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "levelUpgradeCost(startingLevel: "
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", extraLevels?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", costMult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "startingLevel",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "extraLevels",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "costMult",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "levelUpgradeCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetNodesFormulas#moneyGainRate:member(1)",
"docComment": "/**\n * Calculate money gain rate.\n *\n * @param level - level of the node.\n *\n * @param ram - ram of the node.\n *\n * @param cores - cores of the node.\n *\n * @param mult - player production mult (default to 1)\n *\n * @returns The calculated money gain rate.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "moneyGainRate(level: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", ram: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", cores: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "level",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "ram",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "cores",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "mult",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
}
],
"name": "moneyGainRate"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetNodesFormulas#ramUpgradeCost:member(1)",
"docComment": "/**\n * Calculate cost of upgrading hacknet node ram.\n *\n * @param startingRam - starting ram\n *\n * @param extraLevels - amount of level of ram to purchase (defaults to 1)\n *\n * @param costMult - player cost reduction (default to 1)\n *\n * @returns The calculated cost.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ramUpgradeCost(startingRam: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", extraLevels?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", costMult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "startingRam",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "extraLevels",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "costMult",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "ramUpgradeCost"
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!HacknetServerConstants:interface",
"docComment": "/**\n * Hacknet server related constants\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface HacknetServerConstants "
}
],
"releaseTag": "Public",
"name": "HacknetServerConstants",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetServerConstants#BaseCost:member",
"docComment": "/**\n * Base cost for a new server\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "BaseCost: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "BaseCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetServerConstants#CacheBaseCost:member",
"docComment": "/**\n * Base cost to upgrade cache\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "CacheBaseCost: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "CacheBaseCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetServerConstants#CoreBaseCost:member",
"docComment": "/**\n * Base cost to increase cores\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "CoreBaseCost: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "CoreBaseCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetServerConstants#HashesPerLevel:member",
"docComment": "/**\n * Number of hashes calculated per level\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "HashesPerLevel: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "HashesPerLevel",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetServerConstants#MaxCache:member",
"docComment": "/**\n * Max cache size\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "MaxCache: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "MaxCache",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetServerConstants#MaxCores:member",
"docComment": "/**\n * Max number of cores\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "MaxCores: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "MaxCores",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetServerConstants#MaxLevel:member",
"docComment": "/**\n * Max level for a server\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "MaxLevel: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "MaxLevel",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetServerConstants#MaxRam:member",
"docComment": "/**\n * Max amount of RAM in GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "MaxRam: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "MaxRam",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetServerConstants#MaxServers:member",
"docComment": "/**\n * Max number of servers\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "MaxServers: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "MaxServers",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetServerConstants#PurchaseMult:member",
"docComment": "/**\n * Multiplier to purchase a new server\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "PurchaseMult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "PurchaseMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetServerConstants#RamBaseCost:member",
"docComment": "/**\n * Base cost to increase RAM\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "RamBaseCost: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "RamBaseCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetServerConstants#UpgradeCacheMult:member",
"docComment": "/**\n * Multiplier to upgrade cache\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "UpgradeCacheMult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "UpgradeCacheMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetServerConstants#UpgradeCoreMult:member",
"docComment": "/**\n * Multiplier to increase cores\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "UpgradeCoreMult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "UpgradeCoreMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetServerConstants#UpgradeLevelMult:member",
"docComment": "/**\n * Multiplier to increase server level\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "UpgradeLevelMult: "
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2022-01-16 00:39:37 +01:00
"name": "UpgradeLevelMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!HacknetServerConstants#UpgradeRamMult:member",
"docComment": "/**\n * Multiplier to increase RAM\n */\n",
"excerptTokens": [
2021-12-04 05:08:11 +01:00
{
2022-01-16 00:39:37 +01:00
"kind": "Content",
"text": "UpgradeRamMult: "
2021-12-04 05:08:11 +01:00
},
{
2022-01-16 00:39:37 +01:00
"kind": "Content",
"text": "number"
2021-12-04 05:08:11 +01:00
},
{
2022-01-16 00:39:37 +01:00
"kind": "Content",
"text": ";"
2021-12-04 05:08:11 +01:00
}
],
2022-01-16 00:39:37 +01:00
"isOptional": false,
"releaseTag": "Public",
"name": "UpgradeRamMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!HacknetServersFormulas:interface",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * Hacknet Server formulas\n *\n * @public\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "interface HacknetServersFormulas "
}
],
"releaseTag": "Public",
"name": "HacknetServersFormulas",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetServersFormulas#cacheUpgradeCost:member(1)",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * Calculate cost of upgrading hacknet server cache.\n *\n * @param startingCache - starting cache level\n *\n * @param extraCache - amount of levels of cache to purchase (defaults to 1)\n *\n * @returns The calculated cost.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "cacheUpgradeCost(startingCache: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", extraCache?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "startingCache",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "extraCache",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "cacheUpgradeCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetServersFormulas#constants:member(1)",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * All constants used by the game.\n *\n * @returns An object with all hacknet server constants used by the game.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "constants(): "
},
{
2022-01-16 00:39:37 +01:00
"kind": "Reference",
"text": "HacknetServerConstants",
"canonicalReference": "bitburner!HacknetServerConstants:interface"
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "constants"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetServersFormulas#coreUpgradeCost:member(1)",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * Calculate cost of upgrading hacknet server cores.\n *\n * @param startingCore - starting cores\n *\n * @param extraCores - amount of cores to purchase (defaults to 1)\n *\n * @param costMult - player cost reduction (default to 1)\n *\n * @returns The calculated cost.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "coreUpgradeCost(startingCore: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", extraCores?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", costMult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "startingCore",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "extraCores",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "costMult",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "coreUpgradeCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetServersFormulas#hacknetServerCost:member(1)",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * Calculate the cost of a hacknet server.\n *\n * @param n - number of the hacknet server\n *\n * @param mult - player cost reduction (defaults to 1)\n *\n * @returns The calculated cost.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "hacknetServerCost(n: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-09 01:19:07 +01:00
"text": ", mult?: "
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "n",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "mult",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "hacknetServerCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetServersFormulas#hashGainRate:member(1)",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * Calculate hash gain rate.\n *\n * @param level - level of the server.\n *\n * @param ramUsed - ramUsed of the server.\n *\n * @param maxRam - maxRam of the server.\n *\n * @param cores - cores of the server.\n *\n * @param mult - player production mult (default to 1)\n *\n * @returns The calculated hash gain rate.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "hashGainRate(level: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", ramUsed: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", maxRam: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", cores: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "level",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "ramUsed",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "maxRam",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "cores",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
},
{
"parameterName": "mult",
"parameterTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
}
}
],
"name": "hashGainRate"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetServersFormulas#hashUpgradeCost:member(1)",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * Calculate hash cost of an upgrade.\n *\n * @param upgName - name of the upgrade\n *\n * @param level - level of the upgrade\n *\n * @returns The calculated hash cost.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "hashUpgradeCost(upgName: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", level: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "upgName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "level",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "hashUpgradeCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetServersFormulas#levelUpgradeCost:member(1)",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * Calculate cost of upgrading hacknet server level.\n *\n * @param startingLevel - starting level\n *\n * @param extraLevels - amount of level to purchase (defaults to 1)\n *\n * @param costMult - player cost reduction (default to 1)\n *\n * @returns The calculated cost.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "levelUpgradeCost(startingLevel: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", extraLevels?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", costMult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "startingLevel",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "extraLevels",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "costMult",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "levelUpgradeCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!HacknetServersFormulas#ramUpgradeCost:member(1)",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * Calculate cost of upgrading hacknet server ram.\n *\n * @param startingRam - starting ram\n *\n * @param extraLevels - amount of level of ram to purchase (defaults to 1)\n *\n * @param costMult - player cost reduction (default to 1)\n *\n * @returns The calculated cost.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "ramUpgradeCost(startingRam: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", extraLevels?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", costMult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "startingRam",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "extraLevels",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "costMult",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
2021-12-04 05:08:11 +01:00
"name": "ramUpgradeCost"
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Material:interface",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Material in a warehouse\n *\n * @public\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "interface Material "
}
],
"releaseTag": "Public",
"name": "Material",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Material#name:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Name of the material\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "name: "
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",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "name",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Material#qlt:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Quality of the material\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "qlt: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2022-01-16 00:39:37 +01:00
"isOptional": false,
"releaseTag": "Public",
"name": "qlt",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Material#qty:member",
"docComment": "/**\n * Amount of material\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "qty: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "qty",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!NetscriptPort:interface",
"docComment": "/**\n * Object representing a port. A port is a serialized queue.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface NetscriptPort "
}
],
"releaseTag": "Public",
"name": "NetscriptPort",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NetscriptPort#clear:member(1)",
"docComment": "/**\n * Empties all data from the port.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "clear(): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "clear"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NetscriptPort#empty:member(1)",
"docComment": "/**\n * Check if the port is empty.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @returns true if the port is empty, otherwise false\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "empty(): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "empty"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NetscriptPort#full:member(1)",
"docComment": "/**\n * Check if the port is full.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @returns true if the port is full, otherwise false\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "full(): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "full"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NetscriptPort#peek:member(1)",
"docComment": "/**\n * Retrieve the first element from the port without removing it.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function is used to peek at the data from a port. It returns the first element in the specified port without removing that element. If the port is empty, the string “NULL PORT DATA” will be returned.\n *\n * @returns the data read\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "peek(): "
},
{
"kind": "Content",
"text": "string | number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "peek"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NetscriptPort#read:member(1)",
"docComment": "/**\n * Shift an element out of the port.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function will remove the first element from the port and return it. If the port is empty, then the string “NULL PORT DATA” will be returned.\n *\n * @returns the data read.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "read(): "
},
{
"kind": "Content",
"text": "string | number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "read"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NetscriptPort#tryWrite:member(1)",
"docComment": "/**\n * Attempt to write data to the port.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @returns True if the data was added to the port, false if the port was full\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "tryWrite(value: "
},
{
"kind": "Content",
"text": "string | number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "value",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "tryWrite"
2021-12-04 05:08:11 +01:00
},
{
2022-01-16 00:39:37 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!NetscriptPort#write:member(1)",
"docComment": "/**\n * Write data to a port.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @returns The data popped off the queue if it was full.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "write(value: "
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "string | number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "null | string | number"
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2022-01-16 00:39:37 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
2022-01-16 00:39:37 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "value",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "write"
2021-12-04 05:08:11 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!NodeStats:interface",
"docComment": "/**\n * Object representing all the values related to a hacknet node.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface NodeStats "
}
],
"releaseTag": "Public",
"name": "NodeStats",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#cache:member",
"docComment": "/**\n * Cache level. Only applicable for Hacknet Servers\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "cache: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "cache",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#cores:member",
"docComment": "/**\n * Node's number of cores\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "cores: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "cores",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#hashCapacity:member",
"docComment": "/**\n * Hash Capacity provided by this Node. Only applicable for Hacknet Servers\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hashCapacity: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hashCapacity",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#level:member",
"docComment": "/**\n * Node's level\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "level: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "level",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#name:member",
"docComment": "/**\n * Node's name\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "name: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"name": "name",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#production:member",
"docComment": "/**\n * Node's production per second\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "production: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "production",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#ram:member",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Node's RAM (GB)\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "ram: "
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",
2021-12-04 05:08:11 +01:00
"name": "ram",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#ramUsed:member",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Node's used RAM (GB)\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "ramUsed: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "ramUsed",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#timeOnline:member",
"docComment": "/**\n * Number of seconds since Node has been purchased\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "timeOnline: "
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,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "timeOnline",
"propertyTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01: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",
2021-12-04 05:08:11 +01:00
"text": "totalProduction: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "totalProduction",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!NS:interface",
2021-12-16 21:28:53 +01:00
"docComment": "/**\n * Collection of all functions passed to scripts\n *\n * @remarks\n *\n * <b>Basic ns1 usage example:</b>\n * ```ts\n * // Basic ns functions can be used directly\n * getHostname();\n * // Some related functions are gathered within a common namespace\n * stock.getPrice();\n * ```\n *\n * {@link https://bitburner.readthedocs.io/en/latest/netscript/netscript1.html | ns1 in-game docs} <hr> <b>Basic ns2 usage example:</b>\n * ```ts\n * export async function main(ns) {\n * // Basic ns functions can be accessed on the ns object\n * ns.getHostname();\n * // Some related functions are gathered under a sub-property of the ns object\n * ns.stock.getPrice();\n * // Some functions need to be await ed\n * await ns.hack('n00dles');\n * }\n * ```\n *\n * {@link https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html | ns2 in-game docs} <hr>\n *\n * @public\n */\n",
2021-12-04 05:08:11 +01:00
"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": [
{
"kind": "Content",
"text": "alert(msg: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "any"
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
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": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
},
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "msg",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "alert"
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01: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",
2021-12-04 05:08:11 +01:00
"text": "readonly args: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "(string | number | boolean)[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "args",
"propertyTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "asleep(millis: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
2021-12-04 05:08:11 +01:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<void>"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 5
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-12-04 05:08:11 +01:00
"parameters": [
{
"parameterName": "millis",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "asleep"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "atExit(f: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "() => void"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "f",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "atExit"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01: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",
2021-12-04 05:08:11 +01:00
"text": "readonly bladeburner: "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "Bladeburner",
"canonicalReference": "bitburner!Bladeburner:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "bladeburner",
"propertyTypeTokenRange": {
2021-10-30 21:46:34 +02:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#brutessh:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\n * brutessh(\"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * ns.brutessh(\"foodnstuff\");\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "brutessh(host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-12-04 05:08:11 +01:00
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "brutessh"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "clear(handle: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-12-04 05:08:11 +01:00
"parameters": [
{
"parameterName": "handle",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "clear"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#clearLog:member(1)",
"docComment": "/**\n * Clears the scripts logs.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "clearLog(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
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": [],
2021-12-04 05:08:11 +01:00
"name": "clearLog"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "clearPort(handle: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +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": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "handle",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "clearPort"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +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-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "readonly codingcontract: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "CodingContract",
"canonicalReference": "bitburner!CodingContract:interface"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "codingcontract",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#corporation:member",
"docComment": "/**\n * Namespace for corporation functions. RAM cost: 0 GB\n */\n",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "readonly corporation: "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "Corporation",
"canonicalReference": "bitburner!Corporation:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "corporation",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "deleteServer(host: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
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": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "deleteServer"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#disableLog:member(1)",
2022-01-08 19:25:06 +01:00
"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 * @param fn - Name of function for which to disable logging.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "disableLog(fn: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "fn",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "disableLog"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "enableLog(fn: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "fn",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "enableLog"
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#exec:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\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 * //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 * //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 *\n * @example\n * ```ts\n * // NS2:\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 * ns.exec(\"generic-hack.script\", \"foodnstuff\");\n *\n * //The following example will try to run the script generic-hack.script on the joesguns server with 10 threads:\n * ns.exec(\"generic-hack.script\", \"joesguns\", 10);\n *\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 * ns.exec(\"foo.script\", \"foodnstuff\", 5, 1, \"test\");\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "exec(script: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", numThreads?: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", ...args: "
2021-10-30 18:34:14 +02:00
},
2022-01-08 19:25:06 +01:00
{
"kind": "Reference",
"text": "Array",
"canonicalReference": "!Array:interface"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2022-01-08 19:25:06 +01:00
"text": "<string | number | boolean>"
2021-12-04 05:08:11 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2022-01-08 19:25:06 +01:00
"startIndex": 10,
"endIndex": 11
2021-12-04 05:08:11 +01:00
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"parameterName": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "numThreads",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 7,
2022-01-08 19:25:06 +01:00
"endIndex": 9
2021-12-04 05:08:11 +01:00
}
2021-11-03 05:33:14 +01:00
}
],
2021-12-04 05:08:11 +01:00
"name": "exec"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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-11-03 05:33:14 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "exit(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +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": 1,
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-11-03 05:33:14 +01:00
"parameters": [],
2021-12-04 05:08:11 +01:00
"name": "exit"
2021-11-03 05:33:14 +01:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#fileExists:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\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 * //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 *\n * @example\n * ```ts\n * // NS2:\n * // The function call will return true if the script named foo.script exists on the foodnstuff server, and false otherwise.\n * ns.fileExists(\"foo.script\", \"foodnstuff\");\n *\n * // The function call will return true if the current server contains the FTPCrack.exe program, and false otherwise.\n * ns.fileExists(\"ftpcrack.exe\");\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",
2021-12-04 05:08:11 +01:00
"text": "fileExists(filename: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", host?: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "filename",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "fileExists"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#flags:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // example.ns\n * export async function main(ns) {\n * const data = ns.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 * ns.tprint(data);\n * }\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",
2021-12-04 05:08:11 +01:00
"text": "flags(schema: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "[string, string | number | boolean | string[]][]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "any"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "schema",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "flags"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#formulas:member",
"docComment": "/**\n * Namespace for formulas functions.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "readonly formulas: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "Formulas",
"canonicalReference": "bitburner!Formulas:interface"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "formulas",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#ftpcrack:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\n * ftpcrack(\"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * ns.ftpcrack(\"foodnstuff\");\n * ```\n *\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "ftpcrack(host: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-12-04 05:08:11 +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",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
}
],
"name": "ftpcrack"
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#gang:member",
"docComment": "/**\n * Namespace for gang functions.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "readonly gang: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "Gang",
"canonicalReference": "bitburner!Gang:interface"
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": ";"
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
"releaseTag": "Public",
"name": "gang",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#getBitNodeMultipliers:member(1)",
2022-01-08 19:25:06 +01:00
"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 you to be in Bitnode 5 or have 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 * // NS1:\n * var mults = getBitNodeMultipliers();\n * print(mults.ServerMaxMoney);\n * print(mults.HackExpGain);\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * const {ServerMaxMoney, HackExpGain} = ns.getBitNodeMultipliers();\n * print(ServerMaxMoney);\n * print(HackExpGain);\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getBitNodeMultipliers(): "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "BitNodeMultipliers",
"canonicalReference": "bitburner!BitNodeMultipliers:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"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",
2021-12-04 05:08:11 +01:00
"text": "getFavorToDonate(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getFavorToDonate"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getGrowTime:member(1)",
2022-01-08 19:25:06 +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. The required time is increased by the security level of the target server and decreased by the player's hacking level.\n *\n * @param host - Host of target server.\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-12-04 05:08:11 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getGrowTime(host: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-12-04 05:08:11 +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-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getGrowTime"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getHackingLevel(): "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getHackingLevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getHackingMultipliers:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\n * // Example of how this can be used:\n * var mults = getHackingMultipliers();\n * print(mults.chance);\n * print(mults.growth);\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * // Example of how this can be used:\n * const {chance, growth} = ns.getHackingMultipliers();\n * print(chance);\n * print(growth);\n * ```\n *\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getHackingMultipliers(): "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "HackingMultipliers",
"canonicalReference": "bitburner!HackingMultipliers:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 1,
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-12-04 05:08:11 +01:00
"parameters": [],
"name": "getHackingMultipliers"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getHacknetMultipliers:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\n * // Example of how this can be used:\n * var mults = getHacknetMultipliers();\n * print(mults.production);\n * print(mults.purchaseCost);\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * // Example of how this can be used:\n * const {production, purchaseCost} = ns.getHacknetMultipliers();\n * print(production);\n * print(purchaseCost);\n * ```\n *\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "getHacknetMultipliers(): "
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "HacknetMultipliers",
"canonicalReference": "bitburner!HacknetMultipliers:interface"
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": ";"
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getHacknetMultipliers"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#getHackTime:member(1)",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Get the execution time of a hack() call.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB When `hack` completes an amount of money is stolen depending on the player's skills. 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. The required time is increased by the security level of the target server and decreased by the player's hacking level.\n *\n * @param host - Host of target server.\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",
2021-12-04 05:08:11 +01:00
"text": "getHackTime(host: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
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-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getHackTime"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getHostname(): "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ";"
2021-10-30 18:34:14 +02:00
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
2021-12-04 05:08:11 +01:00
"name": "getHostname"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#getOwnedSourceFiles:member(1)",
"docComment": "/**\n * Get a list of acquired Source-Files.\n *\n * @remarks\n *\n * RAM cost: 5 GB\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-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getOwnedSourceFiles(): "
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "SourceFileLvl",
"canonicalReference": "bitburner!SourceFileLvl:interface"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "[]"
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getOwnedSourceFiles"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getPlayer:member(1)",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Get information about the player.\n *\n * @remarks\n *\n * RAM cost: 0.5 GB\n *\n * Returns an object with information on the current player.\n *\n * @returns Player info\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "getPlayer(): "
},
{
"kind": "Reference",
"text": "Player",
"canonicalReference": "bitburner!Player:interface"
2021-10-30 18:34:14 +02:00
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getPlayer"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getPortHandle:member(1)",
2022-01-16 00:39:37 +01:00
"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 * @see\n *\n * https://bitburner.readthedocs.io/en/latest/netscript/netscriptmisc.html#netscript-ports\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "getPortHandle(port: "
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": "): "
},
{
2022-01-16 00:39:37 +01:00
"kind": "Reference",
"text": "NetscriptPort",
"canonicalReference": "bitburner!NetscriptPort:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "port",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getPortHandle"
2021-11-03 05:33:14 +01:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#getPurchasedServerCost:member(1)",
2022-01-16 00:39:37 +01:00
"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, in GB. 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 * // NS1:\n * for (i = 1; i <= 20; i++) {\n * tprint(i + \" -- \" + getPurchasedServerCost(Math.pow(2, i)));\n * }\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * for (i = 1; i <= 20; i++) {\n * ns.tprint(i + \" -- \" + ns.getPurchasedServerCost(Math.pow(2, i)));\n * }\n * ```\n *\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getPurchasedServerCost(ram: "
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-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "ram",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getPurchasedServerCost"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getPurchasedServerLimit(): "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getPurchasedServerLimit"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getPurchasedServerMaxRam:member(1)",
2022-01-16 00:39:37 +01:00
"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 (in GB) that a purchased server can have.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getPurchasedServerMaxRam(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getPurchasedServerMaxRam"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getPurchasedServers:member(1)",
2021-12-15 18:10:32 +01:00
"docComment": "/**\n * Returns an array with the hostnames of all of the servers you have purchased.\n *\n * @remarks\n *\n * 2.25 GB\n *\n * @returns Returns an array with the hostnames of all of the servers you have purchased.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-15 18:10:32 +01:00
"text": "getPurchasedServers(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-15 18:10:32 +01:00
"startIndex": 1,
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-12-15 18:10:32 +01:00
"parameters": [],
2021-12-04 05:08:11 +01:00
"name": "getPurchasedServers"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#getRunningScript:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Get general info about a running script.\n *\n * @remarks\n *\n * RAM cost: 0.3 GB\n *\n * Running with no args returns curent script. If you use a PID as the first parameter, the hostname and args parameters are unnecessary.\n *\n * @param filename - Optional. Filename or PID of the script.\n *\n * @param hostname - Optional. Name of host server the script is running on.\n *\n * @param args - Arguments to identify the script\n *\n * @returns info about a running script\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2022-01-08 19:25:06 +01:00
"text": "getRunningScript(filename?: "
2021-11-03 05:33:14 +01:00
},
{
2022-01-16 00:39:37 +01:00
"kind": "Reference",
"text": "FilenameOrPID",
"canonicalReference": "bitburner!FilenameOrPID:type"
},
{
"kind": "Content",
2022-01-08 19:25:06 +01:00
"text": ", hostname?: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", ...args: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "(string | number)[]"
},
{
"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-12-04 05:08:11 +01:00
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-11-03 05:33:14 +01:00
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "filename",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "hostname",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-11-03 05:33:14 +01:00
}
],
2021-12-04 05:08:11 +01:00
"name": "getRunningScript"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2022-01-08 19:25:06 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "getScriptExpGain(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getScriptExpGain"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getScriptExpGain:member(2)",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getScriptExpGain(script: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", host: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", ...args: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +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",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
2022-01-08 19:25:06 +01:00
"overloadIndex": 2,
2021-10-30 18:34:14 +02:00
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "script",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "getScriptExpGain"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2022-01-08 19:25:06 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "getScriptIncome(): "
},
{
"kind": "Content",
"text": "[number, number]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getScriptIncome"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getScriptIncome:member(2)",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getScriptIncome(script: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", ...args: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2022-01-08 19:25:06 +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",
2022-01-08 19:25:06 +01:00
"overloadIndex": 2,
2021-10-30 18:34:14 +02:00
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "script",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "getScriptIncome"
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getScriptLogs:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\n * //Get logs from foo.script on the current server that was run with no args\n * getScriptLogs(\"foo.script\");\n *\n * //Open logs from foo.script on the foodnstuff server that was run with no args\n * getScriptLogs(\"foo.script\", \"foodnstuff\");\n *\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 * @example\n * ```ts\n * // NS2:\n * //Get logs from foo.script on the current server that was run with no args\n * ns.getScriptLogs(\"foo.script\");\n *\n * //Open logs from foo.script on the foodnstuff server that was run with no args\n * ns.getScriptLogs(\"foo.script\", \"foodnstuff\");\n *\n * //Open logs from foo.script on the foodnstuff server that was run with the arguments [1, \"test\"]\n * ns.getScriptLogs(\"foo.script\", \"foodnstuff\", 1, \"test\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getScriptLogs(fn?: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": ", host?: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", ...args: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "any[]"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"parameterName": "fn",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getScriptLogs"
},
{
2021-12-04 05:08:11 +01: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",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getScriptName(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getScriptName"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getScriptRam:member(1)",
2022-01-16 00:39:37 +01:00
"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 (in GB) required to run the specified script on the target server, and 0 if the script does not exist.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getScriptRam(script: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", host?: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "getScriptRam"
},
2021-11-03 05:33:14 +01:00
{
2021-12-04 05:08:11 +01: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-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getServer(host?: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Server",
"canonicalReference": "bitburner!Server:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServer"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01: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 * useless\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",
2021-12-04 05:08:11 +01:00
"text": "getServerBaseSecurityLevel(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
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,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerBaseSecurityLevel"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#getServerGrowth:member(1)",
2022-01-18 20:02:12 +01:00
"docComment": "/**\n * Get a server growth parameter.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * Returns the servers intrinsic “growth parameter”. This growth parameter is a number typically between 0 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",
"excerptTokens": [
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getServerGrowth(host: "
2021-11-03 05:33:14 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
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",
2021-12-04 05:08:11 +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": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getServerGrowth"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +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": [
{
2021-10-30 18:34:14 +02:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getServerMaxMoney(host: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerMaxMoney"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#getServerMaxRam:member(1)",
2022-01-16 00:39:37 +01:00
"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 (GB)\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getServerMaxRam(host: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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,
2021-12-04 05:08:11 +01:00
"endIndex": 4
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": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getServerMaxRam"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "getServerMinSecurityLevel(host: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +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-12-04 05:08:11 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getServerMinSecurityLevel"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerMoneyAvailable:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\n * getServerMoneyAvailable(\"foodnstuff\");\n * getServerMoneyAvailable(\"home\"); //Returns player's money\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * ns.getServerMoneyAvailable(\"foodnstuff\");\n * ns.getServerMoneyAvailable(\"home\"); // Returns player's money\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getServerMoneyAvailable(host: "
2021-10-30 18:34:14 +02:00
},
2021-11-03 05:33:14 +01:00
{
2021-12-04 05:08:11 +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,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerMoneyAvailable"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "getServerNumPortsRequired(host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +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": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getServerNumPortsRequired"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#getServerRam:member(1)",
2022-01-16 00:39:37 +01:00
"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 * use getServerMaxRam / getServerUsedRam\n *\n * @param host - Host of target server.\n *\n * @returns Array with total and used memory on the specified server, in GB.\n *\n * @example\n * ```ts\n * // NS1:\n * var serverRam = getServerRam(\"helios\");\n * var totalRam = serverRam[0];\n * var ramUsed = serverRam[1];\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * const [totalRam, ramUsed] = ns.getServerRam(\"helios\");\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getServerRam(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",
2021-12-04 05:08:11 +01:00
"text": "[number, 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-12-04 05:08:11 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getServerRam"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getServerRequiredHackingLevel(host: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-12-04 05:08:11 +01:00
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerRequiredHackingLevel"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getServerSecurityLevel(host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +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": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getServerSecurityLevel"
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerUsedRam:member(1)",
2022-01-16 00:39:37 +01:00
"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 (GB)\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getServerUsedRam(host: "
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerUsedRam"
2021-10-30 18:34:14 +02:00
},
2022-01-18 20:02:12 +01:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getSharePower:member(1)",
"docComment": "/**\n * Calculate your share power.\n *\n * @remarks\n *\n * RAM cost: 0.2 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getSharePower(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getSharePower"
},
2021-10-30 18:34:14 +02:00
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getTimeSinceLastAug(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 1,
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-12-04 05:08:11 +01:00
"parameters": [],
"name": "getTimeSinceLastAug"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#getWeakenTime:member(1)",
2022-01-08 19:25:06 +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. The required time is increased by the security level of the target server and decreased by the player's hacking level.\n *\n * @param host - Host of target server.\n *\n * @returns Returns the amount of time in milliseconds it takes to execute the weaken Netscript function. Returns Infinity if called on a Hacknet Server.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getWeakenTime(host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +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-12-04 05:08:11 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getWeakenTime"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#grow:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\n * var availableMoney = getServerMoneyAvailable(\"foodnstuff\");\n * currentMoney = currentMoney * (1 + grow(\"foodnstuff\"));\n * currentMoney = currentMoney * (1 + grow(\"foodnstuff\", { threads: 5 })); // Only use 5 threads to grow\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * let availableMoney = ns.getServerMoneyAvailable(\"foodnstuff\");\n * currentMoney *= (1 + await ns.grow(\"foodnstuff\"));\n * currentMoney *= (1 + await ns.grow(\"foodnstuff\", { threads: 5 })); // Only use 5 threads to grow\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "grow(host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
2021-12-04 05:08:11 +01:00
{
"kind": "Content",
"text": ", opts?: "
},
{
"kind": "Reference",
"text": "BasicHGWOptions",
"canonicalReference": "bitburner!BasicHGWOptions:interface"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "): "
},
2021-12-04 05:08:11 +01:00
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "<number>"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 7
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "opts",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "grow"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#growthAnalyze:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\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 * var growTimes = 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 * @example\n * ```ts\n * // NS2:\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 * const growTimes = ns.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-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "growthAnalyze(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",
2021-12-04 05:08:11 +01:00
"text": ", growthAmount: "
},
{
"kind": "Content",
"text": "number"
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", cores?: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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-12-04 05:08:11 +01:00
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "growthAmount",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "cores",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "growthAnalyze"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "growthAnalyzeSecurity(threads: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-12-04 05:08:11 +01:00
"parameters": [
{
"parameterName": "threads",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "growthAnalyzeSecurity"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#hack:member(1)",
2022-01-08 19:25:06 +01:00
"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 when this function is called. 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 * // NS1:\n * var earnedMoney = hack(\"foodnstuff\");\n * earnedMoney = earnedMoney + hack(\"foodnstuff\", { threads: 5 }); // Only use 5 threads to hack\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * let earnedMoney = await ns.hack(\"foodnstuff\");\n * earnedMoney += await ns.hack(\"foodnstuff\", { threads: 5 }); // Only use 5 threads to hack\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hack(host: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", opts?: "
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "BasicHGWOptions",
"canonicalReference": "bitburner!BasicHGWOptions:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
2021-12-04 05:08:11 +01:00
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "<number>"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
2021-12-04 05:08:11 +01:00
"endIndex": 7
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "opts",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "hack"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#hackAnalyze:member(1)",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Get the part of money stolen with a single thread.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * Returns the part of the specified servers money you will steal with a single thread hack.\n *\n * @param host - Hostname of the target server.\n *\n * @returns The part of money you will steal from the target server with a single thread hack.\n *\n * @example\n * ```ts\n * // NS1:\n * //For example, assume the following returns 0.01:\n * var hackAmount = hackAnalyze(\"foodnstuff\");\n * //This means that if hack the foodnstuff server using a single thread, then you will steal 1%, or 0.01 of its total money. If you hack using N threads, then you will steal N*0.01 times its total money.\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * //For example, assume the following returns 0.01:\n * const hackAmount = ns.hackAnalyze(\"foodnstuff\");\n * //This means that if hack the foodnstuff server using a single thread, then you will steal 1%, or 0.01 of its total money. If you hack using N threads, then you will steal N*0.01 times its total money.\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hackAnalyze(host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +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,
2021-10-30 18:34:14 +02:00
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "hackAnalyze"
},
{
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "hackAnalyzeChance(host: "
},
{
2021-12-04 05:08:11 +01:00
"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": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "threads",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "hackAnalyzeSecurity"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hackAnalyzeThreads(host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
2021-12-04 05:08:11 +01:00
{
"kind": "Content",
"text": ", hackAmount: "
},
{
"kind": "Content",
"text": "number"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +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": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "hackAmount",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "hackAnalyzeThreads"
2021-10-30 18:34:14 +02:00
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#hacknet:member",
"docComment": "/**\n * Namespace for hacknet functions.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "readonly hacknet: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Reference",
2021-12-04 05:08:11 +01:00
"text": "Hacknet",
"canonicalReference": "bitburner!Hacknet:interface"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "hacknet",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#hasRootAccess:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\n * if (hasRootAccess(\"foodnstuff\") == false) {\n * nuke(\"foodnstuff\");\n * }\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * if (ns.hasRootAccess(\"foodnstuff\") == false) {\n * ns.nuke(\"foodnstuff\");\n * }\n * ```\n *\n */\n",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hasRootAccess(host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
2021-10-30 18:34:14 +02:00
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-12-04 05:08:11 +01:00
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "hasRootAccess"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#httpworm:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\n * httpworm(\"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * ns.httpworm(\"foodnstuff\");\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "httpworm(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-12-04 05:08:11 +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": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "httpworm"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "isLogEnabled(fn: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-12-04 05:08:11 +01:00
"parameters": [
{
"parameterName": "fn",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "isLogEnabled"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#isRunning:member(1)",
2022-01-16 00:39:37 +01:00
"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. If you use a PID instead of a filename, the hostname and args parameters are unnecessary. Remember that a script is uniquely identified by both its name and its arguments.\n *\n * @param script - Filename or PID 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 * // NS1:\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 * //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 * //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 * @example\n * ```ts\n * // NS2:\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 * ns.isRunning(\"foo.script\", \"foodnstuff\");\n *\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 * ns.isRunning(\"foo.script\", ns.getHostname());\n *\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 * ns.isRunning(\"foo.script\", \"joesguns\", 1, 5, \"test\");\n * ```\n *\n */\n",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "isRunning(script: "
},
{
2022-01-16 00:39:37 +01:00
"kind": "Reference",
"text": "FilenameOrPID",
"canonicalReference": "bitburner!FilenameOrPID:type"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", host: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", ...args: "
},
{
"kind": "Content",
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "script",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "isRunning"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#kill:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\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 * //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 * //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 * @example\n * ```ts\n * // NS2:\n * //The following example will try to kill a script named foo.script on the foodnstuff server that was ran with no arguments:\n * ns.kill(\"foo.script\", \"foodnstuff\");\n *\n * //The following will try to kill a script named foo.script on the current server that was ran with no arguments:\n * ns.kill(\"foo.script\", getHostname());\n *\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 * ns.kill(\"foo.script\", getHostname(), 1, \"foodnstuff\");\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "kill(script: "
},
{
"kind": "Content",
2022-01-08 19:25:06 +01:00
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "kill"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#kill:member(2)",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "kill(script: "
},
{
"kind": "Content",
"text": "string"
2021-12-04 05:08:11 +01:00
},
{
"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",
2021-12-04 05:08:11 +01:00
"text": ", ...args: "
},
2021-12-03 00:42:30 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string[]"
2021-12-03 00:42:30 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "): "
2021-12-03 00:42:30 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-12-03 00:42:30 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 7,
"endIndex": 8
2021-12-03 00:42:30 +01:00
},
"releaseTag": "Public",
2022-01-08 19:25:06 +01:00
"overloadIndex": 2,
2021-12-04 05:08:11 +01:00
"parameters": [
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"parameterName": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "kill"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#killall:member(1)",
2022-01-08 19:25:06 +01:00
"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. If no host is defined, it will kill all scripts, where the script is running.\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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2022-01-08 19:25:06 +01:00
"text": "killall(host?: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-12-04 05:08:11 +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-12-04 05:08:11 +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": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "killall"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "ls(host: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ", grep?: "
},
{
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
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
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "grep",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "ls"
2021-10-30 18:34:14 +02:00
},
2022-01-16 00:39:37 +01:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#mv:member(1)",
"docComment": "/**\n * Move a file on the target server.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * NS2 exclusive\n *\n * Move the source file to the specified destination on the target server.\n *\n * This command only works for scripts and text files (.txt). It cannot, however, be used to convert from script to text file, or vice versa.\n *\n * This function can also be used to rename files.\n *\n * @param host - Host of target server.\n *\n * @param source - Filename of the source file.\n *\n * @param destination - Filename of the destination file.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "mv(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", source: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", destination: "
},
{
"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": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "source",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "destination",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "mv"
},
2021-10-30 18:34:14 +02:00
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "nFormat(n: "
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-12-04 05:08:11 +01:00
"text": ", format: "
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2022-01-08 19:25:06 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
2021-11-03 05:33:14 +01:00
"overloadIndex": 1,
2021-12-04 05:08:11 +01:00
"parameters": [
{
"parameterName": "n",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "format",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "nFormat"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#nuke:member(1)",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Runs NUKE.exe on a server.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * Running NUKE.exe on a target server gives you root access which means you can executes scripts on said server. NUKE.exe must exist on your home computer.\n *\n * @param host - Hostname of the target server.\n *\n * @example\n * ```ts\n * // NS1:\n * nuke(\"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * ns.nuke(\"foodnstuff\");\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "nuke(host: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +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": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "nuke"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "peek(port: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "any"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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)",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Prints one or move values or variables to the scripts logs.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param args - Value(s) to be printed.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
2022-01-08 19:25:06 +01:00
"text": "print(...args: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2022-01-08 19:25:06 +01:00
"text": "any[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2022-01-08 19:25:06 +01:00
"parameterName": "args",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
}
],
2021-12-04 05:08:11 +01:00
"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": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "prompt(txt: "
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",
2021-12-04 05:08:11 +01:00
"text": "): "
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "<boolean>"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 5
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "txt",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "prompt"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#ps:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\n * const scripts = ps(\"home\");\n * for (let i = 0; i < scripts.length; ++i) {\n * tprint(scripts[i].filename + ' ' + scripts[i].threads);\n * tprint(scripts[i].args);\n * }\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * const ps = ns.ps(\"home\");\n * for (script of ps) {\n * ns.tprint(`${script.filename} ${ps[i].threads}`);\n * ns.tprint(script.args);\n * }\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "ps(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",
2021-12-04 05:08:11 +01:00
"text": "): "
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "ProcessInfo",
"canonicalReference": "bitburner!ProcessInfo:interface"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 5
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "ps"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#purchaseServer:member(1)",
2022-01-16 00:39:37 +01:00
"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, in GB. 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 * // NS1:\n * var ram = 64;\n * var prefix = \"pserv-\";\n * for (i = 0; i < 5; ++i) {\n * purchaseServer(prefix + i, ram);\n * }\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * const ram = 64;\n * const prefix = \"pserv-\";\n * for (i = 0; i < 5; ++i) {\n * ns.purchaseServer(prefix + i, ram);\n * }\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "purchaseServer(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",
2021-12-04 05:08:11 +01:00
"text": ", ram: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +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-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-10-30 18:34:14 +02:00
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "hostname",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "ram",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-12-04 05:08:11 +01:00
"name": "purchaseServer"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#read:member(1)",
2022-01-16 00:39:37 +01:00
"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 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 - Filename to read from.\n *\n * @returns Data in the specified text file.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "read(handle: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
2021-12-04 05:08:11 +01:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "any"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-12-04 05:08:11 +01:00
"parameters": [
{
"parameterName": "handle",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "read"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "readPort(port: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "any"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "port",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "readPort"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#relaysmtp:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\n * relaysmtp(\"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * ns.relaysmtp(\"foodnstuff\");\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "relaysmtp(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": "): "
},
{
2021-12-04 05:08:11 +01: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": "host",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "relaysmtp"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "rm(name: "
},
{
"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": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "name",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "rm"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#run:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\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 * //The following example will run foo.script but with 5 threads instead of single-threaded:\n * run(\"foo.script\", 5);\n *\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 * @example\n * ```ts\n * // NS2:\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 * ns.run(\"foo.script\");\n *\n * //The following example will run foo.script but with 5 threads instead of single-threaded:\n * ns.run(\"foo.script\", 5);\n *\n * //This next example will run foo.script single-threaded, and will pass the string foodnstuff into the script as an argument:\n * ns.run(\"foo.script\", 1, 'foodnstuff');\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "run(script: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", numThreads?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", ...args: "
2021-10-30 18:34:14 +02:00
},
2022-01-08 19:25:06 +01:00
{
"kind": "Reference",
"text": "Array",
"canonicalReference": "!Array:interface"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2022-01-08 19:25:06 +01:00
"text": "<string | number | boolean>"
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": {
2022-01-08 19:25:06 +01:00
"startIndex": 8,
"endIndex": 9
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "script",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "numThreads",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
2022-01-08 19:25:06 +01:00
"endIndex": 7
2021-12-04 05:08:11 +01:00
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "run"
2021-11-03 05:33:14 +01:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#scan:member(1)",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Get the list of servers connected to a server.\n *\n * @remarks\n *\n * RAM cost: 0.2 GB\n *\n * Returns an array containing the hostnames of all servers that are one node way from the specified target server. The hostnames in the returned array are strings.\n *\n * @param host - Optional, Hostname of the server to scan, default to current server.\n *\n * @returns Returns an string of hostnames.\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-16 21:21:00 +01:00
"text": "scan(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-12-04 05:08:11 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-16 21:21:00 +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-12-04 05:08:11 +01:00
"name": "scan"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#scp:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\n * //Copies foo.lit from the helios server to the home computer:\n * scp(\"foo.lit\", \"helios\", \"home\");\n *\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 * @example\n * ```ts\n * // NS2:\n * //Copies foo.lit from the helios server to the home computer:\n * await ns.scp(\"foo.lit\", \"helios\", \"home\");\n *\n * //Tries to copy three files from rothman-uni to home computer:\n * files = [\"foo1.lit\", \"foo2.script\", \"foo3.script\"];\n * await ns.scp(files, \"rothman-uni\", \"home\");\n * ```\n *\n * @example\n * ```ts\n * //ns2, copies files from home to a target server\n * const server = ns.args[0];\n * const files = [\"hack.js\",\"weaken.js\",\"grow.js\"];\n * await ns.scp(files, \"home\", server);\n * ```\n *\n */\n",
2022-01-16 00:39:37 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "scp(files: "
},
{
"kind": "Content",
"text": "string | string[]"
},
{
"kind": "Content",
"text": ", destination: "
},
{
"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": 5,
"endIndex": 7
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "files",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "destination",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "scp"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#scp:member(2)",
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "scp(files: "
},
{
"kind": "Content",
"text": "string | string[]"
},
{
"kind": "Content",
"text": ", source: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", destination: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
2021-12-04 05:08:11 +01:00
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "<boolean>"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 7,
"endIndex": 9
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
2022-01-16 00:39:37 +01:00
"overloadIndex": 2,
2021-10-30 18:34:14 +02:00
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "files",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "source",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "destination",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "scp"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "scriptKill(script: "
},
{
"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": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "script",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "scriptKill"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#scriptRunning:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\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 * //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 *\n * @example\n * ```ts\n * // NS2:\n * //The function call will return true if there is any script named foo.script running on the foodnstuff server, and false otherwise:\n * ns.scriptRunning(\"foo.script\", \"foodnstuff\");\n *\n * //The function call will return true if there is any script named “foo.script” running on the current server, and false otherwise:\n * ns.scriptRunning(\"foo.script\", ns.getHostname());\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "scriptRunning(script: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "script",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "scriptRunning"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "serverExists(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",
2021-12-04 05:08:11 +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": 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
}
],
2021-12-04 05:08:11 +01:00
"name": "serverExists"
2021-11-03 05:33:14 +01:00
},
2022-01-18 20:02:12 +01:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#share:member(1)",
"docComment": "/**\n * Share your computer with your factions. Increasing your rep gain for a short duration.\n *\n * @remarks\n *\n * RAM cost: 2.4 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "share(): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<void>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "share"
},
2021-11-03 05:33:14 +01:00
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#sleep:member(1)",
2022-01-08 19:25:06 +01:00
"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 * @example\n * ```ts\n * // NS1:\n * // This will count from 1 to 10 in your terminal, with one number every 5 seconds\n * for (var i=0; i<10; i++) {\n * tprint(i + 1);\n * sleep(5000);\n * }\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * // This will count from 1 to 10 in your terminal, with one number every 5 seconds\n * for (var i=0; i<10; i++) {\n * ns.tprint(i + 1);\n * await ns.sleep(5000);\n * }\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",
2021-12-04 05:08:11 +01:00
"text": "sleep(millis: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "): "
},
2021-12-04 05:08:11 +01:00
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "<void>"
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
2021-12-04 05:08:11 +01:00
"endIndex": 5
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": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "millis",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "sleep"
2021-11-03 05:27:21 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#sleeve:member",
"docComment": "/**\n * Namespace for sleeve functions.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "readonly sleeve: "
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "Sleeve",
"canonicalReference": "bitburner!Sleeve:interface"
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "sleeve",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:27:21 +01:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#spawn:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\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 * @example\n * ```ts\n * // NS2:\n * //The following example will execute the script foo.script with 10 threads and the arguments foodnstuff and 90:\n * ns.spawn('foo.script', 10, 'foodnstuff', 90);\n * ```\n *\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "spawn(script: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", numThreads?: "
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", ...args: "
},
{
"kind": "Content",
"text": "string[]"
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": "): "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "numThreads",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
2021-12-04 05:08:11 +01:00
"name": "spawn"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "sprintf(format: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "string"
2021-11-03 05:27:21 +01:00
},
2021-12-04 05:08:11 +01:00
{
"kind": "Content",
"text": ", ...args: "
},
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "any[]"
2021-12-04 05:08:11 +01:00
},
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"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": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "format",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:27:21 +01:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-12-04 05:08:11 +01:00
"name": "sprintf"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#sqlinject:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\n * sqlinject(\"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * ns.sqlinject(\"foodnstuff\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "sqlinject(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",
2021-12-04 05:08:11 +01:00
"text": "void"
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
}
}
],
2021-12-04 05:08:11 +01:00
"name": "sqlinject"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#stanek:member",
"docComment": "/**\n * Namespace for stanek functions. RAM cost: 0 GB\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "readonly stanek: "
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "Stanek",
"canonicalReference": "bitburner!Stanek:interface"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "stanek",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"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": [
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "readonly stock: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Reference",
2021-12-04 05:08:11 +01:00
"text": "TIX",
"canonicalReference": "bitburner!TIX:interface"
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "stock",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#tail:member(1)",
2022-01-16 00:39:37 +01:00
"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 or PID 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 * // NS1:\n * //Open logs from foo.script on the current server that was run with no args\n * tail(\"foo.script\");\n *\n * //Get logs from foo.script on the foodnstuff server that was run with no args\n * tail(\"foo.script\", \"foodnstuff\");\n *\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 * @example\n * ```ts\n * // NS2:\n * //Open logs from foo.script on the current server that was run with no args\n * ns.tail(\"foo.script\");\n *\n * //Get logs from foo.script on the foodnstuff server that was run with no args\n * ns.tail(\"foo.script\", \"foodnstuff\");\n *\n * //Get logs from foo.script on the foodnstuff server that was run with the arguments [1, \"test\"]\n * ns.tail(\"foo.script\", \"foodnstuff\", 1, \"test\");\n * ```\n *\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "tail(fn?: "
2021-11-03 05:33:14 +01:00
},
{
2022-01-16 00:39:37 +01:00
"kind": "Reference",
"text": "FilenameOrPID",
"canonicalReference": "bitburner!FilenameOrPID:type"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", host?: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-11-03 05:33:14 +01:00
},
2021-11-22 17:36:13 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", ...args: "
2021-11-22 17:36:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "any[]"
2021-11-22 17:36:13 +01:00
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
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": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "fn",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-11-22 17:36:13 +01:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "args",
2021-11-22 17:36:13 +01:00
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-11-03 05:33:14 +01:00
}
],
2021-12-04 05:08:11 +01:00
"name": "tail"
},
2021-11-03 05:33:14 +01:00
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "tFormat(milliseconds: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", milliPrecision?: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
2021-12-04 05:08:11 +01:00
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "milliseconds",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "milliPrecision",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-12-04 05:08:11 +01:00
"name": "tFormat"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#toast:member(1)",
2022-01-16 00:39:37 +01:00
"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 * @param duration - Duration of toast in ms. Can also be `null` to create a persistent toast. Defaults to 2000\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "toast(msg: "
},
{
"kind": "Content",
"text": "any"
},
{
"kind": "Content",
"text": ", variant?: "
},
{
"kind": "Content",
"text": "string"
},
2022-01-08 19:25:06 +01:00
{
"kind": "Content",
"text": ", duration?: "
},
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "number | null"
2022-01-08 19:25:06 +01:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2022-01-08 19:25:06 +01:00
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "msg",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "variant",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2022-01-08 19:25:06 +01:00
},
{
"parameterName": "duration",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
2021-12-04 05:08:11 +01:00
"name": "toast"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#tprint:member(1)",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Prints one or more values or variables to the Terminal.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param args - Value(s) to be printed.\n */\n",
"excerptTokens": [
{
"kind": "Content",
2022-01-08 19:25:06 +01:00
"text": "tprint(...args: "
},
{
"kind": "Content",
2022-01-08 19:25:06 +01:00
"text": "any[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2022-01-08 19:25:06 +01:00
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "tprint"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#tprintf:member(1)",
"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-12-04 05:08:11 +01:00
"text": "tprintf(format: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ", ...values: "
},
{
"kind": "Content",
"text": "any[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "format",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "values",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-12-04 05:08:11 +01:00
"name": "tprintf"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "tryWritePort(port: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", data: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string[] | number"
},
{
"kind": "Content",
"text": "): "
},
2021-12-04 05:08:11 +01:00
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "<boolean>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
2021-12-04 05:08:11 +01:00
"endIndex": 7
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "port",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "data",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-12-04 05:08:11 +01:00
"name": "tryWritePort"
},
2022-01-08 19:25:06 +01:00
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#ui:member",
"docComment": "/**\n * Namespace for user interface functions. RAM cost: 0 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "readonly ui: "
},
{
"kind": "Reference",
"text": "UserInterface",
"canonicalReference": "bitburner!UserInterface:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "ui",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "vsprintf(format: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", args: "
},
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "any[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "format",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-12-04 05:08:11 +01:00
"name": "vsprintf"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#weaken:member(1)",
2022-01-08 19:25:06 +01:00
"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 when this function is called. 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 * // NS1:\n * var currentSecurity = getServerSecurityLevel(\"foodnstuff\");\n * currentSecurity = currentSecurity - weaken(\"foodnstuff\");\n * currentSecurity = currentSecurity - weaken(\"foodnstuff\", { threads: 5 }); // Only use 5 threads to weaken\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * let currentSecurity = ns.getServerSecurityLevel(\"foodnstuff\");\n * currentSecurity -= await ns.weaken(\"foodnstuff\");\n * currentSecurity -= await ns.weaken(\"foodnstuff\", { threads: 5 }); // Only use 5 threads to weaken\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "weaken(host: "
},
{
"kind": "Content",
"text": "string"
},
2021-12-04 05:08:11 +01:00
{
"kind": "Content",
"text": ", opts?: "
},
{
"kind": "Reference",
"text": "BasicHGWOptions",
"canonicalReference": "bitburner!BasicHGWOptions:interface"
},
{
"kind": "Content",
"text": "): "
},
2021-12-04 05:08:11 +01:00
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "<number>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 7
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "opts",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-12-04 05:08:11 +01:00
"name": "weaken"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "weakenAnalyze(threads: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ", cores?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "threads",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "cores",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-12-04 05:08:11 +01:00
"name": "weakenAnalyze"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#wget:member(1)",
2022-01-08 19:25:06 +01:00
"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 * // NS1:\n * wget(\"https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md\", \"game_readme.txt\");\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * await ns.wget(\"https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md\", \"game_readme.txt\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "wget(url: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", target: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", host?: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
2021-12-04 05:08:11 +01:00
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "<boolean>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
2021-12-04 05:08:11 +01:00
"endIndex": 9
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "url",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "target",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
2021-12-04 05:08:11 +01:00
"name": "wget"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!NS#write:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Write data to a file.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * This function can be used to 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 - Filename of the 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",
2021-12-04 05:08:11 +01:00
"text": "write(handle: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", data?: "
},
{
"kind": "Content",
2022-01-08 19:25:06 +01:00
"text": "string[] | number | string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", mode?: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "\"w\" | \"a\""
},
{
"kind": "Content",
"text": "): "
},
2021-12-04 05:08:11 +01:00
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "<void>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
2021-12-04 05:08:11 +01:00
"endIndex": 9
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "handle",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "data",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "mode",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
2021-12-04 05:08:11 +01:00
"name": "write"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "writePort(port: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ", data: "
},
{
"kind": "Content",
"text": "string | number"
},
{
"kind": "Content",
"text": "): "
},
2021-12-04 05:08:11 +01:00
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "<any>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 7
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "port",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "data",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-12-04 05:08:11 +01:00
"name": "writePort"
}
],
"extendsTokenRanges": [
{
2021-12-04 05:08:11 +01:00
"startIndex": 1,
"endIndex": 3
}
]
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Office:interface",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Office for a division in a city.\n *\n * @public\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "interface Office "
}
],
"releaseTag": "Public",
"name": "Office",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Office#employeeProd:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Positions of the employees\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "employeeProd: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "EmployeeJobs",
"canonicalReference": "bitburner!EmployeeJobs:interface"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "employeeProd",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Office#employees:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Name of all the employees\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "employees: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "employees",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Office#loc:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * City of the office\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "loc: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
"releaseTag": "Public",
"name": "loc",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Office#maxEne:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Maximum amount of energy of the employees\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "maxEne: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "maxEne",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Office#maxHap:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Maximum happiness of the employees\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "maxHap: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "maxHap",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Office#maxMor:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Maximum morale of the employees\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "maxMor: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
"releaseTag": "Public",
"name": "maxMor",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Office#minEne:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Minimum amount of energy of the employees\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "minEne: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "minEne",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Office#minHap:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Minimum happiness of the employees\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "minHap: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "minHap",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Office#size:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Maximum number of employee\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "size: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "size",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!OfficeAPI:interface",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Corporation Office API\n *\n * @remarks\n *\n * Requires the Office API upgrade from your corporation.\n *\n * @public\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface OfficeAPI "
}
],
"releaseTag": "Public",
"name": "OfficeAPI",
"members": [
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!OfficeAPI#assignJob:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Assign an employee to a job.\n *\n * @param divisionName - Name of the division\n *\n * @param cityName - Name of the city\n *\n * @param employeeName - name of the employee\n *\n * @param job - Name of the job.\n *\n * @returns A promise that is fulfilled when the assignment is complete.\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "assignJob(divisionName: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", cityName: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", employeeName: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", job: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "<void>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 9,
"endIndex": 11
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "cityName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "employeeName",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "job",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
}
],
2021-12-04 05:08:11 +01:00
"name": "assignJob"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!OfficeAPI#buyCoffee:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Buy coffee for your employees\n *\n * @param divisionName - Name of the division\n *\n * @param cityName - Name of the city\n *\n * @returns A promise that is fulfilled when the coffee is served.\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "buyCoffee(divisionName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", cityName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
2021-12-04 05:08:11 +01:00
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "<void>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 7
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "cityName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-12-04 05:08:11 +01:00
"name": "buyCoffee"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!OfficeAPI#getEmployee:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Get data about an employee\n *\n * @param divisionName - Name of the division\n *\n * @param cityName - Name of the city\n *\n * @param employeeName - Name of the employee\n *\n * @returns Employee data\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getEmployee(divisionName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", cityName: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ", employeeName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Employee",
"canonicalReference": "bitburner!Employee:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "cityName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "employeeName",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getEmployee"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!OfficeAPI#getOffice:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Get data about an office\n *\n * @param divisionName - Name of the division\n *\n * @param cityName - Name of the city\n *\n * @returns Office data\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getOffice(divisionName: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", cityName: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Office",
"canonicalReference": "bitburner!Office:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "cityName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getOffice"
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!OfficeAPI#hireAdVert:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Hire AdVert.\n *\n * @param divisionName - Name of the division\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hireAdVert(divisionName: "
},
{
"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": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "hireAdVert"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!OfficeAPI#hireEmployee:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Assign an employee to a job.\n *\n * @param divisionName - Name of the division\n *\n * @param cityName - Name of the city\n *\n * @returns The newly hired employee, if any\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hireEmployee(divisionName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", cityName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "Employee",
"canonicalReference": "bitburner!Employee:interface"
},
2021-12-09 02:03:22 +01:00
{
"kind": "Content",
"text": " | undefined"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
2021-12-09 02:03:22 +01:00
"endIndex": 7
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "cityName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-12-04 05:08:11 +01:00
"name": "hireEmployee"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!OfficeAPI#research:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Hire AdVert.\n *\n * @param divisionName - Name of the division\n *\n * @param researchName - Name of the research\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "research(divisionName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", researchName: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "researchName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-12-04 05:08:11 +01:00
"name": "research"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!OfficeAPI#throwParty:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Assign an employee to a job.\n *\n * @param divisionName - Name of the division\n *\n * @param cityName - Name of the city\n *\n * @param costPerEmployee - Amount to spend per employee.\n *\n * @returns Amount of happiness increased.\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "throwParty(divisionName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", cityName: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ", costPerEmployee: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
2021-12-04 05:08:11 +01:00
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "<number>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 7,
"endIndex": 9
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "cityName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "costPerEmployee",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
2021-12-04 05:08:11 +01:00
"name": "throwParty"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!OfficeAPI#upgradeOfficeSize:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Upgrade office size.\n *\n * @param divisionName - Name of the division\n *\n * @param cityName - Name of the city\n *\n * @param size - Amount of positions to open\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "upgradeOfficeSize(divisionName: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", cityName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", size: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "divisionName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "cityName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "size",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "upgradeOfficeSize"
}
],
"extendsTokenRanges": []
},
{
"kind": "Enum",
"canonicalReference": "bitburner!OrderTypes:enum",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export enum OrderTypes "
}
],
"releaseTag": "Public",
"name": "OrderTypes",
"members": [
{
"kind": "EnumMember",
"canonicalReference": "bitburner!OrderTypes.LimitBuy:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "LimitBuy = "
},
{
"kind": "Content",
"text": "\"Limit Buy Order\""
}
],
"releaseTag": "Public",
"name": "LimitBuy",
"initializerTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "EnumMember",
"canonicalReference": "bitburner!OrderTypes.LimitSell:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "LimitSell = "
},
{
"kind": "Content",
2022-01-16 00:39:37 +01:00
"text": "\"Limit Sell Order\""
}
],
"releaseTag": "Public",
2022-01-16 00:39:37 +01:00
"name": "LimitSell",
"initializerTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "EnumMember",
"canonicalReference": "bitburner!OrderTypes.StopBuy:member",
"docComment": "",
"excerptTokens": [
{
2022-01-16 00:39:37 +01:00
"kind": "Content",
"text": "StopBuy = "
},
{
2022-01-16 00:39:37 +01:00
"kind": "Content",
"text": "\"Stop Buy Order\""
}
],
"releaseTag": "Public",
"name": "StopBuy",
"initializerTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "EnumMember",
"canonicalReference": "bitburner!OrderTypes.StopSell:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "StopSell = "
},
{
2022-01-16 00:39:37 +01:00
"kind": "Content",
"text": "\"Stop Sell Order\""
}
],
2022-01-16 00:39:37 +01:00
"releaseTag": "Public",
"name": "StopSell",
"initializerTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
}
2022-01-16 00:39:37 +01:00
]
2021-12-04 05:08:11 +01:00
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Player:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "interface Player "
}
],
"releaseTag": "Public",
"name": "Player",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#agility_exp_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "agility_exp_mult: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "agility_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#agility:member",
"docComment": "",
"excerptTokens": [
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "agility: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
"releaseTag": "Public",
"name": "agility",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#bitNodeN:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "bitNodeN: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "bladeburner_max_stamina_mult: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "bladeburner_max_stamina_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#bladeburner_stamina_gain_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "bladeburner_stamina_gain_mult: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "bladeburner_success_chance_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#charisma_exp_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "charisma_exp_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "charisma_exp_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#charisma_exp:member",
"docComment": "",
"excerptTokens": [
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "charisma_exp: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "charisma_exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#charisma_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "charisma_mult: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "charisma_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#charisma:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "charisma: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "charisma",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#city:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "city: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "city",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#className:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "className: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "className",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#company_rep_mult:member",
"docComment": "",
"excerptTokens": [
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "company_rep_mult: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
"releaseTag": "Public",
"name": "company_rep_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#companyName:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "companyName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "companyName",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#createProgramName:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "createProgramName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "createProgramName",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#createProgramReqLvl:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "createProgramReqLvl: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "crime_money_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-12-03 22:14:13 +01:00
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#crime_success_mult:member",
"docComment": "",
2021-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "crime_success_mult: "
2021-12-03 22:14:13 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "crime_success_mult",
2021-12-03 22:14:13 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#crimeType:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "crimeType: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "crimeType",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#currentWorkFactionDescription:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "currentWorkFactionDescription: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "currentWorkFactionDescription",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#currentWorkFactionName:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "currentWorkFactionName: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "defense_exp_mult: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "defense_exp_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#defense_exp:member",
"docComment": "",
"excerptTokens": [
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "defense_exp: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
"releaseTag": "Public",
"name": "defense_exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#defense_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "defense_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "defense_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#defense:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "defense: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "defense",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#dexterity_exp_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "dexterity_exp_mult: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "dexterity_exp: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "dexterity_exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#dexterity_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "dexterity_mult: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "dexterity",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#faction_rep_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "faction_rep_mult: "
2021-11-22 17:36:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-11-22 17:36:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "factions: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "factions",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hacking_chance_mult:member",
"docComment": "",
"excerptTokens": [
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "hacking_chance_mult: "
2021-11-22 17:36:13 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
"releaseTag": "Public",
"name": "hacking_chance_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hacking_exp_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hacking_exp_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "hacking_exp: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "hacking_exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hacking_grow_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hacking_grow_mult: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "hacking_money_mult: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "hacking_money_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hacking_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hacking_mult: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "hacking_speed_mult: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "hacking_speed_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hacking:member",
"docComment": "",
"excerptTokens": [
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "hacking: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
"releaseTag": "Public",
"name": "hacking",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hacknet_node_core_cost_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hacknet_node_core_cost_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"name": "hacknet_node_money_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hacknet_node_purchase_cost_mult:member",
"docComment": "",
"excerptTokens": [
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "hacknet_node_purchase_cost_mult: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
"releaseTag": "Public",
"name": "hacknet_node_purchase_cost_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hacknet_node_ram_cost_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hacknet_node_ram_cost_mult: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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",
2021-12-04 05:08:11 +01:00
"text": "has4SData: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "has4SData",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#has4SDataTixApi:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "has4SDataTixApi: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "has4SDataTixApi",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hasTixApiAccess:member",
"docComment": "",
"excerptTokens": [
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "hasTixApiAccess: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "boolean"
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
"releaseTag": "Public",
"name": "hasTixApiAccess",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hasWseAccount:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hasWseAccount: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hasWseAccount",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#hp:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hp: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#intelligence:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "intelligence: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "intelligence",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#isWorking:member",
"docComment": "",
"excerptTokens": [
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "isWorking: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "boolean"
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
"releaseTag": "Public",
"name": "isWorking",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#jobs:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "jobs: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "any"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "jobs",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Player#location:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "location: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "location",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#max_hp:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "max_hp: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "max_hp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#money:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "money: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "money",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#numPeopleKilled:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "numPeopleKilled: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "numPeopleKilled",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#playtimeSinceLastAug:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "playtimeSinceLastAug: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "playtimeSinceLastAug",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#playtimeSinceLastBitnode:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "playtimeSinceLastBitnode: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "playtimeSinceLastBitnode",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#strength_exp_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "strength_exp_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "strength_exp_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#strength_exp:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "strength_exp: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "strength_exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#strength_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "strength_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "strength_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#strength:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "strength: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "strength",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#tor:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "tor: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "tor",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#totalPlaytime:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "totalPlaytime: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "totalPlaytime",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#work_money_mult:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "work_money_mult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "work_money_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#workAgiExpGained:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workAgiExpGained: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workAgiExpGained",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#workAgiExpGainRate:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workAgiExpGainRate: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workAgiExpGainRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#workChaExpGained:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workChaExpGained: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workChaExpGained",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#workChaExpGainRate:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workChaExpGainRate: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workChaExpGainRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#workDefExpGained:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workDefExpGained: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workDefExpGained",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#workDefExpGainRate:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workDefExpGainRate: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workDefExpGainRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#workDexExpGained:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workDexExpGained: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workDexExpGained",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#workDexExpGainRate:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workDexExpGainRate: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workDexExpGainRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#workHackExpGained:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workHackExpGained: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workHackExpGained",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#workHackExpGainRate:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workHackExpGainRate: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workHackExpGainRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#workMoneyGained:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workMoneyGained: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workMoneyGained",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#workMoneyGainRate:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workMoneyGainRate: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workMoneyGainRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#workMoneyLossRate:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workMoneyLossRate: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workMoneyLossRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#workRepGained:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workRepGained: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workRepGained",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#workRepGainRate:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workRepGainRate: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workRepGainRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#workStrExpGained:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workStrExpGained: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workStrExpGained",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#workStrExpGainRate:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workStrExpGainRate: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workStrExpGainRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Player#workType:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workType: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workType",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
}
],
"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",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!PlayerSkills#agility:member",
"docComment": "/**\n * Agility level\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "agility: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "agility",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!PlayerSkills#charisma:member",
"docComment": "/**\n * Chraisma level\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "charisma: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "charisma",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!PlayerSkills#defense:member",
"docComment": "/**\n * Defense level\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "defense: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "defense",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!PlayerSkills#dexterity:member",
"docComment": "/**\n * Dexterity level\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "dexterity: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "dexterity",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!PlayerSkills#hacking:member",
"docComment": "/**\n * Hacking level\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hacking: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "hacking",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!PlayerSkills#intelligence:member",
"docComment": "/**\n * Intelligence level\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "intelligence: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "intelligence",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!PlayerSkills#strength:member",
"docComment": "/**\n * Strength level\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "strength: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "strength",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
}
],
"extendsTokenRanges": []
},
2022-01-16 00:39:37 +01:00
{
"kind": "Enum",
"canonicalReference": "bitburner!PositionTypes:enum",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export enum PositionTypes "
}
],
"releaseTag": "Public",
"name": "PositionTypes",
"members": [
{
"kind": "EnumMember",
"canonicalReference": "bitburner!PositionTypes.Long:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "Long = "
},
{
"kind": "Content",
"text": "\"L\""
}
],
"releaseTag": "Public",
"name": "Long",
"initializerTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "EnumMember",
"canonicalReference": "bitburner!PositionTypes.Short:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
"text": "Short = "
},
{
"kind": "Content",
"text": "\"S\""
}
],
"releaseTag": "Public",
"name": "Short",
"initializerTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
]
},
2021-12-04 05:08:11 +01:00
{
"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",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!ProcessInfo#args:member",
"docComment": "/**\n * Script's arguments\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "args: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "args",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!ProcessInfo#filename:member",
"docComment": "/**\n * Script name.\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "filename: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "filename",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2022-01-08 19:25:06 +01:00
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!ProcessInfo#pid:member",
"docComment": "/**\n * Process ID\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "pid: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "pid",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!ProcessInfo#threads:member",
"docComment": "/**\n * Number of threads script is running with\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "threads: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "threads",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Product:interface",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Product in a warehouse\n *\n * @public\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "interface Product "
}
],
"releaseTag": "Public",
"name": "Product",
"members": [
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Product#cmp:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Competition for the product\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "cmp: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "cmp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Product#dmd:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Demand for the product\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "dmd: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "dmd",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Product#name:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Name of the product\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "name: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "name",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Product#pCost:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Production cost\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "pCost: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "pCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Product#sCost:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Sell cost, can be \"MP+5\"\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "sCost: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string | number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "sCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
}
],
"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",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!RunningScript#args:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "args: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "args",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!RunningScript#filename:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "filename: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "filename",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!RunningScript#logs:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "logs: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "logs",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!RunningScript#offlineExpGained:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "offlineExpGained: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "offlineExpGained",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!RunningScript#offlineMoneyMade:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "offlineMoneyMade: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "offlineMoneyMade",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!RunningScript#offlineRunningTime:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "offlineRunningTime: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "offlineRunningTime",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!RunningScript#onlineExpGained:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "onlineExpGained: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "onlineExpGained",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!RunningScript#onlineMoneyMade:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "onlineMoneyMade: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "onlineMoneyMade",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!RunningScript#onlineRunningTime:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "onlineRunningTime: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "onlineRunningTime",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!RunningScript#pid:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "pid: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "pid",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!RunningScript#ramUsage:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "ramUsage: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "ramUsage",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!RunningScript#server:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "server: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "server",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!RunningScript#threads:member",
"docComment": "",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "threads: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "threads",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +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 "
}
],
"releaseTag": "Public",
"name": "Server",
"members": [
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#backdoorInstalled:member",
"docComment": "/**\n * Flag indicating whether this server has a backdoor installed by a player\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "backdoorInstalled: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "backdoorInstalled",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#baseDifficulty:member",
"docComment": "/**\n * Initial server security level (i.e. security level when the server was created)\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "baseDifficulty: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "baseDifficulty",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +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",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "cpuCores: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "cpuCores",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#ftpPortOpen:member",
"docComment": "/**\n * Flag indicating whether the FTP port is open\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "ftpPortOpen: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "ftpPortOpen",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#hackDifficulty:member",
"docComment": "/**\n * Server Security Level\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hackDifficulty: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "hackDifficulty",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#hasAdminRights:member",
"docComment": "/**\n * Flag indicating whether player has admin/root access to this server\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hasAdminRights: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "hasAdminRights",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#hostname:member",
"docComment": "/**\n * Hostname. Must be unique\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hostname: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "hostname",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#httpPortOpen:member",
"docComment": "/**\n * Flag indicating whether HTTP Port is open\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "httpPortOpen: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "httpPortOpen",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#ip:member",
"docComment": "/**\n * IP Address. Must be unique\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "ip: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "ip",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#isConnectedTo:member",
"docComment": "/**\n * Flag indicating whether player is curently connected to this server\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "isConnectedTo: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "isConnectedTo",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#maxRam:member",
"docComment": "/**\n * RAM (GB) available on this server\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "maxRam: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "maxRam",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#minDifficulty:member",
"docComment": "/**\n * Minimum server security level that this server can be weakened to\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "minDifficulty: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "minDifficulty",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#moneyAvailable:member",
"docComment": "/**\n * How much money currently resides on the server and can be hacked\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "moneyAvailable: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "moneyAvailable",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#moneyMax:member",
"docComment": "/**\n * Maximum amount of money that this server can hold\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "moneyMax: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "moneyMax",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#numOpenPortsRequired:member",
"docComment": "/**\n * Number of open ports required in order to gain admin/root access\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "numOpenPortsRequired: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "numOpenPortsRequired",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#openPortCount:member",
"docComment": "/**\n * How many ports are currently opened on the server\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "openPortCount: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "openPortCount",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"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",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "organizationName: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "organizationName",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#purchasedByPlayer:member",
"docComment": "/**\n * Flag indicating whether this is a purchased server\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "purchasedByPlayer: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "purchasedByPlayer",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#ramUsed:member",
"docComment": "/**\n * RAM (GB) used. i.e. unavailable RAM\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "ramUsed: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "ramUsed",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#requiredHackingSkill:member",
"docComment": "/**\n * Hacking level required to hack this server\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "requiredHackingSkill: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "requiredHackingSkill",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#serverGrowth:member",
"docComment": "/**\n * Parameter that affects how effectively this server's money can be increased using the grow() Netscript function\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "serverGrowth: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "serverGrowth",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#smtpPortOpen:member",
"docComment": "/**\n * Flag indicating whether SMTP Port is open\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "smtpPortOpen: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "smtpPortOpen",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#sqlPortOpen:member",
"docComment": "/**\n * Flag indicating whether SQL Port is open\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "sqlPortOpen: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "sqlPortOpen",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Server#sshPortOpen:member",
"docComment": "/**\n * Flag indicating whether the SSH Port is open\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "sshPortOpen: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "sshPortOpen",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Singularity:interface",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Singularity API\n *\n * @remarks\n *\n * This API requires Source-File 4 to use. The RAM cost of all these functions is multiplied by 16/4/1 based on Source-File 4 levels.\n *\n * @public\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "export interface Singularity "
}
],
"releaseTag": "Public",
"name": "Singularity",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#applyToCompany:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Apply for a job at a company.\n *\n * @remarks\n *\n * RAM cost: 3 GB * 16/4/1\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",
2021-12-04 05:08:11 +01:00
"text": "applyToCompany(companyName: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ", field: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "companyName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "field",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "applyToCompany"
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#checkFactionInvitations:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * List all current faction invitations.\n *\n * @remarks\n *\n * RAM cost: 3 GB * 16/4/1\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",
2021-12-04 05:08:11 +01:00
"text": "checkFactionInvitations(): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "checkFactionInvitations"
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#commitCrime:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Commit a crime.\n *\n * @remarks\n *\n * RAM cost: 5 GB * 16/4/1\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 milliseconds 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,000).\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 The number of milliseconds it takes to attempt the specified crime.\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "commitCrime(crime: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "crime",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "commitCrime"
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#connect:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Connect to a server.\n *\n * @remarks\n *\n * RAM cost: 2 GB * 16/4/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",
2021-12-04 05:08:11 +01:00
"text": "connect(hostname: "
},
{
"kind": "Content",
"text": "string"
},
2021-12-04 05:08:11 +01:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "hostname",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "connect"
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#createProgram:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Create a program.\n *\n * @remarks\n *\n * RAM cost: 5 GB * 16/4/1\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 * @param focus - Acquire player focus on this program creation. Optional. Defaults to true.\n *\n * @returns True if you successfully start working on the specified program, and false otherwise.\n *\n * @example\n * ```ts\n * // NS1:\n * createProgram(“relaysmtp.exe”);\n * ```\n *\n * @example\n * ```ts\n * // NS2:\n * ns.createProgram(“relaysmtp.exe”);\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "createProgram(program: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
2022-01-16 00:39:37 +01:00
{
"kind": "Content",
"text": ", focus?: "
},
{
"kind": "Content",
"text": "boolean"
},
2021-12-04 05:08:11 +01:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2022-01-16 00:39:37 +01:00
"startIndex": 5,
"endIndex": 6
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "program",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2022-01-16 00:39:37 +01:00
},
{
"parameterName": "focus",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-12-04 05:08:11 +01:00
}
],
"name": "createProgram"
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#donateToFaction:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Donate to a faction.\n *\n * @remarks\n *\n * RAM cost: 5 GB * 16/4/1\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",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "donateToFaction(faction: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", amount: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "faction",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "amount",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-12-04 05:08:11 +01:00
"name": "donateToFaction"
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getAugmentationCost:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Get the price and reputation of an augmentation.\n *\n * @remarks\n *\n * RAM cost: 5 GB * 16/4/1\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 * use getAugmentationPrice getAugmentationRepCost\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",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getAugmentationCost(augName: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "[number, number]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "augName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getAugmentationCost"
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getAugmentationPrereq:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Get the pre-requisite of an augmentation.\n *\n * @remarks\n *\n * RAM cost: 5 GB * 16/4/1\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",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getAugmentationPrereq(augName: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "augName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getAugmentationPrereq"
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getAugmentationPrice:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Get price of an augmentation.\n *\n * @remarks\n *\n * RAM cost: 2.5 GB * 16/4/1\n *\n * @param augName - Name of Augmentation.\n *\n * @returns Price of the augmentation.\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getAugmentationPrice(augName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "augName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getAugmentationPrice"
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getAugmentationRepReq:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Get reputation requirement of an augmentation.\n *\n * @remarks\n *\n * RAM cost: 2.5 GB * 16/4/1\n *\n * @param augName - Name of Augmentation.\n *\n * @returns Reputation requirement of the augmentation.\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getAugmentationRepReq(augName: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "augName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getAugmentationRepReq"
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getAugmentationsFromFaction:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Get a list of augmentation available from a faction.\n *\n * @remarks\n *\n * RAM cost: 5 GB * 16/4/1\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",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getAugmentationsFromFaction(faction: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "faction",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getAugmentationsFromFaction"
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getAugmentationStats:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Get the stats of an augmentation.\n *\n * @remarks\n *\n * RAM cost: 5 GB * 16/4/1\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-12-04 05:08:11 +01:00
"text": "getAugmentationStats(name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "AugmentationStats",
"canonicalReference": "bitburner!AugmentationStats:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getAugmentationStats"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getCharacterInformation:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Returns an object with various information about your character.\n *\n * @remarks\n *\n * RAM cost: 0.5 GB * 16/4/1\n *\n * @deprecated\n *\n * use getPlayer\n *\n * @returns Object with various information about your character.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getCharacterInformation(): "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "CharacterInfo",
"canonicalReference": "bitburner!CharacterInfo:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getCharacterInformation"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getCompanyFavor:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Get company favor.\n *\n * @remarks\n *\n * RAM cost: 1 GB * 16/4/1\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-12-04 05:08:11 +01:00
"text": "getCompanyFavor(companyName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "companyName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getCompanyFavor"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getCompanyFavorGain:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Get company favor gain.\n *\n * @remarks\n *\n * RAM cost: 0.75 GB * 16/4/1\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-12-04 05:08:11 +01:00
"text": "getCompanyFavorGain(companyName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "companyName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getCompanyFavorGain"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getCompanyRep:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Get company reputation.\n *\n * @remarks\n *\n * RAM cost: 1 GB * 16/4/1\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-12-04 05:08:11 +01:00
"text": "getCompanyRep(companyName: "
},
{
"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": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "companyName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getCompanyRep"
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getCrimeChance:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Get chance to successfully commit a crime.\n *\n * @remarks\n *\n * RAM cost: 5 GB * 16/4/1\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-12-04 05:08:11 +01:00
"text": "getCrimeChance(crime: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
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-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "crime",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getCrimeChance"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getCrimeStats:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Get stats related to a crime.\n *\n * @remarks\n *\n * RAM cost: 5 GB * 16/4/1\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-12-04 05:08:11 +01:00
"text": "getCrimeStats(crime: "
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",
2021-12-04 05:08:11 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "CrimeStats",
"canonicalReference": "bitburner!CrimeStats:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "crime",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getCrimeStats"
},
2021-12-03 22:14:13 +01:00
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getCurrentServer:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Get the current server.\n *\n * @remarks\n *\n * RAM cost: 2 GB * 16/4/1\n *\n * @returns Name of the current server.\n */\n",
2021-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getCurrentServer(): "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-12-03 22:14:13 +01:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getCurrentServer"
2021-12-03 22:14:13 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getFactionFavor:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Get faction favor.\n *\n * @remarks\n *\n * RAM cost: 1 GB * 16/4/1\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-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getFactionFavor(faction: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "faction",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getFactionFavor"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getFactionFavorGain:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Get faction favor gain.\n *\n * @remarks\n *\n * RAM cost: 0.75 GB * 16/4/1\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-12-04 05:08:11 +01:00
"text": "getFactionFavorGain(faction: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-12-03 22:14:13 +01:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "faction",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getFactionFavorGain"
2021-12-03 22:14:13 +01:00
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getFactionRep:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Get faction reputation.\n *\n * @remarks\n *\n * RAM cost: 1 GB * 16/4/1\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-12-04 05:08:11 +01:00
"text": "getFactionRep(faction: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-11-03 05:33:14 +01:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "faction",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getFactionRep"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getOwnedAugmentations:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Get a list of owned augmentation.\n *\n * @remarks\n *\n * RAM cost: 5 GB * 16/4/1\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-12-04 05:08:11 +01:00
"text": "getOwnedAugmentations(purchased?: "
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",
2021-12-04 05:08:11 +01:00
"text": "): "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string[]"
2021-11-03 05:27:21 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "purchased",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getOwnedAugmentations"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getStats:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Returns an object with the Players stats.\n *\n * @remarks\n *\n * RAM cost: 0.5 GB * 16/4/1\n *\n * @deprecated\n *\n * use getPlayer\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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getStats(): "
2021-11-03 05:27:21 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "PlayerSkills",
"canonicalReference": "bitburner!PlayerSkills:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getStats"
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getUpgradeHomeCoresCost:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Get the price of upgrading home cores.\n *\n * @remarks\n *\n * RAM cost: 1.5 GB * 16/4/1\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",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getUpgradeHomeCoresCost(): "
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,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getUpgradeHomeCoresCost"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getUpgradeHomeRamCost:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Get the price of upgrading home RAM.\n *\n * @remarks\n *\n * RAM cost: 1.5 GB * 16/4/1\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-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getUpgradeHomeRamCost(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-03 22:14:13 +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": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getUpgradeHomeRamCost"
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#goToLocation:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Go to a location.\n *\n * @remarks\n *\n * RAM cost: 5 GB * 16/4/1\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",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "goToLocation(locationName: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
2021-11-03 05:27:21 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "locationName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "goToLocation"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#gymWorkout:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Workout at the gym.\n *\n * @remarks\n *\n * RAM cost: 2 GB * 16/4/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 * @param focus - Acquire player focus on this gym workout. Optional. Defaults to true.\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-12-04 05:08:11 +01:00
"text": "gymWorkout(gymName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", stat: "
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
2022-01-16 00:39:37 +01:00
{
"kind": "Content",
"text": ", focus?: "
},
{
"kind": "Content",
"text": "boolean"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2022-01-16 00:39:37 +01:00
"startIndex": 7,
"endIndex": 8
2021-12-04 05:08:11 +01:00
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "gymName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "stat",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2022-01-16 00:39:37 +01:00
},
{
"parameterName": "focus",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-12-04 05:08:11 +01:00
}
],
"name": "gymWorkout"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#hospitalize:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Hospitalize the player.\n *\n * @remarks\n *\n * RAM cost: 0.25 GB * 16/4/1\n *\n * @returns The cost of the hospitalization.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hospitalize(): "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-12-03 22:14:13 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "hospitalize"
2021-12-03 22:14:13 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#installAugmentations:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Install your purchased augmentations.\n *\n * @remarks\n *\n * RAM cost: 5 GB * 16/4/1\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-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "installAugmentations(cbScript?: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-12-03 22:14:13 +01:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "cbScript",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "installAugmentations"
2021-12-03 22:14:13 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#installBackdoor:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Run the backdoor command in the terminal.\n *\n * @remarks\n *\n * RAM cost: 2 GB * 16/4/1\n *\n * @returns Promise waiting for the installation to finish.\n */\n",
2021-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "installBackdoor(): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "<void>"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-12-03 22:14:13 +01:00
"startIndex": 1,
2021-12-04 05:08:11 +01:00
"endIndex": 3
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "installBackdoor"
2021-12-03 22:14:13 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#isBusy:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Check if the player is busy.\n *\n * @remarks\n *\n * RAM cost: 0.5 GB * 16/4/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-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "isBusy(): "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-12-03 22:14:13 +01:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "isBusy"
2021-12-03 22:14:13 +01:00
},
2021-12-16 18:59:11 +01:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#isFocused:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Check if the player is focused.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB * 16/4/1\n *\n * @returns True if the player is focused.\n */\n",
2021-12-16 18:59:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "isFocused(): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "isFocused"
},
2021-12-03 22:14:13 +01:00
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#joinFaction:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Join a faction.\n *\n * @remarks\n *\n * RAM cost: 3 GB * 16/4/1\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-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "joinFaction(faction: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-12-03 22:14:13 +01:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "faction",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "joinFaction"
2021-12-03 22:14:13 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#manualHack:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Run the hack command in the terminal.\n *\n * @remarks\n *\n * RAM cost: 2 GB * 16/4/1\n *\n * @returns Amount of money stolen by manual hacking.\n */\n",
2021-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "manualHack(): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "<number>"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-12-03 22:14:13 +01:00
"startIndex": 1,
2021-12-04 05:08:11 +01:00
"endIndex": 3
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "manualHack"
2021-12-03 22:14:13 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#purchaseAugmentation:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Purchase an augmentation\n *\n * @remarks\n *\n * RAM cost: 5 GB * 16/4/1\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-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "purchaseAugmentation(faction: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", augmentation: "
},
2021-12-03 22:14:13 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
2021-12-03 22:14:13 +01:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "faction",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "augmentation",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "purchaseAugmentation"
},
2021-10-30 18:34:14 +02:00
{
2021-11-03 05:27:21 +01:00
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Singularity#purchaseProgram:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Purchase a program from the dark web.\n *\n * @remarks\n *\n * RAM cost: 2 GB * 16/4/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 * // NS1\n * purchaseProgram(\"brutessh.exe\");\n * ```\n *\n * @example\n * ```ts\n * // NS2\n * ns.purchaseProgram(\"brutessh.exe\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "purchaseProgram(programName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "programName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "purchaseProgram"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Singularity#purchaseTor:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Purchase the TOR router.\n *\n * @remarks\n *\n * RAM cost: 2 GB * 16/4/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",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "purchaseTor(): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
2021-12-04 05:08:11 +01:00
"name": "purchaseTor"
},
{
"kind": "MethodSignature",
2021-12-16 18:59:11 +01:00
"canonicalReference": "bitburner!Singularity#setFocus:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Set the players focus.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB * 16/4/1\n *\n * @returns True if the focus was changed.\n */\n",
2021-12-16 18:59:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "setFocus(focus: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "focus",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "setFocus"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Singularity#softReset:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Soft reset the game.\n *\n * @remarks\n *\n * RAM cost: 5 GB * 16/4/1\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",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "softReset(cbScript: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "cbScript",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "softReset"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Singularity#stopAction:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Stop the current action.\n *\n * @remarks\n *\n * RAM cost: 1 GB * 16/4/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",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "stopAction(): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "stopAction"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#travelToCity:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Travel to another city.\n *\n * @remarks\n *\n * RAM cost: 2 GB * 16/4/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-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "travelToCity(city: "
},
{
"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": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "city",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "travelToCity"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Singularity#universityCourse:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Take university class.\n *\n * @remarks\n *\n * RAM cost: 2 GB * 16/4/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 * @param focus - Acquire player focus on this class. Optional. Defaults to true.\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-12-04 05:08:11 +01:00
"text": "universityCourse(universityName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", courseName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "string"
},
2022-01-16 00:39:37 +01:00
{
"kind": "Content",
"text": ", focus?: "
},
{
"kind": "Content",
"text": "boolean"
},
2021-11-03 05:27:21 +01: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,
2021-11-03 05:27:21 +01:00
"returnTypeTokenRange": {
2022-01-16 00:39:37 +01:00
"startIndex": 7,
"endIndex": 8
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": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "universityName",
2021-11-03 05:27:21 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "courseName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2022-01-16 00:39:37 +01:00
},
{
"parameterName": "focus",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-11-03 05:27:21 +01:00
}
],
2021-12-04 05:08:11 +01:00
"name": "universityCourse"
2021-11-03 05:27:21 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Singularity#upgradeHomeCores:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Upgrade home computer cores.\n *\n * @remarks\n *\n * RAM cost: 3 GB * 16/4/1\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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "upgradeHomeCores(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "upgradeHomeCores"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#upgradeHomeRam:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Upgrade home computer RAM.\n *\n * @remarks\n *\n * RAM cost: 3 GB * 16/4/1\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",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "upgradeHomeRam(): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "upgradeHomeRam"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#workForCompany:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Work for a company.\n *\n * @remarks\n *\n * RAM cost: 3 GB * 16/4/1\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 * @param focus - Acquire player focus on this work operation. Optional. Defaults to true.\n *\n * @returns True if the player starts working, and false otherwise.\n *\n * @example\n * ```ts\n * // NS1:\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 * @example\n * ```ts\n * // NS2:\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 (ns.getCompanyRep(COMPANY HERE) < VALUE) {\n * ns.workForCompany();\n * await ns.sleep(60000);\n * }\n * //This way, your company reputation will be updated every minute.\n * ```\n *\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "workForCompany(companyName?: "
},
{
"kind": "Content",
"text": "string"
},
2022-01-08 19:25:06 +01:00
{
"kind": "Content",
"text": ", focus?: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2022-01-08 19:25:06 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "companyName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2022-01-08 19:25:06 +01:00
},
{
"parameterName": "focus",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-12-04 05:08:11 +01:00
"name": "workForCompany"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Singularity#workForFaction:member(1)",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Work for a faction.\n *\n * @remarks\n *\n * RAM cost: 3 GB * 16/4/1\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 * @param focus - Acquire player focus on this work operation. Optional. Defaults to true.\n *\n * @returns True if the player starts working, and false otherwise.\n *\n * @example\n * ```ts\n * // NS1:\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 * @example\n * ```ts\n * // NS2:\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 (ns.getFactionRep(FACTION NAME) < VALUE) {\n * ns.workForFaction(FACNAME, WORKTYPE);\n * await ns.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-12-04 05:08:11 +01:00
"text": "workForFaction(faction: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"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
},
2022-01-08 19:25:06 +01:00
{
"kind": "Content",
"text": ", focus?: "
},
{
"kind": "Content",
"text": "boolean"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-11-03 05:27:21 +01:00
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2022-01-08 19:25:06 +01:00
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-11-03 05:27:21 +01:00
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "faction",
2021-11-03 05:27:21 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "workType",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2022-01-08 19:25:06 +01:00
},
{
"parameterName": "focus",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-11-03 05:27:21 +01:00
}
],
2021-12-04 05:08:11 +01:00
"name": "workForFaction"
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!SkillsFormulas:interface",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * Skills formulas\n *\n * @public\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "interface SkillsFormulas "
}
],
"releaseTag": "Public",
"name": "SkillsFormulas",
"members": [
2021-10-30 18:34:14 +02:00
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!SkillsFormulas#calculateExp:member(1)",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * Calculate exp for skill level.\n *\n * @param skill - target skill level\n *\n * @param skillMult - Multiplier for that skill, defaults to 1.\n *\n * @returns The calculated exp required.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "calculateExp(skill: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-09 01:19:07 +01:00
"text": ", skillMult?: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "skill",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
2021-12-09 01:19:07 +01:00
"parameterName": "skillMult",
2021-12-04 05:08:11 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "calculateExp"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!SkillsFormulas#calculateSkill:member(1)",
2021-12-09 01:19:07 +01:00
"docComment": "/**\n * Calculate skill level.\n *\n * @param exp - experience for that skill\n *\n * @param skillMult - Multiplier for that skill, defaults to 1.\n *\n * @returns The calculated skill level.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "calculateSkill(exp: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
2021-12-09 01:19:07 +01:00
"text": ", skillMult?: "
2021-12-04 05:08:11 +01:00
},
{
"kind": "Content",
"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": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "exp",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
2021-12-09 01:19:07 +01:00
"parameterName": "skillMult",
2021-12-04 05:08:11 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "calculateSkill"
}
],
"extendsTokenRanges": []
},
{
"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 "
}
],
"releaseTag": "Public",
"name": "Sleeve",
"members": [
2021-10-30 18:34:14 +02:00
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +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-12-04 05:08:11 +01:00
"text": "getInformation(sleeveNumber: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
2021-12-04 05:08:11 +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:27:21 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "sleeveNumber",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getInformation"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +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-12-04 05:08:11 +01:00
"text": "getNumSleeves(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 1,
"endIndex": 2
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-12-04 05:08:11 +01:00
"parameters": [],
"name": "getNumSleeves"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getSleeveAugmentations(sleeveNumber: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "string[]"
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-12-04 05:08:11 +01:00
"parameterName": "sleeveNumber",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getSleeveAugmentations"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +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",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getSleevePurchasableAugs(sleeveNumber: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "AugmentPair",
"canonicalReference": "bitburner!AugmentPair:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
2021-12-04 05:08:11 +01:00
"endIndex": 5
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "sleeveNumber",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getSleevePurchasableAugs"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
2021-12-04 05:08:11 +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-12-04 05:08:11 +01:00
"text": "getSleeveStats(sleeveNumber: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "SleeveSkills",
"canonicalReference": "bitburner!SleeveSkills: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": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "sleeveNumber",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getSleeveStats"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +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-12-04 05:08:11 +01:00
"text": "getTask(sleeveNumber: "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
2021-12-04 05:08:11 +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": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "sleeveNumber",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getTask"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +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-12-04 05:08:11 +01:00
"text": "purchaseSleeveAug(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"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",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "sleeveNumber",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "augName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "purchaseSleeveAug"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "setToCommitCrime(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", name: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-11-03 05:33:14 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"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": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "sleeveNumber",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-11-03 05:33:14 +01:00
}
],
2021-12-04 05:08:11 +01:00
"name": "setToCommitCrime"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "setToCompanyWork(sleeveNumber: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", 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",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "sleeveNumber",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "companyName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "setToCompanyWork"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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-12-04 05:08:11 +01:00
"text": "setToFactionWork(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", factionName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", factionWorkType: "
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-12-04 05:08:11 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "sleeveNumber",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "factionName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "factionWorkType",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "setToFactionWork"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "setToGymWorkout(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", 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-12-04 05:08:11 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "sleeveNumber",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "gymName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "stat",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "setToGymWorkout"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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-12-04 05:08:11 +01:00
"text": "setToShockRecovery(sleeveNumber: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-11-03 05:27:21 +01:00
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-11-03 05:33:14 +01:00
},
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": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "sleeveNumber",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
2021-12-04 05:08:11 +01:00
"name": "setToShockRecovery"
2021-11-03 05:27:21 +01:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "setToSynchronize(sleeveNumber: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-12-04 05:08:11 +01:00
"parameters": [
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "setToSynchronize"
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "setToUniversityCourse(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", university: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", className: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "university",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "className",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
2021-12-04 05:08:11 +01:00
"name": "setToUniversityCourse"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"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-12-04 05:08:11 +01:00
"text": "travel(sleeveNumber: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", cityName: "
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-12-04 05:08:11 +01:00
"parameterName": "sleeveNumber",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "cityName",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "travel"
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!SleeveInformation:interface",
"docComment": "/**\n * Object representing sleeve information.\n *\n * @public\n */\n",
"excerptTokens": [
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "export interface SleeveInformation "
}
],
"releaseTag": "Public",
"name": "SleeveInformation",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#city:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Location of the sleeve\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "city: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "city",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#earningsForPlayer:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Earnings synchronized to the player\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "earningsForPlayer: "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "SleeveWorkGains",
"canonicalReference": "bitburner!SleeveWorkGains:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "earningsForPlayer",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#earningsForSleeves:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Earnings synchronized to other sleeves\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
2021-11-03 05:27:21 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "earningsForSleeves: "
},
{
"kind": "Reference",
"text": "SleeveWorkGains",
"canonicalReference": "bitburner!SleeveWorkGains:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "earningsForSleeves",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#earningsForTask:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Earnings for this sleeve\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "earningsForTask: "
},
{
"kind": "Reference",
"text": "SleeveWorkGains",
"canonicalReference": "bitburner!SleeveWorkGains:interface"
},
{
"kind": "Content",
"text": ";"
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
"releaseTag": "Public",
"name": "earningsForTask",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#hp:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Current hp of the sleeve\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hp: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#jobs:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Jobs available to the sleeve\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "jobs: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "jobs",
"propertyTypeTokenRange": {
"startIndex": 1,
2021-12-04 05:08:11 +01:00
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#jobTitle:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Job titles available to the sleeve\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "jobTitle: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "jobTitle",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#maxHp:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Max hp of the sleeve\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "maxHp: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "maxHp",
"propertyTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
2021-11-03 05:27:21 +01:00
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#mult:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Sleeve multipliers\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "mult: "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +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-12-04 05:08:11 +01:00
"name": "mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#timeWorked:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Time spent on the current task in milliseconds\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "timeWorked: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "timeWorked",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#tor:member",
2022-01-08 19:25:06 +01:00
"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-12-04 05:08:11 +01:00
"text": "tor: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "tor",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#workRepGain:member",
2022-01-08 19:25:06 +01:00
"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-12-04 05:08:11 +01:00
"text": "workRepGain: "
2021-10-30 18:34:14 +02:00
},
{
2021-10-30 21:46:34 +02:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workRepGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"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 "
}
],
"releaseTag": "Public",
"name": "SleeveSkills",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveSkills#agility:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Current agility of the sleeve\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "agility: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "agility",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveSkills#charisma:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Current charisma of the sleeve\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "charisma: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "charisma",
"propertyTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveSkills#defense:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Current defense of the sleeve\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "defense: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "defense",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveSkills#dexterity:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Current dexterity of the sleeve\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "dexterity: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "dexterity",
"propertyTypeTokenRange": {
2021-12-03 22:14:13 +01:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveSkills#hacking:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Current hacking skill of the sleeve\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "hacking: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "hacking",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveSkills#shock:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Current shock of the sleeve [0-100]\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "shock: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "shock",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveSkills#strength:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Current strength of the sleeve\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "strength: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "strength",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveSkills#sync:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Current sync of the sleeve [0-100]\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "sync: "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "sync",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!SleeveTask:interface",
"docComment": "/**\n * Object representing a sleeve current task.\n *\n * @public\n */\n",
"excerptTokens": [
2021-11-03 05:33:14 +01:00
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "export interface SleeveTask "
}
],
"releaseTag": "Public",
"name": "SleeveTask",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveTask#crime:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Crime currently attempting, if any\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "crime: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "crime",
"propertyTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveTask#factionWorkType:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Faction work type being performed, if any\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "factionWorkType: "
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-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "factionWorkType",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveTask#gymStatType:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Stat being trained at the gym, if any\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "gymStatType: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "gymStatType",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveTask#location:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Location of the task, if any\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "location: "
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-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "location",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveTask#task:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Task type\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "task: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "task",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:33:14 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!SleeveWorkGains:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "export interface SleeveWorkGains "
}
],
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "SleeveWorkGains",
"members": [
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveWorkGains#workAgiExpGain:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Agility exp gained from work\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workAgiExpGain: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workAgiExpGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveWorkGains#workChaExpGain:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Charisma exp gained from work\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workChaExpGain: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workChaExpGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveWorkGains#workDefExpGain:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Defense exp gained from work,\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "workDefExpGain: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
"releaseTag": "Public",
"name": "workDefExpGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveWorkGains#workDexExpGain:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Dexterity exp gained from work\n */\n",
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "workDexExpGain: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workDexExpGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveWorkGains#workHackExpGain:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Hacking exp gained from work\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "workHackExpGain: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workHackExpGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveWorkGains#workMoneyGain:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Money gained from work\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "workMoneyGain: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "workMoneyGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveWorkGains#workStrExpGain:member",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Strength exp gained from work\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "workStrExpGain: "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
"releaseTag": "Public",
"name": "workStrExpGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
2021-11-03 05:33:14 +01:00
{
"kind": "Interface",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!SourceFileLvl:interface",
"docComment": "/**\n * @public\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "export interface SourceFileLvl "
2021-11-03 05:33:14 +01:00
}
],
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "SourceFileLvl",
2021-11-03 05:33:14 +01:00
"members": [
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"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-12-04 05:08:11 +01:00
"text": "lvl: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "lvl",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"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-12-04 05:08:11 +01:00
"text": "n: "
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,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "n",
"propertyTypeTokenRange": {
2021-11-03 05:33:14 +01:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Stanek:interface",
"docComment": "/**\n * Stanek's Gift API.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface Stanek "
}
],
"releaseTag": "Public",
"name": "Stanek",
"members": [
2021-11-03 05:33:14 +01:00
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Stanek#activeFragments:member(1)",
2022-01-18 20:02:12 +01:00
"docComment": "/**\n * List of fragments in Stanek's Gift.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * @returns List of active fragments placed on Stanek's Gift.\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "activeFragments(): "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "ActiveFragment",
"canonicalReference": "bitburner!ActiveFragment:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 1,
"endIndex": 3
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
2021-12-04 05:08:11 +01:00
"parameters": [],
"name": "activeFragments"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Stanek#canPlace:member(1)",
2022-01-18 20:02:12 +01:00
"docComment": "/**\n * Check if fragment can be placed at specified location.\n *\n * @remarks\n *\n * RAM cost: 0.5 GB\n *\n * @param rootX - rootX Root X against which to align the top left of the fragment.\n *\n * @param rootY - rootY Root Y against which to align the top left of the fragment.\n *\n * @param rotation - rotation A number from 0 to 3, the mount of 90 degree turn to take.\n *\n * @param fragmentId - fragmentId ID of the fragment to place.\n *\n * @returns true if the fragment can be placed at that position. false otherwise.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "canPlace(rootX: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", rootY: "
2021-10-30 18:34:14 +02:00
},
2021-11-03 05:33:14 +01:00
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", rotation: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", fragmentId: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 9,
"endIndex": 10
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "rootX",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "rootY",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "rotation",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "fragmentId",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
}
}
],
2021-12-04 05:08:11 +01:00
"name": "canPlace"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Stanek#charge:member(1)",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Charge a fragment, increasing its power.\n *\n * @remarks\n *\n * RAM cost: 0.4 GB\n *\n * @param rootX - rootX Root X against which to align the top left of the fragment.\n *\n * @param rootY - rootY Root Y against which to align the top left of the fragment.\n *\n * @returns Promise that lasts until the charge action is over.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "charge(rootX: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", rootY: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
2021-12-04 05:08:11 +01:00
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "<void>"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
2021-12-04 05:08:11 +01:00
"endIndex": 7
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "rootX",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "rootY",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-12-04 05:08:11 +01:00
"name": "charge"
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",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Stanek#clear:member(1)",
2022-01-18 20:02:12 +01:00
"docComment": "/**\n * Clear the board of all fragments.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "clear(): "
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "clear"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Stanek#fragmentDefinitions:member(1)",
2022-01-18 20:02:12 +01:00
"docComment": "/**\n * List possible fragments.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @returns List of possible fragments.\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "fragmentDefinitions(): "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "Fragment",
"canonicalReference": "bitburner!Fragment:interface"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "[]"
2021-11-03 05:27:21 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 1,
"endIndex": 3
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,
2021-12-04 05:08:11 +01:00
"parameters": [],
"name": "fragmentDefinitions"
2021-11-03 05:27:21 +01:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Stanek#get:member(1)",
2022-01-18 20:02:12 +01:00
"docComment": "/**\n * Get placed fragment at location.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * @param rootX - X against which to align the top left of the fragment.\n *\n * @param rootY - Y against which to align the top left of the fragment.\n *\n * @returns The fragment at [rootX, rootY], if any.\n */\n",
2021-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "get(rootX: "
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-12-04 05:08:11 +01:00
"text": ", rootY: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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
},
2021-12-04 05:08:11 +01:00
{
"kind": "Reference",
"text": "ActiveFragment",
"canonicalReference": "bitburner!ActiveFragment:interface"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": " | undefined"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
2021-12-04 05:08:11 +01:00
"endIndex": 7
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": [
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"parameterName": "rootX",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-11-03 05:27:21 +01:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "rootY",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "get"
2021-10-30 18:34:14 +02:00
},
2021-11-03 05:33:14 +01:00
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Stanek#height:member(1)",
"docComment": "/**\n * Stanek's Gift height.\n *\n * @remarks\n *\n * RAM cost: 0.4 GB\n *\n * @returns The height of the gift.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "height(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
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": {
2021-12-04 05:08:11 +01:00
"startIndex": 1,
"endIndex": 2
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,
2021-12-04 05:08:11 +01:00
"parameters": [],
"name": "height"
2021-11-03 05:27:21 +01:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Stanek#place:member(1)",
2022-01-18 20:02:12 +01:00
"docComment": "/**\n * Place fragment on Stanek's Gift.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * @param rootX - X against which to align the top left of the fragment.\n *\n * @param rootY - Y against which to align the top left of the fragment.\n *\n * @param rotation - A number from 0 to 3, the mount of 90 degree turn to take.\n *\n * @param fragmentId - ID of the fragment to place.\n *\n * @returns true if the fragment can be placed at that position. 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-12-04 05:08:11 +01:00
"text": "place(rootX: "
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-12-04 05:08:11 +01:00
"text": ", rootY: "
2021-11-03 05:33:14 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", rotation: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ", fragmentId: "
},
{
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
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": {
2021-12-04 05:08:11 +01:00
"startIndex": 9,
"endIndex": 10
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": [
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"parameterName": "rootX",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "rootY",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "rotation",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "fragmentId",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "place"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Stanek#remove:member(1)",
2022-01-18 20:02:12 +01:00
"docComment": "/**\n * Remove fragment at location.\n *\n * @remarks\n *\n * RAM cost: 0.15 GB\n *\n * @param rootX - X against which to align the top left of the fragment.\n *\n * @param rootY - Y against which to align the top left of the fragment.\n *\n * @returns The fragment at [rootX, rootY], if any.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "remove(rootX: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", rootY: "
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: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": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
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": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "rootX",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "rootY",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-11-03 05:33:14 +01:00
}
],
2021-12-04 05:08:11 +01:00
"name": "remove"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:33:14 +01:00
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!Stanek#width:member(1)",
"docComment": "/**\n * Stanek's Gift width.\n *\n * @remarks\n *\n * RAM cost: 0.4 GB\n *\n * @returns The width of the gift.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "width(): "
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": {
2021-12-04 05:08:11 +01:00
"startIndex": 1,
"endIndex": 2
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,
2021-12-04 05:08:11 +01:00
"parameters": [],
"name": "width"
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!StockOrder:interface",
2022-01-16 00:39:37 +01:00
"docComment": "/**\n * Return value of {@link TIX.getOrders | getOrders}\n *\n * Keys are stock symbols, properties are arrays of {@link StockOrderObject}\n *\n * @public\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "export interface StockOrder "
}
],
"releaseTag": "Public",
"name": "StockOrder",
"members": [
{
"kind": "IndexSignature",
"canonicalReference": "bitburner!StockOrder:index(1)",
2022-01-16 00:39:37 +01:00
"docComment": "",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "[key: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-11-03 05:33:14 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "]: "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "StockOrderObject",
"canonicalReference": "bitburner!StockOrderObject:interface"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"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": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "key",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
2021-12-04 05:08:11 +01:00
]
2021-10-30 18:34:14 +02:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
2021-12-04 05:08:11 +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",
2021-12-04 05:08:11 +01:00
"text": "export interface StockOrderObject "
2021-10-30 18:34:14 +02:00
}
],
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "StockOrderObject",
2021-10-30 18:34:14 +02:00
"members": [
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +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-12-04 05:08:11 +01:00
"text": "position: "
2021-10-30 18:34:14 +02:00
},
{
2022-01-16 00:39:37 +01:00
"kind": "Reference",
"text": "PositionTypes",
"canonicalReference": "bitburner!PositionTypes:enum"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "position",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +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-12-04 05:08:11 +01:00
"text": "price: "
2021-11-03 05:33:14 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "price",
2021-11-03 05:33:14 +01:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!StockOrderObject#shares:member",
"docComment": "/**\n * Number of shares\n */\n",
2021-11-03 05:33:14 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "shares: "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "shares",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!StockOrderObject#type:member",
"docComment": "/**\n * Order type\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "type: "
2021-10-30 18:34:14 +02:00
},
{
2022-01-16 00:39:37 +01:00
"kind": "Reference",
"text": "OrderTypes",
"canonicalReference": "bitburner!OrderTypes:enum"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "type",
2021-10-30 18:34:14 +02:00
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!TIX:interface",
"docComment": "/**\n * Stock market API\n *\n * @public\n */\n",
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "export interface TIX "
}
],
"releaseTag": "Public",
"name": "TIX",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#buy:member(1)",
"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",
2021-12-04 05:08:11 +01:00
"text": "buy(sym: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", shares: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "shares",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-11-03 05:27:21 +01:00
}
],
2021-12-04 05:08:11 +01:00
"name": "buy"
2021-11-03 05:33:14 +01:00
},
2021-11-03 05:27:21 +01:00
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#cancelOrder:member(1)",
"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-11-03 05:27:21 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "cancelOrder(sym: "
2021-11-03 05:27:21 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", shares: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ", price: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", type: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", pos: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "shares",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "price",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
},
{
"parameterName": "pos",
"parameterTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "cancelOrder"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getAskPrice:member(1)",
"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",
2021-12-04 05:08:11 +01:00
"text": "getAskPrice(sym: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getAskPrice"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getBidPrice:member(1)",
"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",
2021-12-04 05:08:11 +01:00
"text": "getBidPrice(sym: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getBidPrice"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getForecast:member(1)",
"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",
2021-12-04 05:08:11 +01:00
"text": "getForecast(sym: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getForecast"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getMaxShares:member(1)",
"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",
2021-12-04 05:08:11 +01:00
"text": "getMaxShares(sym: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getMaxShares"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getOrders:member(1)",
2022-01-16 00:39:37 +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. For each symbol you have a position in, the returned object will have a key with that symbol's name. The object's properties are each an array of {@link StockOrderObject} 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",
2021-12-04 05:08:11 +01:00
"text": "getOrders(): "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "StockOrder",
"canonicalReference": "bitburner!StockOrder:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getOrders"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getPosition:member(1)",
2022-01-08 19:25:06 +01: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 * // NS1\n * var pos = stock.getPosition(\"ECP\");\n * var shares = pos[0];\n * var avgPx = pos[1];\n * var sharesShort = pos[2];\n * var avgPxShort = pos[3];\n * ```\n *\n * @example\n * ```ts\n * // NS2\n * const [shares, avgPx, sharesShort, avgPxShort] = ns.stock.getPosition(\"ECP\");\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getPosition(sym: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "[number, number, number, number]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getPosition"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getPrice:member(1)",
2022-01-08 19:25:06 +01: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 * // NS1\n * stock.getPrice(\"FISG\");\n * ```\n *\n * @example\n * ```ts\n * // NS2\n * ns.stock.getPrice(\"FISG\");\n * ```\n *\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getPrice(sym: "
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-12-04 05:08:11 +01:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getPrice"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getPurchaseCost:member(1)",
"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",
2021-12-04 05:08:11 +01:00
"text": "getPurchaseCost(sym: "
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-12-04 05:08:11 +01:00
"text": ", shares: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", posType: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"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"
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getSaleGain:member(1)",
2022-01-08 19:25:06 +01:00
"docComment": "/**\n * Calculate profit of selling 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",
2021-12-04 05:08:11 +01:00
"text": "getSaleGain(sym: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"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",
2021-12-04 05:08:11 +01:00
"text": ", posType: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"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"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getSymbols:member(1)",
"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",
2021-12-04 05:08:11 +01:00
"text": "getSymbols(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string[]"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getSymbols"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getVolatility:member(1)",
"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",
2021-12-04 05:08:11 +01:00
"text": "getVolatility(sym: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getVolatility"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#placeOrder:member(1)",
"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",
2021-12-04 05:08:11 +01:00
"text": "placeOrder(sym: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", shares: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
},
{
"kind": "Content",
"text": ", price: "
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-12-04 05:08:11 +01:00
"text": ", type: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", pos: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "shares",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "price",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "pos",
"parameterTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "placeOrder"
2021-11-03 05:27:21 +01:00
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#purchase4SMarketData:member(1)",
"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",
2021-12-04 05:08:11 +01:00
"text": "purchase4SMarketData(): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
2021-10-30 18:34:14 +02:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "purchase4SMarketData"
},
2021-12-03 22:14:13 +01:00
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!TIX#purchase4SMarketDataTixApi:member(1)",
"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-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "purchase4SMarketDataTixApi(): "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
2021-12-04 05:08:11 +01:00
"endIndex": 2
2021-12-03 22:14:13 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
2021-12-04 05:08:11 +01:00
"name": "purchase4SMarketDataTixApi"
2021-12-03 22:14:13 +01:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!TIX#sell:member(1)",
"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-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "sell(sym: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", shares: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"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)",
"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",
"excerptTokens": [
{
"kind": "Content",
"text": "sellShort(sym: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", shares: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
2021-12-03 22:14:13 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "sym",
2021-12-03 22:14:13 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "shares",
2021-12-03 22:14:13 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-12-04 05:08:11 +01:00
"name": "sellShort"
2021-12-03 22:14:13 +01:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!TIX#short:member(1)",
"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-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "short(sym: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", shares: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
2021-12-04 05:08:11 +01:00
"endIndex": 6
2021-12-03 22:14:13 +01:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "sym",
2021-12-03 22:14:13 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "shares",
2021-12-03 22:14:13 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-12-04 05:08:11 +01:00
"name": "short"
}
],
"extendsTokenRanges": []
},
2022-01-08 19:25:06 +01:00
{
"kind": "Interface",
"canonicalReference": "bitburner!UserInterface:interface",
"docComment": "/**\n * User Interface API.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface UserInterface "
}
],
"releaseTag": "Public",
"name": "UserInterface",
"members": [
2022-01-18 20:02:12 +01:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!UserInterface#getGameInfo:member(1)",
"docComment": "/**\n * Gets the current game information (version, commit, ...)\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getGameInfo(): "
},
{
"kind": "Reference",
"text": "GameInfo",
"canonicalReference": "bitburner!GameInfo:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getGameInfo"
},
2022-01-16 00:39:37 +01:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!UserInterface#getStyles:member(1)",
2022-01-18 20:02:12 +01:00
"docComment": "/**\n * Get the current styles\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @returns An object containing the player's styles\n */\n",
2022-01-16 00:39:37 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "getStyles(): "
},
{
"kind": "Reference",
"text": "IStyleSettings",
"canonicalReference": "bitburner!IStyleSettings:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getStyles"
},
2022-01-08 19:25:06 +01:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!UserInterface#getTheme:member(1)",
2022-01-18 20:02:12 +01:00
"docComment": "/**\n * Get the current theme\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @returns An object containing the theme's colors\n */\n",
2022-01-08 19:25:06 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "getTheme(): "
},
{
"kind": "Reference",
"text": "UserInterfaceTheme",
"canonicalReference": "bitburner!UserInterfaceTheme:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getTheme"
},
2022-01-16 00:39:37 +01:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!UserInterface#resetStyles:member(1)",
2022-01-18 20:02:12 +01:00
"docComment": "/**\n * Resets the player's styles to the default values\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
2022-01-16 00:39:37 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "resetStyles(): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "resetStyles"
},
2022-01-08 19:25:06 +01:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!UserInterface#resetTheme:member(1)",
2022-01-18 20:02:12 +01:00
"docComment": "/**\n * Resets the player's theme to the default values\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
2022-01-08 19:25:06 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "resetTheme(): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "resetTheme"
},
2022-01-16 00:39:37 +01:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!UserInterface#setStyles:member(1)",
2022-01-18 20:02:12 +01:00
"docComment": "/**\n * Sets the current styles\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @example\n *\n * Usage example (NS2)\n * ```ts\n * const styles = ns.ui.getStyles();\n * styles.fontFamily = 'Comic Sans Ms';\n * ns.ui.setStyles(styles);\n * ```\n *\n */\n",
2022-01-16 00:39:37 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "setStyles(newStyles: "
},
{
"kind": "Reference",
"text": "IStyleSettings",
"canonicalReference": "bitburner!IStyleSettings:interface"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "newStyles",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "setStyles"
},
2022-01-08 19:25:06 +01:00
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!UserInterface#setTheme:member(1)",
2022-01-18 20:02:12 +01:00
"docComment": "/**\n * Sets the current theme\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @example\n *\n * Usage example (NS2)\n * ```ts\n * const theme = ns.ui.getTheme();\n * theme.primary = '#ff5500';\n * ns.ui.setTheme(theme);\n * ```\n *\n */\n",
2022-01-08 19:25:06 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "setTheme(newTheme: "
},
{
"kind": "Reference",
"text": "UserInterfaceTheme",
"canonicalReference": "bitburner!UserInterfaceTheme:interface"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "newTheme",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "setTheme"
}
],
"extendsTokenRanges": []
},
2021-12-04 05:08:11 +01:00
{
"kind": "Interface",
"canonicalReference": "bitburner!Warehouse:interface",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Warehouse for a division in a city\n *\n * @public\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
2021-12-03 22:14:13 +01:00
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "interface Warehouse "
}
],
"releaseTag": "Public",
"name": "Warehouse",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Warehouse#level:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Amount of size upgrade bought\n */\n",
2021-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "level: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "level",
"propertyTypeTokenRange": {
2021-12-03 22:14:13 +01:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
2021-12-03 22:14:13 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Warehouse#loc:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * City in which the warehouse is located\n */\n",
2021-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "loc: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "loc",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-03 22:14:13 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Warehouse#size:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Total space in the warehouse\n */\n",
2021-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "size: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"name": "size",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-03 22:14:13 +01:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "PropertySignature",
"canonicalReference": "bitburner!Warehouse#sizeUsed:member",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Used space in the warehouse\n */\n",
2021-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "sizeUsed: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"releaseTag": "Public",
"name": "sizeUsed",
"propertyTypeTokenRange": {
2021-12-03 22:14:13 +01:00
"startIndex": 1,
"endIndex": 2
2021-12-04 05:08:11 +01:00
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!WarehouseAPI:interface",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Corporation Warehouse API\n *\n * @remarks\n *\n * Requires the Warehouse API upgrade from your corporation.\n *\n * @public\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "export interface WarehouseAPI "
}
],
"releaseTag": "Public",
"name": "WarehouseAPI",
"members": [
2021-12-03 22:14:13 +01:00
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!WarehouseAPI#buyMaterial:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Set material buy data\n *\n * @param divisionName - Name of the division\n *\n * @param cityName - Name of the city\n *\n * @param materialName - Name of the material\n *\n * @param amt - Amount of material to buy\n */\n",
2021-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "buyMaterial(divisionName: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", cityName: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", materialName: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", amt: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
2021-12-03 22:14:13 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "cityName",
2021-12-03 22:14:13 +01:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "materialName",
2021-12-03 22:14:13 +01:00
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "amt",
2021-12-03 22:14:13 +01:00
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
}
],
2021-12-04 05:08:11 +01:00
"name": "buyMaterial"
2021-12-03 22:14:13 +01:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!WarehouseAPI#cancelExportMaterial:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Cancel material export\n *\n * @param sourceDivision - Source division\n *\n * @param sourceCity - Source city\n *\n * @param targetDivision - Target division\n *\n * @param targetCity - Target city\n *\n * @param materialName - Name of the material\n *\n * @param amt - Amount of material to export.\n */\n",
2021-12-03 22:14:13 +01:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "cancelExportMaterial(\n sourceDivision: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ",\n sourceCity: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ",\n targetDivision: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ",\n targetCity: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ",\n materialName: "
2021-12-03 22:14:13 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ",\n amt: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "number"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": ",\n ): "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
2021-12-04 05:08:11 +01:00
"isOptional": false,
2021-11-03 05:33:14 +01:00
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 13,
"endIndex": 14
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": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "sourceDivision",
2021-11-03 05:33:14 +01:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "sourceCity",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "targetDivision",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "targetCity",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
},
{
"parameterName": "materialName",
"parameterTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
}
},
{
"parameterName": "amt",
"parameterTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
}
2021-11-03 05:33:14 +01:00
}
2021-12-04 05:08:11 +01:00
],
"name": "cancelExportMaterial"
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!WarehouseAPI#discontinueProduct:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Discontinue a product.\n *\n * @param divisionName - Name of the division\n *\n * @param productName - Name of the product\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "discontinueProduct(divisionName: "
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-12-04 05:08:11 +01:00
"text": ", productName: "
},
{
"kind": "Content",
"text": "string"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
2021-12-04 05:08:11 +01:00
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
2021-10-30 18:34:14 +02:00
"releaseTag": "Public",
2021-12-04 05:08:11 +01:00
"overloadIndex": 1,
"parameters": [
{
"parameterName": "divisionName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "productName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "discontinueProduct"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "MethodSignature",
"canonicalReference": "bitburner!WarehouseAPI#exportMaterial:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Set material export data\n *\n * @param sourceDivision - Source division\n *\n * @param sourceCity - Source city\n *\n * @param targetDivision - Target division\n *\n * @param targetCity - Target city\n *\n * @param materialName - Name of the material\n *\n * @param amt - Amount of material to export.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "exportMaterial(\n sourceDivision: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ",\n sourceCity: "
},
2021-11-03 05:33:14 +01:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ",\n targetDivision: "
2021-11-03 05:33:14 +01:00
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ",\n targetCity: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ",\n materialName: "
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-12-04 05:08:11 +01:00
"text": ",\n amt: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ",\n ): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 13,
"endIndex": 14
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "sourceDivision",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "sourceCity",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "targetDivision",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "targetCity",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "materialName",
"parameterTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
}
2021-10-30 18:34:14 +02:00
},
2021-12-04 05:08:11 +01:00
{
"parameterName": "amt",
"parameterTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
}
}
],
"name": "exportMaterial"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!WarehouseAPI#getMaterial:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Get material data\n *\n * @param divisionName - Name of the division\n *\n * @param materialName - Name of the material\n *\n * @returns material data\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getMaterial(divisionName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", cityName: "
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-12-04 05:08:11 +01:00
"text": ", materialName: "
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-12-04 05:08:11 +01:00
"kind": "Reference",
"text": "Material",
"canonicalReference": "bitburner!Material:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "cityName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "materialName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-12-04 05:08:11 +01:00
}
],
"name": "getMaterial"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!WarehouseAPI#getProduct:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Get product data\n *\n * @param divisionName - Name of the division\n *\n * @param productName - Name of the product\n *\n * @returns product data\n */\n",
2021-12-04 05:08:11 +01:00
"excerptTokens": [
{
"kind": "Content",
"text": "getProduct(divisionName: "
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", productName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Product",
"canonicalReference": "bitburner!Product:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "divisionName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 1,
"endIndex": 2
2021-10-30 18:34:14 +02:00
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "productName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 3,
"endIndex": 4
2021-10-30 18:34:14 +02:00
}
}
],
2021-12-04 05:08:11 +01:00
"name": "getProduct"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!WarehouseAPI#getWarehouse:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Get warehouse data\n *\n * @param divisionName - Name of the division\n *\n * @param cityName - Name of the city\n *\n * @returns warehouse data\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "getWarehouse(divisionName: "
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-12-04 05:08:11 +01:00
"text": ", cityName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Warehouse",
"canonicalReference": "bitburner!Warehouse:interface"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "cityName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "getWarehouse"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!WarehouseAPI#makeProduct:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Create a new product\n *\n * @param divisionName - Name of the division\n *\n * @param cityName - Name of the city\n *\n * @param productName - Name of the product\n *\n * @param designInvest - Amount to invest for the design of the product.\n *\n * @param marketingInvest - Amount to invest for the marketing of the product.\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "makeProduct(\n divisionName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ",\n cityName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ",\n productName: "
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-12-04 05:08:11 +01:00
"text": ",\n designInvest: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ",\n marketingInvest: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "number"
},
2021-12-04 05:08:11 +01:00
{
"kind": "Content",
"text": ",\n ): "
},
{
"kind": "Content",
"text": "void"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 11,
"endIndex": 12
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "cityName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "productName",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "designInvest",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
},
{
"parameterName": "marketingInvest",
"parameterTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "makeProduct"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!WarehouseAPI#purchaseWarehouse:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Purchase warehouse for a new city\n *\n * @param divisionName - Name of the division\n *\n * @param cityName - Name of the city\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "purchaseWarehouse(divisionName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", cityName: "
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-12-04 05:08:11 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 5,
"endIndex": 6
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "cityName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "purchaseWarehouse"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!WarehouseAPI#sellMaterial:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Set material sell data.\n *\n * @param divisionName - Name of the division\n *\n * @param cityName - Name of the city\n *\n * @param materialName - Name of the material\n *\n * @param amt - Amount to sell, can be \"MAX\"\n *\n * @param price - Price to sell, can be \"MP\"\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "sellMaterial(divisionName: "
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-12-04 05:08:11 +01:00
"text": ", cityName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", materialName: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": ", amt: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-09 02:03:22 +01:00
"text": "string"
2021-12-04 05:08:11 +01:00
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", price: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-12-09 02:03:22 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 11,
"endIndex": 12
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "cityName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "materialName",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "amt",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
},
{
"parameterName": "price",
"parameterTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "sellMaterial"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!WarehouseAPI#sellProduct:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Set product sell data.\n *\n * @param divisionName - Name of the division\n *\n * @param cityName - Name of the city\n *\n * @param productName - Name of the product\n *\n * @param amt - Amount to sell, can be \"MAX\"\n *\n * @param price - Price to sell, can be \"MP\"\n *\n * @param all - Sell in all city\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "sellProduct(\n divisionName: "
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-12-04 05:08:11 +01:00
"text": ",\n cityName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ",\n productName: "
},
2021-10-30 18:34:14 +02:00
{
2021-12-04 05:08:11 +01:00
"kind": "Content",
"text": "string"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ",\n amt: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-12-09 02:03:22 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ",\n price: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-09 02:03:22 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ",\n all: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ",\n ): "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 13,
"endIndex": 14
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "cityName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "productName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "amt",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
},
{
"parameterName": "price",
"parameterTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
}
},
{
"parameterName": "all",
"parameterTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "sellProduct"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!WarehouseAPI#setMaterialMarketTA1:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Set market TA 1 for a material.\n *\n * @param divisionName - Name of the division\n *\n * @param cityName - Name of the city\n *\n * @param materialName - Name of the material\n *\n * @param on - market ta enabled\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "setMaterialMarketTA1(divisionName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", cityName: "
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-12-04 05:08:11 +01:00
"text": ", materialName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", on: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 9,
"endIndex": 10
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "cityName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "materialName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "on",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "setMaterialMarketTA1"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!WarehouseAPI#setMaterialMarketTA2:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Set market TA 2 for a material.\n *\n * @param divisionName - Name of the division\n *\n * @param cityName - Name of the city\n *\n * @param materialName - Name of the material\n *\n * @param on - market ta enabled\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "setMaterialMarketTA2(divisionName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", cityName: "
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ", materialName: "
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
},
2021-12-04 05:08:11 +01:00
{
"kind": "Content",
"text": ", on: "
},
{
"kind": "Content",
"text": "boolean"
},
2021-10-30 18:34:14 +02:00
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 9,
"endIndex": 10
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "cityName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "materialName",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "on",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "setMaterialMarketTA2"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!WarehouseAPI#setProductMarketTA1:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Set market TA 1 for a product.\n *\n * @param divisionName - Name of the division\n *\n * @param productName - Name of the product\n *\n * @param on - market ta enabled\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "setProductMarketTA1(divisionName: "
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-12-04 05:08:11 +01:00
"text": ", productName: "
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-12-04 05:08:11 +01:00
"text": ", on: "
2021-10-30 18:34:14 +02:00
},
{
2021-11-03 05:27:21 +01:00
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "productName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "on",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
2021-12-04 05:08:11 +01:00
"name": "setProductMarketTA1"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!WarehouseAPI#setProductMarketTA2:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Set market TA 2 for a product.\n *\n * @param divisionName - Name of the division\n *\n * @param productName - Name of the product\n *\n * @param on - market ta enabled\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "setProductMarketTA2(divisionName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": ", productName: "
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-12-04 05:08:11 +01:00
"text": ", on: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "productName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "on",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "setProductMarketTA2"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!WarehouseAPI#setSmartSupply:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Set smart supply\n *\n * @param divisionName - Name of the division\n *\n * @param cityName - Name of the city\n *\n * @param enabled - smart supply enabled\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "setSmartSupply(divisionName: "
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-12-04 05:08:11 +01:00
"text": ", cityName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
},
{
"kind": "Content",
"text": ", enabled: "
},
{
"kind": "Content",
"text": "boolean"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
2021-12-04 05:08:11 +01:00
"startIndex": 7,
"endIndex": 8
2021-10-30 18:34:14 +02:00
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "cityName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
2021-12-04 05:08:11 +01:00
},
{
"parameterName": "enabled",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
2021-10-30 18:34:14 +02:00
}
],
2021-12-04 05:08:11 +01:00
"name": "setSmartSupply"
2021-10-30 18:34:14 +02:00
},
{
"kind": "MethodSignature",
2021-12-04 05:08:11 +01:00
"canonicalReference": "bitburner!WarehouseAPI#upgradeWarehouse:member(1)",
2021-12-09 02:03:22 +01:00
"docComment": "/**\n * Upgrade warehouse\n *\n * @param divisionName - Name of the division\n *\n * @param cityName - Name of the city\n */\n",
2021-10-30 18:34:14 +02:00
"excerptTokens": [
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "upgradeWarehouse(divisionName: "
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-12-04 05:08:11 +01:00
"text": ", cityName: "
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "string"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
2021-12-04 05:08:11 +01:00
"text": "void"
2021-10-30 18:34:14 +02:00
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
2021-12-04 05:08:11 +01:00
"parameterName": "divisionName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
2021-12-04 05:08:11 +01:00
"parameterName": "cityName",
2021-10-30 18:34:14 +02:00
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
2021-12-04 05:08:11 +01:00
"name": "upgradeWarehouse"
2021-10-30 18:34:14 +02:00
}
],
"extendsTokenRanges": []
}
]
}
]
}