hxp
2019-09-20 67bcc2ab06912fc3d9cf31ceae533da76e50d5ae
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 StopTrackPrivateTalk
# Í£Ö¹×·×ÙÃØÆµ
#
# @author mark
# @date 2010-3-31
# @version 1.0
#
# ÐÞ¸Äʱ¼ä ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
# VER = "2010-05-14 9:30" zhengyang Ìí¼Ó×¢ÊÍ
#
# Ä£¿éÏêϸ˵
#½Å±¾ËµÃ÷ Í£Ö¹×·×ÙÃØÆµ
#---------------------------------------------------------------------
#µ¼Èë
import ChConfig
import GameWorld
import GMCommon
#---------------------------------------------------------------------
#È«¾Ö±äÁ¿
#---------------------------------------------------------------------
 
#---------------------------------------------------------------------
#Âß¼­ÊµÏÖ
## Ö´ÐÐÂß¼­
#  @param curPlayer µ±Ç°Íæ¼Ò
#  @param gmList [cmdIndex gmAccID find]
#  @return None
#  @remarks º¯ÊýÏêϸ˵Ã÷.
def OnExec(curPlayer, gmList):
    cmdIndex = gmList[0]
    gmAccID = gmList[1]
    find = gmList[2]
    
    tagPlayer = GameWorld.GetPlayerManager().FindPlayerByAccID(str(find))
    
    if not tagPlayer:
        GMCommon.Send_DataServer_GMCommandResult(cmdIndex, ChConfig.Def_GMTool_Fail)
        return 
    
    tagPlayer.SetDict(ChConfig.Def_PlayerKey_PrivateTalk , 0)
    GMCommon.Send_DataServer_GMCommandResult(cmdIndex, ChConfig.Def_GMTool_Succeed)
    return