#!/usr/bin/python # -*- coding: GBK -*- #--------------------------------------------------------------------- # #--------------------------------------------------------------------- ##@package GY_Query_ForbiddenFamilyAction.py # @todo: Íæ¼Ò²»ÄܲμӼÒ×å»î¶¯ # # @author: wdb # @date 2012-08-07 14:00 # @version 1.0 # # @note #--------------------------------------------------------------------- """Version = 2012-08-07 14:00""" #--------------------------------------------------------------------- import GameWorld import PlayerFamily #--------------------------------------------------------------------- ## Ö´Ðнá¹û # @param curPlayer ·¢³öÇëÇóµÄÍæ¼Ò # @param callFunName ¹¦ÄÜÃû³Æ # @param funResult ²éѯµÄ½á¹û # @param tick µ±Ç°Ê±¼ä # @return None def DoResult(curPlayer, callFunName, funResult, tick): forbidFamilyAction = GameWorld.ToIntDef(funResult) # ÉèÖÃÍæ¼ÒÊÇ·ñ¿ÉÒԲμӼÒ×å»î¶¯ PlayerFamily.SetForbidFamilyAction(curPlayer, forbidFamilyAction) return