This commit is contained in:
2026-04-14 20:43:46 +08:00
39 changed files with 2971 additions and 940 deletions

View File

@@ -8,8 +8,8 @@ import {
putSaveSnapshot,
} from '../services/storageService';
import type { GameState, StoryMoment } from '../types';
import type { BottomTab } from './useGameFlow';
import { resumeServerRuntimeStory } from './story/runtimeStoryCoordinator';
import type { BottomTab } from './useGameFlow';
const AUTO_SAVE_DELAY_MS = 400;
@@ -296,6 +296,7 @@ export function useGamePersistence({
return {
hasSavedGame,
savedSnapshot,
isHydratingSnapshot,
isPersistingSnapshot,
persistenceError,

View File

@@ -158,6 +158,7 @@ export function useGameShellRuntime(): GameShellProps {
},
entry: {
hasSavedGame: persistence.hasSavedGame,
savedSnapshot: persistence.savedSnapshot,
handleContinueGame,
handleStartNewGame,
handleSaveAndExit,