1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  | #!/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) 
 |  
  |