42 lines
980 B
Go
42 lines
980 B
Go
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: 直接给坐标x,y
|
||
Point model.Pos `fieldDesc:"直接给坐标x,y"`
|
||
|
||
// Reverse2: 暂定 占位字符2
|
||
//Reverse2 string `struc:"[2]byte"`
|
||
}
|
||
type WalkInInfo struct {
|
||
Head common.TomeeHeader `cmd:"2101" struc:"skip"` //走路包
|
||
// Flag: 0为走,1为飞行模式
|
||
Flag uint32
|
||
|
||
// Point: 直接给坐标x,y
|
||
Point model.Pos `fieldDesc:"直接给坐标x,y"`
|
||
|
||
PathLen uint32 `struc:"sizeof=Path"`
|
||
Path string
|
||
}
|