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

17 lines
No EOL
447 B
Lua

local XRedPointConditionItemCollectionEntrance = {}
local SubEvents
function XRedPointConditionItemCollectionEntrance:GetSubEvents()
SubEvents = SubEvents or {
XRedPointEventElement.New(XEventId.EVENT_ITEM_COLLECT_STATE_CHANGE)
}
return SubEvents
end
function XRedPointConditionItemCollectionEntrance.Check()
return XDataCenter.ItemManager.CheckHasNewColletId()
end
return XRedPointConditionItemCollectionEntrance