#!/usr/bin/python  
 | 
# -*- coding: GBK -*-  
 | 
  
 | 
##@package PursuePlayerTalk  
 | 
# ×·×ÙÍæ¼ÒÁÄÌì  
 | 
#  
 | 
# @author mark  
 | 
# @date 2010-3-31  
 | 
# @version 1.1  
 | 
#  
 | 
# ÐÞ¸Äʱ¼ä ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ  
 | 
# @change: "2010-12-22 18:00" Alee ÐÞ¸Ä֪ͨ×Öµä  
 | 
#  
 | 
# ÏêϸÃèÊö: ×·×ÙÍæ¼ÒÁÄÌì  
 | 
#---------------------------------------------------------------------  
 | 
"""Version = 2010-12-22 18:00"""  
 | 
#µ¼Èë  
 | 
import GameWorld  
 | 
import ChConfig  
 | 
import GMCommon  
 | 
import ShareDefine  
 | 
#---------------------------------------------------------------------  
 | 
#È«¾Ö±äÁ¿  
 | 
#---------------------------------------------------------------------  
 | 
  
 | 
#---------------------------------------------------------------------  
 | 
#Â߼ʵÏÖ  
 | 
## Ö´ÐÐÂß¼  
 | 
#  @param curPlayer µ±Ç°Íæ¼Ò  
 | 
#  @param gmList [cmdIndex]  
 | 
#  @return None  
 | 
#  @remarks º¯ÊýÏêϸ˵Ã÷.  
 | 
def OnExec(curPlayer, gmList):  
 | 
    cmdIndex = gmList[0]  
 | 
    #¿ªÆô×·×Ù  
 | 
    pursueOpen = 1  
 | 
      
 | 
    GameWorld.GetGameWorld().SetDict(ShareDefine.Def_Notify_WorldKey_PurTalk, pursueOpen)  
 | 
      
 | 
    #¹ã²¥ËùÓеØÍ¼  
 | 
    GameWorld.SendMapServerMsgEx(ShareDefine.Def_Notify_WorldKey_PurTalk, pursueOpen)  
 | 
      
 | 
    #Ö´Ðгɹ¦  
 | 
    GMCommon.Send_DataServer_GMCommandResult(cmdIndex, ChConfig.Def_GMTool_Succeed)  
 | 
    return  
 |