PGRData/Resources/Scripts/XRedPoint/XRedPointConditions/XRedPointConditionArenaApply.lua
2022-12-26 14:06:01 +05:30

19 lines
No EOL
669 B
Lua

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