mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-25 07:32:27 +01:00
56 lines
1.2 KiB
Markdown
56 lines
1.2 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Go](./bitburner.go.md) > [cheat](./bitburner.go.cheat.md)
|
||
|
|
||
|
## Go.cheat property
|
||
|
|
||
|
Illicit and dangerous IPvGO tools. Not for the faint of heart. Requires Bitnode 14.2 to use.
|
||
|
|
||
|
**Signature:**
|
||
|
|
||
|
```typescript
|
||
|
cheat: {
|
||
|
getCheatSuccessChance(): number;
|
||
|
removeRouter(
|
||
|
x: number,
|
||
|
y: number,
|
||
|
): Promise<{
|
||
|
type: "invalid" | "move" | "pass" | "gameOver";
|
||
|
x: number;
|
||
|
y: number;
|
||
|
success: boolean;
|
||
|
}>;
|
||
|
playTwoMoves(
|
||
|
x1: number,
|
||
|
y1: number,
|
||
|
x2: number,
|
||
|
x2: number,
|
||
|
): Promise<{
|
||
|
type: "invalid" | "move" | "pass" | "gameOver";
|
||
|
x: number;
|
||
|
y: number;
|
||
|
success: boolean;
|
||
|
}>;
|
||
|
|
||
|
repairOfflineNode(
|
||
|
x: number,
|
||
|
y: number,
|
||
|
): Promise<{
|
||
|
type: "invalid" | "move" | "pass" | "gameOver";
|
||
|
x: number;
|
||
|
y: number;
|
||
|
success: boolean;
|
||
|
}>;
|
||
|
|
||
|
destroyNode(
|
||
|
x: number,
|
||
|
y: number,
|
||
|
): Promise<{
|
||
|
type: "invalid" | "move" | "pass" | "gameOver";
|
||
|
x: number;
|
||
|
y: number;
|
||
|
success: boolean;
|
||
|
}>;
|
||
|
};
|
||
|
```
|