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

17 lines
460 B
Lua
Raw Normal View History

local XRedPointConditionArchiveCGRed = {}
local Events = nil
function XRedPointConditionArchiveCGRed.GetSubEvents()
Events = Events or
{
XRedPointEventElement.New(XEventId.EVENET_ARCHIVE_MARK_CG),
XRedPointEventElement.New(XEventId.EVENET_ARCHIVE_NEW_CG),
}
return Events
end
function XRedPointConditionArchiveCGRed.Check(id)
return XDataCenter.ArchiveManager.CheckCGRedPoint(id)
end
return XRedPointConditionArchiveCGRed