#!/usr/bin/python # -*- coding: GBK -*- #------------------------------------------------------------------------------- # ##@package Player.RemoteQuery.GY_Query_OpenServerCampaignAward # # @todo:¿ª·þ»î¶¯½±Àø # @author hxp # @date 2018-03-06 # @version 1.0 # # ÏêϸÃèÊö: ¿ª·þ»î¶¯½±Àø # #------------------------------------------------------------------------------- #"""Version = 2018-03-06 11:00""" #------------------------------------------------------------------------------- import OpenServerCampaign import GameWorld import ChConfig ## ÇëÇóÂß¼­ # @param query_Type ÇëÇóÀàÐÍ # @param query_ID ÇëÇóµÄÍæ¼ÒID # @param packCMDList ·¢°üÃüÁî [ ] # @param tick µ±Ç°Ê±¼ä # @return resultDisc def DoLogic(query_Type, query_ID, packCMDList, tick): return #--------------------------------------------------------------------- ## Ö´Ðнá¹û # @param curPlayer ·¢³öÇëÇóµÄÍæ¼Ò # @param callFunName ¹¦ÄÜÃû³Æ # @param funResult ²éѯµÄ½á¹û # @param tick µ±Ç°Ê±¼ä # @return None # @remarks º¯ÊýÏêϸ˵Ã÷. def DoResult(curPlayer, callFunName, funResult, tick): curPlayer.SetDict(ChConfig.Def_PlayerKey_QueryOpenServerAwardState, 0) try: funResultList = eval(funResult) except: GameWorld.ErrLog("GY_Query_OpenServerCampaignAward %s eval Error" % funResult, curPlayer.GetPlayerID()) return GameWorld.DebugLog("GY_Query_OpenServerCampaignAward ResultList=%s" % str(funResultList), curPlayer.GetPlayerID()) if funResultList: OpenServerCampaign.DoGiveOSCBillAward(curPlayer, funResultList) return