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
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/python
# -*- coding: GBK -*-
#---------------------------------------------------------------------
#
#---------------------------------------------------------------------
##@package GY_Query_DelFamilyImpeachItem.py
# @todo: É¾³ý¼Ò×嵯ÛÀ·û
#
# @author: wdb
# @date 2012-08-07 14:00
# @version 1.0
#
# @note
#---------------------------------------------------------------------
"""Version = 2012-08-07 14:00"""
#---------------------------------------------------------------------
import GameWorld
import ItemCommon
import ChConfig 
import IPY_GameWorld
#---------------------------------------------------------------------
## Ö´Ðнá¹û
#  @param curPlayer ·¢³öÇëÇóµÄÍæ¼Ò
#  @param callFunName ¹¦ÄÜÃû³Æ
#  @param funResult ²éѯµÄ½á¹û
#  @param tick µ±Ç°Ê±¼ä
#  @return None
def DoResult(curPlayer, callFunName, funResult, tick):
#===============================================================================
#    itemPack = curPlayer.GetItemManager().GetPack(IPY_GameWorld.rptItem)
#    #ËÑË÷±³°ü²éÕÒÎïÆ·
#    for i in range(0, itemPack.GetCount()):
#        curItem = itemPack.GetAt(i)
#        if not ItemCommon.CheckItemCanUse(curItem):
#            continue
#        if curItem.GetEffectByIndex(0).GetEffectID() != ChConfig.Def_Effect_FamilyImpeach:
#            continue
#        #ÕÒµ½ÎïÆ·¿Û³ý·µ»Ø
#        ItemCommon.DelItem(curPlayer, curItem, 1, True, "DelFamilyImpeachItem")
#        return
#    GameWorld.ErrLog('GY_Query_DelFamilyImpeachItem, Item not found; playerID = %s'%(curPlayer.GetID()))
#===============================================================================
    return