#!/usr/bin/python  
 | 
# -*- coding: GBK -*-  
 | 
#-------------------------------------------------------------------------------  
 | 
#  
 | 
##@package GM.Commands.SetXJMJExpTime  
 | 
#  
 | 
# @todo:ÉèÖÃÏɽçÃØ¾³¾Ñ鲹ʱʱ¼ä  
 | 
# @author hxp  
 | 
# @date 2018-06-30  
 | 
# @version 1.0  
 | 
#  
 | 
# ÏêϸÃèÊö: ÉèÖÃÏɽçÃØ¾³¾Ñ鲹ʱʱ¼ä  
 | 
#  
 | 
#-------------------------------------------------------------------------------  
 | 
#"""Version = 2018-06-30 22:00"""  
 | 
#-------------------------------------------------------------------------------  
 | 
  
 | 
import ChConfig  
 | 
import PlayerControl  
 | 
import GameWorld  
 | 
import ChPlayer  
 | 
  
 | 
  
 | 
## Â߼ʵÏÖ  
 | 
#  @param curPlayer  
 | 
#  @param cmdList ²ÎÊýÁÐ±í  
 | 
#  @return None  
 | 
def OnExec(curPlayer, cmdList):  
 | 
    if not cmdList:  
 | 
        GameWorld.DebugAnswer(curPlayer, 'SetXJMJExpTime Ãë')  
 | 
        return  
 | 
    expTime = cmdList[0]  
 | 
    GameWorld.DebugAnswer(curPlayer, 'ÉèÖþÑ鲹ʱÃë: %s' % expTime)  
 | 
    if not expTime:  
 | 
        GameWorld.SetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_GuideState, ChConfig.GuideState_BZZDShow, 0)  
 | 
        GameWorld.DebugAnswer(curPlayer, 'ÖØÖÃÏɽçÃØ¾³³¡¾°Ðã!')  
 | 
        ChPlayer.SyncGuideState(curPlayer)  
 | 
    return  
 | 
  
 |