Skip to content

Commit

Permalink
Revert "API: Add types for parameters of gym-university-bladeburner A…
Browse files Browse the repository at this point in the history
  • Loading branch information
d0sboots authored and Faenre committed Aug 22, 2024
1 parent 23d4748 commit 5edc408
Show file tree
Hide file tree
Showing 65 changed files with 468 additions and 1,044 deletions.
9 changes: 3 additions & 6 deletions markdown/bitburner.bladeburner.getactionautolevel.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,15 @@ Get whether an action is set to autolevel.
**Signature:**

```typescript
getActionAutolevel(
type: BladeburnerActionType | `${BladeburnerActionType}`,
name: BladeburnerActionName | `${BladeburnerActionName}`,
): boolean;
getActionAutolevel(type: string, name: string): boolean;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| type | [BladeburnerActionType](./bitburner.bladeburneractiontype.md) \| \`${[BladeburnerActionType](./bitburner.bladeburneractiontype.md)<!-- -->}\` | Type of action. |
| name | [BladeburnerActionName](./bitburner.bladeburneractionname.md) \| \`${[BladeburnerActionName](./bitburner.bladeburneractionname.md)<!-- -->}\` | Name of action. Must be an exact match. |
| type | string | Type of action. |
| name | string | Name of action. Must be an exact match. |

**Returns:**

Expand Down
9 changes: 3 additions & 6 deletions markdown/bitburner.bladeburner.getactioncountremaining.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,15 @@ Get action count remaining.
**Signature:**

```typescript
getActionCountRemaining(
type: BladeburnerActionType | `${BladeburnerActionType}`,
name: BladeburnerActionName | `${BladeburnerActionName}`,
): number;
getActionCountRemaining(type: string, name: string): number;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| type | [BladeburnerActionType](./bitburner.bladeburneractiontype.md) \| \`${[BladeburnerActionType](./bitburner.bladeburneractiontype.md)<!-- -->}\` | Type of action. |
| name | [BladeburnerActionName](./bitburner.bladeburneractionname.md) \| \`${[BladeburnerActionName](./bitburner.bladeburneractionname.md)<!-- -->}\` | Name of action. Must be an exact match. |
| type | string | Type of action. |
| name | string | Name of action. Must be an exact match. |

**Returns:**

Expand Down
9 changes: 3 additions & 6 deletions markdown/bitburner.bladeburner.getactioncurrentlevel.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,15 @@ Get the current level of an action.
**Signature:**

```typescript
getActionCurrentLevel(
type: BladeburnerActionType | `${BladeburnerActionType}`,
name: BladeburnerActionName | `${BladeburnerActionName}`,
): number;
getActionCurrentLevel(type: string, name: string): number;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| type | [BladeburnerActionType](./bitburner.bladeburneractiontype.md) \| \`${[BladeburnerActionType](./bitburner.bladeburneractiontype.md)<!-- -->}\` | Type of action. |
| name | [BladeburnerActionName](./bitburner.bladeburneractionname.md) \| \`${[BladeburnerActionName](./bitburner.bladeburneractionname.md)<!-- -->}\` | Name of action. Must be an exact match. |
| type | string | Type of action. |
| name | string | Name of action. Must be an exact match. |

**Returns:**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,15 @@ Get estimate success chance of an action.
**Signature:**

```typescript
getActionEstimatedSuccessChance(
type: BladeburnerActionType | `${BladeburnerActionType}`,
name: BladeburnerActionName | `${BladeburnerActionName}`,
sleeveNumber?: number,
): [number, number];
getActionEstimatedSuccessChance(type: string, name: string, sleeveNumber?: number): [number, number];
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| type | [BladeburnerActionType](./bitburner.bladeburneractiontype.md) \| \`${[BladeburnerActionType](./bitburner.bladeburneractiontype.md)<!-- -->}\` | Type of action. |
| name | [BladeburnerActionName](./bitburner.bladeburneractionname.md) \| \`${[BladeburnerActionName](./bitburner.bladeburneractionname.md)<!-- -->}\` | Name of action. Must be an exact match. |
| type | string | Type of action. |
| name | string | Name of action. Must be an exact match. |
| sleeveNumber | number | _(Optional)_ Optional. Index of the sleeve to retrieve information. |

**Returns:**
Expand Down
9 changes: 3 additions & 6 deletions markdown/bitburner.bladeburner.getactionmaxlevel.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,15 @@ Get the maximum level of an action.
**Signature:**

```typescript
getActionMaxLevel(
type: BladeburnerActionType | `${BladeburnerActionType}`,
name: BladeburnerActionName | `${BladeburnerActionName}`,
): number;
getActionMaxLevel(type: string, name: string): number;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| type | [BladeburnerActionType](./bitburner.bladeburneractiontype.md) \| \`${[BladeburnerActionType](./bitburner.bladeburneractiontype.md)<!-- -->}\` | Type of action. |
| name | [BladeburnerActionName](./bitburner.bladeburneractionname.md) \| \`${[BladeburnerActionName](./bitburner.bladeburneractionname.md)<!-- -->}\` | Name of action. Must be an exact match. |
| type | string | Type of action. |
| name | string | Name of action. Must be an exact match. |

**Returns:**

Expand Down
10 changes: 3 additions & 7 deletions markdown/bitburner.bladeburner.getactionrepgain.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,15 @@ Get the reputation gain of an action.
**Signature:**

```typescript
getActionRepGain(
type: BladeburnerActionType | `${BladeburnerActionType}`,
name: BladeburnerActionName | `${BladeburnerActionName}`,
level?: number,
): number;
getActionRepGain(type: string, name: string, level?: number): number;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| type | [BladeburnerActionType](./bitburner.bladeburneractiontype.md) \| \`${[BladeburnerActionType](./bitburner.bladeburneractiontype.md)<!-- -->}\` | Type of action. |
| name | [BladeburnerActionName](./bitburner.bladeburneractionname.md) \| \`${[BladeburnerActionName](./bitburner.bladeburneractionname.md)<!-- -->}\` | Name of action. Must be an exact match. |
| type | string | Type of action. |
| name | string | Name of action. Must be an exact match. |
| level | number | _(Optional)_ Optional number. Action level at which to calculate the gain. Will be the action's current level if not given. |

**Returns:**
Expand Down
9 changes: 3 additions & 6 deletions markdown/bitburner.bladeburner.getactionsuccesses.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,15 @@ Get action successes.
**Signature:**

```typescript
getActionSuccesses(
type: BladeburnerActionType | `${BladeburnerActionType}`,
name: BladeburnerActionName | `${BladeburnerActionName}`,
): number;
getActionSuccesses(type: string, name: string): number;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| type | [BladeburnerActionType](./bitburner.bladeburneractiontype.md) \| \`${[BladeburnerActionType](./bitburner.bladeburneractiontype.md)<!-- -->}\` | Type of action. |
| name | [BladeburnerActionName](./bitburner.bladeburneractionname.md) \| \`${[BladeburnerActionName](./bitburner.bladeburneractionname.md)<!-- -->}\` | Name of action. Must be an exact match. |
| type | string | Type of action. |
| name | string | Name of action. Must be an exact match. |

**Returns:**

Expand Down
9 changes: 3 additions & 6 deletions markdown/bitburner.bladeburner.getactiontime.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,15 @@ Get the time to complete an action.
**Signature:**

```typescript
getActionTime(
type: BladeburnerActionType | `${BladeburnerActionType}`,
name: BladeburnerActionName | `${BladeburnerActionName}`,
): number;
getActionTime(type: string, name: string): number;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| type | [BladeburnerActionType](./bitburner.bladeburneractiontype.md) \| \`${[BladeburnerActionType](./bitburner.bladeburneractiontype.md)<!-- -->}\` | Type of action. |
| name | [BladeburnerActionName](./bitburner.bladeburneractionname.md) \| \`${[BladeburnerActionName](./bitburner.bladeburneractionname.md)<!-- -->}\` | Name of action. Must be an exact match. |
| type | string | Type of action. |
| name | string | Name of action. Must be an exact match. |

**Returns:**

Expand Down
4 changes: 2 additions & 2 deletions markdown/bitburner.bladeburner.getblackopnames.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ List all black ops.
**Signature:**

```typescript
getBlackOpNames(): BladeburnerBlackOpName[];
getBlackOpNames(): string[];
```
**Returns:**

[BladeburnerBlackOpName](./bitburner.bladeburnerblackopname.md)<!-- -->\[\]
string\[\]

Array of strings containing the names of all Bladeburner Black Ops.

Expand Down
4 changes: 2 additions & 2 deletions markdown/bitburner.bladeburner.getblackoprank.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ Get black op required rank.
**Signature:**

```typescript
getBlackOpRank(name: BladeburnerBlackOpName): number;
getBlackOpRank(name: string): number;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| name | [BladeburnerBlackOpName](./bitburner.bladeburnerblackopname.md) | Name of BlackOp. Must be an exact match. |
| name | string | Name of BlackOp. Must be an exact match. |

