ecs/proto/old/external_game_task.go
2025-06-04 18:17:39 +08:00

50 lines
913 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 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
}