forked from endernon/PGRData
11 lines
No EOL
390 B
Lua
11 lines
No EOL
390 B
Lua
local XRedPointConditionSTRolePlugin = {}
|
|
|
|
function XRedPointConditionSTRolePlugin.Check(roleId)
|
|
local superTowerManager = XDataCenter.SuperTowerManager
|
|
-- 活动没开启不处理
|
|
if superTowerManager.GetIsEnd() then return false end
|
|
return XDataCenter.SuperTowerManager.GetRoleManager()
|
|
:CheckRolePluginShowRedDot(roleId)
|
|
end
|
|
|
|
return XRedPointConditionSTRolePlugin |