Files
bl/logic/controller/inbound_user.go
2026-04-08 18:12:02 +08:00

76 lines
1.8 KiB
Go

package controller
import "blazing/logic/service/common"
type Login struct {
Head common.TomeeHeader `cmd:"1001" struc:"skip"`
Sid []byte `struc:"[16]byte"`
}
type HeartBeat struct {
Head common.TomeeHeader `cmd:"2051" struc:"skip"`
Time uint32
}
type KeepAlive struct {
Head common.TomeeHeader `cmd:"2052" struc:"skip"`
Time uint32
}
type UserInfo struct {
Head common.TomeeHeader `cmd:"2104" struc:"skip"`
UserID uint32
ShowNono uint8
RoomStyle uint32
}
type UserTalk struct {
Head common.TomeeHeader `cmd:"2102" struc:"skip"`
ReceiverID uint32
MessageLen uint32 `struc:"sizeof=Message"`
Message []byte
}
type ChangeTitle struct {
Head common.TomeeHeader `cmd:"2063" struc:"skip"`
Title uint32
}
type ChangePlayerIcon struct {
Head common.TomeeHeader `cmd:"2062" struc:"skip"`
Icon uint32
}
type GetMotto struct {
Head common.TomeeHeader `cmd:"9012" struc:"skip"`
}
type GetTask struct {
Head common.TomeeHeader `cmd:"2103" struc:"skip"`
TaskLen uint32 `struc:"sizeof=TaskList"`
TaskList []uint32
}
type C2SPEOPLE_TRANSFROM struct {
Head common.TomeeHeader `cmd:"2111" struc:"skip"`
SuitID uint32 `struc:"uint32,big"`
}
// ChangePlayerNameInboundInfo 定义请求或响应数据结构。
type ChangePlayerNameInboundInfo struct {
Head common.TomeeHeader `cmd:"2061" struc:"skip"`
Nickname string `struc:"[16]byte"`
}
// ChangeTitleInboundInfo 定义请求或响应数据结构。
type ChangeTitleInboundInfo struct {
Head common.TomeeHeader `cmd:"3404" struc:"skip"`
TileID uint32
}
// C2S_GET_GIFT_COMPLETE 定义请求或响应数据结构。
type C2S_GET_GIFT_COMPLETE struct {
Head common.TomeeHeader `cmd:"2801" struc:"skip"`
PassText string `struc:"[16]byte"`
}