Files
bl/logic/service/task/AddTask.go
昔念 621a9d3858 refactor(socket): 重构 socket 模块
- 移除 common/data/socket 目录下的大部分文件
- 新增 service 目录,将 Player 和 Conn 结构体移至该目录
- 更新 LogicClient 中的方法签名,使用 service 包的类型
- 重构 Controller 中的方法,适应新的 service 包结构
2025-09-04 02:00:57 +08:00

15 lines
586 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 task
import "blazing/logic/service"
// AddTaskBufInboundInfo 对应Java的AddTaskBufInboundInfo类
// 用于接收添加任务缓冲区的入站信息
type AddTaskBufInboundInfo struct {
Head service.TomeeHeader `cmd:"2204|2235" struc:"[0]pad"`
TaskId uint32 `json:"taskId" description:"任务ID"` // 任务ID对应Java的@UInt long
TaskList []uint32 `struc:"[20]byte"` // 任务步骤信息对应Java的@ArraySerialize注解
}
type AddTaskBufOutboundInfo struct {
// 该结构体没有字段对应Java中的空类
}