hch
2019-01-23 960e7c59624a78669b5f2e741a83466202af3131
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
#!/usr/bin/python
# -*- coding: GBK -*-
#
##@package
#
# @todo: ÇþµÀ²âÊÔ·µÀû - »º´æËùÓÐδÁìÈ¡Êý¾Ý
#
# @author: Alee
# @date 2019-1-23 ÏÂÎç02:06:50
# @version 1.0
#
# @note: 
#
#---------------------------------------------------------------------
#µ¼Èë
import GMCommon
import ChConfig
import GameWorld
import GMShell
import PyGameData
#---------------------------------------------------------------------
 
 
 
## Ö´ÐÐÂß¼­
#  @param curPlayer µ±Ç°Íæ¼Ò
#  @param gmCmdDict: ÃüÁî×Öµä
#  @return None
#  @remarks º¯ÊýÏêϸ˵Ã÷.
def OnExec(orderId, gmCmdDict):
    billInfo = gmCmdDict.get('tomap', '')
    if not billInfo:
        GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_ParamErr)
        return
 
    msgInfo = str([billInfo]) 
    GameWorld.DebugLog("GMT_AllDoubleBill : %s"%msgInfo)
    GameWorld.GetPlayerManager().MapServer_QueryPlayer(0, 0, 0, 10010, "AllDoubleBill", msgInfo, len(msgInfo))
    GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_Success)
    return