| #!/usr/bin/python  | 
| # -*- coding: GBK -*-  | 
| #---------------------------------------------------------------------  | 
| #  | 
| #---------------------------------------------------------------------  | 
| ##@package OpenFB  | 
| # @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,   | 
|                                         "GMOpenFBEx", "", 0, curPlayer.GetRouteServerIndex())  | 
|       | 
|     return  | 
|   | 
|   |