PGRData/Resources/Scripts/XRedPoint/XRedPointConditions/XRedPointConditionArenaApply.lua

19 lines
669 B
Lua
Raw Normal View History

2022-12-26 08:36:01 +00:00
local XRedPointConditionArenaApply = {}
local Events = nil
function XRedPointConditionArenaApply.GetSubEvents()
Events = Events or
{
XRedPointEventElement.New(XEventId.EVENT_ARENA_TEAM_CHANGE),
XRedPointEventElement.New(XEventId.EVENT_ARENA_TEAM_INITIATIVE_LEAVE),
XRedPointEventElement.New(XEventId.EVENT_ARENA_TEAM_RECEIVE_APPLY_DATA),
XRedPointEventElement.New(XEventId.EVENT_ARENA_TEAM_NEW_APPLY_ENTER),
}
return Events
end
function XRedPointConditionArenaApply.Check()
return XDataCenter.ArenaManager.CheckHaveApplyData()
end
return XRedPointConditionArenaApply