PGRData/Script/matrix/xredpoint/xredpointconditions/XRedPointConditionTurntableReward.lua
2024-09-01 22:49:41 +02:00

19 lines
No EOL
539 B
Lua

-- 存在可领取的累积奖励
local XRedPointConditionTurntableReward = {}
local Events = nil
function XRedPointConditionTurntableReward.GetSubEvents()
Events = Events or
{
XRedPointEventElement.New(XEventId.EVENT_TURNTABLE_PROGRESS_REWARD),
}
return Events
end
function XRedPointConditionTurntableReward.Check()
---@type XTurntableAgency
local agency = XMVCA:GetAgency(ModuleId.XTurntable)
return agency:IsProgressRewardGain()
end
return XRedPointConditionTurntableReward