**Returns:**

Expand Down
4 changes: 2 additions & 2 deletions markdown/bitburner.bladeburner.getcontractnames.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ List all contracts.
**Signature:**

```typescript
getContractNames(): BladeburnerContractName[];
getContractNames(): string[];
```
**Returns:**

[BladeburnerContractName](./bitburner.bladeburnercontractname.md)<!-- -->\[\]
string\[\]

Array of strings containing the names of all Bladeburner contracts.

Expand Down
4 changes: 2 additions & 2 deletions markdown/bitburner.bladeburner.getgeneralactionnames.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ List all general actions.
**Signature:**

```typescript
getGeneralActionNames(): BladeburnerGeneralActionName[];
getGeneralActionNames(): string[];
```
**Returns:**

[BladeburnerGeneralActionName](./bitburner.bladeburnergeneralactionname.md)<!-- -->\[\]
string\[\]

Array of strings containing the names of all general Bladeburner actions.

Expand Down
4 changes: 2 additions & 2 deletions markdown/bitburner.bladeburner.getnextblackop.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ Get an object with the name and rank requirement of the next BlackOp that can be
**Signature:**

```typescript
getNextBlackOp(): { name: BladeburnerBlackOpName; rank: number } | null;
getNextBlackOp(): { name: string; rank: number } | null;
```
**Returns:**

