2021-09-17 08:04:44 +02:00
|
|
|
import { Faction } from "../Faction/Faction";
|
2021-09-18 10:01:07 +02:00
|
|
|
import { Location } from "../Locations/Location";
|
|
|
|
|
2021-09-17 08:04:44 +02:00
|
|
|
/**
|
|
|
|
* The full-screen page the player is currently be on.
|
|
|
|
* These pages are mutually exclusive.
|
|
|
|
*/
|
|
|
|
export enum Page {
|
|
|
|
ActiveScripts,
|
|
|
|
Augmentations,
|
2021-09-18 01:43:08 +02:00
|
|
|
BitVerse,
|
2021-09-17 08:04:44 +02:00
|
|
|
Bladeburner,
|
|
|
|
City,
|
|
|
|
Corporation,
|
|
|
|
CreateProgram,
|
2021-10-08 06:21:30 +02:00
|
|
|
ScriptEditor,
|
2021-09-17 08:04:44 +02:00
|
|
|
DevMenu,
|
|
|
|
Faction,
|
|
|
|
Factions,
|
|
|
|
Gang,
|
|
|
|
Hacknet,
|
2021-09-18 01:43:08 +02:00
|
|
|
Infiltration,
|
2021-09-17 08:04:44 +02:00
|
|
|
Job,
|
|
|
|
Milestones,
|
2021-09-18 01:43:08 +02:00
|
|
|
Options,
|
2021-09-17 08:04:44 +02:00
|
|
|
Resleeves,
|
|
|
|
Sleeves,
|
2021-09-18 01:43:08 +02:00
|
|
|
Stats,
|
2021-09-17 08:04:44 +02:00
|
|
|
StockMarket,
|
|
|
|
Terminal,
|
|
|
|
Travel,
|
|
|
|
Tutorial,
|
2021-09-18 01:43:08 +02:00
|
|
|
Work,
|
|
|
|
BladeburnerCinematic,
|
2021-09-18 10:01:07 +02:00
|
|
|
Location,
|
2021-09-20 00:04:12 +02:00
|
|
|
Loading,
|
2021-09-17 08:04:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This class keeps track of player navigation/routing within the game.
|
|
|
|
*/
|
|
|
|
export interface IRouter {
|
|
|
|
// toCinematicText(): void;
|
|
|
|
// toInfiltration(): void;
|
|
|
|
// toMission(): void;
|
|
|
|
// toRedPill(): void;
|
|
|
|
// toworkInProgress(): void;
|
2021-09-18 01:43:08 +02:00
|
|
|
page(): Page;
|
2021-09-17 08:04:44 +02:00
|
|
|
toActiveScripts(): void;
|
|
|
|
toAugmentations(): void;
|
2021-09-18 01:43:08 +02:00
|
|
|
toBitVerse(flume: boolean, quick: boolean): void;
|
2021-09-17 08:04:44 +02:00
|
|
|
toBladeburner(): void;
|
2021-09-18 18:13:20 +02:00
|
|
|
toStats(): void;
|
2021-09-18 01:43:08 +02:00
|
|
|
toCity(): void; // travel ? city ?
|
2021-09-17 08:04:44 +02:00
|
|
|
toCorporation(): void;
|
|
|
|
toCreateProgram(): void;
|
|
|
|
toDevMenu(): void;
|
2021-09-18 01:43:08 +02:00
|
|
|
toFaction(faction?: Faction): void; // faction name
|
2021-09-17 08:04:44 +02:00
|
|
|
toFactions(): void;
|
|
|
|
toGameOptions(): void;
|
|
|
|
toGang(): void;
|
|
|
|
toHacknetNodes(): void;
|
2021-09-18 10:01:07 +02:00
|
|
|
toInfiltration(location: Location): void;
|
2021-09-17 08:04:44 +02:00
|
|
|
toJob(): void;
|
|
|
|
toMilestones(): void;
|
|
|
|
toResleeves(): void;
|
|
|
|
toScriptEditor(filename?: string, code?: string): void;
|
|
|
|
toSleeves(): void;
|
|
|
|
toStockMarket(): void;
|
|
|
|
toTerminal(): void;
|
|
|
|
toTravel(): void;
|
|
|
|
toTutorial(): void;
|
2021-09-18 01:43:08 +02:00
|
|
|
toWork(): void;
|
|
|
|
toBladeburnerCinematic(): void;
|
2021-09-18 10:01:07 +02:00
|
|
|
toLocation(location: Location): void;
|
2021-09-17 08:04:44 +02:00
|
|
|
}
|