hxp
2019-09-20 67bcc2ab06912fc3d9cf31ceae533da76e50d5ae
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
#!/usr/bin/python
# -*- coding: GBK -*-
#---------------------------------------------------------------------
#
#---------------------------------------------------------------------
##@package CloseFB
# @todo: ¹Ø±Õ¸±±¾
#
# @author: wdb
# @date 2013-07-08
# @version 1.0
#
# @note: 
#---------------------------------------------------------------------
"""Version = 2013-07-08 14:00"""
#---------------------------------------------------------------------
import GameWorld
#---------------------------------------------------------------------
 
 
## Ö´ÐÐÂß¼­
#  @param curPlayer µ±Ç°Íæ¼Ò
#  @param gmList []
#  @return None
def OnExec(curPlayer, gmList):
    
    if len(gmList) < 1:
        GameWorld.DebugAnswer(curPlayer, "require map id")
        return
    
    mapID = GameWorld.ToIntDef(gmList[0])
    playerManager = GameWorld.GetPlayerManager()
    
    playerManager.MapServer_QueryPlayer(curPlayer.GetPlayerID(), 0, 0, mapID, 
                                        "GMCloseFB", "", 0, curPlayer.GetRouteServerIndex())
    
    return