聊天关卡限制
parent
8033d7f27d
commit
41b9a2b970
|
@ -218,20 +218,20 @@ function this.OnTabChange(index, lastIndex)
|
|||
LogError("VipManager.GetChargedNum()=="..VipManager.GetChargedNum())
|
||||
--ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.CHAT)
|
||||
--xiao7 渠道
|
||||
if VipManager.GetChargedNum()>=10000 and chanel and (chanel=="ZZXX" or chanel=="ZZXXXQ" )or FightPointPassManager.IsFightPointPass(15151) then
|
||||
if VipManager.GetChargedNum()>=0 and chanel and (chanel=="ZZXX" or chanel=="ZZXXXQ" )and FightPointPassManager.IsFightPointPass(15151) then
|
||||
this.input:SetActive(true)
|
||||
this.noInputTip:SetActive(false)
|
||||
--其他渠道及本地
|
||||
elseif VipManager.GetChargedNum()>=10000 or FightPointPassManager.IsFightPointPass(15151) then
|
||||
elseif VipManager.GetChargedNum()>=0 and FightPointPassManager.IsFightPointPass(15151) then
|
||||
this.input:SetActive(true)
|
||||
this.noInputTip:SetActive(false)
|
||||
else
|
||||
this.input:SetActive(false)
|
||||
this.noInputTip:SetActive(true)
|
||||
if chanel and (chanel=="ZZXX" or chanel=="ZZXXXQ" )then
|
||||
this.noInputTip:GetComponent("Text").text = "累计真实充值100元 或 通关15-15副本才可发言"
|
||||
this.noInputTip:GetComponent("Text").text = "通关15-15副本才可发言"
|
||||
else
|
||||
this.noInputTip:GetComponent("Text").text = "累计真实充值100元 或 通关15-15副本才可发言"
|
||||
this.noInputTip:GetComponent("Text").text = "通关15-15副本才可发言"
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue