forked from endernon/PGRData
17 lines
460 B
Lua
17 lines
460 B
Lua
|
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
|