This commit is contained in:
2026-04-21 18:27:46 +08:00
parent 04bff9617d
commit 4372ab5be1
358 changed files with 30788 additions and 14737 deletions

View File

@@ -1,6 +1,6 @@
import { useCallback } from 'react';
import { resolveServerRuntimeChoice } from './story/runtimeStoryCoordinator';
import { resolveRpgRuntimeChoice } from './rpg-runtime-story';
import { Character, GameState, StoryMoment, StoryOption } from '../types';
export function useTreasureFlow({
@@ -36,7 +36,7 @@ export function useTreasureFlow({
try {
const { hydratedSnapshot, nextStory } =
await resolveServerRuntimeChoice({
await resolveRpgRuntimeChoice({
gameState,
currentStory: runtime.currentStory,
option,