aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/packages/ui/src/stores/game-store.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ui/src/stores/game-store.ts')
-rw-r--r--packages/ui/src/stores/game-store.ts8
1 files changed, 1 insertions, 7 deletions
diff --git a/packages/ui/src/stores/game-store.ts b/packages/ui/src/stores/game-store.ts
index 0d896a1..1eaf7e7 100644
--- a/packages/ui/src/stores/game-store.ts
+++ b/packages/ui/src/stores/game-store.ts
@@ -8,15 +8,9 @@ import {
stopGame as stopGameCommand,
} from "@/client";
import type { Account } from "@/types/bindings/auth";
+import type { GameExitedEvent } from "@/types/bindings/core";
import type { Version } from "@/types/bindings/manifest";
-interface GameExitedEvent {
- instanceId: string;
- versionId: string;
- exitCode: number | null;
- wasStopped: boolean;
-}
-
interface GameState {
versions: Version[];
selectedVersion: string;