#!/usr/bin/python  
 | 
# -*- coding: GBK -*-  
 | 
#-------------------------------------------------------------------------------  
 | 
#  
 | 
#-------------------------------------------------------------------------------  
 | 
#  
 | 
##@package GM.Commands.ClearCostVIP  
 | 
#  
 | 
# @todo:Ïû·ÑVIPÖØÖÃ  
 | 
# @author ljd  
 | 
# @date 2015-08-07 20:00  
 | 
# @version 1.0  
 | 
#  
 | 
#  
 | 
# ÏêϸÃèÊö: Ïû·ÑVIPÖØÖà  
 | 
#  
 | 
#---------------------------------------------------------------------  
 | 
#"""Version = 2015-08-07 20:00"""  
 | 
#---------------------------------------------------------------------  
 | 
import ChConfig  
 | 
import PlayerCostVIP  
 | 
import PlayerControl  
 | 
import GameWorld  
 | 
  
 | 
  
 | 
## Â߼ʵÏÖ  
 | 
#  @param curPlayer  
 | 
#  @param cmdList ²ÎÊýÁÐ±í  
 | 
#  @return None  
 | 
def OnExec(curPlayer, cmdList):  
 | 
    curPlayer.SetVIPLv(0)  
 | 
    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CostVIPExp, 0)  
 | 
    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CostVIPLVReward, 0)  
 | 
    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CostVIPBuyItem, 0)  
 | 
      
 | 
    PlayerCostVIP.Sync_CostVIPInfo(curPlayer)  
 | 
    PlayerCostVIP.Sync_CostVIPAwardState(curPlayer)  
 | 
    GameWorld.DebugAnswer(curPlayer, 'ClearCostVIP OK!')  
 | 
    return  
 |