Files
bl/common/core/info/pet/skill/ChangeSkillInfo.go
昔念 720294ad27 refactor(blazing): 重构项目并优化数据结构
- 更新 LoginUserInfo 结构体,将 uint64 类型改为 uint32
- 调整 ServerInfo 结构体,将 IP 字段从 []byte 改为 string
- 移除未使用的 ArraySerialize 结构体
- 更新 ByteArray 类,修改相关方法名
- 删除未使用的 serialize 相关代码
- 优化模块导入,移除冗余依赖
2025-06-22 12:05:07 +08:00

19 lines
501 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package skill
// ChangeSkillInfo 精灵技能变更信息结构体
type ChangeSkillInfo struct {
CatchTime uint32 // 精灵生成时间
Reserved uint32 // 填充字段默认为1
Reserved1 uint32 // 填充字段默认为1
HasSkill uint32 // 拥有的技能id
ReplaceSkill uint32 // 替换技能的id
}
// NewChangeSkillInfo 创建一个新的技能变更信息实例
func NewChangeSkillInfo() *ChangeSkillInfo {
return &ChangeSkillInfo{
Reserved: 1,
Reserved1: 1,
}
}