test
This commit is contained in:
parent
b399348c99
commit
c3b8a24dbe
14
msg.go
14
msg.go
@ -375,6 +375,20 @@ func parseSubTypeMessageGStockAnyAck(m *ChatWarsMessage, r *regexp.Regexp) (*Cha
|
||||
Quantity: 1,
|
||||
Quality: l[2],
|
||||
}
|
||||
switch l[2] {
|
||||
case `ᵃ`:
|
||||
item.Quality = `a`
|
||||
case `ᵇ`:
|
||||
item.Quality = `b`
|
||||
case `ᶜ`:
|
||||
item.Quality = `c`
|
||||
case `ᵈ`:
|
||||
item.Quality = `d`
|
||||
case `ᵉ`:
|
||||
item.Quality = `e`
|
||||
default:
|
||||
item.Quality = ``
|
||||
}
|
||||
log.Printf("Item : %s - %s : %s\n", item.Code, item.Name, item.Quality)
|
||||
stock = append(stock, item)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user