bitburner-src/input/bitburner.api.json
2021-10-30 16:03:34 -04:00

20567 lines
761 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"metadata": {
"toolPackage": "@microsoft/api-extractor",
"toolVersion": "7.18.17",
"schemaVersion": 1004,
"oldestForwardsCompatibleVersion": 1001,
"tsdocConfig": {
"$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
"noStandardTags": true,
"tagDefinitions": [
{
"tagName": "@alpha",
"syntaxKind": "modifier"
},
{
"tagName": "@beta",
"syntaxKind": "modifier"
},
{
"tagName": "@defaultValue",
"syntaxKind": "block"
},
{
"tagName": "@decorator",
"syntaxKind": "block",
"allowMultiple": true
},
{
"tagName": "@deprecated",
"syntaxKind": "block"
},
{
"tagName": "@eventProperty",
"syntaxKind": "modifier"
},
{
"tagName": "@example",
"syntaxKind": "block",
"allowMultiple": true
},
{
"tagName": "@experimental",
"syntaxKind": "modifier"
},
{
"tagName": "@inheritDoc",
"syntaxKind": "inline"
},
{
"tagName": "@internal",
"syntaxKind": "modifier"
},
{
"tagName": "@label",
"syntaxKind": "inline"
},
{
"tagName": "@link",
"syntaxKind": "inline",
"allowMultiple": true
},
{
"tagName": "@override",
"syntaxKind": "modifier"
},
{
"tagName": "@packageDocumentation",
"syntaxKind": "modifier"
},
{
"tagName": "@param",
"syntaxKind": "block",
"allowMultiple": true
},
{
"tagName": "@privateRemarks",
"syntaxKind": "block"
},
{
"tagName": "@public",
"syntaxKind": "modifier"
},
{
"tagName": "@readonly",
"syntaxKind": "modifier"
},
{
"tagName": "@remarks",
"syntaxKind": "block"
},
{
"tagName": "@returns",
"syntaxKind": "block"
},
{
"tagName": "@sealed",
"syntaxKind": "modifier"
},
{
"tagName": "@see",
"syntaxKind": "block"
},
{
"tagName": "@throws",
"syntaxKind": "block",
"allowMultiple": true
},
{
"tagName": "@typeParam",
"syntaxKind": "block",
"allowMultiple": true
},
{
"tagName": "@virtual",
"syntaxKind": "modifier"
},
{
"tagName": "@betaDocumentation",
"syntaxKind": "modifier"
},
{
"tagName": "@internalRemarks",
"syntaxKind": "block"
},
{
"tagName": "@preapproved",
"syntaxKind": "modifier"
}
],
"supportForTags": {
"@alpha": true,
"@beta": true,
"@defaultValue": true,
"@decorator": true,
"@deprecated": true,
"@eventProperty": true,
"@example": true,
"@experimental": true,
"@inheritDoc": true,
"@internal": true,
"@label": true,
"@link": true,
"@override": true,
"@packageDocumentation": true,
"@param": true,
"@privateRemarks": true,
"@public": true,
"@readonly": true,
"@remarks": true,
"@returns": true,
"@sealed": true,
"@see": true,
"@throws": true,
"@typeParam": true,
"@virtual": true,
"@betaDocumentation": true,
"@internalRemarks": true,
"@preapproved": true
}
}
},
"kind": "Package",
"canonicalReference": "bitburner!",
"docComment": "",
"name": "bitburner",
"members": [
{
"kind": "EntryPoint",
"canonicalReference": "bitburner!",
"name": "",
"members": [
{
"kind": "Interface",
"canonicalReference": "bitburner!AugmentationStats:interface",
"docComment": "/**\n * Data representing the internal values of an Augmentation.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface AugmentationStats "
}
],
"releaseTag": "Public",
"name": "AugmentationStats",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#agility_exp_mult:member",
"docComment": "/**\n * Multipler to agility experience gain rate\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "agility_exp_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "agility_exp_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#agility_mult:member",
"docComment": "/**\n * Multipler to agility skill\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "agility_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "agility_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#bladeburner_analysis_mult:member",
"docComment": "/**\n * Multipler to effectiveness in Bladeburner Field Analysis\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "bladeburner_analysis_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "bladeburner_analysis_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#bladeburner_max_stamina_mult:member",
"docComment": "/**\n * Multipler to Bladeburner max stamina\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "bladeburner_max_stamina_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "bladeburner_max_stamina_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#bladeburner_stamina_gain_mult:member",
"docComment": "/**\n * Multipler to Bladeburner stamina gain rate\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "bladeburner_stamina_gain_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "bladeburner_stamina_gain_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#bladeburner_success_chance_mult:member",
"docComment": "/**\n * Multipler to success chance in Bladeburner contracts/operations\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "bladeburner_success_chance_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "bladeburner_success_chance_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#charisma_exp_mult:member",
"docComment": "/**\n * Multipler to charisma experience gain rate\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "charisma_exp_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "charisma_exp_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#charisma_mult:member",
"docComment": "/**\n * Multipler to charisma skill\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "charisma_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "charisma_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#company_rep_mult:member",
"docComment": "/**\n * Multipler to amount of reputation gained when working\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "company_rep_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "company_rep_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#crime_money_mult:member",
"docComment": "/**\n * Multipler to amount of money gained from crimes\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "crime_money_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "crime_money_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#crime_success_mult:member",
"docComment": "/**\n * Multipler to crime success rate\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "crime_success_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "crime_success_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#defense_exp_mult:member",
"docComment": "/**\n * Multipler to defense experience gain rate\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "defense_exp_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "defense_exp_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#defense_mult:member",
"docComment": "/**\n * Multipler to defense skill\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "defense_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "defense_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#dexterity_exp_mult:member",
"docComment": "/**\n * Multipler to dexterity experience gain rate\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "dexterity_exp_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "dexterity_exp_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#dexterity_mult:member",
"docComment": "/**\n * Multipler to dexterity skill\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "dexterity_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "dexterity_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#faction_rep_mult:member",
"docComment": "/**\n * Multipler to amount of reputation gained when working\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "faction_rep_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "faction_rep_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#hacking_chance_mult:member",
"docComment": "/**\n * Multipler to chance of successfully performing a hack\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hacking_chance_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "hacking_chance_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#hacking_exp_mult:member",
"docComment": "/**\n * Multipler to hacking experience gain rate\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hacking_exp_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "hacking_exp_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#hacking_grow_mult:member",
"docComment": "/**\n * Multipler to amount of money injected into servers using grow\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hacking_grow_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "hacking_grow_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#hacking_money_mult:member",
"docComment": "/**\n * Multipler to amount of money the player gains from hacking\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hacking_money_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "hacking_money_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#hacking_mult:member",
"docComment": "/**\n * Multipler to hacking skill\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hacking_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "hacking_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#hacking_speed_mult:member",
"docComment": "/**\n * Multipler to hacking speed\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hacking_speed_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "hacking_speed_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#hacknet_node_core_cost_mult:member",
"docComment": "/**\n * Multipler to cost of core for a Hacknet Node\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hacknet_node_core_cost_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "hacknet_node_core_cost_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#hacknet_node_level_cost_mult:member",
"docComment": "/**\n * Multipler to cost of leveling up a Hacknet Node\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hacknet_node_level_cost_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "hacknet_node_level_cost_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#hacknet_node_money_mult:member",
"docComment": "/**\n * Multipler to amount of money produced by Hacknet Nodes\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hacknet_node_money_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "hacknet_node_money_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#hacknet_node_purchase_cost_mult:member",
"docComment": "/**\n * Multipler to cost of purchasing a Hacknet Node\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hacknet_node_purchase_cost_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "hacknet_node_purchase_cost_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#hacknet_node_ram_cost_mult:member",
"docComment": "/**\n * Multipler to cost of ram for a Hacknet Node\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hacknet_node_ram_cost_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "hacknet_node_ram_cost_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#strength_exp_mult:member",
"docComment": "/**\n * Multipler to strength experience gain rate\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "strength_exp_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "strength_exp_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#strength_mult:member",
"docComment": "/**\n * Multipler to strength skill\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "strength_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "strength_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentationStats#work_money_mult:member",
"docComment": "/**\n * Multipler to amount of money gained from working\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "work_money_mult?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "work_money_mult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!AugmentName:type",
"docComment": "/**\n * All augmentation names.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type AugmentName =\n "
},
{
"kind": "Content",
"text": "| \"Augmented Targeting I\"\n | \"Augmented Targeting II\"\n | \"Augmented Targeting III\"\n | \"Synthetic Heart\"\n | \"Synfibril Muscle\"\n | \"Combat Rib I\"\n | \"Combat Rib II\"\n | \"Combat Rib III\"\n | \"Nanofiber Weave\"\n | \"NEMEAN Subdermal Weave\"\n | \"Wired Reflexes\"\n | \"Graphene Bone Lacings\"\n | \"Bionic Spine\"\n | \"Graphene Bionic Spine Upgrade\"\n | \"Bionic Legs\"\n | \"Graphene Bionic Legs Upgrade\"\n | \"Speech Processor Implant\"\n | \"TITN-41 Gene-Modification Injection\"\n | \"Enhanced Social Interaction Implant\"\n | \"BitWire\"\n | \"Artificial Bio-neural Network Implant\"\n | \"Artificial Synaptic Potentiation\"\n | \"Enhanced Myelin Sheathing\"\n | \"Synaptic Enhancement Implant\"\n | \"Neural-Retention Enhancement\"\n | \"DataJack\"\n | \"Embedded Netburner Module\"\n | \"Embedded Netburner Module Core Implant\"\n | \"Embedded Netburner Module Core V2 Upgrade\"\n | \"Embedded Netburner Module Core V3 Upgrade\"\n | \"Embedded Netburner Module Analyze Engine\"\n | \"Embedded Netburner Module Direct Memory Access Upgrade\"\n | \"Neuralstimulator\"\n | \"Neural Accelerator\"\n | \"Cranial Signal Processors - Gen I\"\n | \"Cranial Signal Processors - Gen II\"\n | \"Cranial Signal Processors - Gen III\"\n | \"Cranial Signal Processors - Gen IV\"\n | \"Cranial Signal Processors - Gen V\"\n | \"Neuronal Densification\"\n | \"Nuoptimal Nootropic Injector Implant\"\n | \"Speech Enhancement\"\n | \"FocusWire\"\n | \"PC Direct-Neural Interface\"\n | \"PC Direct-Neural Interface Optimization Submodule\"\n | \"PC Direct-Neural Interface NeuroNet Injector\"\n | \"ADR-V1 Pheromone Gene\"\n | \"ADR-V2 Pheromone Gene\"\n | \"The Shadow's Simulacrum\"\n | \"Hacknet Node CPU Architecture Neural-Upload\"\n | \"Hacknet Node Cache Architecture Neural-Upload\"\n | \"Hacknet Node NIC Architecture Neural-Upload\"\n | \"Hacknet Node Kernel Direct-Neural Interface\"\n | \"Hacknet Node Core Direct-Neural Interface\"\n | \"NeuroFlux Governor\"\n | \"Neurotrainer I\"\n | \"Neurotrainer II\"\n | \"Neurotrainer III\"\n | \"HyperSight Corneal Implant\"\n | \"LuminCloaking-V1 Skin Implant\"\n | \"LuminCloaking-V2 Skin Implant\"\n | \"HemoRecirculator\"\n | \"SmartSonar Implant\"\n | \"Power Recirculation Core\"\n | \"QLink\"\n | \"The Red Pill\"\n | \"SPTN-97 Gene Modification\"\n | \"ECorp HVMind Implant\"\n | \"CordiARC Fusion Reactor\"\n | \"SmartJaw\"\n | \"Neotra\"\n | \"Xanipher\"\n | \"nextSENS Gene Modification\"\n | \"OmniTek InfoLoad\"\n | \"Photosynthetic Cells\"\n | \"BitRunners Neurolink\"\n | \"The Black Hand\"\n | \"CRTX42-AA Gene Modification\"\n | \"Neuregen Gene Modification\"\n | \"CashRoot Starter Kit\"\n | \"NutriGen Implant\"\n | \"INFRARET Enhancement\"\n | \"DermaForce Particle Barrier\"\n | \"Graphene BranchiBlades Upgrade\"\n | \"Graphene Bionic Arms Upgrade\"\n | \"BrachiBlades\"\n | \"Bionic Arms\"\n | \"Social Negotiation Assistant (S.N.A)\"\n | \"EsperTech Bladeburner Eyewear\"\n | \"EMS-4 Recombination\"\n | \"ORION-MKIV Shoulder\"\n | \"Hyperion Plasma Cannon V1\"\n | \"Hyperion Plasma Cannon V2\"\n | \"GOLEM Serum\"\n | \"Vangelis Virus\"\n | \"Vangelis Virus 3.0\"\n | \"I.N.T.E.R.L.I.N.K.E.D\"\n | \"Blade's Runners\"\n | \"BLADE-51b Tesla Armor\"\n | \"BLADE-51b Tesla Armor: Power Cells Upgrade\"\n | \"BLADE-51b Tesla Armor: Energy Shielding Upgrade\"\n | \"BLADE-51b Tesla Armor: Unibeam Upgrade\"\n | \"BLADE-51b Tesla Armor: Omnibeam Upgrade\"\n | \"BLADE-51b Tesla Armor: IPU Upgrade\"\n | \"The Blade's Simulacrum\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "AugmentName",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "Interface",
"canonicalReference": "bitburner!AugmentPair:interface",
"docComment": "/**\n * Return value of {@link Sleeve.getSleevePurchasableAugs | getSleevePurchasableAugs}\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface AugmentPair "
}
],
"releaseTag": "Public",
"name": "AugmentPair",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentPair#cost:member",
"docComment": "/**\n * augmentation cost\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "cost: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "cost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!AugmentPair#name:member",
"docComment": "/**\n * augmentation name\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "name: "
},
{
"kind": "Reference",
"text": "AugmentName",
"canonicalReference": "bitburner!AugmentName:type"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "name",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!BasicHGWOptions:interface",
"docComment": "/**\n * Options to affect the behavior of {@link NS.hack | hack}, {@link NS.grow | grow}, and {@link NS.weaken | weaken}.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface BasicHGWOptions "
}
],
"releaseTag": "Public",
"name": "BasicHGWOptions",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BasicHGWOptions#stock:member",
"docComment": "/**\n * Set to true this action will affect the stock market.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "stock?: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": true,
"releaseTag": "Public",
"name": "stock",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BasicHGWOptions#threads:member",
"docComment": "/**\n * Number of threads to use for this function. Must be less than or equal to the number of threads the script is running with.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "threads: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "threads",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!BitNodeMultipliers:interface",
"docComment": "/**\n * All multipliers affecting the difficulty of the current challenge.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface BitNodeMultipliers "
}
],
"releaseTag": "Public",
"name": "BitNodeMultipliers",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#AgilityLevelMultiplier:member",
"docComment": "/**\n * Influences how quickly the player's agility level (not exp) scales\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "AgilityLevelMultiplier: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "AgilityLevelMultiplier",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#AugmentationMoneyCost:member",
"docComment": "/**\n * Influences the base cost to purchase an augmentation.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "AugmentationMoneyCost: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "AugmentationMoneyCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#AugmentationRepCost:member",
"docComment": "/**\n * Influences the base rep the player must have with a faction to purchase an augmentation.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "AugmentationRepCost: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "AugmentationRepCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#BladeburnerRank:member",
"docComment": "/**\n * Influences how quickly the player can gain rank within Bladeburner.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "BladeburnerRank: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "BladeburnerRank",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#BladeburnerSkillCost:member",
"docComment": "/**\n * Influences the cost of skill levels from Bladeburner.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "BladeburnerSkillCost: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "BladeburnerSkillCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#CharismaLevelMultiplier:member",
"docComment": "/**\n * Influences how quickly the player's charisma level (not exp) scales\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "CharismaLevelMultiplier: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "CharismaLevelMultiplier",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#ClassGymExpGain:member",
"docComment": "/**\n * Influences the experience gained for each ability when a player completes a class.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ClassGymExpGain: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "ClassGymExpGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#CodingContractMoney:member",
"docComment": "/**\n * Influences the amount of money gained from completing Coding Contracts\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "CodingContractMoney: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "CodingContractMoney",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#CompanyWorkExpGain:member",
"docComment": "/**\n * Influences the experience gained for each ability when the player completes working their job.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "CompanyWorkExpGain: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "CompanyWorkExpGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#CompanyWorkMoney:member",
"docComment": "/**\n * Influences how much money the player earns when completing working their job.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "CompanyWorkMoney: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "CompanyWorkMoney",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#CorporationValuation:member",
"docComment": "/**\n * Influences the valuation of corporations created by the player.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "CorporationValuation: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "CorporationValuation",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#CrimeExpGain:member",
"docComment": "/**\n * Influences the base experience gained for each ability when the player commits a crime.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "CrimeExpGain: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "CrimeExpGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#CrimeMoney:member",
"docComment": "/**\n * Influences the base money gained when the player commits a crime.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "CrimeMoney: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "CrimeMoney",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#DaedalusAugsRequirement:member",
"docComment": "/**\n * Influences how many Augmentations you need in order to get invited to the Daedalus faction\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "DaedalusAugsRequirement: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "DaedalusAugsRequirement",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#DefenseLevelMultiplier:member",
"docComment": "/**\n * Influences how quickly the player's defense level (not exp) scales\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "DefenseLevelMultiplier: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "DefenseLevelMultiplier",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#DexterityLevelMultiplier:member",
"docComment": "/**\n * Influences how quickly the player's dexterity level (not exp) scales\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "DexterityLevelMultiplier: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "DexterityLevelMultiplier",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#FactionPassiveRepGain:member",
"docComment": "/**\n * Influences how much rep the player gains in each faction simply by being a member.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "FactionPassiveRepGain: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "FactionPassiveRepGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#FactionWorkExpGain:member",
"docComment": "/**\n * Influences the experience gained for each ability when the player completes work for a Faction.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "FactionWorkExpGain: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "FactionWorkExpGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#FactionWorkRepGain:member",
"docComment": "/**\n * Influences how much rep the player gains when performing work for a faction.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "FactionWorkRepGain: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "FactionWorkRepGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#FourSigmaMarketDataApiCost:member",
"docComment": "/**\n * Influences how much it costs to unlock the stock market's 4S Market Data API\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "FourSigmaMarketDataApiCost: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "FourSigmaMarketDataApiCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#FourSigmaMarketDataCost:member",
"docComment": "/**\n * Influences how much it costs to unlock the stock market's 4S Market Data (NOT API)\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "FourSigmaMarketDataCost: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "FourSigmaMarketDataCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#HackExpGain:member",
"docComment": "/**\n * Influences the experienced gained when hacking a server.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "HackExpGain: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "HackExpGain",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#HackingLevelMultiplier:member",
"docComment": "/**\n * Influences how quickly the player's hacking level (not experience) scales\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "HackingLevelMultiplier: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "HackingLevelMultiplier",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#HacknetNodeMoney:member",
"docComment": "/**\n * Influences how much money is produced by Hacknet Nodes and the hash rate of Hacknet Servers (unlocked in BitNode-9)\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "HacknetNodeMoney: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "HacknetNodeMoney",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#HomeComputerRamCost:member",
"docComment": "/**\n * Influences how much money it costs to upgrade your home computer's RAM\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "HomeComputerRamCost: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "HomeComputerRamCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#InfiltrationMoney:member",
"docComment": "/**\n * Influences how much money is gained when the player infiltrates a company.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "InfiltrationMoney: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "InfiltrationMoney",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#InfiltrationRep:member",
"docComment": "/**\n * Influences how much rep the player can gain from factions when selling stolen documents and secrets\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "InfiltrationRep: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "InfiltrationRep",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#ManualHackMoney:member",
"docComment": "/**\n * Influences how much money can be stolen from a server when the player performs a hack against it through the Terminal.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ManualHackMoney: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "ManualHackMoney",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#PurchasedServerCost:member",
"docComment": "/**\n * Influence how much it costs to purchase a server\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "PurchasedServerCost: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "PurchasedServerCost",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#PurchasedServerLimit:member",
"docComment": "/**\n * Influences the maximum number of purchased servers you can have\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "PurchasedServerLimit: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "PurchasedServerLimit",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#PurchasedServerMaxRam:member",
"docComment": "/**\n * Influences the maximum allowed RAM for a purchased server\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "PurchasedServerMaxRam: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "PurchasedServerMaxRam",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#RepToDonateToFaction:member",
"docComment": "/**\n * Influences the minimum favor the player must have with a faction before they can donate to gain rep.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "RepToDonateToFaction: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "RepToDonateToFaction",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#ScriptHackMoney:member",
"docComment": "/**\n * Influences how much money can be stolen from a server when a script performs a hack against it.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ScriptHackMoney: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "ScriptHackMoney",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#ServerGrowthRate:member",
"docComment": "/**\n * Influences the growth percentage per cycle against a server.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ServerGrowthRate: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "ServerGrowthRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#ServerMaxMoney:member",
"docComment": "/**\n * Influences the maxmimum money that a server can grow to.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ServerMaxMoney: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "ServerMaxMoney",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#ServerStartingMoney:member",
"docComment": "/**\n * Influences the initial money that a server starts with.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ServerStartingMoney: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "ServerStartingMoney",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#ServerStartingSecurity:member",
"docComment": "/**\n * Influences the initial security level (hackDifficulty) of a server.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ServerStartingSecurity: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "ServerStartingSecurity",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#ServerWeakenRate:member",
"docComment": "/**\n * Influences the weaken amount per invocation against a server.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ServerWeakenRate: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "ServerWeakenRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BitNodeMultipliers#StrengthLevelMultiplier:member",
"docComment": "/**\n * Influences how quickly the player's strength level (not exp) scales\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "StrengthLevelMultiplier: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "StrengthLevelMultiplier",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Bladeburner:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface Bladeburner "
}
],
"releaseTag": "Public",
"name": "Bladeburner",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getActionAutolevel:member(1)",
"docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\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 * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns True if the action is set to autolevel, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getActionAutolevel(\n type: "
},
{
"kind": "Reference",
"text": "BladeburnerActTypes",
"canonicalReference": "bitburner!BladeburnerActTypes:type"
},
{
"kind": "Content",
"text": ",\n name: "
},
{
"kind": "Reference",
"text": "BladeburnerGenActions",
"canonicalReference": "bitburner!BladeburnerGenActions:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerContracts",
"canonicalReference": "bitburner!BladeburnerContracts:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerOperations",
"canonicalReference": "bitburner!BladeburnerOperations:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerBlackOps",
"canonicalReference": "bitburner!BladeburnerBlackOps:type"
},
{
"kind": "Content",
"text": ",\n ): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 10
}
}
],
"name": "getActionAutolevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getActionCountRemaining:member(1)",
"docComment": "/**\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 function.\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 * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Remaining count of the specified action.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getActionCountRemaining(\n type: "
},
{
"kind": "Reference",
"text": "BladeburnerActTypes",
"canonicalReference": "bitburner!BladeburnerActTypes:type"
},
{
"kind": "Content",
"text": ",\n name: "
},
{
"kind": "Reference",
"text": "BladeburnerGenActions",
"canonicalReference": "bitburner!BladeburnerGenActions:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerContracts",
"canonicalReference": "bitburner!BladeburnerContracts:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerOperations",
"canonicalReference": "bitburner!BladeburnerOperations:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerBlackOps",
"canonicalReference": "bitburner!BladeburnerBlackOps:type"
},
{
"kind": "Content",
"text": ",\n ): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 10
}
}
],
"name": "getActionCountRemaining"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getActionCurrentLevel:member(1)",
"docComment": "/**\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 function.\n *\n * Returns the current level of this action.\n *\n * Returns -1 if an invalid action is specified.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Current level of the specified action.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getActionCurrentLevel(\n type: "
},
{
"kind": "Reference",
"text": "BladeburnerActTypes",
"canonicalReference": "bitburner!BladeburnerActTypes:type"
},
{
"kind": "Content",
"text": ",\n name: "
},
{
"kind": "Reference",
"text": "BladeburnerGenActions",
"canonicalReference": "bitburner!BladeburnerGenActions:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerContracts",
"canonicalReference": "bitburner!BladeburnerContracts:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerOperations",
"canonicalReference": "bitburner!BladeburnerOperations:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerBlackOps",
"canonicalReference": "bitburner!BladeburnerBlackOps:type"
},
{
"kind": "Content",
"text": ",\n ): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 10
}
}
],
"name": "getActionCurrentLevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getActionEstimatedSuccessChance:member(1)",
"docComment": "/**\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 function.\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 * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Estimated success chance for the specified action.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getActionEstimatedSuccessChance(\n type: "
},
{
"kind": "Reference",
"text": "BladeburnerActTypes",
"canonicalReference": "bitburner!BladeburnerActTypes:type"
},
{
"kind": "Content",
"text": ",\n name: "
},
{
"kind": "Reference",
"text": "BladeburnerGenActions",
"canonicalReference": "bitburner!BladeburnerGenActions:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerContracts",
"canonicalReference": "bitburner!BladeburnerContracts:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerOperations",
"canonicalReference": "bitburner!BladeburnerOperations:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerBlackOps",
"canonicalReference": "bitburner!BladeburnerBlackOps:type"
},
{
"kind": "Content",
"text": ",\n ): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 10
}
}
],
"name": "getActionEstimatedSuccessChance"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getActionMaxLevel:member(1)",
"docComment": "/**\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 function.\n *\n * Returns the maximum level for this action.\n *\n * Returns -1 if an invalid action is specified.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Maximum level of the specified action.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getActionMaxLevel(\n type: "
},
{
"kind": "Reference",
"text": "BladeburnerActTypes",
"canonicalReference": "bitburner!BladeburnerActTypes:type"
},
{
"kind": "Content",
"text": ",\n name: "
},
{
"kind": "Reference",
"text": "BladeburnerGenActions",
"canonicalReference": "bitburner!BladeburnerGenActions:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerContracts",
"canonicalReference": "bitburner!BladeburnerContracts:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerOperations",
"canonicalReference": "bitburner!BladeburnerOperations:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerBlackOps",
"canonicalReference": "bitburner!BladeburnerBlackOps:type"
},
{
"kind": "Content",
"text": ",\n ): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 10
}
}
],
"name": "getActionMaxLevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getActionRepGain:member(1)",
"docComment": "/**\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 function.\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 * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @param level - Optional action level at which to calculate the gain\n *\n * @returns Average Bladeburner reputation gain for successfully completing the specified action.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getActionRepGain(\n type: "
},
{
"kind": "Reference",
"text": "BladeburnerActTypes",
"canonicalReference": "bitburner!BladeburnerActTypes:type"
},
{
"kind": "Content",
"text": ",\n name: "
},
{
"kind": "Reference",
"text": "BladeburnerGenActions",
"canonicalReference": "bitburner!BladeburnerGenActions:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerContracts",
"canonicalReference": "bitburner!BladeburnerContracts:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerOperations",
"canonicalReference": "bitburner!BladeburnerOperations:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerBlackOps",
"canonicalReference": "bitburner!BladeburnerBlackOps:type"
},
{
"kind": "Content",
"text": ",\n level: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ",\n ): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 13,
"endIndex": 14
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 10
}
},
{
"parameterName": "level",
"parameterTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
}
}
],
"name": "getActionRepGain"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getActionTime:member(1)",
"docComment": "/**\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 function.\n *\n * Returns the number of seconds it takes to complete the specified action\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Number of seconds it takes to complete the specified action.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getActionTime(\n type: "
},
{
"kind": "Reference",
"text": "BladeburnerActTypes",
"canonicalReference": "bitburner!BladeburnerActTypes:type"
},
{
"kind": "Content",
"text": ",\n name: "
},
{
"kind": "Reference",
"text": "BladeburnerGenActions",
"canonicalReference": "bitburner!BladeburnerGenActions:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerContracts",
"canonicalReference": "bitburner!BladeburnerContracts:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerOperations",
"canonicalReference": "bitburner!BladeburnerOperations:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerBlackOps",
"canonicalReference": "bitburner!BladeburnerBlackOps:type"
},
{
"kind": "Content",
"text": ",\n ): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 10
}
}
],
"name": "getActionTime"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getBlackOpNames:member(1)",
"docComment": "/**\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 function.\n *\n * Returns an array of strings containing the names of all Bladeburner Black Ops.\n *\n * @remarks\n *\n * RAM cost: 0.4 GB\n *\n * @returns Array of strings containing the names of all Bladeburner Black Ops.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getBlackOpNames(): "
},
{
"kind": "Reference",
"text": "BladeburnerBlackOps",
"canonicalReference": "bitburner!BladeburnerBlackOps:type"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getBlackOpNames"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getBlackOpRank:member(1)",
"docComment": "/**\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 function.\n *\n * Returns the rank required to complete this BlackOp.\n *\n * Returns -1 if an invalid action is specified.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * @param name - Name of BlackOp. Must be an exact match.\n *\n * @returns Rank required to complete this BlackOp.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getBlackOpRank(name: "
},
{
"kind": "Reference",
"text": "BladeburnerBlackOps",
"canonicalReference": "bitburner!BladeburnerBlackOps:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getBlackOpRank"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getBonusTime:member(1)",
"docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\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 * @remarks\n *\n * RAM cost: 0 GB\n *\n * @returns Amount of accumulated “bonus time” (seconds) for the Bladeburner mechanic.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getBonusTime(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getBonusTime"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getCity:member(1)",
"docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the city that the player is currently in (for Bladeburner).\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @returns City that the player is currently in (for Bladeburner).\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getCity(): "
},
{
"kind": "Reference",
"text": "City",
"canonicalReference": "bitburner!City:type"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getCity"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getCityChaos:member(1)",
"docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the chaos in the specified city, or -1 if an invalid city was specified.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param cityName - Name of city. Case-sensitive\n *\n * @returns Chaos in the specified city.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getCityChaos(name: "
},
{
"kind": "Reference",
"text": "City",
"canonicalReference": "bitburner!City:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getCityChaos"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getCityCommunities:member(1)",
"docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the estimated number of Synthoid communities in the specified city, or -1 if an invalid city was specified.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param cityName - Name of city. Case-sensitive\n *\n * @returns Number of Synthoids communities in the specified city.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getCityCommunities(name: "
},
{
"kind": "Reference",
"text": "City",
"canonicalReference": "bitburner!City:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getCityCommunities"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getCityEstimatedPopulation:member(1)",
"docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the estimated number of Synthoids in the specified city, or -1 if an invalid city was specified.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param cityName - Name of city. Case-sensitive\n *\n * @returns Estimated number of Synthoids in the specified city.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getCityEstimatedPopulation(name: "
},
{
"kind": "Reference",
"text": "City",
"canonicalReference": "bitburner!City:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getCityEstimatedPopulation"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getContractNames:member(1)",
"docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns an array of strings containing the names of all Bladeburner contracts.\n *\n * @remarks\n *\n * RAM cost: 0.4 GB\n *\n * @returns Array of strings containing the names of all Bladeburner contracts.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getContractNames(): "
},
{
"kind": "Reference",
"text": "BladeburnerContracts",
"canonicalReference": "bitburner!BladeburnerContracts:type"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getContractNames"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getCurrentAction:member(1)",
"docComment": "/**\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 function.\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 * @remarks\n *\n * RAM cost: 1 GB\n *\n * @returns Object that represents the players current Bladeburner action.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getCurrentAction(): "
},
{
"kind": "Reference",
"text": "BladeburnerCurAction",
"canonicalReference": "bitburner!BladeburnerCurAction:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getCurrentAction"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getGeneralActionNames:member(1)",
"docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns an array of strings containing the names of all general Bladeburner actions.\n *\n * @remarks\n *\n * RAM cost: 0.4 GB\n *\n * @returns Array of strings containing the names of all general Bladeburner actions.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getGeneralActionNames(): "
},
{
"kind": "Reference",
"text": "BladeburnerGenActions",
"canonicalReference": "bitburner!BladeburnerGenActions:type"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getGeneralActionNames"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getOperationNames:member(1)",
"docComment": "/**\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 function.\n *\n * Returns an array of strings containing the names of all Bladeburner operations.\n *\n * @remarks\n *\n * RAM cost: 0.4 GB\n *\n * @returns Array of strings containing the names of all Bladeburner operations.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getOperationNames(): "
},
{
"kind": "Reference",
"text": "BladeburnerOperations",
"canonicalReference": "bitburner!BladeburnerOperations:type"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getOperationNames"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getRank:member(1)",
"docComment": "/**\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 function.\n *\n * Returns the players Bladeburner Rank.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @returns Players Bladeburner Rank.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getRank(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getRank"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getSkillLevel:member(1)",
"docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\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 * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param skillName - Name of skill. Case-sensitive and must be an exact match\n *\n * @returns Level in the specified skill.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getSkillLevel(name: "
},
{
"kind": "Reference",
"text": "BladeburnerSkills",
"canonicalReference": "bitburner!BladeburnerSkills:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getSkillLevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getSkillNames:member(1)",
"docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns an array of strings containing the names of all general Bladeburner skills.\n *\n * @remarks\n *\n * RAM cost: 0.4 GB\n *\n * @returns Array of strings containing the names of all general Bladeburner skills.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getSkillNames(): "
},
{
"kind": "Reference",
"text": "BladeburnerSkills",
"canonicalReference": "bitburner!BladeburnerSkills:type"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getSkillNames"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getSkillPoints:member(1)",
"docComment": "/**\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 function.\n *\n * Returns the number of Bladeburner skill points you have.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @returns Number of Bladeburner skill points you have.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getSkillPoints(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getSkillPoints"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getSkillUpgradeCost:member(1)",
"docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\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 * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param skillName - Name of skill. Case-sensitive and must be an exact match\n *\n * @returns Number of skill points needed to upgrade the specified skill.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getSkillUpgradeCost(name: "
},
{
"kind": "Reference",
"text": "BladeburnerSkills",
"canonicalReference": "bitburner!BladeburnerSkills:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getSkillUpgradeCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getStamina:member(1)",
"docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns an array with two elements: * [Current stamina, Max stamina]\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @returns Array containing current stamina and max stamina.\n *\n * @example\n * ```ts\n * function getStaminaPercentage() {\n * let res = bladeburner.getStamina();\n * return res[0] / res[1];\n * }\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getStamina(): "
},
{
"kind": "Content",
"text": "[number, number]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getStamina"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#getTeamSize:member(1)",
"docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\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 * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Number of Bladeburner team members that were assigned to the specified action.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getTeamSize(\n type: "
},
{
"kind": "Reference",
"text": "BladeburnerActTypes",
"canonicalReference": "bitburner!BladeburnerActTypes:type"
},
{
"kind": "Content",
"text": ",\n name: "
},
{
"kind": "Reference",
"text": "BladeburnerGenActions",
"canonicalReference": "bitburner!BladeburnerGenActions:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerContracts",
"canonicalReference": "bitburner!BladeburnerContracts:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerOperations",
"canonicalReference": "bitburner!BladeburnerOperations:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerBlackOps",
"canonicalReference": "bitburner!BladeburnerBlackOps:type"
},
{
"kind": "Content",
"text": ",\n ): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 10
}
}
],
"name": "getTeamSize"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#joinBladeburnerDivision:member(1)",
"docComment": "/**\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 function.\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 * @remarks\n *\n * RAM cost: 4 GB\n *\n * @returns True if you successfully join the Bladeburner division, or if you are already a member, false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "joinBladeburnerDivision(): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "joinBladeburnerDivision"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#joinBladeburnerFaction:member(1)",
"docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * 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 * @remarks\n *\n * RAM cost: 4 GB\n *\n * @returns True if you successfully join the Bladeburner faction, or if you are already a member, false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "joinBladeburnerFaction(): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "joinBladeburnerFaction"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#setActionAutolevel:member(1)",
"docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Enable/disable autoleveling for the specified action.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @param autoLevel - Whether or not to autolevel this action\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "setActionAutolevel(\n type: "
},
{
"kind": "Reference",
"text": "BladeburnerActTypes",
"canonicalReference": "bitburner!BladeburnerActTypes:type"
},
{
"kind": "Content",
"text": ",\n name: "
},
{
"kind": "Reference",
"text": "BladeburnerGenActions",
"canonicalReference": "bitburner!BladeburnerGenActions:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerContracts",
"canonicalReference": "bitburner!BladeburnerContracts:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerOperations",
"canonicalReference": "bitburner!BladeburnerOperations:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerBlackOps",
"canonicalReference": "bitburner!BladeburnerBlackOps:type"
},
{
"kind": "Content",
"text": ",\n autoLevel: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ",\n ): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 13,
"endIndex": 14
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 10
}
},
{
"parameterName": "autoLevel",
"parameterTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
}
}
],
"name": "setActionAutolevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#setActionLevel:member(1)",
"docComment": "/**\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 function.\n *\n * Set the level for the specified action.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @param level - Level to set this action to.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "setActionLevel(\n type: "
},
{
"kind": "Reference",
"text": "BladeburnerActTypes",
"canonicalReference": "bitburner!BladeburnerActTypes:type"
},
{
"kind": "Content",
"text": ",\n name: "
},
{
"kind": "Reference",
"text": "BladeburnerGenActions",
"canonicalReference": "bitburner!BladeburnerGenActions:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerContracts",
"canonicalReference": "bitburner!BladeburnerContracts:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerOperations",
"canonicalReference": "bitburner!BladeburnerOperations:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerBlackOps",
"canonicalReference": "bitburner!BladeburnerBlackOps:type"
},
{
"kind": "Content",
"text": ",\n level: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ",\n ): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 13,
"endIndex": 14
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 10
}
},
{
"parameterName": "level",
"parameterTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
}
}
],
"name": "setActionLevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#setTeamSize:member(1)",
"docComment": "/**\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 function.\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 * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @param size - Number of team members to set. Will be converted using Math.round().\n *\n * @returns Number of Bladeburner team members you assigned to the specified action.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "setTeamSize(\n type: "
},
{
"kind": "Reference",
"text": "BladeburnerActTypes",
"canonicalReference": "bitburner!BladeburnerActTypes:type"
},
{
"kind": "Content",
"text": ",\n name: "
},
{
"kind": "Reference",
"text": "BladeburnerGenActions",
"canonicalReference": "bitburner!BladeburnerGenActions:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerContracts",
"canonicalReference": "bitburner!BladeburnerContracts:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerOperations",
"canonicalReference": "bitburner!BladeburnerOperations:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerBlackOps",
"canonicalReference": "bitburner!BladeburnerBlackOps:type"
},
{
"kind": "Content",
"text": ",\n size: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ",\n ): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 13,
"endIndex": 14
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 10
}
},
{
"parameterName": "size",
"parameterTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
}
}
],
"name": "setTeamSize"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#startAction:member(1)",
"docComment": "/**\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 function.\n *\n * Attempts to start the specified Bladeburner action. Returns true if the action was started successfully, and false otherwise.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match\n *\n * @returns True if the action was started successfully, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "startAction(\n type: "
},
{
"kind": "Reference",
"text": "BladeburnerActTypes",
"canonicalReference": "bitburner!BladeburnerActTypes:type"
},
{
"kind": "Content",
"text": ",\n name: "
},
{
"kind": "Reference",
"text": "BladeburnerGenActions",
"canonicalReference": "bitburner!BladeburnerGenActions:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerContracts",
"canonicalReference": "bitburner!BladeburnerContracts:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerOperations",
"canonicalReference": "bitburner!BladeburnerOperations:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerBlackOps",
"canonicalReference": "bitburner!BladeburnerBlackOps:type"
},
{
"kind": "Content",
"text": ",\n ): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 10
}
}
],
"name": "startAction"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#stopBladeburnerAction:member(1)",
"docComment": "/**\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 function.\n *\n * Stops the current Bladeburner action.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "stopBladeburnerAction(): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "stopBladeburnerAction"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#switchCity:member(1)",
"docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Attempts to switch to the specified city (for Bladeburner only).\n *\n * Returns true if successful, and false otherwise\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param cityName - Name of city. Case-sensitive\n *\n * @returns true if successful, and false otherwise\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "switchCity(name: "
},
{
"kind": "Reference",
"text": "City",
"canonicalReference": "bitburner!City:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "switchCity"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Bladeburner#upgradeSkill:member(1)",
"docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Attempts to upgrade the specified Bladeburner skill.\n *\n * Returns true if the skill is successfully upgraded, and false otherwise.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param skillName - Name of skill to be upgraded. Case-sensitive and must be an exact match\n *\n * @returns true if the skill is successfully upgraded, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "upgradeSkill(name: "
},
{
"kind": "Reference",
"text": "BladeburnerSkills",
"canonicalReference": "bitburner!BladeburnerSkills:type"
},
{
"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": "TypeAlias",
"canonicalReference": "bitburner!BladeburnerActTypes:type",
"docComment": "/**\n * All Bladeburner action types.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type BladeburnerActTypes = "
},
{
"kind": "Content",
"text": "\"contracts\" | \"operations\" | \"black ops\" | \"general\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "BladeburnerActTypes",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!BladeburnerBlackOps:type",
"docComment": "/**\n * All Bladeburner black ops.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type BladeburnerBlackOps =\n "
},
{
"kind": "Content",
"text": "| \"Operation Typhoon\"\n | \"Operation Zero\"\n | \"Operation X\"\n | \"Operation Titan\"\n | \"Operation Ares\"\n | \"Operation Archangel\"\n | \"Operation Juggernaut\"\n | \"Operation Red Dragon\"\n | \"Operation K\"\n | \"Operation Deckard\"\n | \"Operation Tyrell\"\n | \"Operation Wallace\"\n | \"Operation Shoulder of Orion\"\n | \"Operation Hyron\"\n | \"Operation Morpheus\"\n | \"Operation Ion Storm\"\n | \"Operation Annihilus\"\n | \"Operation Ultron\"\n | \"Operation Centurion\"\n | \"Operation Vindictus\"\n | \"Operation Daedalus\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "BladeburnerBlackOps",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!BladeburnerContracts:type",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type BladeburnerContracts = "
},
{
"kind": "Content",
"text": "\"Tracking\" | \"Bounty Hunter\" | \"Retirement\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "BladeburnerContracts",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "Interface",
"canonicalReference": "bitburner!BladeburnerCurAction:interface",
"docComment": "/**\n * Bladeburner current action.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface BladeburnerCurAction "
}
],
"releaseTag": "Public",
"name": "BladeburnerCurAction",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BladeburnerCurAction#name:member",
"docComment": "/**\n * Name of Action\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "name: "
},
{
"kind": "Reference",
"text": "BladeburnerGenActions",
"canonicalReference": "bitburner!BladeburnerGenActions:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerContracts",
"canonicalReference": "bitburner!BladeburnerContracts:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerOperations",
"canonicalReference": "bitburner!BladeburnerOperations:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "BladeburnerBlackOps",
"canonicalReference": "bitburner!BladeburnerBlackOps:type"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "name",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 8
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!BladeburnerCurAction#type:member",
"docComment": "/**\n * Type of Action\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type: "
},
{
"kind": "Reference",
"text": "BladeburnerActTypes",
"canonicalReference": "bitburner!BladeburnerActTypes:type"
},
{
"kind": "Content",
"text": " | \"Idle\""
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "type",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
}
}
],
"extendsTokenRanges": []
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!BladeburnerGenActions:type",
"docComment": "/**\n * All Bladeburner General Actions.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type BladeburnerGenActions =\n "
},
{
"kind": "Content",
"text": "| \"Training\"\n | \"Field Analysis\"\n | \"Recruitment\"\n | \"Diplomacy\"\n | \"Hyperbolic Regeneration Chamber\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "BladeburnerGenActions",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!BladeburnerOperations:type",
"docComment": "/**\n * All Bladeburner Ops.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type BladeburnerOperations =\n "
},
{
"kind": "Content",
"text": "| \"Investigation\"\n | \"Undercover Operation\"\n | \"Sting Operation\"\n | \"Raid\"\n | \"Stealth Retirement Operation\"\n | \"Assassination\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "BladeburnerOperations",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!BladeburnerSkills:type",
"docComment": "/**\n * All Bladeburner Skills.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type BladeburnerSkills =\n "
},
{
"kind": "Content",
"text": "| \"Blade's Intuition\"\n | \"Cloak\"\n | \"Marksman\"\n | \"Weapon Proficiency\"\n | \"Short-Circuit\"\n | \"Digital Observer\"\n | \"Tracer\"\n | \"Overclock\"\n | \"Reaper\"\n | \"Evasive System\"\n | \"Datamancer\"\n | \"Cyber's Edge\"\n | \"Hands of Midas\"\n | \"Hyperdrive\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "BladeburnerSkills",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "Interface",
"canonicalReference": "bitburner!CharacterInfo:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface CharacterInfo "
}
],
"releaseTag": "Public",
"name": "CharacterInfo",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CharacterInfo#bitnode:member",
"docComment": "/**\n * Current BitNode number\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "bitnode: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "bitnode",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CharacterInfo#city:member",
"docComment": "/**\n * Name of city you are currently in\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "city: "
},
{
"kind": "Reference",
"text": "City",
"canonicalReference": "bitburner!City:type"
},
{
"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": "Reference",
"text": "CompanyName",
"canonicalReference": "bitburner!CompanyName:type"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "company",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
}
},
{
"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": "Reference",
"text": "FactionName",
"canonicalReference": "bitburner!FactionName:type"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "factions",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
}
},
{
"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": "Reference",
"text": "CompanyField",
"canonicalReference": "bitburner!CompanyField:type"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "jobTitle",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
}
},
{
"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": "interface CharacterMult "
}
],
"releaseTag": "Public",
"name": "CharacterMult",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CharacterMult#agility:member",
"docComment": "/**\n * Agility stat\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "agility: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "agility",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CharacterMult#agilityExp:member",
"docComment": "/**\n * Agility exp\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "agilityExp: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "agilityExp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CharacterMult#companyRep:member",
"docComment": "/**\n * Company reputation\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "companyRep: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "companyRep",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CharacterMult#crimeMoney:member",
"docComment": "/**\n * Money earned from crimes\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "crimeMoney: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "crimeMoney",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CharacterMult#crimeSuccess:member",
"docComment": "/**\n * Crime success chance\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "crimeSuccess: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "crimeSuccess",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CharacterMult#defense:member",
"docComment": "/**\n * Defense stat\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "defense: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "defense",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CharacterMult#defenseExp:member",
"docComment": "/**\n * Defense exp\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "defenseExp: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "defenseExp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CharacterMult#dexterity:member",
"docComment": "/**\n * Dexterity stat\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "dexterity: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dexterity",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CharacterMult#dexterityExp:member",
"docComment": "/**\n * Dexterity exp\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "dexterityExp: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dexterityExp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CharacterMult#factionRep:member",
"docComment": "/**\n * Faction reputation\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "factionRep: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "factionRep",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CharacterMult#hacking:member",
"docComment": "/**\n * Hacking stat\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hacking: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hacking",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CharacterMult#hackingExp:member",
"docComment": "/**\n * Hacking exp\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hackingExp: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hackingExp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CharacterMult#strength:member",
"docComment": "/**\n * Strength stat\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "strength: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "strength",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CharacterMult#strengthExp:member",
"docComment": "/**\n * Strength exp\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "strengthExp: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "strengthExp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CharacterMult#workMoney:member",
"docComment": "/**\n * Money earned from jobs\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "workMoney: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "workMoney",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!City:type",
"docComment": "/**\n * All cities.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type City = "
},
{
"kind": "Content",
"text": "\"Aevum\" | \"Chongqing\" | \"Sector-12\" | \"New Tokyo\" | \"Ishima\" | \"Volhaven\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "City",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "Interface",
"canonicalReference": "bitburner!CodingAttemptOptions:interface",
"docComment": "/**\n * Options to affect the behavior of {@link CodingContract} attempt.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface CodingAttemptOptions "
}
],
"releaseTag": "Public",
"name": "CodingAttemptOptions",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CodingAttemptOptions#returnReward:member",
"docComment": "/**\n * If truthy, then the function will return a string that states the 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",
"docComment": "/**\n * Coding Contact API\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface CodingContract "
}
],
"releaseTag": "Public",
"name": "CodingContract",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!CodingContract#attempt:member(1)",
"docComment": "/**\n * Attempts to solve the Coding Contract with the provided solution.\n *\n * @remarks\n *\n * 10 GB\n *\n * @param answer - Solution for the contract.\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns True if the solution was correct, false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "attempt(answer: "
},
{
"kind": "Content",
"text": "string | string[] | number"
},
{
"kind": "Content",
"text": ", fn: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "answer",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "fn",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "attempt"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!CodingContract#attempt:member(2)",
"docComment": "/**\n * Attempts to solve the Coding Contract with the provided solution.\n *\n * @remarks\n *\n * 10 GB\n *\n * @param answer - Solution for the contract.\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host or IP 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",
"excerptTokens": [
{
"kind": "Content",
"text": "attempt(answer: "
},
{
"kind": "Content",
"text": "string | string[] | number"
},
{
"kind": "Content",
"text": ", fn: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", opts?: "
},
{
"kind": "Reference",
"text": "CodingAttemptOptions",
"canonicalReference": "bitburner!CodingAttemptOptions:interface"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean | string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
},
"releaseTag": "Public",
"overloadIndex": 2,
"parameters": [
{
"parameterName": "answer",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "fn",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "opts",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
}
],
"name": "attempt"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!CodingContract#getContractType:member(1)",
"docComment": "/**\n * 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 * @remarks\n *\n * RAM cost: 5 GB\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns Name describing the type of problem posed by the Coding Contract.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getContractType(fn: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "CodingContractTypes",
"canonicalReference": "bitburner!CodingContractTypes:type"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "fn",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "getContractType"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!CodingContract#getData:member(1)",
"docComment": "/**\n * Get the 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 * @remarks\n *\n * RAM cost: 5 GB\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns The specified contracts data;\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getData(fn: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "fn",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "getData"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!CodingContract#getDescription:member(1)",
"docComment": "/**\n * Get the full text description for the problem posed by the Coding Contract.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns Contracts text description.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getDescription(fn: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "fn",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "getDescription"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!CodingContract#getNumTriesRemaining:member(1)",
"docComment": "/**\n * Get the number of tries remaining on the contract before it self-destructs.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns How many attempts are remaining for the contract;\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getNumTriesRemaining(fn: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "fn",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "getNumTriesRemaining"
}
],
"extendsTokenRanges": []
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!CodingContractTypes:type",
"docComment": "/**\n * All Coding contract types.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type CodingContractTypes =\n "
},
{
"kind": "Content",
"text": "| \"Find Largest Prime Factor\"\n | \"Subarray with Maximum Sum\"\n | \"Total Ways to Sum\"\n | \"Spiralize Matrix\"\n | \"Array Jumping Game\"\n | \"Merge Overlapping Intervals\"\n | \"Generate IP Addresses\"\n | \"Algorithmic Stock Trader I\"\n | \"Algorithmic Stock Trader II\"\n | \"Algorithmic Stock Trader III\"\n | \"Algorithmic Stock Trader IV\"\n | \"Minimum Path Sum in a Triangle\"\n | \"Unique Paths in a Grid I\"\n | \"Unique Paths in a Grid II\"\n | \"Sanitize Parentheses in Expression\"\n | \"Find All Valid Math Expressions\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "CodingContractTypes",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!CompanyField:type",
"docComment": "/**\n * All company work fields.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type CompanyField =\n "
},
{
"kind": "Content",
"text": "| \"software\"\n | \"software consultant\"\n | \"it\"\n | \"security engineer\"\n | \"network engineer\"\n | \"business\"\n | \"business consultant\"\n | \"security\"\n | \"agent\"\n | \"employee\"\n | \"part-time employee\"\n | \"waiter\"\n | \"part-time waiter\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "CompanyField",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!CompanyName:type",
"docComment": "/**\n * All companies.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type CompanyName =\n // Sector-12\n "
},
{
"kind": "Content",
"text": "| \"MegaCorp\"\n | \"BladeIndustries\"\n | \"FourSigma\"\n | \"IcarusMicrosystems\"\n | \"UniversalEnergy\"\n | \"DeltaOne\"\n | \"CIA\"\n | \"NSA\"\n | \"AlphaEnterprises\"\n | \"CarmichaelSecurity\"\n | \"FoodNStuff\"\n | \"JoesGuns\"\n\n // Aevum\n | \"ECorp\"\n | \"BachmanAndAssociates\"\n | \"ClarkeIncorporated\"\n | \"OmniTekIncorporated\"\n | \"FulcrumTechnologies\"\n | \"GalacticCybersystems\"\n | \"AeroCorp\"\n | \"WatchdogSecurity\"\n | \"RhoConstruction\"\n | \"AevumPolice\"\n | \"NetLinkTechnologies\"\n\n // Volhaven\n | \"NWO\"\n | \"HeliosLabs\"\n | \"OmniaCybersystems\"\n | \"LexoCorp\"\n | \"SysCoreSecurities\"\n | \"CompuTek\"\n\n // Chongqing\n | \"KuaiGongInternational\"\n | \"SolarisSpaceSystems\"\n\n // Ishima\n | \"StormTechnologies\"\n | \"NovaMedical\"\n | \"OmegaSoftware\"\n\n // New Tokyo\n | \"DefComm\"\n | \"VitaLife\"\n | \"GlobalPharmaceuticals\"\n | \"NoodleBar\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "CompanyName",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!Crime:type",
"docComment": "/**\n * All crimes.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type Crime =\n "
},
{
"kind": "Content",
"text": "| \"shoplift\"\n | \"rob store\"\n | \"mug\"\n | \"larceny\"\n | \"deal drugs\"\n | \"bond forgery\"\n | \"traffick arms\"\n | \"homicide\"\n | \"grand theft auto\"\n | \"kidnap\"\n | \"assassinate\"\n | \"heist\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "Crime",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "Interface",
"canonicalReference": "bitburner!CrimeStats:interface",
"docComment": "/**\n * Data representing the internal values of a crime.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface CrimeStats "
}
],
"releaseTag": "Public",
"name": "CrimeStats",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#agility_exp:member",
"docComment": "/**\n * agility exp gained from crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "agility_exp: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "agility_exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#agility_success_weight:member",
"docComment": "/**\n * agility level impact on success change of the crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "agility_success_weight: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "agility_success_weight",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#charisma_exp:member",
"docComment": "/**\n * charisma exp gained from crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "charisma_exp: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "charisma_exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#charisma_success_weight:member",
"docComment": "/**\n * charisma level impact on success change of the crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "charisma_success_weight: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "charisma_success_weight",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#defense_exp:member",
"docComment": "/**\n * defense exp gained from crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "defense_exp: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "defense_exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#defense_success_weight:member",
"docComment": "/**\n * defense level impact on success change of the crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "defense_success_weight: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "defense_success_weight",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#dexterity_exp:member",
"docComment": "/**\n * dexterity exp gained from crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "dexterity_exp: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dexterity_exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#dexterity_success_weight:member",
"docComment": "/**\n * dexterity level impact on success change of the crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "dexterity_success_weight: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dexterity_success_weight",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#difficulty:member",
"docComment": "/**\n * Number representing the difficulty of the crime. Used for success chance calculations\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "difficulty: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "difficulty",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#hacking_exp:member",
"docComment": "/**\n * hacking exp gained from crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hacking_exp: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hacking_exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#hacking_success_weight:member",
"docComment": "/**\n * hacking level impact on success change of the crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hacking_success_weight: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hacking_success_weight",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#intelligence_exp:member",
"docComment": "/**\n * intelligence exp gained from crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "intelligence_exp: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "intelligence_exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#karma:member",
"docComment": "/**\n * Amount of karma lost for successfully committing this crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "karma: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "karma",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#kills:member",
"docComment": "/**\n * How many people die as a result of this crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "kills: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "kills",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#money:member",
"docComment": "/**\n * How much money is given\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "money: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "money",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#name:member",
"docComment": "/**\n * Name of crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "name: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "name",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#strength_exp:member",
"docComment": "/**\n * strength exp gained from crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "strength_exp: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "strength_exp",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#strength_success_weight:member",
"docComment": "/**\n * strength level impact on success change of the crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "strength_success_weight: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "strength_success_weight",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#time:member",
"docComment": "/**\n * Milliseconds it takes to attempt the crime\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "time: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "time",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!CrimeStats#type:member",
"docComment": "/**\n * Description of the crime activity\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "type",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!FactionName:type",
"docComment": "/**\n * All factions.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type FactionName =\n "
},
{
"kind": "Content",
"text": "| \"Illuminati\"\n | \"Daedalus\"\n | \"The Covenant\"\n | \"ECorp\"\n | \"MegaCorp\"\n | \"Bachman & Associates\"\n | \"Blade Industries\"\n | \"NWO\"\n | \"Clarke Incorporated\"\n | \"OmniTek Incorporated\"\n | \"Four Sigma\"\n | \"KuaiGong International\"\n | \"Fulcrum Secret Technologies\"\n | \"BitRunners\"\n | \"The Black Hand\"\n | \"NiteSec\"\n | \"Aevum\"\n | \"Chongqing\"\n | \"Ishima\"\n | \"New Tokyo\"\n | \"Sector-12\"\n | \"Volhaven\"\n | \"Speakers for the Dead\"\n | \"The Dark Army\"\n | \"The Syndicate\"\n | \"Silhouette\"\n | \"Tetrads\"\n | \"Slum Snakes\"\n | \"Netburners\"\n | \"Tian Di Hui\"\n | \"CyberSec\"\n | \"Bladeburners\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "FactionName",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!FactionWork:type",
"docComment": "/**\n * All faction work types.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type FactionWork = "
},
{
"kind": "Content",
"text": "\"hacking\" | \"field\" | \"security\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "FactionWork",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Gang:interface",
"docComment": "/**\n * Gang API\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface Gang "
}
],
"releaseTag": "Public",
"name": "Gang",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#ascendMember:member(1)",
"docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Ascend the specified Gang Member.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param memberName - Name of member to ascend.\n *\n * @returns Object with info about the ascension results.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ascendMember(memberName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "GangMemberAscension",
"canonicalReference": "bitburner!GangMemberAscension:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "memberName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "ascendMember"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#canRecruitMember:member(1)",
"docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Returns boolean indicating whether a member can currently be recruited\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * @returns True if a member can currently be recruited, false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "canRecruitMember(): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "canRecruitMember"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getBonusTime:member(1)",
"docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\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 * @remarks\n *\n * RAM cost: 0 GB\n *\n * @returns Bonus time for the Gang mechanic in seconds.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getBonusTime(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getBonusTime"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getChanceToWinClash:member(1)",
"docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\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 * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param gangName - Target gang\n *\n * @returns Chance you have to win a clash with the specified gang.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getChanceToWinClash(gangName: "
},
{
"kind": "Reference",
"text": "GangName",
"canonicalReference": "bitburner!GangName:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "gangName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getChanceToWinClash"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getEquipmentCost:member(1)",
"docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\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 * @remarks\n *\n * RAM cost: 2 GB\n *\n * @param equipName - Name of equipment.\n *\n * @returns Cost to purchase the specified Equipment/Augmentation (number). Infinity for invalid arguments\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getEquipmentCost(equipName: "
},
{
"kind": "Reference",
"text": "GangEquipment",
"canonicalReference": "bitburner!GangEquipment:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "GangAugmentations",
"canonicalReference": "bitburner!GangAugmentations:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "equipName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 4
}
}
],
"name": "getEquipmentCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getEquipmentNames:member(1)",
"docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the name of all possible equipment/upgrades you can purchase for your Gang Members. This includes Augmentations.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * @returns Names of all Equpiment/Augmentations.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getEquipmentNames(): "
},
{
"kind": "Content",
"text": "("
},
{
"kind": "Reference",
"text": "GangEquipment",
"canonicalReference": "bitburner!GangEquipment:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "GangAugmentations",
"canonicalReference": "bitburner!GangAugmentations:type"
},
{
"kind": "Content",
"text": ")[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getEquipmentNames"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getEquipmentStats:member(1)",
"docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the specified equipment stats.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * @param equipName - Name of equipment.\n *\n * @returns A dictionary containing the stats of the equipment.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getEquipmentStats(equipName: "
},
{
"kind": "Reference",
"text": "GangEquipment",
"canonicalReference": "bitburner!GangEquipment:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "GangAugmentations",
"canonicalReference": "bitburner!GangAugmentations:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "GangEquipmentStats",
"canonicalReference": "bitburner!GangEquipmentStats:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "equipName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 4
}
}
],
"name": "getEquipmentStats"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getEquipmentType:member(1)",
"docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the specified equipment type.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * @param equipName - Name of equipment.\n *\n * @returns Type of the equipment.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getEquipmentType(equipName: "
},
{
"kind": "Reference",
"text": "GangEquipment",
"canonicalReference": "bitburner!GangEquipment:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "GangAugmentations",
"canonicalReference": "bitburner!GangAugmentations:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "GangEquipmentType",
"canonicalReference": "bitburner!GangEquipmentType:type"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "equipName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 4
}
}
],
"name": "getEquipmentType"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getGangInformation:member(1)",
"docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get general information about the gang.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * @returns Object containing general information about the gang.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getGangInformation(): "
},
{
"kind": "Reference",
"text": "GangGenInfo",
"canonicalReference": "bitburner!GangGenInfo:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getGangInformation"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getMemberInformation:member(1)",
"docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get stat and equipment-related information about a Gang Member\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * @param name - Name of member.\n *\n * @returns Object containing stat and equipment-related information about a Gang Member.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getMemberInformation(name: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "GangMemberInfo",
"canonicalReference": "bitburner!GangMemberInfo:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getMemberInformation"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getMemberNames:member(1)",
"docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the names of all Gang members\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * @returns Names of all Gang members.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getMemberNames(): "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getMemberNames"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getOtherGangInformation:member(1)",
"docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get territory and power information about all gangs.\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * @returns Object containing territory and power information about all gangs.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getOtherGangInformation(): "
},
{
"kind": "Reference",
"text": "GangOtherInfo",
"canonicalReference": "bitburner!GangOtherInfo:type"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getOtherGangInformation"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getTaskNames:member(1)",
"docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the name of all valid tasks that Gang members can be assigned to.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * @returns All valid tasks that Gang members can be assigned to.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getTaskNames(): "
},
{
"kind": "Reference",
"text": "GangTasks",
"canonicalReference": "bitburner!GangTasks:type"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getTaskNames"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#getTaskStats:member(1)",
"docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the stats of a gang task stats. This is typically used to evaluate which action should be executed next.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * @param name - Name of the task.\n *\n * @returns Detailed stats of a task.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getTaskStats(name: "
},
{
"kind": "Reference",
"text": "GangTasks",
"canonicalReference": "bitburner!GangTasks:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "GangTasksStats",
"canonicalReference": "bitburner!GangTasksStats:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getTaskStats"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#purchaseEquipment:member(1)",
"docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Attempt to purchase the specified Equipment/Augmentation for the specified Gang member.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param memberName - Name of Gang member to purchase the equipment for.\n *\n * @param equipName - Name of Equipment/Augmentation to purchase.\n *\n * @returns True if the equipment was successfully purchased. False otherwise\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "purchaseEquipment(memberName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", equipName: "
},
{
"kind": "Reference",
"text": "GangEquipment",
"canonicalReference": "bitburner!GangEquipment:type"
},
{
"kind": "Content",
"text": " | "
},
{
"kind": "Reference",
"text": "GangAugmentations",
"canonicalReference": "bitburner!GangAugmentations:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "memberName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "equipName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 6
}
}
],
"name": "purchaseEquipment"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#recruitMember:member(1)",
"docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\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 * @remarks\n *\n * RAM cost: 2 GB\n *\n * @param name - Name of member to recruit.\n *\n * @returns True if the member was successfully recruited, false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "recruitMember(name: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "recruitMember"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#setMemberTask:member(1)",
"docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\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 * @remarks\n *\n * RAM cost: 2 GB\n *\n * @param memberName - Name of Gang member to assign.\n *\n * @param taskName - Task to assign.\n *\n * @returns True if the Gang Member was successfully assigned to the task, false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "setMemberTask(memberName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", taskName: "
},
{
"kind": "Reference",
"text": "GangTasks",
"canonicalReference": "bitburner!GangTasks:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "memberName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "taskName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "setMemberTask"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Gang#setTerritoryWarfare:member(1)",
"docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Set whether or not the gang should engage in territory warfare\n *\n * @remarks\n *\n * RAM cost: 2 GB\n *\n * @param engage - Whether or not to engage in territory warfare.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "setTerritoryWarfare(engage: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "engage",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "setTerritoryWarfare"
}
],
"extendsTokenRanges": []
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!GangAugmentations:type",
"docComment": "/**\n * All Gang augmentations.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type GangAugmentations =\n "
},
{
"kind": "Content",
"text": "| \"Bionic Arms\"\n | \"Bionic Legs\"\n | \"Bionic Spine\"\n | \"BrachiBlades\"\n | \"Nanofiber Weave\"\n | \"Synthetic Heart\"\n | \"Synfibril Muscle\"\n | \"BitWire\"\n | \"Neuralstimulator\"\n | \"DataJack\"\n | \"Graphene Bone Lacings\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "GangAugmentations",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!GangEquipment:type",
"docComment": "/**\n * All Gang equipment.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type GangEquipment =\n "
},
{
"kind": "Content",
"text": "| \"Baseball Bat\"\n | \"Katana\"\n | \"Glock 18C\"\n | \"P90C\"\n | \"Steyr AUG\"\n | \"AK-47\"\n | \"M15A10 Assault Rifle\"\n | \"AWM Sniper Rifle\"\n | \"Bulletproof Vest\"\n | \"Full Body Armor\"\n | \"Liquid Body Armor\"\n | \"Graphene Plating Armor\"\n | \"Ford Flex V20\"\n | \"ATX1070 Superbike\"\n | \"Mercedes-Benz S9001\"\n | \"White Ferrari\"\n | \"NUKE Rootkit\"\n | \"Soulstealer Rootkit\"\n | \"Demon Rootkit\"\n | \"Hmap Node\"\n | \"Jack the Ripper\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "GangEquipment",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "Interface",
"canonicalReference": "bitburner!GangEquipmentStats:interface",
"docComment": "/**\n * Object representing data representing a gang member equipment.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface GangEquipmentStats "
}
],
"releaseTag": "Public",
"name": "GangEquipmentStats",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangEquipmentStats#agi:member",
"docComment": "/**\n * Agility multiplier\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "agi: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "agi",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangEquipmentStats#cha:member",
"docComment": "/**\n * Charisma multiplier\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "cha: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "cha",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangEquipmentStats#def:member",
"docComment": "/**\n * Defense multiplier\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "def: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "def",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangEquipmentStats#dex:member",
"docComment": "/**\n * Dexterity multiplier\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "dex: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dex",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangEquipmentStats#hack:member",
"docComment": "/**\n * Hacking multiplier\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hack: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hack",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangEquipmentStats#str:member",
"docComment": "/**\n * Strength multiplier\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "str: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "str",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!GangEquipmentType:type",
"docComment": "/**\n * All Gang equipment type.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type GangEquipmentType = "
},
{
"kind": "Content",
"text": "\"Weapon\" | \"Armor\" | \"Vehicle\" | \"Rootkit\" | \"Augmentation\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "GangEquipmentType",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "Interface",
"canonicalReference": "bitburner!GangGenInfo:interface",
"docComment": "/**\n * Gang general info.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface GangGenInfo "
}
],
"releaseTag": "Public",
"name": "GangGenInfo",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangGenInfo#faction:member",
"docComment": "/**\n * Name of faction that the gang belongs to (\"Slum Snakes\", etc.)\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "faction: "
},
{
"kind": "Reference",
"text": "GangName",
"canonicalReference": "bitburner!GangName:type"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "faction",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangGenInfo#isHacking:member",
"docComment": "/**\n * Boolean indicating whether or not its a hacking gang\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "isHacking: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "isHacking",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangGenInfo#moneyGainRate:member",
"docComment": "/**\n * Money earned per second\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "moneyGainRate: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "moneyGainRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangGenInfo#power:member",
"docComment": "/**\n * Gang's power for territory warfare\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "power: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "power",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangGenInfo#respect:member",
"docComment": "/**\n * Gang's respect\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "respect: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "respect",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangGenInfo#respectGainRate:member",
"docComment": "/**\n * Respect earned per second\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "respectGainRate: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "respectGainRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangGenInfo#territory:member",
"docComment": "/**\n * Amount of territory held. Returned in decimal form, not percentage\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "territory: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "territory",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangGenInfo#territoryClashChance:member",
"docComment": "/**\n * Clash chance. Returned in decimal form, not percentage\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "territoryClashChance: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "territoryClashChance",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangGenInfo#wantedLevel:member",
"docComment": "/**\n * Gang's wanted level\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "wantedLevel: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "wantedLevel",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangGenInfo#wantedLevelGainRate:member",
"docComment": "/**\n * Wanted level gained/lost per second (negative for losses)\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "wantedLevelGainRate: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "wantedLevelGainRate",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!GangMemberAscension:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface GangMemberAscension "
}
],
"releaseTag": "Public",
"name": "GangMemberAscension",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberAscension#agi:member",
"docComment": "/**\n * Agility multiplier gained from ascending.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "agi: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "agi",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberAscension#cha:member",
"docComment": "/**\n * Charisma multiplier gained from ascending.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "cha: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "cha",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberAscension#def:member",
"docComment": "/**\n * Defense multiplier gained from ascending.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "def: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "def",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberAscension#dex:member",
"docComment": "/**\n * Dexterity multiplier gained from ascending.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "dex: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dex",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberAscension#hack:member",
"docComment": "/**\n * Hacking multiplier gained from ascending.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hack: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hack",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberAscension#respect:member",
"docComment": "/**\n * Amount of respect lost from ascending\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "respect: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "respect",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberAscension#str:member",
"docComment": "/**\n * Strength multiplier gained from ascending.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "str: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "str",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!GangMemberInfo:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface GangMemberInfo "
}
],
"releaseTag": "Public",
"name": "GangMemberInfo",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#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!GangMemberInfo#agilityAscensionMult:member",
"docComment": "/**\n * Agility multiplier from ascension.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "agilityAscensionMult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "agilityAscensionMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#agilityEquipMult:member",
"docComment": "/**\n * Agility multiplier from equipment.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "agilityEquipMult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "agilityEquipMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#augmentations:member",
"docComment": "/**\n * Array of names of all owned Augmentations\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "augmentations: "
},
{
"kind": "Reference",
"text": "GangAugmentations",
"canonicalReference": "bitburner!GangAugmentations:type"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "augmentations",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#charisma:member",
"docComment": "/**\n * Charisma stat\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "charisma: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "charisma",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#charismaAscensionMult:member",
"docComment": "/**\n * Charisma multiplier from ascension.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "charismaAscensionMult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "charismaAscensionMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#charismaEquipMult:member",
"docComment": "/**\n * Charisma multiplier from equipment.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "charismaEquipMult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "charismaEquipMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#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!GangMemberInfo#defenseAscensionMult:member",
"docComment": "/**\n * Defense multiplier from ascension.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "defenseAscensionMult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "defenseAscensionMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#defenseEquipMult:member",
"docComment": "/**\n * Defense multiplier from equipment.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "defenseEquipMult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "defenseEquipMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#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!GangMemberInfo#dexterityAscensionMult:member",
"docComment": "/**\n * Dexterity multiplier from ascension.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "dexterityAscensionMult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dexterityAscensionMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#dexterityEquipMult:member",
"docComment": "/**\n * Dexterity multiplier from equipment.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "dexterityEquipMult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dexterityEquipMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#equipment:member",
"docComment": "/**\n * Array of names of all owned Non-Augmentation Equipment\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "equipment: "
},
{
"kind": "Reference",
"text": "GangEquipment",
"canonicalReference": "bitburner!GangEquipment:type"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "equipment",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#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!GangMemberInfo#hackingAscensionMult:member",
"docComment": "/**\n * Hacking multiplier from ascension.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hackingAscensionMult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hackingAscensionMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#hackingEquipMult:member",
"docComment": "/**\n * Hacking multiplier from equipment.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hackingEquipMult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hackingEquipMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#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!GangMemberInfo#strengthAscensionMult:member",
"docComment": "/**\n * Strength multiplier from ascension.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "strengthAscensionMult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "strengthAscensionMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#strengthEquipMult:member",
"docComment": "/**\n * Strength multiplier from equipment.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "strengthEquipMult: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "strengthEquipMult",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangMemberInfo#task:member",
"docComment": "/**\n * Name of currently assigned task\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "task: "
},
{
"kind": "Reference",
"text": "GangTasks",
"canonicalReference": "bitburner!GangTasks:type"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "task",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!GangName:type",
"docComment": "/**\n * All factions that can have a gang.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type GangName =\n "
},
{
"kind": "Content",
"text": "| \"Slum Snakes\"\n | \"Tetrads\"\n | \"The Syndicate\"\n | \"The Dark Army\"\n | \"Speakers for the Dead\"\n | \"NiteSec\"\n | \"The Black Hand\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "GangName",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!GangOtherInfo:type",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type GangOtherInfo = "
},
{
"kind": "Content",
"text": "{\n /** Stock Symbol */\n [key in "
},
{
"kind": "Reference",
"text": "GangName",
"canonicalReference": "bitburner!GangName:type"
},
{
"kind": "Content",
"text": "]: "
},
{
"kind": "Reference",
"text": "GangOtherInfoObject",
"canonicalReference": "bitburner!GangOtherInfoObject:interface"
},
{
"kind": "Content",
"text": "[];\n}"
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "GangOtherInfo",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 6
}
},
{
"kind": "Interface",
"canonicalReference": "bitburner!GangOtherInfoObject:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "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": "TypeAlias",
"canonicalReference": "bitburner!GangTasks:type",
"docComment": "/**\n * All Gang tasks.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type GangTasks =\n "
},
{
"kind": "Content",
"text": "| \"Unassigned\"\n | \"Ransomware\"\n | \"Phishing\"\n | \"Identity Theft\"\n | \"DDoS Attacks\"\n | \"Plant Virus\"\n | \"Fraud & Counterfeiting\"\n | \"Money Laundering\"\n | \"Cyberterrorism\"\n | \"Ethical Hacking\"\n | \"Mug People\"\n | \"Deal Drugs\"\n | \"Strongarm Civilians\"\n | \"Run a Con\"\n | \"Armed Robbery\"\n | \"Traffick Illegal Arms\"\n | \"Threaten & Blackmail\"\n | \"Human Trafficking\"\n | \"Terrorism\"\n | \"Vigilante Justice\"\n | \"Train Combat\"\n | \"Train Hacking\"\n | \"Train Charisma\"\n | \"Territory Warfare\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "GangTasks",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "Interface",
"canonicalReference": "bitburner!GangTasksStats:interface",
"docComment": "/**\n * Object representing data representing a gang member task.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface GangTasksStats "
}
],
"releaseTag": "Public",
"name": "GangTasksStats",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTasksStats#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!GangTasksStats#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!GangTasksStats#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!GangTasksStats#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!GangTasksStats#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!GangTasksStats#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!GangTasksStats#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!GangTasksStats#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!GangTasksStats#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!GangTasksStats#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!GangTasksStats#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!GangTasksStats#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!GangTasksStats#name:member",
"docComment": "/**\n * Task name\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "name: "
},
{
"kind": "Reference",
"text": "GangTasks",
"canonicalReference": "bitburner!GangTasks:type"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "name",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTasksStats#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!GangTasksStats#territory:member",
"docComment": "/**\n * Territory impact on task scaling\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "territory: "
},
{
"kind": "Reference",
"text": "GangTasksTerritory",
"canonicalReference": "bitburner!GangTasksTerritory:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "territory",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!GangTasksTerritory:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface GangTasksTerritory "
}
],
"releaseTag": "Public",
"name": "GangTasksTerritory",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!GangTasksTerritory#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!GangTasksTerritory#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!GangTasksTerritory#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": "TypeAlias",
"canonicalReference": "bitburner!Gym:type",
"docComment": "/**\n * All gyms.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type Gym = "
},
{
"kind": "Content",
"text": "\"Crush Fitness Gym\" | \"Snap Fitness Gym\" | \"Iron Gym\" | \"Powerhouse Gym\" | \"Millenium Fitness Gym\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "Gym",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!GymStat:type",
"docComment": "/**\n * All stats that can be trained at gyms.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type GymStat = "
},
{
"kind": "Content",
"text": "\"str\" | \"def\" | \"dex\" | \"agi\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "GymStat",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "Interface",
"canonicalReference": "bitburner!HackingMultipliers:interface",
"docComment": "/**\n * Hack related multipliers.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "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 * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface Hacknet "
}
],
"releaseTag": "Public",
"name": "Hacknet",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#getCacheUpgradeCost:member(1)",
"docComment": "/**\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 * @remarks\n *\n * RAM cost: 0 GB\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 * 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 * @remarks\n *\n * RAM cost: 0 GB\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#getLevelUpgradeCost:member(1)",
"docComment": "/**\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 * @remarks\n *\n * RAM cost: 0 GB\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 * 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 * @remarks\n *\n * RAM cost: 0 GB\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 * Returns the cost of purchasing a new Hacknet Node.\n *\n * @remarks\n *\n * RAM cost: 0 GB\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 * 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 * @remarks\n *\n * RAM cost: 0 GB\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#hashCost:member(1)",
"docComment": "/**\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 * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param upgName - Name of the upgrade of Hacknet Node.\n *\n * @returns Number of hashes required for the specified upgrade.\n *\n * @example\n * ```ts\n * var upgradeName = \"Sell for Corporation Funds\";\n * if (hacknet.numHashes() > hacknet.hashCost(upgradeName)) {\n * hacknet.spendHashes(upgName);\n * }\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hashCost(upgName: "
},
{
"kind": "Reference",
"text": "HashUpgrades",
"canonicalReference": "bitburner!HashUpgrades:type"
},
{
"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#numHashes:member(1)",
"docComment": "/**\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 * @remarks\n *\n * RAM cost: 0 GB\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 * Returns the number of Hacknet Nodes you own.\n *\n * @remarks\n *\n * RAM cost: 0 GB\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 * 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 * @remarks\n *\n * RAM cost: 0 GB\n *\n * @returns The index of the Hacknet Node or if the player cannot afford to purchase a new Hacknet Node the function will return -1.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "purchaseNode(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "purchaseNode"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Hacknet#spendHashes:member(1)",
"docComment": "/**\n * 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 * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param upgName - Name of the upgrade of Hacknet Node.\n *\n * @param upgTarget - Object to which upgrade applies. Required for certain upgrades.\n *\n * @returns True if the upgrade is successfully purchased, and false otherwise..\n *\n * @example\n * ```ts\n * hacknet.spendHashes(\"Sell for Corporation Funds\");\n * hacknet.spendHashes(\"Increase Maximum Money\", \"foodnstuff\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "spendHashes(upgName: "
},
{
"kind": "Reference",
"text": "HashUpgrades",
"canonicalReference": "bitburner!HashUpgrades:type"
},
{
"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 * 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 * @remarks\n *\n * RAM cost: 0 GB\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 * 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 * @remarks\n *\n * RAM cost: 0 GB\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 * 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 * @remarks\n *\n * RAM cost: 0 GB\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 * 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 * @remarks\n *\n * RAM cost: 0 GB\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": "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": "TypeAlias",
"canonicalReference": "bitburner!Handle:type",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type Handle = "
},
{
"kind": "Content",
"text": "string | "
},
{
"kind": "Reference",
"text": "Port",
"canonicalReference": "bitburner!Port:type"
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "Handle",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 3
}
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!HashUpgrades:type",
"docComment": "/**\n * All Hash upgrade names.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type HashUpgrades =\n "
},
{
"kind": "Content",
"text": "| \"Sell for Money\"\n | \"Sell for Corporation Funds\"\n | \"Reduce Minimum Security\"\n | \"Increase Maximum Money\"\n | \"Improve Studying\"\n | \"Improve Gym Training\"\n | \"Exchange for Corporation Research\"\n | \"Exchange for Bladeburner Rank\"\n | \"Exchange for Bladeburner SP\"\n | \"Generate Coding Contract\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "HashUpgrades",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"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": "interface NodeStats "
}
],
"releaseTag": "Public",
"name": "NodeStats",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#cache:member",
"docComment": "/**\n * Cache level. Only applicable for Hacknet Servers\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "cache: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "cache",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#cores:member",
"docComment": "/**\n * Node's number of cores\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "cores: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "cores",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#hashCapacity:member",
"docComment": "/**\n * Hash Capacity provided by this Node. Only applicable for Hacknet Servers\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hashCapacity: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hashCapacity",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#level:member",
"docComment": "/**\n * Node's level\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "level: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "level",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#name:member",
"docComment": "/**\n * Node's name\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "name: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "name",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#production:member",
"docComment": "/**\n * Node's production per second\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "production: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "production",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#ram:member",
"docComment": "/**\n * Node's RAM\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ram: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "ram",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#timeOnline:member",
"docComment": "/**\n * Number of seconds since Node has been purchased\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "timeOnline: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "timeOnline",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NodeStats#totalProduction:member",
"docComment": "/**\n * Total number of money Node has produced\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "totalProduction: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "totalProduction",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!NS:interface",
"docComment": "/**\n * Collection of all functions passed to scripts\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "export interface NS extends "
},
{
"kind": "Reference",
"text": "Singularity",
"canonicalReference": "bitburner!Singularity:interface"
},
{
"kind": "Content",
"text": " "
}
],
"releaseTag": "Public",
"name": "NS",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#args:member",
"docComment": "/**\n * Arguments passed into the script.\n *\n * @remarks\n *\n * RAM cost: 0 GB 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",
"excerptTokens": [
{
"kind": "Content",
"text": "readonly args: "
},
{
"kind": "Content",
"text": "(string | number)[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "args",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#bladeburner:member",
"docComment": "/**\n * Namespace for bladeburner related functions.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "readonly bladeburner: "
},
{
"kind": "Reference",
"text": "Bladeburner",
"canonicalReference": "bitburner!Bladeburner:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "bladeburner",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#brutessh:member(1)",
"docComment": "/**\n * Runs the BruteSSH.exe program on the target server. BruteSSH.exe must exist on your home computer.\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 * brutessh(\"foodnstuff\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "brutessh(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "brutessh"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#clear:member(1)",
"docComment": "/**\n * This function is used to clear data in a Netscript Ports or a text file.\n *\n * If the port/fn argument is a number between 1 and 20, then it specifies a port and will clear it (deleting all data from the underlying queue).\n *\n * If the port/fn argument is a string, then it specifies the name of a text file (.txt) and will delete all data from that text file.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * @param handle - Port or text file to clear.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "clear(handle: "
},
{
"kind": "Reference",
"text": "Handle",
"canonicalReference": "bitburner!Handle:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "handle",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "clear"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#clearLog:member(1)",
"docComment": "/**\n * Clears the scripts logs.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "clearLog(): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "clearLog"
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#codingcontract:member",
"docComment": "/**\n * Namespace for codingcontract related functions.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "readonly codingcontract: "
},
{
"kind": "Reference",
"text": "CodingContract",
"canonicalReference": "bitburner!CodingContract:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "codingcontract",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#deleteServer:member(1)",
"docComment": "/**\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 * @remarks\n *\n * 2.25 GB\n *\n * @param host - Host of the server to delete.\n *\n * @returns True if successful, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "deleteServer(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "deleteServer"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#disableLog:member(1)",
"docComment": "/**\n * Disables logging for the given function.\n *\n * @remarks\n *\n * RAM cost: 0 GB Logging can be disabled for all functions by passing `ALL` as the argument.\n *\n * Note that this does not completely remove all logging functionality. This only stops a function from logging when the function is successful. If the function fails, it will still log the reason for failure.\n *\n * Notable functions that cannot have their logs disabled: run, exec, exit.\n *\n * @param fn - Name of function for which to disable logging.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "disableLog(fn: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "fn",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "disableLog"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#enableLog:member(1)",
"docComment": "/**\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 * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param fn - Name of function for which to enable logging.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "enableLog(fn: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "fn",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "enableLog"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#exec:member(1)",
"docComment": "/**\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 * @remarks\n *\n * RAM cost: 1.3 GB\n *\n * @param script - Filename of script to execute.\n *\n * @param host - Hostname of the `target server` on which to execute the script.\n *\n * @param numThreads - Optional thread count for new script. Set to 1 by default. Will be rounded to nearest integer.\n *\n * @param args - Additional arguments to pass into the new script that is being run. Note that if any arguments are being passed into the new script, then the third argument numThreads must be filled in with a value.\n *\n * @returns Returns the PID of a successfully started script, and 0 otherwise.\n *\n * @example\n * ```ts\n * //The simplest way to use the exec command is to call it with just the script name and the target server. The following example will try to run generic-hack.script on the foodnstuff server:\n * exec(\"generic-hack.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * //The following example will try to run the script generic-hack.script on the joesguns server with 10 threads:\n * exec(\"generic-hack.script\", \"joesguns\", 10);\n * ```\n *\n * @example\n * ```ts\n * //This last example will try to run the script foo.script on the foodnstuff server with 5 threads. It will also pass the number 1 and the string “test” in as arguments to the script:\n * exec(\"foo.script\", \"foodnstuff\", 5, 1, \"test\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "exec(script: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", numThreads?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", ...args: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "numThreads",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
}
],
"name": "exec"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#exit:member(1)",
"docComment": "/**\n * Terminates the current script immediately.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "exit(): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "exit"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#fileExists:member(1)",
"docComment": "/**\n * 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 * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * @param filename - Filename of file to check.\n *\n * @param host - Host or IP of target server. This is optional. If it is not specified then the function will use the current server as the target server.\n *\n * @returns True if specified file exists, and false otherwise.\n *\n * @example\n * ```ts\n * //The function call will return true if the script named foo.script exists on the foodnstuff server, and false otherwise.\n * fileExists(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * //The function call will return true if the current server contains the FTPCrack.exe program, and false otherwise.\n * fileExists(\"ftpcrack.exe\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "fileExists(filename: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "filename",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "fileExists"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#ftpcrack:member(1)",
"docComment": "/**\n * Runs the FTPCrack.exe program on the target server. FTPCrack.exe must exist on your home computer.\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 * ftpcrack(\"foodnstuff\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ftpcrack(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "ftpcrack"
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#gang:member",
"docComment": "/**\n * Namespace for gang related functions.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "readonly gang: "
},
{
"kind": "Reference",
"text": "Gang",
"canonicalReference": "bitburner!Gang:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "gang",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getBitNodeMultipliers:member(1)",
"docComment": "/**\n * Returns an object containing the current BitNode multipliers. This function requires Source-File 5 in order to run. The multipliers are returned in decimal forms (e.g. 1.5 instead of 150%). The multipliers represent the difference between the current BitNode and the original BitNode (BitNode-1).\n *\n * For example, if the CrimeMoney multiplier has a value of 0.1, then that means that committing crimes in the current BitNode will only give 10% of the money you would have received in BitNode-1.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @returns Object containing the current BitNode multipliers.\n *\n * @example\n * ```ts\n * mults = getBitNodeMultipliers();\n * print(mults.ServerMaxMoney);\n * print(mults.HackExpGain);\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getBitNodeMultipliers(): "
},
{
"kind": "Reference",
"text": "BitNodeMultipliers",
"canonicalReference": "bitburner!BitNodeMultipliers:interface"
},
{
"kind": "Content",
"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": [
{
"kind": "Content",
"text": "getFavorToDonate(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getFavorToDonate"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getGrowTime:member(1)",
"docComment": "/**\n * Returns the amount of time in seconds it takes to execute the grow Netscript function on the target server. The function takes in an optional hackLvl parameter that can be specified to see what the grow time would be at different hacking levels.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * @param host - Host or IP of target server.\n *\n * @param hackLvl - Optional hacking level for the calculation. Defaults to players current hacking level.\n *\n * @param intLvl - Optional intelligence level for the calculation. Defaults to players current intelligence level. (Intelligence is unlocked after obtaining Source-File 5).\n *\n * @returns Returns the amount of time in seconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getGrowTime(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", hackLvl?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", intLvl?: "
},
{
"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": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "hackLvl",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "intLvl",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "getGrowTime"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getHackingLevel:member(1)",
"docComment": "/**\n * Returns the players current hacking level.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * @returns Players current hacking level\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getHackingLevel(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getHackingLevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getHackingMultipliers:member(1)",
"docComment": "/**\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 * @remarks\n *\n * RAM cost: 4 GB\n *\n * @returns Object containing the Players hacking related multipliers.\n *\n * @example\n * ```ts\n * //Example of how this can be used:\n * mults = getHackingMultipliers();\n * print(mults.chance);\n * print(mults.growth);\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getHackingMultipliers(): "
},
{
"kind": "Reference",
"text": "HackingMultipliers",
"canonicalReference": "bitburner!HackingMultipliers:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getHackingMultipliers"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getHacknetMultipliers:member(1)",
"docComment": "/**\n * 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 * @remarks\n *\n * RAM cost: 4 GB\n *\n * @returns Object containing the Players hacknet related multipliers.\n *\n * @example\n * ```ts\n * //Example of how this can be used:\n * mults = getHacknetMultipliers();\n * print(mults.production);\n * print(mults.purchaseCost);\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getHacknetMultipliers(): "
},
{
"kind": "Reference",
"text": "HacknetMultipliers",
"canonicalReference": "bitburner!HacknetMultipliers:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getHacknetMultipliers"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getHackTime:member(1)",
"docComment": "/**\n * Returns the amount of time in seconds it takes to execute the hack Netscript function on the target server. The function takes in an optional hackLvl parameter that can be specified to see what the hack time would be at different hacking levels.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * @param host - Host or IP of target server.\n *\n * @param hackLvl - Optional hacking level for the calculation. Defaults to players current hacking level.\n *\n * @param intLvl - Optional intelligence level for the calculation. Defaults to players current intelligence level. (Intelligence is unlocked after obtaining Source-File 5).\n *\n * @returns Returns the amount of time in seconds it takes to execute the hack Netscript function. Returns Infinity if called on a Hacknet Server.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getHackTime(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", hackLvl?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", intLvl?: "
},
{
"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": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "hackLvl",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "intLvl",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "getHackTime"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getHostname:member(1)",
"docComment": "/**\n * Returns a string with the hostname of the server that the script is running on.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * @returns Hostname of the server that the script is on.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getHostname(): "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getHostname"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getPortHandle:member(1)",
"docComment": "/**\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 * @remarks\n *\n * 10 GB\n *\n * @param port - Port number. Must be an integer between 1 and 20.\n *\n * @returns Data in the specified port.\n *\n * @see\n *\n * https://bitburner.readthedocs.io/en/latest/netscript/netscriptmisc.html#netscript-ports\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getPortHandle(port: "
},
{
"kind": "Reference",
"text": "Port",
"canonicalReference": "bitburner!Port:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "any[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "port",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getPortHandle"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getPurchasedServerCost:member(1)",
"docComment": "/**\n * Returns the cost to purchase a server with the specified amount of ram.\n *\n * @remarks\n *\n * RAM cost: 0.25 GB\n *\n * @param ram - Amount of RAM of a potential purchased server. Must be a power of 2 (2, 4, 8, 16, etc.). Maximum value of 1048576 (2^20).\n *\n * @returns The cost to purchase a server with the specified amount of ram.\n *\n * @example\n * ```ts\n * for (i = 1; i <= 20; i++) {\n * tprint(i + \" -- \" + getPurchasedServerCost(Math.pow(2, i)));\n * }\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getPurchasedServerCost(ram: "
},
{
"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": "ram",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getPurchasedServerCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getPurchasedServerLimit:member(1)",
"docComment": "/**\n * Returns the maximum number of servers you can purchase.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * @returns Returns the maximum number of servers you can purchase.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getPurchasedServerLimit(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getPurchasedServerLimit"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getPurchasedServerMaxRam:member(1)",
"docComment": "/**\n * Returns the maximum RAM that a purchased server can have.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * @returns Returns the maximum RAM that a purchased server can have.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getPurchasedServerMaxRam(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getPurchasedServerMaxRam"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getPurchasedServers:member(1)",
"docComment": "/**\n * Returns an array with either the hostnames or IPs of all of the servers you have purchased.\n *\n * @remarks\n *\n * 2.25 GB\n *\n * @param hostnameMode - ] Optional. Defaults to true. Returns hostnames if true, and IPs if false.\n *\n * @returns Returns an array with either the hostnames or IPs of all of the servers you have purchased.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getPurchasedServers(hostnameMode?: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "hostnameMode",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getPurchasedServers"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getScriptExpGain:member(1)",
"docComment": "/**\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 * @remarks\n *\n * RAM cost: 0.1 GB\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",
"excerptTokens": [
{
"kind": "Content",
"text": "getScriptExpGain(script: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", ...args: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "getScriptExpGain"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getScriptIncome:member(1)",
"docComment": "/**\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 * @remarks\n *\n * RAM cost: 0.1 GB\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",
"excerptTokens": [
{
"kind": "Content",
"text": "getScriptIncome(script: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", ...args: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number | [number, number]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "getScriptIncome"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getScriptLogs:member(1)",
"docComment": "/**\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 * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param fn - Optional. Filename of script to get logs from.\n *\n * @param host - Optional. Hostname of the server that the script is on.\n *\n * @param args - Arguments to identify which scripts to get logs for.\n *\n * @returns Returns an string array, where each line is an element in the array. The most recently logged line is at the end of the array.\n *\n * @example\n * ```ts\n * //Get logs from foo.script on the current server that was run with no args\n * getScriptLogs(\"foo.script\");\n * ```\n *\n * @example\n * ```ts\n * //Open logs from foo.script on the foodnstuff server that was run with no args\n * getScriptLogs(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * //Open logs from foo.script on the foodnstuff server that was run with the arguments [1, \"test\"]\n * getScriptLogs(\"foo.script\", \"foodnstuff\", 1, \"test\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getScriptLogs(fn?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", ...args: "
},
{
"kind": "Content",
"text": "any[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "fn",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "getScriptLogs"
},
{
"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",
"text": "getScriptName(): "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getScriptName"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getScriptRam:member(1)",
"docComment": "/**\n * 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 * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * @param script - Filename of script. This is case-sensitive.\n *\n * @param host - Host or IP of target server the script is located on. This is optional, If it is not specified then the function will se the current server as the target server.\n *\n * @returns Amount of RAM required to run the specified script on the target server, and 0 if the script does not exist.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getScriptRam(script: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "getScriptRam"
},
{
"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",
"excerptTokens": [
{
"kind": "Content",
"text": "getServer(host?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Server",
"canonicalReference": "bitburner!Server:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServer"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerBaseSecurityLevel:member(1)",
"docComment": "/**\n * 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 * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns Base security level of the target server.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getServerBaseSecurityLevel(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerBaseSecurityLevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerGrowth:member(1)",
"docComment": "/**\n * Returns the servers instrinsic “growth parameter”. This growth parameter is a number between 1 and 100 that represents how quickly the servers money grows. This parameter affects the percentage by which the servers money is increased when using the grow function. A higher growth parameter will result in a higher percentage increase from grow.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * @param host - Host or IP 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": [
{
"kind": "Content",
"text": "getServerGrowth(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerGrowth"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerMaxMoney:member(1)",
"docComment": "/**\n * Returns the maximum amount of money that can be available on a server.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns Maximum amount of money available on the server.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getServerMaxMoney(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerMaxMoney"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerMinSecurityLevel:member(1)",
"docComment": "/**\n * Returns the minimum security level of the target server.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns Minimum security level of the target server.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getServerMinSecurityLevel(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerMinSecurityLevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerMoneyAvailable:member(1)",
"docComment": "/**\n * Returns the amount of money available on a server. Running this function on the home computer will return the players money.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * @param host - Host or IP of target server\n *\n * @returns Amount of money available on the server.\n *\n * @example\n * ```ts\n * getServerMoneyAvailable(\"foodnstuff\");\n * getServerMoneyAvailable(\"home\"); //Returns player's money\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getServerMoneyAvailable(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerMoneyAvailable"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerNumPortsRequired:member(1)",
"docComment": "/**\n * Returns the number of open ports required to successfully run NUKE.exe on the specified server.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns The number of open ports required to successfully run NUKE.exe on the specified server.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getServerNumPortsRequired(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerNumPortsRequired"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerRam:member(1)",
"docComment": "/**\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 * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns Array with total and used memory on the specified server.\n *\n * @example\n * ```ts\n * res = getServerRam(\"helios\");\n * totalRam = res[0];\n * ramUsed = res[1];\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getServerRam(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "[number, number]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerRam"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerRequiredHackingLevel:member(1)",
"docComment": "/**\n * Returns the required hacking level of the target server.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns The required hacking level of the target server.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getServerRequiredHackingLevel(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerRequiredHackingLevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getServerSecurityLevel:member(1)",
"docComment": "/**\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 * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns Security level of the target server.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getServerSecurityLevel(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getServerSecurityLevel"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getTimeSinceLastAug:member(1)",
"docComment": "/**\n * Returns the amount of time in milliseconds that have passed since you last installed Augmentations.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * @returns Time in milliseconds that have passed since you last installed Augmentations.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getTimeSinceLastAug(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getTimeSinceLastAug"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#getWeakenTime:member(1)",
"docComment": "/**\n * Returns the amount of time in seconds it takes to execute the weaken() Netscript function on the target server. The function takes in an optional hackLvl parameter that can be specified to see what the weaken time would be at different hacking levels.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * @param host - Host or IP of target server.\n *\n * @param hackLvl - Optional hacking level for the calculation. Defaults to players current hacking level.\n *\n * @param intLvl - Optional intelligence level for the calculation. Defaults to players current intelligence level. (Intelligence is unlocked after obtaining Source-File 5).\n *\n * @returns Returns the amount of time in seconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getWeakenTime(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", hackLvl?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", intLvl?: "
},
{
"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": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "hackLvl",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "intLvl",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "getWeakenTime"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#grow:member(1)",
"docComment": "/**\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 * @remarks\n *\n * RAM cost: 0.15 GB\n *\n * @param host - Hostname of the target server to grow.\n *\n * @param opts - Optional parameters for configuring function behavior.\n *\n * @returns The number by which the money on the server was multiplied for the growth.\n *\n * @example\n * ```ts\n * grow(\"foodnstuff\");\n * grow(\"foodnstuff\", { threads: 5 }); // Only use 5 threads to grow\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "grow(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", opts?: "
},
{
"kind": "Reference",
"text": "BasicHGWOptions",
"canonicalReference": "bitburner!BasicHGWOptions:interface"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<number>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 7
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "opts",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "grow"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#growthAnalyze:member(1)",
"docComment": "/**\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 * @remarks\n *\n * RAM cost: 1 GB\n *\n * @param host - Hostname of the target server.\n *\n * @param growthAmount - Multiplicative factor by which the server is grown. Decimal form..\n *\n * @returns The amount of grow calls needed to grow the specified server by the specified amount\n *\n * @example\n * ```ts\n * //For example, if you want to determine how many grow calls you need to double the amount of money on foodnstuff, you would use:\n * growthAnalyze(\"foodnstuff\", 2);\n * //If this returns 100, then this means you need to call grow 100 times in order to double the money (or once with 100 threads).\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "growthAnalyze(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", growthAmount: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "growthAmount",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "growthAnalyze"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#growthAnalyzeSecurity:member(1)",
"docComment": "/**\n * Returns the security increase that would occur if a grow with this many threads happened.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * @param threads - Amount of threads that will be used.\n *\n * @returns The security increase.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "growthAnalyzeSecurity(threads: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "threads",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "growthAnalyzeSecurity"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#hack:member(1)",
"docComment": "/**\n * Function that is used to try and hack servers to steal money and gain hacking experience. The runtime for this command depends on your hacking level and the target servers security level. In order to hack a server you must first gain root access to that server and also have the required hacking level.\n *\n * A script can hack a server from anywhere. It does not need to be running on the same server to hack that server. For example, you can create a script that hacks the `foodnstuff` server and run that script on any server in the game.\n *\n * A successful `hack()` on a server will raise that servers security level by 0.002.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * @param host - Hostname of the target server to hack.\n *\n * @param opts - Optional parameters for configuring function behavior.\n *\n * @returns The amount of money stolen if the hack is successful, and zero otherwise.\n *\n * @example\n * ```ts\n * hack(\"foodnstuff\");\n * hack(\"10.1.2.3\");\n * hack(\"foodnstuff\", { threads: 5 }); // Only use 5 threads to hack\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hack(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", opts?: "
},
{
"kind": "Reference",
"text": "BasicHGWOptions",
"canonicalReference": "bitburner!BasicHGWOptions:interface"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<number>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 7
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "opts",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "hack"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#hackAnalyzePercent:member(1)",
"docComment": "/**\n * Returns the percentage of the specified servers money you will steal with a single hack. This value is returned in percentage form, not decimal (Netscript functions typically return in decimal form, but not this one).\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * @param host - Hostname of the target server.\n *\n * @returns The percentage of money you will steal from the target server with a single hack.\n *\n * @example\n * ```ts\n * //For example, assume the following returns 1:\n * hackAnalyzePercent(\"foodnstuff\");\n * //This means that if hack the foodnstuff server, then you will steal 1% of its total money. If you hack using N threads, then you will steal N% of its total money.\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hackAnalyzePercent(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "hackAnalyzePercent"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#hackAnalyzeSecurity:member(1)",
"docComment": "/**\n * Returns the security increase that would occur if a hack with this many threads happened.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * @param threads - Amount of threads that will be used.\n *\n * @returns The security increase.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hackAnalyzeSecurity(threads: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "threads",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "hackAnalyzeSecurity"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#hackAnalyzeThreads:member(1)",
"docComment": "/**\n * 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 * @remarks\n *\n * RAM cost: 1 GB\n *\n * @param host - Hostname of the target server to analyze.\n *\n * @param hackAmount - Amount of money you want to hack from the server.\n *\n * @returns The number of threads needed to hack the server for hackAmount money.\n *\n * @example\n * ```ts\n * //For example, lets say the foodnstuff server has $10m and you run:\n * hackAnalyzeThreads(\"foodnstuff\", 1e6);\n * //If this function returns 50, this means that if your next hack call is run on a script with 50 threads, it will steal $1m from the foodnstuff server.\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hackAnalyzeThreads(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", hackAmount: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "hackAmount",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "hackAnalyzeThreads"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#hackChance:member(1)",
"docComment": "/**\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 * @remarks\n *\n * RAM cost: 1 GB\n *\n * @param host - Hostname of the target server.\n *\n * @returns The chance you have of successfully hacking the target server.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hackChance(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "hackChance"
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#hacknet:member",
"docComment": "/**\n * Namespace for hacknet related functions.\n *\n * @remarks\n *\n * Not all functions in the Hacknet Node API are immediately available.\n *\n * Note that none of these functions will write to the scripts logs.\n *\n * If you want to see what your script is doing you will have to print to the logs yourself.\n *\n * 4 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "readonly hacknet: "
},
{
"kind": "Reference",
"text": "Hacknet",
"canonicalReference": "bitburner!Hacknet:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hacknet",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#hasRootAccess:member(1)",
"docComment": "/**\n * Returns a boolean indicating whether or not the player has root access to the specified target server.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * @param host - Host or IP of the target server\n *\n * @returns True if player has root access to the specified target server, and false otherwise.\n *\n * @example\n * ```ts\n * if (hasRootAccess(\"foodnstuff\") == false) {\n * nuke(\"foodnstuff\");\n * }\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hasRootAccess(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "hasRootAccess"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#httpworm:member(1)",
"docComment": "/**\n * Runs the HTTPWorm.exe program on the target server. HTTPWorm.exe must exist on your home computer.\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 * httpworm(\"foodnstuff\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "httpworm(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "httpworm"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#isLogEnabled:member(1)",
"docComment": "/**\n * Checks the status of the logging for the given function.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param fn - Name of function to check.\n *\n * @returns Returns a boolean indicating whether or not logging is enabled for that function (or `ALL`)\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "isLogEnabled(fn: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "fn",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "isLogEnabled"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#isRunning:member(1)",
"docComment": "/**\n * Returns a boolean indicating whether the specified script is running on the target server. Remember that a script is uniquely identified by both its name and its arguments.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * @param script - Filename of script to check. This is case-sensitive.\n *\n * @param host - Host or IP of target server.\n *\n * @param args - Arguments to specify/identify which scripts to search for.\n *\n * @returns True if specified script is running on the target server, and false otherwise.\n *\n * @example\n * ```ts\n * //The function call will return true if there is a script named foo.script with no arguments running on the foodnstuff server, and false otherwise:\n * isRunning(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * //The function call will return true if there is a script named foo.script with no arguments running on the current server, and false otherwise:\n * isRunning(\"foo.script\", getHostname());\n * ```\n *\n * @example\n * ```ts\n * //The function call will return true if there is a script named foo.script running with the arguments 1, 5, and “test” (in that order) on the joesguns server, and false otherwise:\n * isRunning(\"foo.script\", \"joesguns\", 1, 5, \"test\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "isRunning(script: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", ...args: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "isRunning"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#kill:member(1)",
"docComment": "/**\n * 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 * @remarks\n *\n * RAM cost: 0.5 GB\n *\n * @param script - Filename of the script to kill\n *\n * @param host - Hostname of the server on which to kill the script.\n *\n * @param args - Arguments to identify which script to kill.\n *\n * @returns True if the script is successfully killed, and false otherwise.\n *\n * @example\n * ```ts\n * //The following example will try to kill a script named foo.script on the foodnstuff server that was ran with no arguments:\n * kill(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * //The following will try to kill a script named foo.script on the current server that was ran with no arguments:\n * kill(\"foo.script\", getHostname());\n * ```\n *\n * @example\n * ```ts\n * //The following will try to kill a script named foo.script on the current server that was ran with the arguments 1 and “foodnstuff”:\n * kill(\"foo.script\", getHostname(), 1, \"foodnstuff\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "kill(script: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", ...args: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "kill"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#kill:member(2)",
"docComment": "/**\n * Kills the script with the specified PID. Killing a script by its PID will typically have better performance, especially if you have many scripts running. If this function successfully kills the specified script, then it will return true. Otherwise, it will return false.\n *\n * @remarks\n *\n * RAM cost: 0.5 GB\n *\n * @param scriptPid - PID of the script to kill\n *\n * @returns True if the script is successfully killed, and false otherwise.\n *\n * @example\n * ```ts\n * if (kill(10)) {\n * print(\"Killed script with PID 10!\");\n * }\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "kill(scriptPid: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 2,
"parameters": [
{
"parameterName": "scriptPid",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "kill"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#killall:member(1)",
"docComment": "/**\n * Kills all running scripts on the specified server. This function returns true if any scripts were killed, and false otherwise. In other words, it will return true if there are any scripts running on the target server.\n *\n * @remarks\n *\n * RAM cost: 0.5 GB\n *\n * @param host - IP or hostname of the server on which to kill all scripts.\n *\n * @returns True if any scripts were killed, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "killall(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "killall"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#ls:member(1)",
"docComment": "/**\n * 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 * @remarks\n *\n * RAM cost: 0.2 GB\n *\n * @param host - Host or IP of the target server.\n *\n * @param grep - A substring to search for in the filename.\n *\n * @returns Array with the filenames of all files on the specified server.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ls(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", grep?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "grep",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "ls"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#nFormat:member(1)",
"docComment": "/**\n * 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 * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param n - Number to format.\n *\n * @param format - Formatter.\n *\n * @returns Formated number.\n *\n * @see\n *\n * http://numeraljs.com/\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "nFormat(n: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", format: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "n",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "format",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "nFormat"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#nuke:member(1)",
"docComment": "/**\n * Runs the NUKE.exe program on the target server. NUKE.exe must exist on your home computer.\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 * nuke(\"foodnstuff\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "nuke(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "nuke"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#peek:member(1)",
"docComment": "/**\n * 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 * @remarks\n *\n * RAM cost: 1 GB\n *\n * @param port - Port to peek. Must be an integer between 1 and 20.\n *\n * @returns Data in the specified port.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "peek(port: "
},
{
"kind": "Reference",
"text": "Port",
"canonicalReference": "bitburner!Port:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string | number | object"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "port",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "peek"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#print:member(1)",
"docComment": "/**\n * Prints a value or a variable to the scripts logs.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param msg - Value to be printed.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "print(msg: "
},
{
"kind": "Content",
"text": "any"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "msg",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "print"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#prompt:member(1)",
"docComment": "/**\n * 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 * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param txt - Text to appear in the prompt dialog box.\n *\n * @returns True if the player click “Yes” and false if the player clicks “No”.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "prompt(txt: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<boolean>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 5
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "txt",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "prompt"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#ps:member(1)",
"docComment": "/**\n * Returns an array with general information about all scripts running on the specified target server.\n *\n * @remarks\n *\n * RAM cost: 0.2 GB\n *\n * @param host - Host or IP address of the target server. If not specified, it will be the current servers IP by default.\n *\n * @returns Array with general information about all scripts running on the specified target server.\n *\n * @example\n * ```ts\n * //(using NetscriptJS (Netscript 2.0))\n * export async function main(ns) {\n * const ps = ns.ps(\"home\");\n * for (let i = 0; i < ps.length; ++i) {\n * ns.tprint(ps[i].filename + ' ' + ps[i].threads);\n * ns.tprint(ps[i].args);\n * }\n * }\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ps(host?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "ProcessInfo",
"canonicalReference": "bitburner!ProcessInfo:interface"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 5
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "ps"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#purchaseServer:member(1)",
"docComment": "/**\n * 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 * @remarks\n *\n * 2.25 GB\n *\n * @param hostname - Host of the purchased server.\n *\n * @param ram - Amount of RAM of the purchased server. Must be a power of 2 (2, 4, 8, 16, etc.). Maximum value of 1048576 (2^20).\n *\n * @returns The hostname of the newly purchased server.\n *\n * @example\n * ```ts\n * ram = 64;\n * hn = \"pserv-\";\n * for (i = 0; i < 5; ++i) {\n * purchaseServer(hn + i, ram);\n * }\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "purchaseServer(hostname: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", ram: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string | \"\""
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "hostname",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "ram",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "purchaseServer"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#read:member(1)",
"docComment": "/**\n * This function is used to read data from a port or from a text file (.txt).\n *\n * If the argument port/fn is a number between 1 and 20, then it specifies a port and it will 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 * If the argument port/fn is a string, then it specifies the name of a text file (.txt) and 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 * @remarks\n *\n * RAM cost: 1 GB\n *\n * @param handle - Port or text file to read from.\n *\n * @returns Data in the specified text file or port.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "read(handle: "
},
{
"kind": "Reference",
"text": "Handle",
"canonicalReference": "bitburner!Handle:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string | number | object"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "handle",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "read"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#relaysmtp:member(1)",
"docComment": "/**\n * Runs the relaySMTP.exe program on the target server. relaySMTP.exe must exist on your home computer.\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 * relaysmtp(\"foodnstuff\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "relaysmtp(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "relaysmtp"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#rm:member(1)",
"docComment": "/**\n * Removes the specified file from the current server. This function works for every file type except message (.msg) files.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * @param name - Filename of file to remove. Must include the extension.\n *\n * @param host - Host or IP Address of the server on which to delete the file. Optional. Defaults to current server.\n *\n * @returns True if it successfully deletes the file, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "rm(name: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "rm"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#run:member(1)",
"docComment": "/**\n * 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 * @remarks\n *\n * RAM cost: 1 GB\n *\n * @param script - Filename of script to run.\n *\n * @param numThreads - Optional thread count for new script. Set to 1 by default. Will be rounded to nearest integer.\n *\n * @param args - Additional arguments to pass into the new script that is being run. Note that if any arguments are being passed into the new script, then the second argument numThreads must be filled in with a value.\n *\n * @returns Returns the PID of a successfully started script, and 0 otherwise.\n *\n * @example\n * ```ts\n * //The simplest way to use the run command is to call it with just the script name. The following example will run foo.script single-threaded with no arguments:\n * run(\"foo.script\");\n * ```\n *\n * @example\n * ```ts\n * //The following example will run foo.script but with 5 threads instead of single-threaded:\n * run(\"foo.script\", 5);\n * ```\n *\n * @example\n * ```ts\n * //This next example will run foo.script single-threaded, and will pass the string foodnstuff into the script as an argument:\n * run(\"foo.script\", 1, 'foodnstuff');\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "run(script: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", numThreads?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", ...args: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "numThreads",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "run"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#scan:member(1)",
"docComment": "/**\n * Returns an array containing the hostnames or IPs of all servers that are one node way from the specified target server. The hostnames/IPs in the returned array are strings.\n *\n * @remarks\n *\n * RAM cost: 0.2 GB\n *\n * @param host - Hostname of the server to scan.\n *\n * @param hostnames - Optional boolean specifying whether the function should output hostnames (if true) or IP addresses (if false).\n *\n * @returns Returns an string of hostnames or IP.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "scan(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", hostnames?: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "hostnames",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "scan"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#scp:member(1)",
"docComment": "/**\n * 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 * @remarks\n *\n * RAM cost: 0.6 GB\n *\n * @param files - Filename or an array of filenames of script/literature files to copy.\n *\n * @param destination - Host or IP of the destination server, which is the server to which the file will be copied.\n *\n * @returns True if the script/literature file is successfully copied over and false otherwise. If the files argument is an array then this function will return true if at least one of the files in the array is successfully copied.\n *\n * @example\n * ```ts\n * //Copies hack-template.script from the current server to foodnstuff:\n * scp(\"hack-template.script\", \"foodnstuff\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "scp(files: "
},
{
"kind": "Content",
"text": "string | "
},
{
"kind": "Reference",
"text": "ReadonlyArray",
"canonicalReference": "!ReadonlyArray:interface"
},
{
"kind": "Content",
"text": "<string>"
},
{
"kind": "Content",
"text": ", destination: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "files",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 4
}
},
{
"parameterName": "destination",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "scp"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#scp:member(2)",
"docComment": "/**\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 * @remarks\n *\n * RAM cost: 0.6 GB\n *\n * @param files - Filename or an array of filenames of script/literature files to copy.\n *\n * @param source - Host or IP 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 or IP of the destination server, which is the server to which the file will be copied.\n *\n * @returns True if the script/literature file is successfully copied over and false otherwise. If the files argument is an array then this function will return true if at least one of the files in the array is successfully copied.\n *\n * @example\n * ```ts\n * //Copies foo.lit from the helios server to the home computer:\n * scp(\"foo.lit\", \"helios\", \"home\");\n * ```\n *\n * @example\n * ```ts\n * //Tries to copy three files from rothman-uni to home computer:\n * files = [\"foo1.lit\", \"foo2.script\", \"foo3.script\"];\n * scp(files, \"rothman-uni\", \"home\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "scp(\n files: "
},
{
"kind": "Content",
"text": "string | "
},
{
"kind": "Reference",
"text": "ReadonlyArray",
"canonicalReference": "!ReadonlyArray:interface"
},
{
"kind": "Content",
"text": "<string>"
},
{
"kind": "Content",
"text": ",\n source: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ",\n // tslint:disable-next-line:unified-signatures\n destination: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ",\n ): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
},
"releaseTag": "Public",
"overloadIndex": 2,
"parameters": [
{
"parameterName": "files",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 4
}
},
{
"parameterName": "source",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "destination",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
}
],
"name": "scp"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#scriptKill:member(1)",
"docComment": "/**\n * Kills all scripts with the specified filename on the target server specified by hostname/ip, regardless of arguments.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * @param script - Filename of script to kill. This is case-sensitive.\n *\n * @param host - Host or IP of target server.\n *\n * @returns true if one or more scripts were successfully killed, and false if none were.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "scriptKill(script: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "scriptKill"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#scriptRunning:member(1)",
"docComment": "/**\n * 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 * @remarks\n *\n * RAM cost: 1 GB\n *\n * @param script - Filename of script to check. This is case-sensitive.\n *\n * @param host - Host or IP of target server.\n *\n * @returns True if the specified script is running, and false otherwise.\n *\n * @example\n * ```ts\n * //The function call will return true if there is any script named foo.script running on the foodnstuff server, and false otherwise:\n * scriptRunning(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * //The function call will return true if there is any script named “foo.script” running on the current server, and false otherwise:\n * scriptRunning(\"foo.script\", getHostname());\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "scriptRunning(script: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "scriptRunning"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#serverExists:member(1)",
"docComment": "/**\n * Returns a boolean denoting whether or not the specified server exists.\n *\n * @remarks\n *\n * RAM cost: 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns True if specified server exists, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "serverExists(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "serverExists"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#sleep:member(1)",
"docComment": "/**\n * Suspends the script for n milliseconds.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param millis - Number of milliseconds to sleep.\n *\n * @returns \n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "sleep(millis: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<void>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 5
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "millis",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "sleep"
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#sleeve:member",
"docComment": "/**\n * Namespace for sleeve related functions.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "readonly sleeve: "
},
{
"kind": "Reference",
"text": "Sleeve",
"canonicalReference": "bitburner!Sleeve:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "sleeve",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#spawn:member(1)",
"docComment": "/**\n * 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 * @remarks\n *\n * RAM cost: 2 GB\n *\n * @param script - Filename of script to execute.\n *\n * @param numThreads - Number of threads to spawn new script with. Will be rounded to nearest integer.\n *\n * @param args - Additional arguments to pass into the new script that is being run.\n *\n * @example\n * ```ts\n * //The following example will execute the script foo.script with 10 threads and the arguments foodnstuff and 90:\n * spawn('foo.script', 10, 'foodnstuff', 90);\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "spawn(script: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", numThreads?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", ...args: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "script",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "numThreads",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "spawn"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#sprintf:member(1)",
"docComment": "/**\n * Complete open source JavaScript sprintf implementation\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param format - String to format.\n *\n * @param args - Formating arguments.\n *\n * @returns Formated text.\n *\n * @see\n *\n * https://github.com/alexei/sprintf.js\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "sprintf(format: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", ...args: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "format",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "sprintf"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#sqlinject:member(1)",
"docComment": "/**\n * Runs the SQLInject.exe program on the target server. SQLInject.exe must exist on your home computer.\n *\n * @remarks\n *\n * RAM cost: 0.05 GB\n *\n * @param host - Hostname of the target server.\n *\n * @example\n * ```ts\n * sqlinject(\"foodnstuff\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "sqlinject(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "sqlinject"
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!NS#stock:member",
"docComment": "/**\n * Namespace for stock related functions.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "readonly stock: "
},
{
"kind": "Reference",
"text": "TIX",
"canonicalReference": "bitburner!TIX:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "stock",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#tail:member(1)",
"docComment": "/**\n * 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 * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param fn - Optional. Filename of the script being tailed. If omitted, the current script is tailed.\n *\n * @param host - Optional. Hostname of the script being tailed. Defaults to the server this script is running on. If args are specified, this is not optional.\n *\n * @param args - Arguments for the script being tailed.\n *\n * @example\n * ```ts\n * //Open logs from foo.script on the current server that was run with no args\n * tail(\"foo.script\");\n * ```\n *\n * @example\n * ```ts\n * //Get logs from foo.script on the foodnstuff server that was run with no args\n * tail(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```ts\n * //Get logs from foo.script on the foodnstuff server that was run with the arguments [1, \"test\"]\n * tail(\"foo.script\", \"foodnstuff\", 1, \"test\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "tail(fn?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", ...args: "
},
{
"kind": "Content",
"text": "any[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "fn",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "tail"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#tprint:member(1)",
"docComment": "/**\n * Prints a value or a variable to the Terminal.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param msg - Value to be printed.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "tprint(msg: "
},
{
"kind": "Content",
"text": "any"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "msg",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "tprint"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#tryWrite:member(1)",
"docComment": "/**\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 * @remarks\n *\n * RAM cost: 1 GB\n *\n * @param port - Port or text file that will be written to.\n *\n * @param data - Data to write.\n *\n * @returns True if the data is successfully written to the port, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "tryWrite(port: "
},
{
"kind": "Reference",
"text": "Handle",
"canonicalReference": "bitburner!Handle:type"
},
{
"kind": "Content",
"text": ", data: "
},
{
"kind": "Content",
"text": "string | string[] | number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "port",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "data",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "tryWrite"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#vsprintf:member(1)",
"docComment": "/**\n * Complete open source JavaScript sprintf implementation\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param format - String to format.\n *\n * @param args - Formating arguments.\n *\n * @returns Formated text.\n *\n * @see\n *\n * https://github.com/alexei/sprintf.js\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "vsprintf(format: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", args: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "format",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "args",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "vsprintf"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#weaken:member(1)",
"docComment": "/**\n * Use your hacking skills to attack a servers security, lowering the servers security level. The runtime for this command depends on your hacking level and the target servers security level. This function lowers the security level of the target server by 0.05.\n *\n * Like hack and grow, `weaken` can be called on any server, regardless of where the script is running. This command requires root access to the target server, but there is no required hacking level to run the command.\n *\n * @remarks\n *\n * RAM cost: 0.15 GB\n *\n * @param host - Hostname of the target server to weaken.\n *\n * @param opts - Optional parameters for configuring function behavior.\n *\n * @returns The amount by which the target servers security level was decreased. This is equivalent to 0.05 multiplied by the number of script threads.\n *\n * @example\n * ```ts\n * weaken(\"foodnstuff\");\n * weaken(\"foodnstuff\", { threads: 5 }); // Only use 5 threads to weaken\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "weaken(host: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", opts?: "
},
{
"kind": "Reference",
"text": "BasicHGWOptions",
"canonicalReference": "bitburner!BasicHGWOptions:interface"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<number>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 7
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "opts",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "weaken"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#weakenAnalyze:member(1)",
"docComment": "/**\n * Returns the security decrease that would occur if a weaken with this many threads happened.\n *\n * @remarks\n *\n * RAM cost: 1 GB\n *\n * @param threads - Amount of threads that will be used.\n *\n * @param cores - Optional. The number of cores of the server that would run weaken.\n *\n * @returns The security decrease.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "weakenAnalyze(threads: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", cores?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "threads",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "cores",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "weakenAnalyze"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#wget:member(1)",
"docComment": "/**\n * 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 * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param url - URL to pull data from.\n *\n * @param target - Filename to write data to. Must be script or text file.\n *\n * @param host - Optional hostname/ip of server for target file.\n *\n * @returns True if the data was successfully retrieved from the URL, false otherwise.\n *\n * @example\n * ```ts\n * wget(\"https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md\", \"game_readme.txt\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "wget(url: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", target: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ", host?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "Promise",
"canonicalReference": "!Promise:interface"
},
{
"kind": "Content",
"text": "<boolean>"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 9
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "url",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "target",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "host",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "wget"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#write:member(1)",
"docComment": "/**\n * This function can be used to either write data to a port or to a text file (.txt).\n *\n * If the first argument is a number between 1 and 20, then it specifies a port and this function will write data to that port. The third argument, mode, is not used when writing to a port.\n *\n * If the first argument is a string, then it specifies the name of a text file (.txt) and 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 * @remarks\n *\n * RAM cost: 1 GB\n *\n * @param handle - Port or text file that will be written to.\n *\n * @param data - Data to write.\n *\n * @param mode - Defines the write mode. Only valid when writing to text files.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "write(handle: "
},
{
"kind": "Reference",
"text": "Handle",
"canonicalReference": "bitburner!Handle:type"
},
{
"kind": "Content",
"text": ", data?: "
},
{
"kind": "Content",
"text": "string | string[] | number"
},
{
"kind": "Content",
"text": ", mode?: "
},
{
"kind": "Content",
"text": "\"w\" | \"a\""
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "handle",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "data",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "mode",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "write"
}
],
"extendsTokenRanges": [
{
"startIndex": 1,
"endIndex": 3
}
]
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!OrderPosition:type",
"docComment": "/**\n * All possible stock market order positions.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type OrderPosition = "
},
{
"kind": "Content",
"text": "\"long\" | \"short\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "OrderPosition",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!OrderType:type",
"docComment": "/**\n * All possible stock market order type.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type OrderType = "
},
{
"kind": "Content",
"text": "\"limitbuy\" | \"limitsell\" | \"stopbuy\" | \"stopsell\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "OrderType",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "Interface",
"canonicalReference": "bitburner!PlayerSkills:interface",
"docComment": "/**\n * Short summary of the players skills.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface PlayerSkills "
}
],
"releaseTag": "Public",
"name": "PlayerSkills",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!PlayerSkills#agility:member",
"docComment": "/**\n * Agility level\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "agility: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "agility",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!PlayerSkills#charisma:member",
"docComment": "/**\n * Chraisma level\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "charisma: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "charisma",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!PlayerSkills#defense:member",
"docComment": "/**\n * Defense level\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "defense: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "defense",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!PlayerSkills#dexterity:member",
"docComment": "/**\n * Dexterity level\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "dexterity: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "dexterity",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!PlayerSkills#hacking:member",
"docComment": "/**\n * Hacking level\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hacking: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hacking",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!PlayerSkills#intelligence:member",
"docComment": "/**\n * Intelligence level\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "intelligence: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "intelligence",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!PlayerSkills#strength:member",
"docComment": "/**\n * Strength level\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "strength: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "strength",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!Port:type",
"docComment": "/**\n * Queue used to send and receive messages.\n *\n * @remarks\n *\n * A port is implemented as a sort of serialized queue, where you can only write and read one element at a time from the port. When you read data from a port, the element that is read is removed from the port.\n *\n * IMPORTANT: The data inside ports are not saved! This means if you close and re-open the game, or reload the page then you will lose all of the data in the ports!\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type Port = "
},
{
"kind": "Content",
"text": "1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20"
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "Port",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "Interface",
"canonicalReference": "bitburner!ProcessInfo:interface",
"docComment": "/**\n * A single process on a server.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface ProcessInfo "
}
],
"releaseTag": "Public",
"name": "ProcessInfo",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!ProcessInfo#args:member",
"docComment": "/**\n * Script's arguments\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "args: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "args",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!ProcessInfo#filename:member",
"docComment": "/**\n * Script name.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "filename: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "filename",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!ProcessInfo#threads:member",
"docComment": "/**\n * Number of threads script is running with\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "threads: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "threads",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!Programs:type",
"docComment": "/**\n * All programs.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type Programs =\n "
},
{
"kind": "Content",
"text": "| \"autolink.exe\"\n | \"brutessh.exe\"\n | \"deepscanv1.exe\"\n | \"deepscanv2.exe\"\n | \"ftpcrack.exe\"\n | \"httpworm.exe\"\n | \"relaysmtp.exe\"\n | \"serverprofiler.exe\"\n | \"sqlinject.exe\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "Programs",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Server:interface",
"docComment": "/**\n * A single server.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface Server "
}
],
"releaseTag": "Public",
"name": "Server",
"members": [
{
"kind": "PropertySignature",
"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",
"text": "cpuCores: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "cpuCores",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#ftpPortOpen:member",
"docComment": "/**\n * Flag indicating whether the FTP port is open\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ftpPortOpen: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "ftpPortOpen",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#hasAdminRights:member",
"docComment": "/**\n * Flag indicating whether player has admin/root access to this server\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hasAdminRights: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hasAdminRights",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#hostname:member",
"docComment": "/**\n * Hostname. Must be unique\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hostname: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hostname",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#httpPortOpen:member",
"docComment": "/**\n * Flag indicating whether HTTP Port is open\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "httpPortOpen: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "httpPortOpen",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#ip:member",
"docComment": "/**\n * IP Address. Must be unique\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ip: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "ip",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#isConnectedTo:member",
"docComment": "/**\n * Flag indicating whether player is curently connected to this server\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "isConnectedTo: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "isConnectedTo",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#maxRam:member",
"docComment": "/**\n * RAM (GB) available on this server\n */\n",
"excerptTokens": [
{
"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!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",
"text": "organizationName: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "organizationName",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#ramUsed:member",
"docComment": "/**\n * RAM (GB) used. i.e. unavailable RAM\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "ramUsed: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "ramUsed",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#smtpPortOpen:member",
"docComment": "/**\n * Flag indicating whether SMTP Port is open\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "smtpPortOpen: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "smtpPortOpen",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#sqlPortOpen:member",
"docComment": "/**\n * Flag indicating whether SQL Port is open\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "sqlPortOpen: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "sqlPortOpen",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!Server#sshPortOpen:member",
"docComment": "/**\n * Flag indicating whether the SSH Port is open\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "sshPortOpen: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "sshPortOpen",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Singularity:interface",
"docComment": "/**\n * Singularity API\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface Singularity "
}
],
"releaseTag": "Public",
"name": "Singularity",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#applyToCompany:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\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 * @remarks\n *\n * Singularity - Level 2\n *\n * @param companyName - Name of company to apply to.\n *\n * @param field - Field to which you want to apply.\n *\n * @returns True if the player successfully get a job/promotion, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "applyToCompany(companyName: "
},
{
"kind": "Reference",
"text": "CompanyName",
"canonicalReference": "bitburner!CompanyName:type"
},
{
"kind": "Content",
"text": ", field: "
},
{
"kind": "Reference",
"text": "CompanyField",
"canonicalReference": "bitburner!CompanyField:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "companyName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "field",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "applyToCompany"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#checkFactionInvitations:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns an array with the name of all Factions you currently have oustanding invitations from.\n *\n * @remarks\n *\n * Singularity - Level 2\n *\n * @returns Array with the name of all Factions you currently have oustanding invitations from.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "checkFactionInvitations(): "
},
{
"kind": "Reference",
"text": "FactionName",
"canonicalReference": "bitburner!FactionName:type"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "checkFactionInvitations"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#commitCrime:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function is used to automatically attempt to commit crimes. If you are already in the middle of some working action (such as working for a company or training at a gym), then running this function will automatically cancel that action and give you your earnings.\n *\n * This function returns the number of seconds it takes to attempt the specified crime (e.g It takes 60 seconds to attempt the Rob Store crime, so running `commitCrime('rob store')` will return 60).\n *\n * Warning: I do not recommend using the time returned from this function to try and schedule your crime attempts. Instead, I would use the isBusy Singularity function to check whether you have finished attempting a crime. This is because although the game sets a certain crime to be X amount of seconds, there is no guarantee that your browser will follow that time limit.\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @param crime - Name of crime to attempt.\n *\n * @returns True if you successfully start working on the specified program, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "commitCrime(crime: "
},
{
"kind": "Reference",
"text": "Crime",
"canonicalReference": "bitburner!Crime:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "crime",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "commitCrime"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#createProgram:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\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 * @remarks\n *\n * Singularity - Level 3\n *\n * @param program - Name of program to create.\n *\n * @returns True if you successfully start working on the specified program, and false otherwise.\n *\n * @example\n * ```ts\n * createProgram(“relaysmtp.exe”);\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "createProgram(program: "
},
{
"kind": "Reference",
"text": "Programs",
"canonicalReference": "bitburner!Programs:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "program",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "createProgram"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#donateToFaction:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\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 * @remarks\n *\n * Singularity - Level 3\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",
"text": "donateToFaction(faction: "
},
{
"kind": "Reference",
"text": "FactionName",
"canonicalReference": "bitburner!FactionName:type"
},
{
"kind": "Content",
"text": ", amount: "
},
{
"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": "faction",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "amount",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "donateToFaction"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getAugmentationCost:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\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 * @remarks\n *\n * Singularity - Level 3\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",
"text": "getAugmentationCost(augName: "
},
{
"kind": "Reference",
"text": "AugmentName",
"canonicalReference": "bitburner!AugmentName:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "[number, number]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "augName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getAugmentationCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getAugmentationPrereq:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\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 * @remarks\n *\n * Singularity - Level 3\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",
"text": "getAugmentationPrereq(augName: "
},
{
"kind": "Reference",
"text": "AugmentName",
"canonicalReference": "bitburner!AugmentName:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "AugmentName",
"canonicalReference": "bitburner!AugmentName:type"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 5
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "augName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getAugmentationPrereq"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getAugmentationsFromFaction:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns an array containing the names (as strings) of all Augmentations that are available from the specified faction.\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @param faction - Name of faction.\n *\n * @returns Array containing the names of all Augmentations.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getAugmentationsFromFaction(faction: "
},
{
"kind": "Reference",
"text": "FactionName",
"canonicalReference": "bitburner!FactionName:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "AugmentName",
"canonicalReference": "bitburner!AugmentName:type"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 5
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "faction",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getAugmentationsFromFaction"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getAugmentationStats:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns augmentation stats.\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @param name - Name of Augmentation. CASE-SENSITIVE.\n *\n * @returns Augmentation stats.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getAugmentationStats(name: "
},
{
"kind": "Reference",
"text": "AugmentName",
"canonicalReference": "bitburner!AugmentName:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "AugmentationStats",
"canonicalReference": "bitburner!AugmentationStats:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getAugmentationStats"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getCharacterInformation:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns an object with various information about your character.\n *\n * @remarks\n *\n * Singularity - Level 1\n *\n * @returns Object with various information about your character.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getCharacterInformation(): "
},
{
"kind": "Reference",
"text": "CharacterInfo",
"canonicalReference": "bitburner!CharacterInfo:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getCharacterInformation"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getCompanyFavor:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\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 * @remarks\n *\n * Singularity - Level 2\n *\n * @param companyName - Name of the company.\n *\n * @returns Amount of favor you have at the specified company.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getCompanyFavor(companyName: "
},
{
"kind": "Reference",
"text": "CompanyName",
"canonicalReference": "bitburner!CompanyName:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "companyName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getCompanyFavor"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getCompanyFavorGain:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\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 * @remarks\n *\n * Singularity - Level 2\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",
"excerptTokens": [
{
"kind": "Content",
"text": "getCompanyFavorGain(companyName: "
},
{
"kind": "Reference",
"text": "CompanyName",
"canonicalReference": "bitburner!CompanyName:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "companyName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getCompanyFavorGain"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getCompanyRep:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\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 * @remarks\n *\n * Singularity - Level 2\n *\n * @param companyName - Name of the company.\n *\n * @returns Amount of reputation you have at the specified company.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getCompanyRep(companyName: "
},
{
"kind": "Reference",
"text": "CompanyName",
"canonicalReference": "bitburner!CompanyName:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "companyName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getCompanyRep"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getCrimeChance:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns your chance of success at commiting the specified crime. The chance is returned as a decimal (i.e. 60% would be returned as 0.6).\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @param crime - Name of crime.\n *\n * @returns Chance of success at commiting the specified crime as a decimal.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getCrimeChance(crime: "
},
{
"kind": "Reference",
"text": "Crime",
"canonicalReference": "bitburner!Crime:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "crime",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getCrimeChance"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getCrimeStats:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns the stats of the crime.\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @param crime - Name of crime. Not case-sensitive\n *\n * @returns The stats of the crime.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getCrimeStats(crime: "
},
{
"kind": "Reference",
"text": "Crime",
"canonicalReference": "bitburner!Crime:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "CrimeStats",
"canonicalReference": "bitburner!CrimeStats:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "crime",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getCrimeStats"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getFactionFavor:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns the amount of favor you have for the specified faction.\n *\n * @remarks\n *\n * Singularity - Level 2\n *\n * @param faction - Name of faction.\n *\n * @returns Amount of favor you have for the specified faction.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getFactionFavor(faction: "
},
{
"kind": "Reference",
"text": "FactionName",
"canonicalReference": "bitburner!FactionName:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "faction",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getFactionFavor"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getFactionFavorGain:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns the amount of favor you will gain for the specified faction when you reset by installing Augmentations.\n *\n * @remarks\n *\n * Singularity - Level 2\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",
"excerptTokens": [
{
"kind": "Content",
"text": "getFactionFavorGain(faction: "
},
{
"kind": "Reference",
"text": "FactionName",
"canonicalReference": "bitburner!FactionName:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "faction",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getFactionFavorGain"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getFactionRep:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns the amount of reputation you have for the specified faction.\n *\n * @remarks\n *\n * Singularity - Level 2\n *\n * @param faction - Name of faction to work for.\n *\n * @returns Amount of reputation you have for the specified faction.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getFactionRep(faction: "
},
{
"kind": "Reference",
"text": "FactionName",
"canonicalReference": "bitburner!FactionName:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "faction",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getFactionRep"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getOwnedAugmentations:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns an array containing the names (as strings) of all Augmentations you have.\n *\n * @remarks\n *\n * Singularity - Level 3\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",
"excerptTokens": [
{
"kind": "Content",
"text": "getOwnedAugmentations(purchased?: "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "AugmentName",
"canonicalReference": "bitburner!AugmentName:type"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 5
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "purchased",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getOwnedAugmentations"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getOwnedSourceFiles:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns an array of source files\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @returns Array containing an object with number and level of the source file.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getOwnedSourceFiles(): "
},
{
"kind": "Reference",
"text": "SourceFileLvl",
"canonicalReference": "bitburner!SourceFileLvl:interface"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getOwnedSourceFiles"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getStats:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns an object with the Players stats.\n *\n * @remarks\n *\n * Singularity - Level 1\n *\n * @returns Object with the Players stats.\n *\n * @example\n * ```ts\n * res = getStats();\n * print('My charisma level is: ' + res.charisma);\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getStats(): "
},
{
"kind": "Reference",
"text": "PlayerSkills",
"canonicalReference": "bitburner!PlayerSkills:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getStats"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#getUpgradeHomeRamCost:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns the cost of upgrading the players home computer RAM.\n *\n * @remarks\n *\n * Singularity - Level 2\n *\n * @returns Cost of upgrading the players home computer RAM.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getUpgradeHomeRamCost(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getUpgradeHomeRamCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#gymWorkout:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\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 * @remarks\n *\n * Singularity - Level 1\n *\n * @param gymName - Name of gym. You must be in the correct city for whatever gym you specify.\n *\n * @param stat - The stat you want to train.\n *\n * @returns True if actions is successfully started, false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "gymWorkout(gymName: "
},
{
"kind": "Reference",
"text": "Gym",
"canonicalReference": "bitburner!Gym:type"
},
{
"kind": "Content",
"text": ", stat: "
},
{
"kind": "Reference",
"text": "GymStat",
"canonicalReference": "bitburner!GymStat:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "gymName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "stat",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "gymWorkout"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#installAugmentations:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will automatically install your Augmentations, resetting the game as usual.\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @param cbScript - Optional callback script. 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",
"text": "installAugmentations(cbScript?: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "cbScript",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "installAugmentations"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#isBusy:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\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 * @remarks\n *\n * Singularity - Level 1\n *\n * @returns True if the player is currently performing an action, false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "isBusy(): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "isBusy"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#joinFaction:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will automatically accept an invitation from a faction and join it.\n *\n * @remarks\n *\n * Singularity - Level 2\n *\n * @param faction - Name of faction to join.\n *\n * @returns True if player joined the faction, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "joinFaction(faction: "
},
{
"kind": "Reference",
"text": "FactionName",
"canonicalReference": "bitburner!FactionName:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "faction",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "joinFaction"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#purchaseAugmentation:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\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 * @remarks\n *\n * Singularity - Level 3\n *\n * @param faction - Name of faction to purchase Augmentation from.\n *\n * @param augmnet - Name of Augmentation to purchase.\n *\n * @returns True if the Augmentation is successfully purchased, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "purchaseAugmentation(faction: "
},
{
"kind": "Reference",
"text": "FactionName",
"canonicalReference": "bitburner!FactionName:type"
},
{
"kind": "Content",
"text": ", augmnet: "
},
{
"kind": "Reference",
"text": "AugmentName",
"canonicalReference": "bitburner!AugmentName:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "faction",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "augmnet",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "purchaseAugmentation"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#purchaseProgram:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\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 * @remarks\n *\n * Singularity - Level 1\n *\n * @param programName - Name of program to purchase.\n *\n * @returns True if the specified program is purchased, and false otherwise.\n *\n * @example\n * ```ts\n * purchaseProgram(\"brutessh.exe\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "purchaseProgram(programName: "
},
{
"kind": "Reference",
"text": "Programs",
"canonicalReference": "bitburner!Programs:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "programName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "purchaseProgram"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#purchaseTor:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\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 * @remarks\n *\n * Singularity - Level 1\n *\n * @returns True if actions is successful, false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "purchaseTor(): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "purchaseTor"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#softReset:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will perform a reset even if you dont have any augmentation installed.\n *\n * @remarks\n *\n * Singularity - Level 3\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "softReset(): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "softReset"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#stopAction:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\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 * @remarks\n *\n * Singularity - Level 1\n *\n * @returns True if the players action was ended, false if the player was not performing an action.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"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)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\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 * @remarks\n *\n * Singularity - Level 1\n *\n * @param city - City to travel to.\n *\n * @returns True if actions is successful, false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "travelToCity(city: "
},
{
"kind": "Reference",
"text": "City",
"canonicalReference": "bitburner!City:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "city",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "travelToCity"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#universityCourse:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\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 * @remarks\n *\n * Singularity - Level 1\n *\n * @param universityName - Name of university. You must be in the correct city for whatever university you specify.\n *\n * @param courseName - Name of course.\n *\n * @returns True if actions is successfully started, false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "universityCourse(universityName: "
},
{
"kind": "Reference",
"text": "University",
"canonicalReference": "bitburner!University:type"
},
{
"kind": "Content",
"text": ", courseName: "
},
{
"kind": "Reference",
"text": "UniversityCourse",
"canonicalReference": "bitburner!UniversityCourse:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "universityName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "courseName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "universityCourse"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#upgradeHomeRam:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\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 * @remarks\n *\n * Singularity - Level 2\n *\n * @returns True if the players home computer RAM is successfully upgraded, and false otherwise.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "upgradeHomeRam(): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "upgradeHomeRam"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#workForCompany:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\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 * @remarks\n *\n * Singularity - Level 2\n *\n * @param companyName - Name of company to work for. Must be an exact match. Optional. If not specified, this argument defaults to the last job that you worked\n *\n * @returns True if the player starts working, and false otherwise.\n *\n * @example\n * ```ts\n * //If you only want to work until you get 100,000 company reputation. One small hack to get around this is to continuously restart the action to receive your earnings:\n * while (getCompanyRep(COMPANY HERE) < VALUE) {\n * workForCompany();\n * sleep(60000);\n * }\n * //This way, your company reputation will be updated every minute.\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "workForCompany(companyName?: "
},
{
"kind": "Reference",
"text": "CompanyName",
"canonicalReference": "bitburner!CompanyName:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "companyName",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "workForCompany"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Singularity#workForFaction:member(1)",
"docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\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 * @remarks\n *\n * Singularity - Level 2\n *\n * @param faction - Name of faction to work for.\n *\n * @param workType - Type of work to perform for the faction.\n *\n * @returns True if the player starts working, and false otherwise.\n *\n * @example\n * ```ts\n * //If you only want to work until you get 100,000 faction reputation. One small hack to get around this is to continuously restart the action to receive your earnings:\n * while (getFactionRep(FACTION NAME) < VALUE) {\n * workForFaction(FACNAME, WORKTYPE);\n * sleep(60000);\n * }\n * //This way, your faction reputation will be updated every minute.\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "workForFaction(faction: "
},
{
"kind": "Reference",
"text": "FactionName",
"canonicalReference": "bitburner!FactionName:type"
},
{
"kind": "Content",
"text": ", workType: "
},
{
"kind": "Reference",
"text": "FactionWork",
"canonicalReference": "bitburner!FactionWork:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "faction",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "workType",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "workForFaction"
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!Sleeve:interface",
"docComment": "/**\n * Sleeve API\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface Sleeve "
}
],
"releaseTag": "Public",
"name": "Sleeve",
"members": [
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#getInformation:member(1)",
"docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a struct containing tons of information about this sleeve\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to retrieve information.\n *\n * @returns Object containing tons of information about this sleeve.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getInformation(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "SleeveInformation",
"canonicalReference": "bitburner!SleeveInformation:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getInformation"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#getNumSleeves:member(1)",
"docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return the number of duplicate sleeves the player has.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @returns number of duplicate sleeves the player has.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getNumSleeves(): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getNumSleeves"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#getSleeveAugmentations:member(1)",
"docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a list of augmentation names that this sleeve has installed.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to retrieve augmentations from.\n *\n * @returns List of augmentation names that this sleeve has installed.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getSleeveAugmentations(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "AugmentName",
"canonicalReference": "bitburner!AugmentName:type"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 5
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getSleeveAugmentations"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#getSleevePurchasableAugs:member(1)",
"docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a list of augmentations that the player can buy for this sleeve.\n *\n * @remarks\n *\n * RAM cost: 4 GB\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",
"text": "getSleevePurchasableAugs(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "AugmentPair",
"canonicalReference": "bitburner!AugmentPair:interface"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 5
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getSleevePurchasableAugs"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#getSleeveStats:member(1)",
"docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a structure containing the stats of the sleeve.\n *\n * @remarks\n *\n * RAM cost: 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to get stats of.\n *\n * @returns Object containing the stats of the sleeve.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getSleeveStats(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "SleeveSkills",
"canonicalReference": "bitburner!SleeveSkills:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getSleeveStats"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#getTask:member(1)",
"docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return the current task that the sleeve is performing. type is set to “Idle” if the sleeve isnt doing anything.\n *\n * @remarks\n *\n * RAM cost: 4 GB\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",
"excerptTokens": [
{
"kind": "Content",
"text": "getTask(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Reference",
"text": "SleeveTask",
"canonicalReference": "bitburner!SleeveTask:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getTask"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#purchaseSleeveAug:member(1)",
"docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return true if the aug was purchased and installed on the sleeve.\n *\n * @remarks\n *\n * RAM cost: 4 GB\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",
"excerptTokens": [
{
"kind": "Content",
"text": "purchaseSleeveAug(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", augName: "
},
{
"kind": "Reference",
"text": "AugmentName",
"canonicalReference": "bitburner!AugmentName:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "augName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "purchaseSleeveAug"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#setToCommitCrime:member(1)",
"docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\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 * @remarks\n *\n * RAM cost: 4 GB\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",
"excerptTokens": [
{
"kind": "Content",
"text": "setToCommitCrime(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", name: "
},
{
"kind": "Reference",
"text": "Crime",
"canonicalReference": "bitburner!Crime:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "name",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "setToCommitCrime"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#setToCompanyWork:member(1)",
"docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not the sleeve started working or this company.\n *\n * @remarks\n *\n * RAM cost: 4 GB\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",
"text": "setToCompanyWork(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", companyName: "
},
{
"kind": "Reference",
"text": "CompanyName",
"canonicalReference": "bitburner!CompanyName:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "companyName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "setToCompanyWork"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#setToFactionWork:member(1)",
"docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not the sleeve started working or this faction.\n *\n * @remarks\n *\n * RAM cost: 4 GB\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",
"excerptTokens": [
{
"kind": "Content",
"text": "setToFactionWork(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", factionName: "
},
{
"kind": "Reference",
"text": "FactionName",
"canonicalReference": "bitburner!FactionName:type"
},
{
"kind": "Content",
"text": ", factionWorkType: "
},
{
"kind": "Reference",
"text": "FactionWork",
"canonicalReference": "bitburner!FactionWork:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "factionName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "factionWorkType",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "setToFactionWork"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#setToGymWorkout:member(1)",
"docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not the sleeve started working out.\n *\n * @remarks\n *\n * RAM cost: 4 GB\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",
"excerptTokens": [
{
"kind": "Content",
"text": "setToGymWorkout(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", gymName: "
},
{
"kind": "Reference",
"text": "Gym",
"canonicalReference": "bitburner!Gym:type"
},
{
"kind": "Content",
"text": ", stat: "
},
{
"kind": "Reference",
"text": "GymStat",
"canonicalReference": "bitburner!GymStat:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "gymName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "stat",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "setToGymWorkout"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#setToShockRecovery:member(1)",
"docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not this action was set successfully.\n *\n * @remarks\n *\n * RAM cost: 4 GB\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",
"excerptTokens": [
{
"kind": "Content",
"text": "setToShockRecovery(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "setToShockRecovery"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#setToSynchronize:member(1)",
"docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not this action was set successfully.\n *\n * @remarks\n *\n * RAM cost: 4 GB\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",
"text": "setToSynchronize(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "setToSynchronize"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#setToUniversityCourse:member(1)",
"docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not this action was set successfully.\n *\n * @remarks\n *\n * RAM cost: 4 GB\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",
"text": "setToUniversityCourse(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", university: "
},
{
"kind": "Reference",
"text": "University",
"canonicalReference": "bitburner!University:type"
},
{
"kind": "Content",
"text": ", className: "
},
{
"kind": "Reference",
"text": "UniversityCourse",
"canonicalReference": "bitburner!UniversityCourse:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "university",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "className",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "setToUniversityCourse"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!Sleeve#travel:member(1)",
"docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not the sleeve reached destination.\n *\n * @remarks\n *\n * RAM cost: 4 GB\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",
"excerptTokens": [
{
"kind": "Content",
"text": "travel(sleeveNumber: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", cityName: "
},
{
"kind": "Reference",
"text": "City",
"canonicalReference": "bitburner!City:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sleeveNumber",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "cityName",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "travel"
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!SleeveInformation:interface",
"docComment": "/**\n * Object representing sleeve information.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface SleeveInformation "
}
],
"releaseTag": "Public",
"name": "SleeveInformation",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#city:member",
"docComment": "/**\n * location of the sleeve\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "city: "
},
{
"kind": "Reference",
"text": "City",
"canonicalReference": "bitburner!City:type"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "city",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#earningsForPlayer:member",
"docComment": "/**\n * earnings synchronized to the player\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "earningsForPlayer: "
},
{
"kind": "Reference",
"text": "SleeveWorkGains",
"canonicalReference": "bitburner!SleeveWorkGains:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "earningsForPlayer",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#earningsForSleeves:member",
"docComment": "/**\n * earnings synchronized to other sleeves\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "earningsForSleeves: "
},
{
"kind": "Reference",
"text": "SleeveWorkGains",
"canonicalReference": "bitburner!SleeveWorkGains:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "earningsForSleeves",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#earningsForTask:member",
"docComment": "/**\n * earnings for this sleeve\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "earningsForTask: "
},
{
"kind": "Reference",
"text": "SleeveWorkGains",
"canonicalReference": "bitburner!SleeveWorkGains:interface"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "earningsForTask",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#hp:member",
"docComment": "/**\n * current hp of the sleeve\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!SleeveInformation#jobs:member",
"docComment": "/**\n * jobs available to the sleeve\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "jobs: "
},
{
"kind": "Content",
"text": "string[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "jobs",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#jobTitle:member",
"docComment": "/**\n * job titles available to the sleeve\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "jobTitle: "
},
{
"kind": "Reference",
"text": "CompanyField",
"canonicalReference": "bitburner!CompanyField:type"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "jobTitle",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveInformation#maxHp:member",
"docComment": "/**\n * max hp of the sleeve\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!SleeveInformation#mult:member",
"docComment": "/**\n * sleeve multipliers\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!SleeveInformation#timeWorked:member",
"docComment": "/**\n * time spent on the current task in milliseconds\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!SleeveInformation#tor:member",
"docComment": "/**\n * does this sleeve have access to the 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!SleeveInformation#workRepGain:member",
"docComment": "/**\n * faction or company reputation gained for the current task\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
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!SleeveSkills:interface",
"docComment": "/**\n * Object representing a sleeve stats.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface SleeveSkills "
}
],
"releaseTag": "Public",
"name": "SleeveSkills",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveSkills#agility:member",
"docComment": "/**\n * current agility of the sleeve\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!SleeveSkills#charisma:member",
"docComment": "/**\n * current charisma of the sleeve\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "charisma: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "charisma",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveSkills#defense:member",
"docComment": "/**\n * current defense of the sleeve\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!SleeveSkills#dexterity:member",
"docComment": "/**\n * current dexterity of the sleeve\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!SleeveSkills#hacking_skill:member",
"docComment": "/**\n * current hacking skill of the sleeve\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "hacking_skill: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "hacking_skill",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveSkills#shock:member",
"docComment": "/**\n * current shock of the sleeve [0-100]\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "shock: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "shock",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveSkills#strength:member",
"docComment": "/**\n * current strength of the sleeve\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!SleeveSkills#sync:member",
"docComment": "/**\n * current sync of the sleeve [0-100]\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "sync: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "sync",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!SleeveTask:interface",
"docComment": "/**\n * Object representing a sleeve current task.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface SleeveTask "
}
],
"releaseTag": "Public",
"name": "SleeveTask",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveTask#crime:member",
"docComment": "/**\n * crime currently attempting, if any\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "crime: "
},
{
"kind": "Reference",
"text": "Crime",
"canonicalReference": "bitburner!Crime:type"
},
{
"kind": "Content",
"text": " | \"\""
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "crime",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveTask#factionWorkType:member",
"docComment": "/**\n * faction work type being performed, if any\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "factionWorkType: "
},
{
"kind": "Reference",
"text": "FactionWork",
"canonicalReference": "bitburner!FactionWork:type"
},
{
"kind": "Content",
"text": " | \"\""
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "factionWorkType",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveTask#gymStatType:member",
"docComment": "/**\n * stat being trained at the gym, if any\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "gymStatType: "
},
{
"kind": "Reference",
"text": "GymStat",
"canonicalReference": "bitburner!GymStat:type"
},
{
"kind": "Content",
"text": " | \"\""
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "gymStatType",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveTask#location:member",
"docComment": "/**\n * location of the task, if any\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "location: "
},
{
"kind": "Reference",
"text": "City",
"canonicalReference": "bitburner!City:type"
},
{
"kind": "Content",
"text": " | \"\""
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "location",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveTask#task:member",
"docComment": "/**\n * task type\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "task: "
},
{
"kind": "Content",
"text": "string"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "task",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "Interface",
"canonicalReference": "bitburner!SleeveWorkGains:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface SleeveWorkGains "
}
],
"releaseTag": "Public",
"name": "SleeveWorkGains",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SleeveWorkGains#workAgiExpGain:member",
"docComment": "/**\n * agility exp gained 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!SleeveWorkGains#workChaExpGain:member",
"docComment": "/**\n * charisma exp gained 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!SleeveWorkGains#workDefExpGain:member",
"docComment": "/**\n * defense exp gained 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!SleeveWorkGains#workDexExpGain:member",
"docComment": "/**\n * dexterity exp gained 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!SleeveWorkGains#workHackExpGain:member",
"docComment": "/**\n * hacking exp gained 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!SleeveWorkGains#workMoneyGain:member",
"docComment": "/**\n * money gained from work\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!SleeveWorkGains#workStrExpGain:member",
"docComment": "/**\n * strength exp gained 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!SourceFileLvl:interface",
"docComment": "/**\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface SourceFileLvl "
}
],
"releaseTag": "Public",
"name": "SourceFileLvl",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SourceFileLvl#lvl:member",
"docComment": "/**\n * The level of the source file\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "lvl: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "lvl",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!SourceFileLvl#n:member",
"docComment": "/**\n * The number of the source file\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "n: "
},
{
"kind": "Content",
"text": "1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "n",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!StockOrder:type",
"docComment": "/**\n * Return value of {@link TIX.getOrders | getOrders}\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type StockOrder = "
},
{
"kind": "Content",
"text": "{\n /** Stock Symbol */\n [key in "
},
{
"kind": "Reference",
"text": "StockSymbol",
"canonicalReference": "bitburner!StockSymbol:type"
},
{
"kind": "Content",
"text": "]?: "
},
{
"kind": "Reference",
"text": "StockOrderObject",
"canonicalReference": "bitburner!StockOrderObject:interface"
},
{
"kind": "Content",
"text": "[];\n}"
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "StockOrder",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 6
}
},
{
"kind": "Interface",
"canonicalReference": "bitburner!StockOrderObject:interface",
"docComment": "/**\n * Value in map of {@link StockOrder}\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "interface StockOrderObject "
}
],
"releaseTag": "Public",
"name": "StockOrderObject",
"members": [
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!StockOrderObject#position:member",
"docComment": "/**\n * Order position\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "position: "
},
{
"kind": "Content",
"text": "\"S\" | \"L\""
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "position",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!StockOrderObject#price:member",
"docComment": "/**\n * Price per share\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "price: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "price",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!StockOrderObject#shares:member",
"docComment": "/**\n * Number of shares\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "shares: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "shares",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "PropertySignature",
"canonicalReference": "bitburner!StockOrderObject#type:member",
"docComment": "/**\n * Order type\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type: "
},
{
"kind": "Content",
"text": "\"Limit Buy Order\" | \"Limit Sell Order\" | \"Stop Buy Order\" | \"Stop Buy Order\""
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"releaseTag": "Public",
"name": "type",
"propertyTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"extendsTokenRanges": []
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!StockSymbol:type",
"docComment": "/**\n * All possible stock market symbols.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type StockSymbol =\n "
},
{
"kind": "Content",
"text": "| \"ECP\"\n | \"MGCP\"\n | \"BLD\"\n | \"CLRK\"\n | \"OMTK\"\n | \"FSIG\"\n | \"KGI\"\n | \"FLCM\"\n | \"STM\"\n | \"DCOMM\"\n | \"HLS\"\n | \"VITA\"\n | \"ICRS\"\n | \"UNV\"\n | \"AERO\"\n | \"OMN\"\n | \"SLRS\"\n | \"GPH\"\n | \"NVMD\"\n | \"WDS\"\n | \"LXO\"\n | \"RHOC\"\n | \"APHE\"\n | \"SYSC\"\n | \"CTK\"\n | \"NTLK\"\n | \"OMGA\"\n | \"FNS\"\n | \"SGC\"\n | \"JGN\"\n | \"CTYS\"\n | \"MDYN\"\n | \"TITN\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "StockSymbol",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "Interface",
"canonicalReference": "bitburner!TIX:interface",
"docComment": "/**\n * Stock market API\n *\n * @public\n */\n",
"excerptTokens": [
{
"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",
"excerptTokens": [
{
"kind": "Content",
"text": "buy(sym: "
},
{
"kind": "Reference",
"text": "StockSymbol",
"canonicalReference": "bitburner!StockSymbol:type"
},
{
"kind": "Content",
"text": ", shares: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "shares",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "buy"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#cancelOrder:member(1)",
"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",
"excerptTokens": [
{
"kind": "Content",
"text": "cancelOrder(sym: "
},
{
"kind": "Reference",
"text": "StockSymbol",
"canonicalReference": "bitburner!StockSymbol:type"
},
{
"kind": "Content",
"text": ", shares: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", price: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", type: "
},
{
"kind": "Reference",
"text": "OrderType",
"canonicalReference": "bitburner!OrderType:type"
},
{
"kind": "Content",
"text": ", pos: "
},
{
"kind": "Reference",
"text": "OrderPosition",
"canonicalReference": "bitburner!OrderPosition:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "void"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "shares",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "price",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
},
{
"parameterName": "pos",
"parameterTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
}
}
],
"name": "cancelOrder"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getAskPrice:member(1)",
"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",
"excerptTokens": [
{
"kind": "Content",
"text": "getAskPrice(sym: "
},
{
"kind": "Reference",
"text": "StockSymbol",
"canonicalReference": "bitburner!StockSymbol:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getAskPrice"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getBidPrice:member(1)",
"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",
"excerptTokens": [
{
"kind": "Content",
"text": "getBidPrice(sym: "
},
{
"kind": "Reference",
"text": "StockSymbol",
"canonicalReference": "bitburner!StockSymbol:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getBidPrice"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getForecast:member(1)",
"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",
"excerptTokens": [
{
"kind": "Content",
"text": "getForecast(sym: "
},
{
"kind": "Reference",
"text": "StockSymbol",
"canonicalReference": "bitburner!StockSymbol:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getForecast"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getMaxShares:member(1)",
"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",
"excerptTokens": [
{
"kind": "Content",
"text": "getMaxShares(sym: "
},
{
"kind": "Reference",
"text": "StockSymbol",
"canonicalReference": "bitburner!StockSymbol:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getMaxShares"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getOrders:member(1)",
"docComment": "/**\n * Returns your order book for the stock market.\n *\n * @remarks\n *\n * RAM cost: 2.5 GB This is an object containing information for all the Limit and Stop Orders you have in the stock market. The object has the following structure:\n * ```ts\n * {\n * StockSymbol1: [ // 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 * StockSymbol2: [ // 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",
"excerptTokens": [
{
"kind": "Content",
"text": "getOrders(): "
},
{
"kind": "Reference",
"text": "StockOrder",
"canonicalReference": "bitburner!StockOrder:type"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getOrders"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getPosition:member(1)",
"docComment": "/**\n * Returns the players position in a stock.\n *\n * @remarks\n *\n * RAM cost: 2 GB Returns an array of four elements that represents the players position in a stock.\n *\n * The first element is the returned array is the number of shares the player owns of the stock in the Long position. The second element in the array is the average price of the players shares in the Long position.\n *\n * The third element in the array is the number of shares the player owns of the stock in the Short position. The fourth element in the array is the average price of the players Short position.\n *\n * All elements in the returned array are numeric.\n *\n * @param sym - Stock symbol.\n *\n * @returns Array of four elements that represents the players position in a stock.\n *\n * @example\n * ```ts\n * pos = getPosition(\"ECP\");\n * shares = pos[0];\n * avgPx = pos[1];\n * sharesShort = pos[2];\n * avgPxShort = pos[3];\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getPosition(sym: "
},
{
"kind": "Reference",
"text": "StockSymbol",
"canonicalReference": "bitburner!StockSymbol:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "[number, number, number, number]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getPosition"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getPrice:member(1)",
"docComment": "/**\n * Returns the price of a stock\n *\n * @remarks\n *\n * RAM cost: 2 GB The stocks price is the average of its bid and ask price.\n *\n * @param sym - Stock symbol.\n *\n * @returns The price of a stock.\n *\n * @example\n * ```ts\n * getPrice(\"FISG\");\n * ```\n *\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getPrice(sym: "
},
{
"kind": "Reference",
"text": "StockSymbol",
"canonicalReference": "bitburner!StockSymbol:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getPrice"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getPurchaseCost:member(1)",
"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",
"excerptTokens": [
{
"kind": "Content",
"text": "getPurchaseCost(sym: "
},
{
"kind": "Reference",
"text": "StockSymbol",
"canonicalReference": "bitburner!StockSymbol:type"
},
{
"kind": "Content",
"text": ", shares: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", posType: "
},
{
"kind": "Reference",
"text": "OrderPosition",
"canonicalReference": "bitburner!OrderPosition:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "shares",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "posType",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "getPurchaseCost"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getSaleGain:member(1)",
"docComment": "/**\n * Calculate profit of setting stocks.\n *\n * @remarks\n *\n * RAM cost: 2 GB Calculates and returns how much you would gain from selling a given number of shares of a stock. This takes into account spread, large transactions influencing the price of the stock and commission fees.\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares to sell.\n *\n * @param posType - Specifies whether the order is a “Long” or “Short” position.\n *\n * @returns Gain from selling a given number of shares of a stock.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getSaleGain(sym: "
},
{
"kind": "Reference",
"text": "StockSymbol",
"canonicalReference": "bitburner!StockSymbol:type"
},
{
"kind": "Content",
"text": ", shares: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", posType: "
},
{
"kind": "Reference",
"text": "OrderPosition",
"canonicalReference": "bitburner!OrderPosition:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "shares",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "posType",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "getSaleGain"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#getSymbols:member(1)",
"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",
"excerptTokens": [
{
"kind": "Content",
"text": "getSymbols(): "
},
{
"kind": "Reference",
"text": "StockSymbol",
"canonicalReference": "bitburner!StockSymbol:type"
},
{
"kind": "Content",
"text": "[]"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 3
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "getSymbols"
},
{
"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",
"excerptTokens": [
{
"kind": "Content",
"text": "getVolatility(sym: "
},
{
"kind": "Reference",
"text": "StockSymbol",
"canonicalReference": "bitburner!StockSymbol:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
],
"name": "getVolatility"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#placeOrder:member(1)",
"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",
"excerptTokens": [
{
"kind": "Content",
"text": "placeOrder(sym: "
},
{
"kind": "Reference",
"text": "StockSymbol",
"canonicalReference": "bitburner!StockSymbol:type"
},
{
"kind": "Content",
"text": ", shares: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", price: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", type: "
},
{
"kind": "Reference",
"text": "OrderType",
"canonicalReference": "bitburner!OrderType:type"
},
{
"kind": "Content",
"text": ", pos: "
},
{
"kind": "Reference",
"text": "OrderPosition",
"canonicalReference": "bitburner!OrderPosition:type"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 11,
"endIndex": 12
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "shares",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "price",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
},
{
"parameterName": "type",
"parameterTypeTokenRange": {
"startIndex": 7,
"endIndex": 8
}
},
{
"parameterName": "pos",
"parameterTypeTokenRange": {
"startIndex": 9,
"endIndex": 10
}
}
],
"name": "placeOrder"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#purchase4SMarketData:member(1)",
"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",
"excerptTokens": [
{
"kind": "Content",
"text": "purchase4SMarketData(): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "purchase4SMarketData"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#purchase4SMarketDataTixApi:member(1)",
"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",
"excerptTokens": [
{
"kind": "Content",
"text": "purchase4SMarketDataTixApi(): "
},
{
"kind": "Content",
"text": "boolean"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [],
"name": "purchase4SMarketDataTixApi"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#sell:member(1)",
"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",
"excerptTokens": [
{
"kind": "Content",
"text": "sell(sym: "
},
{
"kind": "Reference",
"text": "StockSymbol",
"canonicalReference": "bitburner!StockSymbol:type"
},
{
"kind": "Content",
"text": ", shares: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "shares",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "sell"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#sellShort:member(1)",
"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": "Reference",
"text": "StockSymbol",
"canonicalReference": "bitburner!StockSymbol:type"
},
{
"kind": "Content",
"text": ", shares: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "shares",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "sellShort"
},
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!TIX#short:member(1)",
"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",
"excerptTokens": [
{
"kind": "Content",
"text": "short(sym: "
},
{
"kind": "Reference",
"text": "StockSymbol",
"canonicalReference": "bitburner!StockSymbol:type"
},
{
"kind": "Content",
"text": ", shares: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ";"
}
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "sym",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "shares",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "short"
}
],
"extendsTokenRanges": []
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!University:type",
"docComment": "/**\n * All universities.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type University = "
},
{
"kind": "Content",
"text": "\"Summit University\" | \"Rothman University\" | \"ZB Institute Of Technology\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "University",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "TypeAlias",
"canonicalReference": "bitburner!UniversityCourse:type",
"docComment": "/**\n * All university courses.\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "type UniversityCourse =\n "
},
{
"kind": "Content",
"text": "| \"Study Computer Science\"\n | \"Data Strucures\"\n | \"Networks\"\n | \"Algorithms\"\n | \"Management\"\n | \"Leadership\""
},
{
"kind": "Content",
"text": ";"
}
],
"releaseTag": "Public",
"name": "UniversityCourse",
"typeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
}
]
}
]
}