#!/usr/bin/python  
 | 
# -*- coding: GBK -*-  
 | 
#-------------------------------------------------------------------------------  
 | 
#  
 | 
#-------------------------------------------------------------------------------  
 | 
#  
 | 
##@package GY_Query_CheckInviteCode  
 | 
#  
 | 
# @todo: ¼ì²éÑûÇëÂë  
 | 
# @author Alee  
 | 
# @date 2011-07-22 17:00  
 | 
# @version 1.1  
 | 
#  
 | 
# ÏêϸÃèÊö:  
 | 
# @change: "2011-07-26 15:30" Alee ÐÞ¸´ÔÚMapServerºÍGameServer½»»¥ÆÚ¼ä»áÁìÈ¡¶à·ÝÀñÎï  
 | 
#------------------------------------------------------------------------------   
 | 
"""Version = 2011-07-26 15:30"""  
 | 
#---------------------------------------------------------------------  
 | 
#µ¼Èë  
 | 
import PlayerControl  
 | 
import ChConfig  
 | 
#---------------------------------------------------------------------  
 | 
#È«¾Ö±äÁ¿  
 | 
#---------------------------------------------------------------------  
 | 
  
 | 
#---------------------------------------------------------------------  
 | 
  
 | 
## ÇëÇóÂß¼  
 | 
#  @param query_Type ÇëÇóÀàÐÍ  
 | 
#  @param query_ID ÇëÇóµÄÍæ¼ÒID  
 | 
#  @param packCMDList ·¢°üÃüÁî [µÈ¼¶]  
 | 
#  @param tick µ±Ç°Ê±¼ä  
 | 
#  @return None  
 | 
def DoLogic(query_Type, query_ID, packCMDList, tick):  
 | 
    return ''  
 | 
#---------------------------------------------------------------------  
 | 
  
 | 
## Ö´Ðнá¹û  
 | 
#  @param curPlayer ·¢³öÇëÇóµÄÍæ¼Ò  
 | 
#  @param callFunName ¹¦ÄÜÃû³Æ  
 | 
#  @param funResult ²éѯµÄ½á¹û  
 | 
#  @param tick µ±Ç°Ê±¼ä  
 | 
#  @return None  
 | 
#  @remarks º¯ÊýÏêϸ˵Ã÷.  
 | 
def DoResult(curPlayer, callFunName, funResult, tick):  
 | 
  
 | 
    if funResult == '0':  
 | 
        #Èç¹ûÑûÇëÂëʧ°ÜÔò»Ö¸´·¢ËÍȨÏÞ  
 | 
        curPlayer.SetDict(ChConfig.Def_Player_NoSave_Dict_SendInviteCode, 0)  
 | 
        #´íÎóÑûÇëÂë  
 | 
        PlayerControl.NotifyCode(curPlayer, "GeRen_lhs_955456")  
 | 
        return  
 | 
      
 | 
    curPlayer.Sync_PlayerBeRecalledInfo(0)  
 | 
    #ÉèÖÃÒÑ·¢ËÍ  
 | 
    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_CheckInviteCode, 1)  
 | 
    return  
 | 
  
 |