| #!/usr/bin/python  | 
| # -*- coding: GBK -*-  | 
| #-------------------------------------------------------------------------------  | 
| #  | 
| ##@package GM.Commands.ClearFamilyStore  | 
| #  | 
| # @todo:Çå³ý¼Ò×å²Ö¿â  | 
| # @author hxp  | 
| # @date 2017-09-09  | 
| # @version 1.0  | 
| #  | 
| # ÏêϸÃèÊö: Çå³ý¼Ò×å²Ö¿â  | 
| #  | 
| #-------------------------------------------------------------------------------  | 
| #"""Version = 2017-09-09 18:30"""  | 
| #-------------------------------------------------------------------------------  | 
|   | 
| import GameWorld  | 
| import PyDataManager  | 
|   | 
| #---------------------------------------------------------------------  | 
| ## Ö´ÐÐÂß¼  | 
| #  @param curPlayer µ±Ç°Íæ¼Ò  | 
| #  @param cmdList ²ÎÊýÁÐ±í  | 
| #  @return None  | 
| #  @remarks º¯ÊýÏêϸ˵Ã÷.  | 
| def OnExec(curPlayer, cmdList):  | 
|       | 
|     familyID = curPlayer.GetFamilyID()  | 
|     if not familyID:  | 
|         GameWorld.DebugAnswer(curPlayer, 'ûÓмÒ×壬²»ÄÜÇåÀí¼Ò×å²Ö¿â£¡')  | 
|         return  | 
|     delCount = PyDataManager.GetFamilyStoreItemManager().DelFamilyStoreItemAll(familyID)  | 
|     if delCount != None:  | 
|         GameWorld.DebugAnswer(curPlayer, 'ɾ³ý²Ö¿âÎïÆ·Êý: %s' % delCount)  | 
|     return  | 
|      |