#!/usr/bin/python # -*- coding: GBK -*- # ##@package # # @todo: ÇþµÀ²âÊÔ·µÀû - »º´æËùÓÐδÁìÈ¡Êý¾Ý # # @author: Alee # @date 2019-1-23 ÏÂÎç02:06:50 # @version 1.0 # # @note: # #--------------------------------------------------------------------- #µ¼Èë import GMCommon import ChConfig import GameWorld import GMShell import PyGameData #--------------------------------------------------------------------- ## Ö´ÐÐÂß¼­ # @param curPlayer µ±Ç°Íæ¼Ò # @param gmCmdDict: ÃüÁî×Öµä # @return None # @remarks º¯ÊýÏêϸ˵Ã÷. def OnExec(orderId, gmCmdDict): billInfo = gmCmdDict.get('tomap', '') if not billInfo: GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_ParamErr) return msgInfo = str([billInfo]) GameWorld.DebugLog("GMT_AllDoubleBill : %s"%msgInfo) GameWorld.GetPlayerManager().MapServer_QueryPlayer(0, 0, 0, 10010, "AllDoubleBill", msgInfo, len(msgInfo)) GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_Success) return