#!/usr/bin/python # -*- coding: GBK -*- # ##@package # # @todo: ¿ªÆôÉ˺¦Êä³öÈÕÖ¾ # # @author: Alee # @date 2019-3-6 ÏÂÎç05:21:33 # @version 1.0 # # @note: # #--------------------------------------------------------------------- import GameWorld import ShareDefine def OnExec(curPlayer, cmdList): if not cmdList: logLevel = 1 else: logLevel = int(cmdList[0]) GameWorld.DebugAnswer(curPlayer, "¿ªÆôÕ½¶·ÈÕÖ¾£¬1ÎªÍæ¼Ò¹¥»÷É˺¦ 2ΪËùÓÐÉ˺¦") GameWorld.GetGameWorld().SetGameWorldDict(ShareDefine.Def_Notify_WorldKey_HurtLog, logLevel)