All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
feat(pet): 宠物系统重构和功能增强 - 修复战斗boss中effect ID索引错误问题 - 实现宠物仓库和背包管理功能 - 添加宠物列表排序保存功能 - 重构宠物备份列表同步逻辑 - 优化宠物释放和获取逻辑 - 添加宠物背包仓库切换功能 - 修复地图模型广播信息结构问题 - 调整宠物特效数据库查询逻辑 ```
25 lines
800 B
Go
25 lines
800 B
Go
package info
|
|
|
|
import (
|
|
configm "blazing/modules/config/model"
|
|
"blazing/modules/player/model"
|
|
)
|
|
|
|
type MapModelBroadcastInfo struct {
|
|
Wer int32 `struc:"uint32"`
|
|
InfoLen uint32 `struc:"sizeof=INFO" json:"info_len"`
|
|
|
|
INFO []MapModelBroadcastEntry
|
|
}
|
|
|
|
type MapModelBroadcastEntry struct {
|
|
ModelID uint32 `json:"model_id" protobuf:"1,req,name=model_id"`
|
|
Region uint32 `json:"region" protobuf:"2,req,name=region"`
|
|
Hp int32 `struc:"uint32" json:"hp" protobuf:"3,req,name=hp"`
|
|
PosIndex uint32 `struc:"uint32" json:"pos_index" protobuf:"4,req,name=pos_index"`
|
|
IsShow int32 `struc:"uint32" json:"is_show"`
|
|
PosInfo []model.Pos `struc:"skip"`
|
|
Config configm.MapNode `struc:"skip"`
|
|
Model configm.MapModel `struc:"skip"`
|
|
}
|