mirror of
https://github.com/setube/ogame-vue-ts.git
synced 2026-05-12 07:55:11 +08:00
feat: 添加了浏览器通知和页面内通知
暂包含建造完成和科研完成
This commit is contained in:
@@ -574,6 +574,19 @@ export interface Player {
|
||||
diplomaticReports?: DiplomaticReport[] // 外交变化报告
|
||||
// 新手引导字段
|
||||
tutorialProgress?: TutorialProgress // 新手引导进度
|
||||
// 通知设置
|
||||
notificationSettings?: NotificationSettings
|
||||
}
|
||||
|
||||
export interface NotificationSettings {
|
||||
browser: boolean
|
||||
inApp: boolean
|
||||
suppressInFocus: boolean // 当页面聚焦时是否浏览器通知
|
||||
types: {
|
||||
construction: boolean
|
||||
research: boolean
|
||||
[key: string]: boolean
|
||||
}
|
||||
}
|
||||
|
||||
// 游戏状态
|
||||
|
||||
Reference in New Issue
Block a user