```
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

feat(space): 更新空间信息结构支持事件配置

- 替换天气字段为事件配置结构体
- 添加事件匹配逻辑验证天气和时间范围
- 实现事件驱动的BOSS显示控制机制
- 引入Event类型用于管理活动配置
```
This commit is contained in:
昔念
2026-03-07 01:30:04 +08:00
parent 4bb7477147
commit a192ffa6bc
2 changed files with 32 additions and 13 deletions

View File

@@ -2,6 +2,7 @@ package info
import (
"blazing/common/data"
configm "blazing/modules/config/model"
"blazing/modules/player/model"
"github.com/creasty/defaults"
@@ -44,7 +45,8 @@ type MapBossInfo struct {
PosInfo []model.Pos `struc:"skip"`
MaxHP int `struc:"skip"`
PosIndex uint32 `struc:"skip"`
Wer []int32 `struc:"skip"`
//Wer []int32 `struc:"skip"`
Event configm.Event `struc:"skip"`
}
// 这里存储星球的map