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"`
|
||||
}
|
||||
|
||||
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"`
|
||||
|
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user