feat: 新增游戏协议入站结构体定义
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
This commit is contained in:
52
logic/controller/inbound_friend_task.go
Normal file
52
logic/controller/inbound_friend_task.go
Normal file
@@ -0,0 +1,52 @@
|
||||
package controller
|
||||
|
||||
import "blazing/logic/service/common"
|
||||
|
||||
type SeeOnlineInboundInfo struct {
|
||||
Head common.TomeeHeader `cmd:"2157" struc:"skip"`
|
||||
UserIdsLen uint32 `json:"userIdsLen" struc:"sizeof=UserIds"`
|
||||
UserIds []uint32 `json:"userIds" `
|
||||
}
|
||||
|
||||
type FriendAddInboundInfo struct {
|
||||
Head common.TomeeHeader `cmd:"2151" struc:"skip"`
|
||||
UserID uint32 `json:"userID"`
|
||||
}
|
||||
|
||||
type FriendAnswerInboundInfo struct {
|
||||
Head common.TomeeHeader `cmd:"2152" struc:"skip"`
|
||||
UserID uint32 `json:"userID"`
|
||||
Flag uint32 `json:"flag"`
|
||||
}
|
||||
|
||||
type FriendRemoveInboundInfo struct {
|
||||
Head common.TomeeHeader `cmd:"2153" struc:"skip"`
|
||||
UserID uint32 `json:"userID"`
|
||||
}
|
||||
|
||||
type AcceptTaskInboundInfo struct {
|
||||
Head common.TomeeHeader `cmd:"2201|2231" struc:"skip"`
|
||||
TaskId uint32 `json:"taskId" description:"任务ID"`
|
||||
}
|
||||
|
||||
type AddTaskBufInboundInfo struct {
|
||||
Head common.TomeeHeader `cmd:"2204|2235" struc:"skip"`
|
||||
TaskId uint32 `json:"taskId" description:"任务ID"`
|
||||
TaskList []uint32 `struc:"[20]byte"`
|
||||
}
|
||||
|
||||
type CompleteTaskInboundInfo struct {
|
||||
Head common.TomeeHeader `cmd:"2202|2233" struc:"skip"`
|
||||
TaskId uint32 `json:"taskId" description:"任务ID"`
|
||||
OutState uint32 `json:"outState" `
|
||||
}
|
||||
|
||||
type GetTaskBufInboundInfo struct {
|
||||
Head common.TomeeHeader `cmd:"2203|2234" struc:"skip"`
|
||||
TaskId uint32 `json:"taskId" description:"任务ID"`
|
||||
}
|
||||
|
||||
type DeleteTaskInboundInfo struct {
|
||||
Head common.TomeeHeader `cmd:"2205|2232" struc:"skip"`
|
||||
TaskId uint32 `json:"taskId" description:"任务ID"`
|
||||
}
|
||||
Reference in New Issue
Block a user