1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/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