完善文创展示控制与结果层基础
This commit is contained in:
@@ -8,6 +8,17 @@ export type PunchPolicyType = 'enter' | 'enter-confirm'
|
||||
export interface GameControlDisplayContent {
|
||||
title: string
|
||||
body: string
|
||||
autoPopup: boolean
|
||||
once: boolean
|
||||
priority: number
|
||||
}
|
||||
|
||||
export interface GameControlDisplayContentOverride {
|
||||
title?: string
|
||||
body?: string
|
||||
autoPopup?: boolean
|
||||
once?: boolean
|
||||
priority?: number
|
||||
}
|
||||
|
||||
export interface GameControl {
|
||||
|
||||
@@ -5,7 +5,7 @@ export type GameEffect =
|
||||
| { type: 'session_started' }
|
||||
| { type: 'session_cancelled' }
|
||||
| { type: 'punch_feedback'; text: string; tone: 'neutral' | 'success' | 'warning' }
|
||||
| { type: 'control_completed'; controlId: string; controlKind: 'start' | 'control' | 'finish'; sequence: number | null; label: string; displayTitle: string; displayBody: string }
|
||||
| { type: 'control_completed'; controlId: string; controlKind: 'start' | 'control' | 'finish'; sequence: number | null; label: string; displayTitle: string; displayBody: string; displayAutoPopup: boolean; displayOnce: boolean; displayPriority: number }
|
||||
| { type: 'guidance_state_changed'; guidanceState: GuidanceState; controlId: string | null }
|
||||
| { type: 'session_finished' }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user