test
This commit is contained in:
parent
da9a8a07a8
commit
4d7f6de54d
@ -89,7 +89,7 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
|
||||
r := msgParsingRules[i].re
|
||||
switch msgParsingRules[i].MsgTypeID {
|
||||
case objSubTypeMessageReportAck:
|
||||
cwm, err := parseSubTypeMessageReport(m, r)
|
||||
cwm, err := parseSubTypeMessageReportAck(m, r)
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : Parsing objSubTypeMessageReportAck.")
|
||||
cwm.ObjID64 = objId
|
||||
err = setObjSubTypeId(objId, objSubTypeMessageReportAck)
|
||||
@ -167,18 +167,12 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
|
||||
cwm.ObjID64 = objId
|
||||
err = setObjSubTypeId(objId, objSubTypeMessageDuelFight)
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : setObjSubTypeId(DuelFight)")
|
||||
case objSubTypeMessageQuest:
|
||||
err = setObjSubTypeId(objId, objSubTypeMessageQuest)
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : setObjSubTypeId(Quest)")
|
||||
case objSubTypeMessageGoQuest:
|
||||
err = setObjSubTypeId(objId, objSubTypeMessageGoQuest)
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : setObjSubTypeId(GoQuest)")
|
||||
case objSubTypeMessageGoFastFight:
|
||||
err = setObjSubTypeId(objId, objSubTypeMessageGoFastFight)
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : setObjSubTypeId(GoFastFight)")
|
||||
case objSubTypeMessageArena:
|
||||
err = setObjSubTypeId(objId, objSubTypeMessageArena)
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : setObjSubTypeId(Arena)")
|
||||
case objSubTypeMessageGoArena:
|
||||
err = setObjSubTypeId(objId, objSubTypeMessageGoArena)
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : setObjSubTypeId(GoArena)")
|
||||
|
Loading…
Reference in New Issue
Block a user