Files
bl/logic/service/space/info.go
2026-04-04 05:12:30 +08:00

42 lines
980 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 space
import (
"blazing/logic/service/common"
"blazing/modules/player/model"
)
type ListMapPlayerInboundInfo struct {
Head common.TomeeHeader `cmd:"2003" struc:"skip"` //切换地图
}
type AttackBossInboundInfo struct {
Head common.TomeeHeader `cmd:"2412" struc:"skip"` //切换地图
}
type LeaveMapInboundInfo struct {
Head common.TomeeHeader `cmd:"2002" struc:"skip"` //切换地图
}
type InInfo struct {
Head common.TomeeHeader `cmd:"2001" struc:"skip"` //切换地图
// 地图类型
MapType uint32
MapId uint32
// Point: 直接给坐标xy
Point model.Pos `fieldDesc:"直接给坐标xy"`
// Reverse2: 暂定 占位字符2
//Reverse2 string `struc:"[2]byte"`
}
type WalkInInfo struct {
Head common.TomeeHeader `cmd:"2101" struc:"skip"` //走路包
// Flag: 0为走1为飞行模式
Flag uint32
// Point: 直接给坐标xy
Point model.Pos `fieldDesc:"直接给坐标xy"`
PathLen uint32 `struc:"sizeof=Path"`
Path string
}