fix debug

This commit is contained in:
shoopea 2020-02-06 16:59:39 +08:00
parent dc3503d505
commit 99a3d815d5

22
msg.go
View File

@ -317,16 +317,18 @@ func parseSubTypeMessageShopMainAck(m *ChatWarsMessage, r *regexp.Regexp) (*Chat
cwm.Open = false
}
log.Printf("parseSubTypeMessageShopMainAck : Name : %s\n", cwm.Name)
log.Printf("parseSubTypeMessageShopMainAck : Number : %d\n", cwm.ShopNumber)
log.Printf("parseSubTypeMessageShopMainAck : User : %s\n", cwm.User)
log.Printf("parseSubTypeMessageShopMainAck : Mana : %d\n", cwm.Mana)
log.Printf("parseSubTypeMessageShopMainAck : ManaTotal : %d\n", cwm.ManaTotal)
log.Printf("parseSubTypeMessageShopMainAck : Class : %s\n", cwm.Class)
log.Printf("parseSubTypeMessageShopMainAck : Castle : %d\n", cwm.CastleID64)
log.Printf("parseSubTypeMessageShopMainAck : Fees : %s\n", cwm.Fees)
log.Printf("parseSubTypeMessageShopMainAck : Guru : %s\n", cwm.Guru)
log.Printf("parseSubTypeMessageShopMainAck : Status : %v\n", cwm.Open)
/*
log.Printf("parseSubTypeMessageShopMainAck : Name : %s\n", cwm.Name)
log.Printf("parseSubTypeMessageShopMainAck : Number : %d\n", cwm.ShopNumber)
log.Printf("parseSubTypeMessageShopMainAck : User : %s\n", cwm.User)
log.Printf("parseSubTypeMessageShopMainAck : Mana : %d\n", cwm.Mana)
log.Printf("parseSubTypeMessageShopMainAck : ManaTotal : %d\n", cwm.ManaTotal)
log.Printf("parseSubTypeMessageShopMainAck : Class : %s\n", cwm.Class)
log.Printf("parseSubTypeMessageShopMainAck : Castle : %d\n", cwm.CastleID64)
log.Printf("parseSubTypeMessageShopMainAck : Fees : %s\n", cwm.Fees)
log.Printf("parseSubTypeMessageShopMainAck : Guru : %s\n", cwm.Guru)
log.Printf("parseSubTypeMessageShopMainAck : Status : %v\n", cwm.Open)
*/
return &cwm, nil
}