| | |
| | | # @return None
|
| | | # @remarks 函数详细说明.
|
| | | def OnExec(orderId, gmCmdDict):
|
| | | return
|
| | | GameWorld.Log("%s"%gmCmdDict)
|
| | | accID = str(gmCmdDict.get('AccID', ''))
|
| | | if not accID:
|
| | |
| | | queryType = ChConfig.queryType_sqtPlayerByAccID
|
| | | tagPlayer = playerManager.FindPlayerByAccID(accID)
|
| | |
|
| | | if not tagPlayer:
|
| | | if not tagPlayer or not tagPlayer.GetInitOK():
|
| | | # 玩家不在线,先记录,等玩家上线后处理
|
| | | GameWorld.Log("玩家离线,暂存渠道测试返利 %s, 仙玉%s"%(accID, gold))
|
| | | GMShell.AddOfflinePlayerGMTInfo(orderId, queryType, accID, gmCmdDict)
|
| | |
| | |
|
| | |
|
| | |
|
| | | def OnOfflineCTGInfo(curPlayer, tagMapID, gmCmdDict):
|
| | | gold = int(gmCmdDict.get('GoldState', 0))
|
| | | cmdStr = str([gold])
|
| | | |
| | | GameWorld.GetPlayerManager().MapServer_QueryPlayer(0, 0, curPlayer.GetPlayerID(), tagMapID, 'QDFLDoubleBill', |
| | | cmdStr, len(cmdStr), curPlayer.GetRouteServerIndex())
|
| | | return
|
| | | #===============================================================================
|
| | | # def OnOfflineCTGInfo(curPlayer, tagMapID, gmCmdDict):
|
| | | # gold = int(gmCmdDict.get('GoldState', 0))
|
| | | # cmdStr = str([gold])
|
| | | # |
| | | # GameWorld.GetPlayerManager().MapServer_QueryPlayer(0, 0, curPlayer.GetPlayerID(), tagMapID, 'QDFLDoubleBill', |
| | | # cmdStr, len(cmdStr), curPlayer.GetRouteServerIndex())
|
| | | # return
|
| | | #===============================================================================
|
| | |
|