{ name: [BladeburnerBlackOpName](./bitburner.bladeburnerblackopname.md)<!-- -->; rank: number } \| null
{ name: string; rank: number } \| null

An object with the `.name` and `.rank` properties of the available BlackOp, or `null`<!-- -->.

Expand Down
4 changes: 2 additions & 2 deletions markdown/bitburner.bladeburner.getoperationnames.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ List all operations.
**Signature:**

```typescript
getOperationNames(): BladeburnerOperationName[];
getOperationNames(): string[];
```
**Returns:**

[BladeburnerOperationName](./bitburner.bladeburneroperationname.md)<!-- -->\[\]
string\[\]

Array of strings containing the names of all Bladeburner operations.

Expand Down
4 changes: 2 additions & 2 deletions markdown/bitburner.bladeburner.getskilllevel.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ Get skill level.
**Signature:**

```typescript
getSkillLevel(skillName: BladeburnerSkillName | `${BladeburnerSkillName}`): number;
getSkillLevel(skillName: string): 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. |
| skillName | string | Name of skill. Case-sensitive and must be an exact match. |

**Returns:**

Expand Down
4 changes: 2 additions & 2 deletions markdown/bitburner.bladeburner.getskillnames.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ List all skills.
**Signature:**

```typescript
getSkillNames(): BladeburnerSkillName[];
getSkillNames(): string[];
```
**Returns:**

[BladeburnerSkillName](./bitburner.bladeburnerskillname.md)<!-- -->\[\]
string\[\]

Array of strings containing the names of all general Bladeburner skills.

Expand Down
4 changes: 2 additions & 2 deletions markdown/bitburner.bladeburner.getskillupgradecost.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ Get cost to upgrade skill.
**Signature:**

```typescript
getSkillUpgradeCost(skillName: BladeburnerSkillName | `${BladeburnerSkillName}`, count?: number): number;
getSkillUpgradeCost(skillName: string, count?: number): 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. |
| skillName | string | Name of skill. Case-sensitive and must be an exact match. |
| count | number | _(Optional)_ Number of times to upgrade the skill. Defaults to 1 if not specified. |

