聊天发言限制修改

dev_fengTi_And
wangzhenxing 2023-07-31 14:50:23 +08:00
parent 5edb051da9
commit b3d94c4dc9
1 changed files with 2 additions and 2 deletions

View File

@ -215,13 +215,13 @@ function this.OnTabChange(index, lastIndex)
local mission=ActivityGiftManager.GetActivityInfo(ActivityTypeDef.shuaChongTeQuan,2202)
local state=mission.state
LogError("VipManager.GetChargedNum()=="..VipManager.GetChargedNum())
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.CHAT) and VipManager.GetChargedNum()>=10000 then
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.CHAT) and VipManager.GetChargedNum()>=600 then
this.input:SetActive(true)
this.noInputTip:SetActive(false)
else
this.input:SetActive(false)
this.noInputTip:SetActive(true)
this.noInputTip:GetComponent("Text").text = "等级达到20级且折扣后真实充值达到100元才可发言"
this.noInputTip:GetComponent("Text").text = "等级达到20级且折扣后真实充值达到6元才可发言"
end
elseif this._CurChannel == CHAT_CHANNEL.FRIEND or this._CurChannel == CHAT_CHANNEL.SYSTEM then
this.input:SetActive(false)