mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-14 03:33:52 +01:00
70 lines
5.1 KiB
Markdown
70 lines
5.1 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md)
|
|
|
|
## Singularity interface
|
|
|
|
Singularity API
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export interface Singularity
|
|
```
|
|
|
|
## Remarks
|
|
|
|
This API requires Source-File 4 level 1 / 2 / 3 to use.
|
|
|
|
## Methods
|
|
|
|
| Method | Description |
|
|
| --- | --- |
|
|
| [applyToCompany(companyName, field)](./bitburner.singularity.applytocompany.md) | Apply for a job at a company. |
|
|
| [checkFactionInvitations()](./bitburner.singularity.checkfactioninvitations.md) | List all current faction invitations. |
|
|
| [commitCrime(crime)](./bitburner.singularity.commitcrime.md) | Commit a crime. |
|
|
| [connect(hostname)](./bitburner.singularity.connect.md) | Connect to a server. |
|
|
| [createProgram(program)](./bitburner.singularity.createprogram.md) | Create a program. |
|
|
| [donateToFaction(faction, amount)](./bitburner.singularity.donatetofaction.md) | Donate to a faction. |
|
|
| [getAugmentationCost(augName)](./bitburner.singularity.getaugmentationcost.md) | |
|
|
| [getAugmentationPrereq(augName)](./bitburner.singularity.getaugmentationprereq.md) | Get the pre-requisite of an augmentation. |
|
|
| [getAugmentationPrice(augName)](./bitburner.singularity.getaugmentationprice.md) | Get price of an augmentation. |
|
|
| [getAugmentationRepReq(augName)](./bitburner.singularity.getaugmentationrepreq.md) | Get reputation requirement of an augmentation. |
|
|
| [getAugmentationsFromFaction(faction)](./bitburner.singularity.getaugmentationsfromfaction.md) | Get a list of augmentation available from a faction. |
|
|
| [getAugmentationStats(name)](./bitburner.singularity.getaugmentationstats.md) | Get the stats of an augmentation. |
|
|
| [getCharacterInformation()](./bitburner.singularity.getcharacterinformation.md) | |
|
|
| [getCompanyFavor(companyName)](./bitburner.singularity.getcompanyfavor.md) | Get company favor. |
|
|
| [getCompanyFavorGain(companyName)](./bitburner.singularity.getcompanyfavorgain.md) | Get company favor gain. |
|
|
| [getCompanyRep(companyName)](./bitburner.singularity.getcompanyrep.md) | Get company reputation. |
|
|
| [getCrimeChance(crime)](./bitburner.singularity.getcrimechance.md) | Get chance to successfully commit a crime. |
|
|
| [getCrimeStats(crime)](./bitburner.singularity.getcrimestats.md) | Get stats related to a crime. |
|
|
| [getCurrentServer()](./bitburner.singularity.getcurrentserver.md) | Get the current server. |
|
|
| [getFactionFavor(faction)](./bitburner.singularity.getfactionfavor.md) | Get faction favor. |
|
|
| [getFactionFavorGain(faction)](./bitburner.singularity.getfactionfavorgain.md) | Get faction favor gain. |
|
|
| [getFactionRep(faction)](./bitburner.singularity.getfactionrep.md) | Get faction reputation. |
|
|
| [getOwnedAugmentations(purchased)](./bitburner.singularity.getownedaugmentations.md) | Get a list of owned augmentation. |
|
|
| [getOwnedSourceFiles()](./bitburner.singularity.getownedsourcefiles.md) | Get a list of acquired Source-Files. |
|
|
| [getStats()](./bitburner.singularity.getstats.md) | |
|
|
| [getUpgradeHomeCoresCost()](./bitburner.singularity.getupgradehomecorescost.md) | Get the price of upgrading home cores. |
|
|
| [getUpgradeHomeRamCost()](./bitburner.singularity.getupgradehomeramcost.md) | Get the price of upgrading home RAM. |
|
|
| [goToLocation(locationName)](./bitburner.singularity.gotolocation.md) | Go to a location. |
|
|
| [gymWorkout(gymName, stat)](./bitburner.singularity.gymworkout.md) | Workout at the gym. |
|
|
| [hospitalize()](./bitburner.singularity.hospitalize.md) | Hospitalize the player. |
|
|
| [installAugmentations(cbScript)](./bitburner.singularity.installaugmentations.md) | Install your purchased augmentations. |
|
|
| [installBackdoor()](./bitburner.singularity.installbackdoor.md) | Run the backdoor command in the terminal. |
|
|
| [isBusy()](./bitburner.singularity.isbusy.md) | Check if the player is busy. |
|
|
| [joinFaction(faction)](./bitburner.singularity.joinfaction.md) | Join a faction. |
|
|
| [manualHack()](./bitburner.singularity.manualhack.md) | Run the hack command in the terminal. |
|
|
| [purchaseAugmentation(faction, augmentation)](./bitburner.singularity.purchaseaugmentation.md) | Purchase an augmentation |
|
|
| [purchaseProgram(programName)](./bitburner.singularity.purchaseprogram.md) | Purchase a program from the dark web. |
|
|
| [purchaseTor()](./bitburner.singularity.purchasetor.md) | Purchase the TOR router. |
|
|
| [softReset(cbScript)](./bitburner.singularity.softreset.md) | Soft reset the game. |
|
|
| [stopAction()](./bitburner.singularity.stopaction.md) | Stop the current action. |
|
|
| [travelToCity(city)](./bitburner.singularity.traveltocity.md) | Travel to another city. |
|
|
| [universityCourse(universityName, courseName)](./bitburner.singularity.universitycourse.md) | Take university class. |
|
|
| [upgradeHomeCores()](./bitburner.singularity.upgradehomecores.md) | Upgrade home computer cores. |
|
|
| [upgradeHomeRam()](./bitburner.singularity.upgradehomeram.md) | Upgrade home computer RAM. |
|
|
| [workForCompany(companyName)](./bitburner.singularity.workforcompany.md) | Work for a company. |
|
|
| [workForFaction(faction, workType)](./bitburner.singularity.workforfaction.md) | Work for a faction. |
|
|
|