#!/usr/bin/python  
 | 
# -*- coding: GBK -*-  
 | 
#---------------------------------------------------------------------  
 | 
#  
 | 
#---------------------------------------------------------------------  
 | 
##@package GY_Query_GMOpenFBEx.py  
 | 
# @todo: ¿ªÆô¸±±¾  
 | 
#  
 | 
# @author: wdb  
 | 
# @date 2013-07-08  
 | 
# @version 1.0  
 | 
#  
 | 
# @note:   
 | 
#---------------------------------------------------------------------  
 | 
"""Version = 2013-07-08 14:00"""  
 | 
#---------------------------------------------------------------------  
 | 
import IPY_GameWorld  
 | 
import GameWorld  
 | 
#---------------------------------------------------------------------  
 | 
  
 | 
## ÇëÇóÂß¼  
 | 
#  @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.fbosClosed \  
 | 
        or GameWorld.GetGameWorld().GetFBFirstOpen():  
 | 
            continue  
 | 
              
 | 
        GameWorld.GetGameWorld().SetFBFirstOpen(1)  
 | 
          
 | 
    #ÉèÖõ±Ç°µÄÊÀ½ç  
 | 
    GameWorld.GetGameWorld().SetCurGameWorldIndex(-1)  
 | 
  
 | 
    return  
 | 
  
 | 
                 
 | 
## Ö´Ðнá¹û  
 | 
#  @param curPlayer ·¢³öÇëÇóµÄÍæ¼Ò  
 | 
#  @param callFunName ¹¦ÄÜÃû³Æ  
 | 
#  @param funResult ²éѯµÄ½á¹û  
 | 
#  @param tick µ±Ç°Ê±¼ä  
 | 
#  @return None  
 | 
def DoResult(curPlayer, callFunName, funResult, tick):  
 | 
    return  
 | 
      
 |