| #!/usr/bin/python  | 
| # -*- coding: GBK -*-  | 
| #---------------------------------------------------------------------  | 
| #  | 
| #---------------------------------------------------------------------  | 
| ##@package GY_Query_GMCloseFB.py  | 
| # @todo: ¹Ø±Õ¸±±¾  | 
| #  | 
| # @author: wdb  | 
| # @date 2013-07-08  | 
| # @version 1.1  | 
| #  | 
| # @note:  | 
| # @change: "2013-11-11 13:30" hxp É¾³ýmark  | 
| #---------------------------------------------------------------------  | 
| """Version = 2013-11-11 13:30"""  | 
| #---------------------------------------------------------------------  | 
| import IPY_GameWorld  | 
| import GameWorld  | 
| import GameWorldProcess  | 
| import PlayerControl  | 
| #---------------------------------------------------------------------  | 
|   | 
| ## ÇëÇóÂß¼  | 
| #  @param query_Type ÇëÇóÀàÐÍ  | 
| #  @param query_ID ÇëÇóµÄÍæ¼ÒID  | 
| #  @param packCMDTuple ·¢°üÃüÁî  | 
| #  @param tick µ±Ç°Ê±¼ä  | 
| #  @return "True" or "False" or ""  | 
| def DoLogic(query_Type, query_ID, packCMDTuple, tick):  | 
|                       | 
|     for index in range(GameWorld.GetGameWorld().GetGameWorldCount()):  | 
|   | 
|         #ÉèÖõ±Ç°µÄÊÀ½ç  | 
|         GameWorld.GetGameWorld().SetCurGameWorldIndex(index)  | 
|           | 
|         if GameWorld.GetGameWorld().GetOpenState() != IPY_GameWorld.fbosOpen:  | 
|             continue  | 
|               | 
|         GameWorldProcess.CloseFB(tick)  | 
|           | 
|     #ÉèÖõ±Ç°µÄÊÀ½ç  | 
|     GameWorld.GetGameWorld().SetCurGameWorldIndex(-1)     | 
|   | 
|     #PlayerControl.WorldNotify(0, "GeRen_chenxin_772321")      | 
|     return  | 
|   | 
|                  | 
| ## Ö´Ðнá¹û  | 
| #  @param curPlayer ·¢³öÇëÇóµÄÍæ¼Ò  | 
| #  @param callFunName ¹¦ÄÜÃû³Æ  | 
| #  @param funResult ²éѯµÄ½á¹û  | 
| #  @param tick µ±Ç°Ê±¼ä  | 
| #  @return None  | 
| def DoResult(curPlayer, callFunName, funResult, tick):  | 
|     return  | 
|       |