#!/usr/bin/python  
 | 
# -*- coding: GBK -*-  
 | 
#---------------------------------------------------------------------  
 | 
#  
 | 
#---------------------------------------------------------------------  
 | 
##@package GY_Query_GetPlayerExpRate  
 | 
# @todo: Êý¾Ý¿âGMÃüÁîÖ´ÐÐ->»ñÈ¡Íæ¼ÒµÄ¾Ñé±¶ÂÊ  
 | 
#  
 | 
# @author: panwei  
 | 
# @date 2011-07-13  
 | 
# @version 1.1  
 | 
#  
 | 
  
 | 
# @change: "2012-05-16 15:00" jiang C++Ð޸ĽӿÚGameServer_QueryPlayerByIDºÍGameServer_QueryPlayerResult  
 | 
#---------------------------------------------------------------------  
 | 
"""Version = 2012-05-16 15:00"""  
 | 
#---------------------------------------------------------------------  
 | 
import ChConfig  
 | 
import GameWorld  
 | 
import PlayerControl  
 | 
#---------------------------------------------------------------------  
 | 
#È«¾Ö±äÁ¿  
 | 
#---------------------------------------------------------------------  
 | 
  
 | 
#---------------------------------------------------------------------  
 | 
## ÇëÇóÂß¼  
 | 
#  @param query_Type ÇëÇóÀàÐÍ  
 | 
#  @param query_ID ÇëÇóµÄÍæ¼ÒID  
 | 
#  @param packCMDList ·¢°üÃüÁî [Êý¾Ý¿âGM²Ù×÷Ë÷Òý]  
 | 
#  @param tick µ±Ç°Ê±¼ä  
 | 
#  @return None or ""  
 | 
#  @remarks º¯ÊýÏêϸ˵Ã÷.  
 | 
def DoLogic(query_Type, query_ID, packCMDList, tick):  
 | 
    curFindPlayer = GameWorld.GetPlayerManager().FindPlayerByID(query_ID)  
 | 
      
 | 
    if not curFindPlayer or curFindPlayer.IsEmpty():  
 | 
        return ''  
 | 
      
 | 
    gmOperIndex = packCMDList[0]  
 | 
  
 | 
    sendMsg = '%s'%(PlayerControl.GetPlayerExpRate(curFindPlayer))  
 | 
          
 | 
    #·¢Ëͽá¹ûµ½GameServer  
 | 
    curFindPlayer.GameServer_QueryPlayerByID(ChConfig.queryType_sqtDataServer_GMCommand, gmOperIndex,   
 | 
                                    'GetPlayerExpRate', sendMsg, len(sendMsg))  
 | 
    return  
 | 
#---------------------------------------------------------------------  
 | 
## Ö´Ðнá¹û  
 | 
#  @param curPlayer ·¢³öÇëÇóµÄÍæ¼Ò  
 | 
#  @param callFunName ¹¦ÄÜÃû³Æ  
 | 
#  @param funResult ²éѯµÄ½á¹û  
 | 
#  @param tick µ±Ç°Ê±¼ä  
 | 
#  @return None  
 | 
#  @remarks º¯ÊýÏêϸ˵Ã÷.  
 | 
def DoResult(curPlayer, callFunName, funResult, tick):  
 | 
    return  
 |