feat: 收敛玩法运行时配置并加入故障恢复
This commit is contained in:
@@ -1,14 +1,28 @@
|
||||
import { EMPTY_HUD_PRESENTATION_STATE, type HudPresentationState } from './hudPresentationState'
|
||||
import { EMPTY_MAP_PRESENTATION_STATE, type MapPresentationState } from './mapPresentationState'
|
||||
|
||||
export interface GameTargetingPresentationState {
|
||||
punchableControlId: string | null
|
||||
guidanceControlId: string | null
|
||||
hudControlId: string | null
|
||||
highlightedControlId: string | null
|
||||
}
|
||||
|
||||
export interface GamePresentationState {
|
||||
map: MapPresentationState
|
||||
hud: HudPresentationState
|
||||
targeting: GameTargetingPresentationState
|
||||
}
|
||||
|
||||
export const EMPTY_GAME_PRESENTATION_STATE: GamePresentationState = {
|
||||
map: EMPTY_MAP_PRESENTATION_STATE,
|
||||
hud: EMPTY_HUD_PRESENTATION_STATE,
|
||||
targeting: {
|
||||
punchableControlId: null,
|
||||
guidanceControlId: null,
|
||||
hudControlId: null,
|
||||
highlightedControlId: null,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user