引导修改提交
parent
091ff94a43
commit
8d8906b93a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue