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
#!/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