ecs/proto/old/external_game_task.go

50 lines
913 B
Go
Raw Normal View History

2025-06-04 18:17:39 +08:00
package old
type Task struct {
Id uint32 `json:"Id"`
Process []int `json:"Process"`
Status uint32 `json:"Status"` //任务状态0.未完成1.已完成2.已提交(已领取)
}
type MsgTaskListAck struct {
List []*Task `json:"List,omitempty"`
}
type TaskChange struct {
*Task
ChangeType uint32 `json:"ChangeType"`
}
type MsgTaskChangeListAck struct {
List []*TaskChange `json:"List"`
}
type MsgTaskCommitReq struct {
Id uint32 `json:"Id"`
}
type MsgTaskCommitAck struct {
*MsgRewardListAck
Id uint32 `json:"Id"`
}
type ActiveReward struct {
Id uint32 `json:"Id"`
Status uint32 `json:"Status"`
}
type MsgActiveInfoAck struct {
Value uint32 `json:"Value,omitempty"`
StatusList []*ActiveReward `json:"StatusList,omitempty"`
}
type MsgActiveGetRewardReq struct {
Id uint32 `json:"Id"`
}
type MsgActiveGetRewardAck struct {
*ActiveReward
*MsgRewardListAck
}