| | |
| | | import GameWorldOpenServerCampaign
|
| | | import ShareDefine
|
| | | import GameDataRecord
|
| | | import PlayerPackData
|
| | | import PlayerCompensation
|
| | | import PlayerFB
|
| | | import UpdatePlayerName
|
| | |
| | | # 查询地图NPC数量
|
| | | elif queryType == ChConfig.queryType_NPCCnt:
|
| | | __QueryMapNPCCntInfo(curPlayer, queryCallName, sendCMD, tick)
|
| | | return
|
| | | elif queryType == ChConfig.queryType_MirrorPlayer:
|
| | | data = str({"id" : curPlayer.GetPlayerID(), "mapid" : GameWorld.GetQueryPlayerMapID(curPlayer)})
|
| | | GameWorld.GetGameWorld().SendDBLogic(0, queryID, data, len(data))
|
| | | return
|
| | | else:
|
| | | GameWorld.ErrLog('unKnow queryType = %s' % (queryType))
|
| | |
| | | GameDataRecord.ChangeCoinCnt(eval(resultName))
|
| | | return
|
| | |
|
| | | #请求玩家的打包数据
|
| | | if callName == "ReuestPlayerPackData":
|
| | | PlayerPackData.OnMGReuestPlayerPackData(eval(resultName))
|
| | | return
|
| | | |
| | | #跨服排位PK战斗结算
|
| | | if callName == "CrossChampionshipPKOver":
|
| | | CrossChampionship.MapServer_CrossChampionshipPKOver(eval(resultName), tick)
|