update ChatWarsMessageGDepositReq
This commit is contained in:
parent
4bc88ec4b8
commit
4398c2b2e3
6
def.go
6
def.go
@ -109,6 +109,12 @@ type ChatWarsMessageGStock struct {
|
|||||||
ItemList []ChatWarsItems `json:"item_list"`
|
ItemList []ChatWarsItems `json:"item_list"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ChatWarsMessageGDepositReq struct {
|
||||||
|
Msg *ChatWarsMessage `json:"msg"`
|
||||||
|
ItemID64 int64 `json:"item_id"`
|
||||||
|
Quantity int64 `json:"quantity"`
|
||||||
|
}
|
||||||
|
|
||||||
type ChatWarsMessageGDepositAck struct {
|
type ChatWarsMessageGDepositAck struct {
|
||||||
Msg *ChatWarsMessage `json:"msg"`
|
Msg *ChatWarsMessage `json:"msg"`
|
||||||
ItemID64 int64 `json:"item_id"`
|
ItemID64 int64 `json:"item_id"`
|
||||||
|
@ -531,6 +531,8 @@ func JobWorker(id int, jobs <-chan Job) {
|
|||||||
jobGStock(j)
|
jobGStock(j)
|
||||||
case objSubTypeJobGDeposit:
|
case objSubTypeJobGDeposit:
|
||||||
jobGDeposit(j)
|
jobGDeposit(j)
|
||||||
|
case objSubTypeJobGDepositForward:
|
||||||
|
jobGDepositForward(j)
|
||||||
default:
|
default:
|
||||||
log.Printf("jobWorker["+strconv.Itoa(id)+"] : No handler for job type #%d.\n", j.JobTypeID)
|
log.Printf("jobWorker["+strconv.Itoa(id)+"] : No handler for job type #%d.\n", j.JobTypeID)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user