update ChatWarsMessageGDepositReq

This commit is contained in:
shoopea 2019-08-30 10:16:48 +08:00
parent 4bc88ec4b8
commit 4398c2b2e3
2 changed files with 8 additions and 0 deletions

6
def.go
View File

@ -109,6 +109,12 @@ type ChatWarsMessageGStock struct {
ItemList []ChatWarsItems `json:"item_list"`
}
type ChatWarsMessageGDepositReq struct {
Msg *ChatWarsMessage `json:"msg"`
ItemID64 int64 `json:"item_id"`
Quantity int64 `json:"quantity"`
}
type ChatWarsMessageGDepositAck struct {
Msg *ChatWarsMessage `json:"msg"`
ItemID64 int64 `json:"item_id"`

View File

@ -531,6 +531,8 @@ func JobWorker(id int, jobs <-chan Job) {
jobGStock(j)
case objSubTypeJobGDeposit:
jobGDeposit(j)
case objSubTypeJobGDepositForward:
jobGDepositForward(j)
default:
log.Printf("jobWorker["+strconv.Itoa(id)+"] : No handler for job type #%d.\n", j.JobTypeID)
}