| | |
| | | # @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
|