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