mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-28 02:23:53 +01:00
cacecda72f
* API: Add types for parameters of gym-university-bladeburner API * Fix merging error
35 lines
912 B
Markdown
35 lines
912 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getSkillLevel](./bitburner.bladeburner.getskilllevel.md)
|
|
|
|
## Bladeburner.getSkillLevel() method
|
|
|
|
Get skill level.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
getSkillLevel(skillName: BladeburnerSkillName | `${BladeburnerSkillName}`): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| skillName | [BladeburnerSkillName](./bitburner.bladeburnerskillname.md) \| \`${[BladeburnerSkillName](./bitburner.bladeburnerskillname.md)<!-- -->}\` | Name of skill. Case-sensitive and must be an exact match. |
|
|
|
|
**Returns:**
|
|
|
|
number
|
|
|
|
Level in the specified skill.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 4 GB
|
|
|
|
This function returns your level in the specified skill.
|
|
|
|
The function returns -1 if an invalid skill name is passed in.
|
|
|