test callback
This commit is contained in:
parent
31c270cf3a
commit
b1431e9769
@ -316,6 +316,9 @@ func SQLCWMsgWorker(id int, msgs <-chan ChatWarsMessage, objIds chan<- int64) {
|
|||||||
if len(m.Callbacks) != 0 {
|
if len(m.Callbacks) != 0 {
|
||||||
for _, c := range m.Callbacks {
|
for _, c := range m.Callbacks {
|
||||||
log.Printf("SQLCWMsgWorker[%d] (%d) : Callback : %s : %s\n", id, m.ID64, c.Name, string(c.Data))
|
log.Printf("SQLCWMsgWorker[%d] (%d) : Callback : %s : %s\n", id, m.ID64, c.Name, string(c.Data))
|
||||||
|
if c.Name == `📯Arena` {
|
||||||
|
log.Printf("SQLCWMsgWorker[%d] (%d) : Callback : Arena spotted\n")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
objId, err := addObjMsg(m)
|
objId, err := addObjMsg(m)
|
||||||
|
Loading…
Reference in New Issue
Block a user