| #!/usr/bin/python  | 
| # -*- coding: GBK -*-  | 
| #-------------------------------------------------------------------------------  | 
| #  | 
| ##@package GM.Commands.FBAction  | 
| #  | 
| # @todo:Ö´Ðи±±¾ÐÐΪ  | 
| # @author hxp  | 
| # @date 2017-12-14  | 
| # @version 1.0  | 
| #  | 
| # ÏêϸÃèÊö: Ö´Ðи±±¾ÐÐΪ  | 
| #  | 
| #-------------------------------------------------------------------------------  | 
| #"""Version = 2017-12-14 11:00"""  | 
| #-------------------------------------------------------------------------------  | 
|   | 
| import GameWorld  | 
| import FBLogic  | 
|   | 
|   | 
| ## GMÃüÁîÖ´ÐÐÈë¿Ú  | 
| #  @param curPlayer µ±Ç°Íæ¼Ò  | 
| #  @param paramList ²ÎÊýÁбí []  | 
| #  @return None  | 
| #  @remarks º¯ÊýÏêϸ˵Ã÷.  | 
| def OnExec(curPlayer, paramList):  | 
|       | 
|     if not paramList or len(paramList) != 2:  | 
|         GameWorld.DebugAnswer(curPlayer, "FBAction ÀàÐÍ Öµ")  | 
|         return  | 
|     actionType, actionInfo = paramList  | 
|     tick = GameWorld.GetGameWorld().GetTick()  | 
|     FBLogic.DoFBAction(curPlayer, actionType, actionInfo, tick)  | 
|     return  | 
|   |