#!/usr/bin/python # -*- coding: GBK -*- ##@package TrackPrivateTalk # ×·×ÙÃØÆµ # # @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 , 1) GMCommon.Send_DataServer_GMCommandResult(cmdIndex, ChConfig.Def_GMTool_Succeed) return