update: 表改动 主页改动
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
victo
2026-04-14 18:58:33 +08:00
parent 0981d6ee1b
commit 3d6f31433a
37 changed files with 2594 additions and 699 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,