All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
feat(pet): 宠物系统重构和功能增强 - 修复战斗boss中effect ID索引错误问题 - 实现宠物仓库和背包管理功能 - 添加宠物列表排序保存功能 - 重构宠物备份列表同步逻辑 - 优化宠物释放和获取逻辑 - 添加宠物背包仓库切换功能 - 修复地图模型广播信息结构问题 - 调整宠物特效数据库查询逻辑 ```
27 lines
687 B
Go
27 lines
687 B
Go
package pet
|
|
|
|
import (
|
|
"blazing/logic/service/common"
|
|
"blazing/modules/player/model"
|
|
)
|
|
|
|
type GetUserBagPetInfoInboundEmpty struct {
|
|
Head common.TomeeHeader `cmd:"4483" struc:"skip"`
|
|
}
|
|
|
|
type GetUserBagPetInfoOutboundInfo struct {
|
|
PetListLen uint32 `struc:"int32,sizeof=PetList"`
|
|
PetList []model.PetInfo
|
|
BackupPetListLen uint32 `struc:"int32,sizeof=BackupPetList"`
|
|
BackupPetList []model.PetInfo
|
|
}
|
|
|
|
type SavePetBagOrderInboundInfo struct {
|
|
Head common.TomeeHeader `cmd:"4484" struc:"skip"`
|
|
|
|
PetListLen uint32 `struc:"int32,sizeof=PetList"`
|
|
PetList []uint32
|
|
BackupPetListLen uint32 `struc:"int32,sizeof=BackupPetList"`
|
|
BackupPetList []uint32
|
|
}
|