#!/usr/bin/python
|
# -*- coding: GBK -*-
|
#-------------------------------------------------------------------------------
|
#
|
##@package Player.RemoteQuery.GY_Query_GetCoinReqs
|
#
|
# @todo:ÇëÇóµãȯ
|
# @author hxp
|
# @date 2025-02-11
|
# @version 1.0
|
#
|
# ÏêϸÃèÊö: ÇëÇóµãȯ
|
#
|
#-------------------------------------------------------------------------------
|
#"""Version = 2025-02-11 04:30"""
|
#-------------------------------------------------------------------------------
|
|
import GameWorld
|
|
## ÇëÇóÂß¼
|
# @param query_Type ÇëÇóÀàÐÍ
|
# @param query_ID ÇëÇóµÄÍæ¼ÒID
|
# @param packCMDList ·¢°üÃüÁî [ ]
|
# @param tick µ±Ç°Ê±¼ä
|
# @return resultDisc
|
# @remarks º¯ÊýÏêϸ˵Ã÷.
|
def DoLogic(query_Type, query_ID, packCMDList, tick):
|
curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(query_ID)
|
|
if not curPlayer or curPlayer.IsEmpty():
|
return ''
|
|
if not curPlayer.GetMapLoadOK():
|
return ''
|
|
#²éѯµ±Ç°Íæ¼ÒµãȯÊýÄ¿
|
curPlayer.SendDBQueryRecharge()
|
GameWorld.DebugLog("GY_Query_GetCoinReqs %s" % query_ID, curPlayer.GetPlayerID())
|
return ''
|
|
|
|
|
|