| #!/usr/bin/python  | 
| # -*- coding: GBK -*-  | 
| #  | 
| #  | 
| ##@package GY_Query_ChearUpdatePlayerName.py  | 
| #  | 
| # @todo:Çå³ý¼Ç¼µÄ¸ÄÃûËø  | 
| #  | 
| # @author jiang  | 
| # @date 2013-01-25  | 
| # @version 1.2  | 
| # @note:  | 
| #  | 
| # @change: "2013-02-01 12:00" jiang Ð޸IJ»¹Ü¸ÄÃû½á¹û¶¼¿ÛÇ®bug  | 
| # @change: "2014-12-23 03:40" Alee ¸ÄÃû×ÖµäÓÃÄÚ´ækey  | 
| #------------------------------------------------------------------------------   | 
| """Version = 2014-12-23 03:40"""  | 
| #------------------------------------------------------------------------------   | 
| # µ¼Èë  | 
| import GameWorld  | 
| import ChConfig  | 
| import UpdatePlayerName  | 
| import ShareDefine  | 
| #------------------------------------------------------------------------------   | 
|   | 
| #---------------------------------------------------------------------  | 
| #Â߼ʵÏÖ  | 
| ## ÇëÇóÂß¼  | 
| #  @param query_Type ÇëÇóÀàÐÍ  | 
| #  @param query_ID ÇëÇóµÄÍæ¼ÒID  | 
| #  @param packCMDList ·¢°üÃüÁî[]  | 
| #  @param tick µ±Ç°Ê±¼ä  | 
| #  @return "True" or "False" or ""  | 
| #  @remarks º¯ÊýÏêϸ˵Ã÷.  | 
| def DoLogic(query_Type, query_ID, packCMDList, tick):  | 
|       | 
|     result = packCMDList  | 
|       | 
|     curFindPlayer = GameWorld.GetPlayerManager().FindPlayerByID(query_ID)  | 
|     if not curFindPlayer or curFindPlayer.IsEmpty():  | 
|         return  | 
|       | 
|     #¸ÄÃû³É¹¦¿Û³ý¸ÄÃûÏûºÄ  | 
|     if result == ShareDefine.Def_Rename_Result_Succeed:  | 
|         UpdatePlayerName.PayUpdatePlayerNameCost(curFindPlayer)  | 
|       | 
|     #Çå³ý¸ÄÃûËø  | 
|     curFindPlayer.SetDict(ChConfig.Def_Player_Dict_UpdatePlayerName, 0)  | 
|     return  | 
|   | 
| #---------------------------------------------------------------------  | 
| #Ö´Ðнá¹û  | 
| ## Ö´Ðнá¹û  | 
| #  @param curPlayer ·¢³öÇëÇóµÄÍæ¼Ò  | 
| #  @param callFunName ¹¦ÄÜÃû³Æ  | 
| #  @param funResult ²éѯµÄ½á¹û  | 
| #  @param tick µ±Ç°Ê±¼ä  | 
| #  @return None  | 
| #  @remarks º¯ÊýÏêϸ˵Ã÷.  | 
| def DoResult(curPlayer, callFunName, funResult, tick):  | 
|     return  |