| | |
| | | OSCBillboardDataLimitDict = IpyGameDataPY.GetFuncEvalCfg("OSCBillboardOpen", 1)
|
| | | campTypeS = str(campaignType)
|
| | | if campTypeS not in OSCBillboardDataLimitDict:
|
| | | GameWorld.DebugLog("不存在该开服活动类型: %s" % campaignType)
|
| | | #GameWorld.DebugLog("不存在该开服活动类型: %s" % campaignType)
|
| | | return False
|
| | | limitValue = OSCBillboardDataLimitDict[campTypeS][OSC_BillLimitValue]
|
| | | endOpenServerDay = OSCBillboardDataLimitDict[campTypeS][OSC_EndDay]
|
| | |
|
| | | openServerDay = GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_ServerDay) + 1
|
| | | if openServerDay > endOpenServerDay:
|
| | | GameWorld.DebugLog("该开服活动已结束,无法上榜!campaignType=%s,openServerDay=%s > endOpenServerDay=%s" % (campaignType, openServerDay, endOpenServerDay))
|
| | | #GameWorld.DebugLog("该开服活动已结束,无法上榜!campaignType=%s,openServerDay=%s > endOpenServerDay=%s" % (campaignType, openServerDay, endOpenServerDay))
|
| | | return False
|
| | |
|
| | | if curValue != None and curValue < limitValue:
|
| | | GameWorld.DebugLog("该开服活动数值不足,无法上榜!campaignType=%s,curValue=%s < limitValue=%s" % (campaignType, curValue, limitValue))
|
| | | #GameWorld.DebugLog("该开服活动数值不足,无法上榜!campaignType=%s,curValue=%s < limitValue=%s" % (campaignType, curValue, limitValue))
|
| | | return False
|
| | | return True
|
| | |
|