**Returns:**
Expand Down
9 changes: 3 additions & 6 deletions markdown/bitburner.bladeburner.getteamsize.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,15 @@ Get team size.
**Signature:**

```typescript
getTeamSize(
type?: BladeburnerActionType | `${BladeburnerActionType}`,
name?: BladeburnerActionName | `${BladeburnerActionName}`,
): number;
getTeamSize(type?: string, name?: string): number;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| type | [BladeburnerActionType](./bitburner.bladeburneractiontype.md) \| \`${[BladeburnerActionType](./bitburner.bladeburneractiontype.md)<!-- -->}\` | _(Optional)_ Type of action. |
| name | [BladeburnerActionName](./bitburner.bladeburneractionname.md) \| \`${[BladeburnerActionName](./bitburner.bladeburneractionname.md)<!-- -->}\` | _(Optional)_ Name of action. Must be an exact match. |
| type | string | _(Optional)_ Type of action. |
| name | string | _(Optional)_ Name of action. Must be an exact match. |

**Returns:**

Expand Down
10 changes: 3 additions & 7 deletions markdown/bitburner.bladeburner.setactionautolevel.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,15 @@ Set an action autolevel.
**Signature:**

```typescript
setActionAutolevel(
type: BladeburnerActionType | `${BladeburnerActionType}`,
name: BladeburnerActionName | `${BladeburnerActionName}`,
autoLevel: boolean,
): void;
setActionAutolevel(type: string, name: string, autoLevel: boolean): void;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| type | [BladeburnerActionType](./bitburner.bladeburneractiontype.md) \| \`${[BladeburnerActionType](./bitburner.bladeburneractiontype.md)<!-- -->}\` | Type of action. |
| name | [BladeburnerActionName](./bitburner.bladeburneractionname.md) \| \`${[BladeburnerActionName](./bitburner.bladeburneractionname.md)<!-- -->}\` | Name of action. Must be an exact match. |
| type | string | Type of action. |
| name | string | Name of action. Must be an exact match. |
| autoLevel | boolean | Whether or not to autolevel this action |

**Returns:**
Expand Down
10 changes: 3 additions & 7 deletions markdown/bitburner.bladeburner.setactionlevel.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,15 @@ Set the level of an action.
**Signature:**

```typescript
setActionLevel(
type: BladeburnerActionType | `${BladeburnerActionType}`,
name: BladeburnerActionName | `${BladeburnerActionName}`,
level: number,
): void;
setActionLevel(type: string, name: string, level: number): void;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| type | [BladeburnerActionType](./bitburner.bladeburneractiontype.md) \| \`${[BladeburnerActionType](./bitburner.bladeburneractiontype.md)<!-- -->}\` | Type of action. |
| name | [BladeburnerActionName](./bitburner.bladeburneractionname.md) \| \`${[BladeburnerActionName](./bitburner.bladeburneractionname.md)<!-- -->}\` | Name of action. Must be an exact match. |
| type | string | Type of action. |
| name | string | Name of action. Must be an exact match. |
| level | number | Level to set this action to. |

**Returns:**
Expand Down
Loading

0 comments on commit 5edc408

Please sign in to comment.