引导修改提交

tcx_xiyou_dev
PC-202302260912\Administrator 2024-05-11 16:25:42 +08:00
parent 091ff94a43
commit 8d8906b93a
1 changed files with 9 additions and 1 deletions

View File

@ -61,13 +61,21 @@ function this.CheckFuncActiveByType(activeType, params)
--Log(">>>>>>功能解锁id = "..funcInfo.Id..", name = "..funcInfo.Name)
-- 未解锁,但是判断已解锁
--Game.GlobalEvent:DispatchEvent(GameEvent.FunctionCtrl.OnFunctionOpen, typeId)
table.insert(ids,typeId)
if activeType==2 then
if CheckFunctionOpen(typeId) then
--LogError("typeid====================++++++++++++++++++++++++++========="..typeId)
table.insert(ids,typeId)
end
else
table.insert(ids,typeId)
end
elseif funcData.isActive and not isActive then
--Log(">>>>>>功能关闭id = "..funcInfo.Id..", name = "..funcInfo.Name)
-- 已解锁但是判断未解锁
--Game.GlobalEvent:DispatchEvent(GameEvent.FunctionCtrl.OnFunctionClose, typeId)
if activeType==2 then
if CheckFunctionOpen(typeId) then
--LogError("typeid====================++++++++++++++++++++++++++========="..typeId)
table.insert(ids,typeId)
end
else