| | |
| | | import IPY_GameServer
|
| | | import ReadChConfig
|
| | | import base64
|
| | | import json
|
| | | import cPickle
|
| | |
|
| | | #[isBase64, gbk]
|
| | | EncodingList = ReadChConfig.GetEvalChConfig("EncodingTex")
|
| | |
| | | sendDict, callFunc, extendValueList = g_dbCommandList.pop(0)
|
| | |
|
| | | #0:不返回,1:DB返回信息到GameServer
|
| | | GameWorld.GetGameWorld().SendDBOper(1, json.dumps(sendDict, ensure_ascii=False))
|
| | | sendMsg = cPickle.dumps(sendDict, 2)
|
| | | GameWorld.GetGameWorld().SendDBOper(1, sendMsg, len(sendMsg))
|
| | | GameWorld.Log("send dbcommand:%s"%sendDict)
|
| | |
|
| | | g_proccessCmdInfo = [callFunc, extendValueList]
|