2022-10-21 17:16:00 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home ](./index.md ) > [bitburner ](./bitburner.md ) > [Bladeburner ](./bitburner.bladeburner.md )
## Bladeburner interface
Bladeburner API
2023-02-11 19:18:50 +01:00
**Signature:**
2022-10-21 17:16:00 +02:00
```typescript
export interface Bladeburner
```
## Remarks
You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this API.
## Methods
| Method | Description |
| --- | --- |
| [getActionAutolevel(type, name) ](./bitburner.bladeburner.getactionautolevel.md ) | Get whether an action is set to autolevel. |
| [getActionCountRemaining(type, name) ](./bitburner.bladeburner.getactioncountremaining.md ) | Get action count remaining. |
| [getActionCurrentLevel(type, name) ](./bitburner.bladeburner.getactioncurrentlevel.md ) | Get the current level of an action. |
| [getActionCurrentTime() ](./bitburner.bladeburner.getactioncurrenttime.md ) | Get the time elapsed on current action. |
2024-06-29 04:49:52 +02:00
| [getActionEstimatedSuccessChance(type, name, sleeve) ](./bitburner.bladeburner.getactionestimatedsuccesschance.md ) | Get estimate success chance of an action. |
2022-10-21 17:16:00 +02:00
| [getActionMaxLevel(type, name) ](./bitburner.bladeburner.getactionmaxlevel.md ) | Get the maximum level of an action. |
| [getActionRepGain(type, name, level) ](./bitburner.bladeburner.getactionrepgain.md ) | Get the reputation gain of an action. |
2023-02-11 19:18:50 +01:00
| [getActionSuccesses(type, name) ](./bitburner.bladeburner.getactionsuccesses.md ) | Get action successes. |
2022-10-21 17:16:00 +02:00
| [getActionTime(type, name) ](./bitburner.bladeburner.getactiontime.md ) | Get the time to complete an action. |
| [getBlackOpNames() ](./bitburner.bladeburner.getblackopnames.md ) | List all black ops. |
| [getBlackOpRank(name) ](./bitburner.bladeburner.getblackoprank.md ) | Get black op required rank. |
2023-10-23 10:24:30 +02:00
| [getBonusTime() ](./bitburner.bladeburner.getbonustime.md ) | Get Bladeburner bonus time. |
2022-10-21 17:16:00 +02:00
| [getCity() ](./bitburner.bladeburner.getcity.md ) | Get current city. |
2022-12-30 02:28:53 +01:00
| [getCityChaos(city) ](./bitburner.bladeburner.getcitychaos.md ) | Get chaos of a city. |
| [getCityCommunities(city) ](./bitburner.bladeburner.getcitycommunities.md ) | Get number of communities in a city. |
| [getCityEstimatedPopulation(city) ](./bitburner.bladeburner.getcityestimatedpopulation.md ) | Get estimated population in city. |
2022-10-21 17:16:00 +02:00
| [getContractNames() ](./bitburner.bladeburner.getcontractnames.md ) | List all contracts. |
| [getCurrentAction() ](./bitburner.bladeburner.getcurrentaction.md ) | Get current action. |
| [getGeneralActionNames() ](./bitburner.bladeburner.getgeneralactionnames.md ) | List all general actions. |
2023-10-17 08:18:54 +02:00
| [getNextBlackOp() ](./bitburner.bladeburner.getnextblackop.md ) | Get an object with the name and rank requirement of the next BlackOp that can be completed. |
2022-10-21 17:16:00 +02:00
| [getOperationNames() ](./bitburner.bladeburner.getoperationnames.md ) | List all operations. |
| [getRank() ](./bitburner.bladeburner.getrank.md ) | Get player bladeburner rank. |
2023-10-03 02:14:44 +02:00
| [getSkillLevel(skillName) ](./bitburner.bladeburner.getskilllevel.md ) | Get skill level. |
2022-10-21 17:16:00 +02:00
| [getSkillNames() ](./bitburner.bladeburner.getskillnames.md ) | List all skills. |
| [getSkillPoints() ](./bitburner.bladeburner.getskillpoints.md ) | Get bladeburner skill points. |
2023-10-03 02:14:44 +02:00
| [getSkillUpgradeCost(skillName, count) ](./bitburner.bladeburner.getskillupgradecost.md ) | Get cost to upgrade skill. |
2023-10-23 10:24:30 +02:00
| [getStamina() ](./bitburner.bladeburner.getstamina.md ) | Get Bladeburner stamina. |
2022-10-21 17:16:00 +02:00
| [getTeamSize(type, name) ](./bitburner.bladeburner.getteamsize.md ) | Get team size. |
2023-10-23 10:24:30 +02:00
| [inBladeburner() ](./bitburner.bladeburner.inbladeburner.md ) | Returns whether player is a member of Bladeburner division. Does not require API access. |
| [joinBladeburnerDivision() ](./bitburner.bladeburner.joinbladeburnerdivision.md ) | Join the Bladeburner division. |
| [joinBladeburnerFaction() ](./bitburner.bladeburner.joinbladeburnerfaction.md ) | Join the Bladeburner faction. |
| [nextUpdate() ](./bitburner.bladeburner.nextupdate.md ) | Sleep until the next Bladeburner update has happened. |
2022-10-21 17:16:00 +02:00
| [setActionAutolevel(type, name, autoLevel) ](./bitburner.bladeburner.setactionautolevel.md ) | Set an action autolevel. |
| [setActionLevel(type, name, level) ](./bitburner.bladeburner.setactionlevel.md ) | Set the level of an action. |
| [setTeamSize(type, name, size) ](./bitburner.bladeburner.setteamsize.md ) | Set team size. |
| [startAction(type, name) ](./bitburner.bladeburner.startaction.md ) | Start an action. |
| [stopBladeburnerAction() ](./bitburner.bladeburner.stopbladeburneraction.md ) | Stop current action. |
2023-10-23 10:24:30 +02:00
| [switchCity(city) ](./bitburner.bladeburner.switchcity.md ) | Travel to another city in Bladeburner. |
2023-10-03 02:14:44 +02:00
| [upgradeSkill(skillName, count) ](./bitburner.bladeburner.upgradeskill.md ) | Upgrade skill. |
2022-10-21 17:16:00 +02:00