```
feat(pet): 新增精灵可学习技能查询功能 新增 GetPetLearnableSkills 接口用于查询当前精灵可学习技能(包含等级技能和额外技能ExtSKill), 优化 SetPetSkill 和 SortPetSkills 方法中的技能处理逻辑,提升技能管理和排序的准确性。 同时修复了宠物存储信息查询时缺少参数验证的问题,在管理后台接口中增加 free 参数支持。 BREAKING CHANGE: 管理后台
This commit is contained in:
@@ -80,6 +80,12 @@ type C2S_Skill_Sort struct {
|
||||
Skill [4]uint32 `json:"skill_1"`
|
||||
}
|
||||
|
||||
// GetPetLearnableSkillsInboundInfo 查询当前精灵可学习技能(含额外技能ExtSKill)
|
||||
type GetPetLearnableSkillsInboundInfo struct {
|
||||
Head common.TomeeHeader `cmd:"52312" struc:"skip"`
|
||||
CatchTime uint32 `json:"catchTime"`
|
||||
}
|
||||
|
||||
type C2S_PetFusion struct {
|
||||
Head common.TomeeHeader `cmd:"2351" struc:"skip"`
|
||||
Mcatchtime uint32 `json:"mcatchtime" msgpack:"mcatchtime"`
|
||||
|
||||
Reference in New Issue
Block a user