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 GM.Commands.GMT_GetCoinReq
#
# @todo:ÇëÇóµãȯ
# @author hxp
# @date 2015-5-27
# @version 1.0
#
# ÏêϸÃèÊö: ÇëÇóµãȯ
#
#---------------------------------------------------------------------
"""Version = 2015-5-27 17:30"""
#---------------------------------------------------------------------
 
#µ¼Èë
import GMCommon
import ChConfig
 
#Âß¼­ÊµÏÖ(ÕâÀïcurPlayer = None)
## Ö´ÐÐÂß¼­
#  @param curPlayer µ±Ç°Íæ¼Ò None
#  @param gmList [cmdIndex,gmAccID,forbidAccIP]
#  @return None
#  @remarks º¯ÊýÏêϸ˵Ã÷.
def OnExec(orderId, gmCmdDict): 
    playerFind = gmCmdDict.get(GMCommon.Def_GMKey_PlayerFind, '')
    queryType = gmCmdDict.get(GMCommon.Def_GMKey_QueryType, '')
        
    if queryType == 'accID': 
        #Íæ¼ÒÕË»§ []
        GMCommon.GMTool_MapServer_Query(ChConfig.queryType_sqtPlayerByAccID, orderId,
                                        playerFind, gmCmdDict, 'GetCoinReq', [orderId], False)
        return
    
    #Íæ¼ÒÃû×Ö []
    GMCommon.GMTool_MapServer_Query(ChConfig.queryType_sqtPlayerByName, orderId,
                                      playerFind, gmCmdDict, 'GetCoinReq', [orderId], False)
    return