hxp
2023-11-23 04c54eb9d997bc7c250c51698fa163f318fb2b7e
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py
@@ -195,7 +195,17 @@
#  @param addGold: 充元宝数
#  @return: None
def OnPlayerChargeGold(curPlayer):
    return
    
def OnGiftByCTGID(curPlayer, ctgID):
    firstGoldCTGIDList = IpyGameDataPY.GetFuncEvalCfg("FirstGold", 4)
    if ctgID in firstGoldCTGIDList:
        OnActiviteFirstGold(curPlayer)
    return
def OnActiviteFirstGold(curPlayer):
    firstGoldServerDay = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_FirstGoldServerDay)
    if not firstGoldServerDay:
        recordServerDay = GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_ServerDay) + 1