2026-04-05 06:12:32 +08:00
|
|
|
|
package controller
|
|
|
|
|
|
|
|
|
|
|
|
import "blazing/logic/service/common"
|
|
|
|
|
|
|
2026-04-05 23:13:06 +08:00
|
|
|
|
// GetPetInfoInboundInfo 定义请求或响应数据结构。
|
2026-04-05 06:12:32 +08:00
|
|
|
|
type GetPetInfoInboundInfo struct {
|
|
|
|
|
|
Head common.TomeeHeader `cmd:"2301" struc:"skip"`
|
|
|
|
|
|
CatchTime uint32
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-04-05 23:13:06 +08:00
|
|
|
|
// GetUserBagPetInfoInboundEmpty 定义请求或响应数据结构。
|
2026-04-05 06:12:32 +08:00
|
|
|
|
type GetUserBagPetInfoInboundEmpty struct {
|
|
|
|
|
|
Head common.TomeeHeader `cmd:"4483" struc:"skip"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-04-05 23:13:06 +08:00
|
|
|
|
// SavePetBagOrderInboundInfo 定义请求或响应数据结构。
|
2026-04-05 06:12:32 +08:00
|
|
|
|
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
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-04-05 23:13:06 +08:00
|
|
|
|
// PetReleaseInboundInfo 定义请求或响应数据结构。
|
2026-04-05 06:12:32 +08:00
|
|
|
|
type PetReleaseInboundInfo struct {
|
|
|
|
|
|
Head common.TomeeHeader `cmd:"2304" struc:"skip"`
|
|
|
|
|
|
CatchTime uint32
|
|
|
|
|
|
Flag uint32 `json:"flag" fieldDescription:"0为放入仓库,1为放入背包" autoCodec:"true" uint:"true"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-04-05 23:13:06 +08:00
|
|
|
|
// PetShowInboundInfo 定义请求或响应数据结构。
|
2026-04-05 06:12:32 +08:00
|
|
|
|
type PetShowInboundInfo struct {
|
|
|
|
|
|
Head common.TomeeHeader `cmd:"2305" struc:"skip"`
|
|
|
|
|
|
CatchTime uint32 `codec:"catchTime" inboundMessageType:"Pet_Show"`
|
|
|
|
|
|
Flag uint32 `codec:"flag"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-04-05 23:13:06 +08:00
|
|
|
|
// PetOneCureInboundInfo 定义请求或响应数据结构。
|
2026-04-05 06:12:32 +08:00
|
|
|
|
type PetOneCureInboundInfo struct {
|
|
|
|
|
|
Head common.TomeeHeader `cmd:"2310" struc:"skip"`
|
|
|
|
|
|
CatchTime uint32 `json:"catchTime" fieldDescription:"精灵捕捉时间" uint:"true"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-04-05 23:13:06 +08:00
|
|
|
|
// PET_ROWEI 定义请求或响应数据结构。
|
2026-04-05 06:12:32 +08:00
|
|
|
|
type PET_ROWEI struct {
|
|
|
|
|
|
Head common.TomeeHeader `cmd:"2321" struc:"skip"`
|
|
|
|
|
|
ID uint32
|
|
|
|
|
|
CatchTime uint32 `json:"catchTime" fieldDescription:"精灵捕捉时间" uint:"true"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-04-05 23:13:06 +08:00
|
|
|
|
// PET_RETRIEVE 定义请求或响应数据结构。
|
2026-04-05 06:12:32 +08:00
|
|
|
|
type PET_RETRIEVE struct {
|
|
|
|
|
|
Head common.TomeeHeader `cmd:"2322" struc:"skip"`
|
|
|
|
|
|
CatchTime uint32 `json:"catchTime" fieldDescription:"精灵捕捉时间" uint:"true"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-04-05 23:13:06 +08:00
|
|
|
|
// PetDefaultInboundInfo 定义请求或响应数据结构。
|
2026-04-05 06:12:32 +08:00
|
|
|
|
type PetDefaultInboundInfo struct {
|
|
|
|
|
|
Head common.TomeeHeader `cmd:"2308" struc:"skip"`
|
|
|
|
|
|
CatchTime uint32 `json:"catchTime" fieldDescription:"精灵捕捉时间" uint:"true" autoCodec:"true" inboundMessageType:"Pet_Default"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-04-05 23:13:06 +08:00
|
|
|
|
// PetSetExpInboundInfo 定义请求或响应数据结构。
|
2026-04-05 06:12:32 +08:00
|
|
|
|
type PetSetExpInboundInfo struct {
|
|
|
|
|
|
Head common.TomeeHeader `cmd:"2318" struc:"skip"`
|
|
|
|
|
|
CatchTime uint32 `fieldDescription:"精灵获取时间" uint:"true" autoCodec:"true"`
|
|
|
|
|
|
Exp int64 `struc:"uint32"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-04-05 23:13:06 +08:00
|
|
|
|
// PetBargeListInboundInfo 定义请求或响应数据结构。
|
2026-04-05 06:12:32 +08:00
|
|
|
|
type PetBargeListInboundInfo struct {
|
|
|
|
|
|
Head common.TomeeHeader `cmd:"2309" struc:"skip"`
|
|
|
|
|
|
StartPetId uint32 `description:"开始精灵id" codec:"startPetId"`
|
|
|
|
|
|
EndPetId uint32 `description:"结束精灵id" codec:"endPetId"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-04-05 23:13:06 +08:00
|
|
|
|
// ChangeSkillInfo 定义请求或响应数据结构。
|
2026-04-05 06:12:32 +08:00
|
|
|
|
type ChangeSkillInfo struct {
|
|
|
|
|
|
Head common.TomeeHeader `cmd:"2312" struc:"skip"`
|
|
|
|
|
|
CatchTime uint32 `json:"catchTime"`
|
|
|
|
|
|
Reserved uint32 `json:"reserved"`
|
|
|
|
|
|
Reserved1 uint32 `json:"reserved1"`
|
|
|
|
|
|
HasSkill uint32 `json:"hasSkill"`
|
|
|
|
|
|
ReplaceSkill uint32 `json:"replaceSkill"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-04-05 23:13:06 +08:00
|
|
|
|
// C2S_Skill_Sort 定义请求或响应数据结构。
|
2026-04-05 06:12:32 +08:00
|
|
|
|
type C2S_Skill_Sort struct {
|
|
|
|
|
|
Head common.TomeeHeader `cmd:"2328" struc:"skip"`
|
|
|
|
|
|
CapTm uint32 `json:"capTm"`
|
|
|
|
|
|
Skill [4]uint32 `json:"skill_1"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-04-05 12:45:00 +08:00
|
|
|
|
// GetPetLearnableSkillsInboundInfo 查询当前精灵可学习技能(含额外技能ExtSKill)
|
|
|
|
|
|
type GetPetLearnableSkillsInboundInfo struct {
|
|
|
|
|
|
Head common.TomeeHeader `cmd:"52312" struc:"skip"`
|
|
|
|
|
|
CatchTime uint32 `json:"catchTime"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-04-05 06:12:32 +08:00
|
|
|
|
type C2S_PetFusion struct {
|
|
|
|
|
|
Head common.TomeeHeader `cmd:"2351" struc:"skip"`
|
|
|
|
|
|
Mcatchtime uint32 `json:"mcatchtime" msgpack:"mcatchtime"`
|
|
|
|
|
|
Auxcatchtime uint32 `json:"auxcatchtime" msgpack:"auxcatchtime"`
|
|
|
|
|
|
Item1 [4]uint32 `json:"item1" msgpack:"item1"`
|
|
|
|
|
|
GoldItem1 [2]uint32 `json:"gold_item1" msgpack:"gold_item1"`
|
|
|
|
|
|
}
|