#!/usr/bin/python # -*- coding: GBK -*- ##@package GMT_GetPlayerItemInfo # GM¹¤¾ßÃüÁîÖ´ÐÐ->Íæ¼ÒÎïÆ·ÐÅÏ¢ # # @author wdb # @date 2012-06-06 12:00 # @version 1.3 # # ÐÞ¸Äʱ¼ä ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ # @change: "2012-06-14 18:00" wdb gm¹¤¾ßÔö¼Ó¹¦ÄÜ # @change: "2012-07-12 18:00" wdb ×Ö·ûת»»ÔÚÈë¿Ú´¦Àí # @change: "2012-07-30 11:30" wdb GM»Ø¸´Ï¸»¯£¬´úÂëÓÅ»¯ # Ä£¿éÏêϸ˵ #½Å±¾ËµÃ÷ #--------------------------------------------------------------------- #µ¼Èë import IPY_GameServer import GMCommon import ChConfig import GameWorld #--------------------------------------------------------------------- #È«¾Ö±äÁ¿ VER = "2012-07-30 11:30" #--------------------------------------------------------------------- #Âß¼­ÊµÏÖ(ÕâÀïcurPlayer = None) ## Ö´ÐÐÂß¼­ # @param curPlayer µ±Ç°Íæ¼Ò None # @param gmList [cmdIndex,gmAccID,forbidAccIP] # @return None # @remarks º¯ÊýÏêϸ˵Ã÷. def OnExec(orderId, gmCmdDict): playerFind = gmCmdDict.get(GMCommon.Def_GMKey_PlayerFind, '') packIndex = GameWorld.ToIntDef(gmCmdDict.get(GMCommon.Def_GMKey_PackIndex, '0'), 0) queryType = gmCmdDict.get(GMCommon.Def_GMKey_QueryType, '') if queryType == 'accID': #Íæ¼ÒÕË»§ [±³°üÀàÐÍ] GMCommon.GMTool_MapServer_Query(ChConfig.queryType_sqtPlayerByAccID, orderId, playerFind, gmCmdDict, 'PlayerItemInfo', [orderId, packIndex], False) return #Íæ¼ÒÃû×Ö [±³°üÀàÐÍ] GMCommon.GMTool_MapServer_Query(ChConfig.queryType_sqtPlayerByName, orderId, playerFind, gmCmdDict, 'PlayerItemInfo', [orderId, packIndex], False) return