Integrate unfinished server-rs refactor worklists

This commit is contained in:
2026-04-30 13:39:06 +08:00
parent 62934b0809
commit 7ab0933f6d
676 changed files with 24487 additions and 21531 deletions

View File

@@ -40,7 +40,7 @@ export function useStoryInventoryActions({
} = runtime;
const [serverInventoryView, setServerInventoryView] =
useState<RuntimeStoryInventoryView | null>(null);
const runtimeSessionId = gameState.runtimeSessionId;
const storySessionId = gameState.storySessionId;
const runtimeActionVersion = gameState.runtimeActionVersion;
const currentScene = gameState.currentScene;
const hasPlayerCharacter = Boolean(gameState.playerCharacter);
@@ -56,7 +56,7 @@ export function useStoryInventoryActions({
void loadRpgRuntimeInventoryView(
{
gameState: {
runtimeSessionId,
storySessionId,
runtimeActionVersion,
},
},
@@ -80,7 +80,7 @@ export function useStoryInventoryActions({
currentScene,
hasPlayerCharacter,
runtimeActionVersion,
runtimeSessionId,
storySessionId,
setAiError,
]);