hxp
2024-11-25 878fef04122d1feaa0f42c429f364659931bc379
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
#!/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