fix: Add HMD AFK state update flow and IPC bridge function

This commit is contained in:
pa
2026-03-14 21:11:16 +09:00
parent 9f59a1db8d
commit a314885bff
2 changed files with 15 additions and 1 deletions
+2 -1
View File
@@ -23,7 +23,7 @@
import { computed, onBeforeMount, onMounted } from 'vue';
import { addGameLogEvent, getGameLogTable } from './coordinators/gameLogCoordinator';
import { runCheckVRChatDebugLoggingFlow, runUpdateIsGameRunningFlow } from './coordinators/gameCoordinator';
import { runCheckVRChatDebugLoggingFlow, runUpdateIsGameRunningFlow, runUpdateIsHmdAfkFlow } from './coordinators/gameCoordinator';
import { Toaster } from './components/ui/sonner';
import { TooltipProvider } from './components/ui/tooltip';
import { createGlobalStores } from './stores';
@@ -53,6 +53,7 @@
window.$pinia = store;
// Bridge: attach coordinator functions to store for C# IPC callbacks
store.game.updateIsGameRunning = runUpdateIsGameRunningFlow;
store.game.updateIsHmdAfk = runUpdateIsHmdAfkFlow;
store.gameLog.addGameLogEvent = addGameLogEvent;
}