This commit is contained in:
2026-05-05 14:40:41 +08:00
parent e847fcea6f
commit 07e777fef8
76 changed files with 4246 additions and 444 deletions

View File

@@ -46,6 +46,37 @@ export interface CustomWorldCoverCropRect {
height: number;
}
export type CustomWorldOpeningCgStatus =
| 'not_started'
| 'storyboard_generating'
| 'video_generating'
| 'ready'
| 'failed';
export interface CustomWorldOpeningCgProfile {
id: string;
status: CustomWorldOpeningCgStatus;
storyboardImageSrc?: string | null;
storyboardAssetId?: string | null;
videoSrc?: string | null;
videoAssetId?: string | null;
posterImageSrc?: string | null;
posterAssetId?: string | null;
storyboardPrompt?: string | null;
videoPrompt?: string | null;
imageModel: 'gpt-image-2';
videoModel: string;
aspectRatio: '16:9';
imageSize: '2k';
videoResolution: '480p';
durationSeconds: 15;
pointCost: 80;
estimatedWaitMinutes: 10;
generatedAt?: string | null;
updatedAt: string;
errorMessage?: string | null;
}
export interface CreatorFactionSeed {
id: string;
name: string;
@@ -411,6 +442,7 @@ export interface CustomWorldProfile {
*/
playerPremise?: string | null;
cover?: CustomWorldCoverProfile | null;
openingCg?: CustomWorldOpeningCgProfile | null;
templateWorldType: WorldTemplateType;
compatibilityTemplateWorldType?: WorldTemplateType | null;
majorFactions: string[];

View File

@@ -166,6 +166,8 @@ export interface StoryMoment {
currentScenePreset?: ScenePresetInfo | null;
storyEngineMemory?: StoryEngineMemoryState;
};
// 中文注释:用于“继续冒险”过场完成后自动执行下一幕入口,避免角色尚未走到位就开聊。
deferredAutoChoice?: StoryOption;
historyRole?: StoryHistoryRole;
npcChatState?: StoryNpcChatState;
npcAffinityEffect?: StoryNpcAffinityEffect | null;