寻宝任务红点修改
parent
02838f0801
commit
ea1052a841
|
@ -44,9 +44,9 @@ function this.RefreshFindTreasureRedPoint()
|
||||||
if BagManager.GetItemCountById(FindTreasureManager.materialItemId) >= mazeTreasureMax then
|
if BagManager.GetItemCountById(FindTreasureManager.materialItemId) >= mazeTreasureMax then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
if this.GetShowFindTreasureVipRedPoint() then
|
-- if this.GetShowFindTreasureVipRedPoint() then
|
||||||
return true
|
-- return true
|
||||||
end
|
-- end
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
function this.SetShowFindTreasureVipRedPoint(isShow)
|
function this.SetShowFindTreasureVipRedPoint(isShow)
|
||||||
|
@ -55,6 +55,7 @@ function this.SetShowFindTreasureVipRedPoint(isShow)
|
||||||
CheckRedPointStatus(RedPointType.SecretTer_FindTreasure)
|
CheckRedPointStatus(RedPointType.SecretTer_FindTreasure)
|
||||||
end
|
end
|
||||||
function this.GetShowFindTreasureVipRedPoint()
|
function this.GetShowFindTreasureVipRedPoint()
|
||||||
|
|
||||||
if this.isShowFindTreasureVipRedPoint then
|
if this.isShowFindTreasureVipRedPoint then
|
||||||
local gaoState = PrivilegeManager.GetPrivilegeOpenStatus(PRIVILEGE_TYPE.GoFindTreasure)
|
local gaoState = PrivilegeManager.GetPrivilegeOpenStatus(PRIVILEGE_TYPE.GoFindTreasure)
|
||||||
local haoState = PrivilegeManager.GetPrivilegeOpenStatus(PRIVILEGE_TYPE.HaoFindTreasure)
|
local haoState = PrivilegeManager.GetPrivilegeOpenStatus(PRIVILEGE_TYPE.HaoFindTreasure)
|
||||||
|
|
Loading…
Reference in New Issue