PGRData/Script/matrix/xredpoint/xredpointconditions/XRedPointConditionTurntableReward.lua

19 lines
539 B
Lua
Raw Normal View History

2024-09-01 20:49:41 +00:00
-- 存在可领取的累积奖励
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