聊天去掉gm礼包限制
parent
7d20a309a4
commit
8a4a28a635
|
|
@ -214,13 +214,13 @@ function this.OnTabChange(index, lastIndex)
|
|||
if this._CurChannel == CHAT_CHANNEL.FAMILY or this._CurChannel == CHAT_CHANNEL.GLOBAL or this._CurChannel == CHAT_CHANNEL.JUMP_SERVER then
|
||||
local mission=ActivityGiftManager.GetActivityInfo(ActivityTypeDef.shuaChongTeQuan,2202)
|
||||
local state=mission.state
|
||||
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.CHAT) and state>0 then
|
||||
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.CHAT) then
|
||||
this.input:SetActive(true)
|
||||
this.noInputTip:SetActive(false)
|
||||
else
|
||||
this.input:SetActive(false)
|
||||
this.noInputTip:SetActive(true)
|
||||
this.noInputTip:GetComponent("Text").text = "等级达到20级且开通超级GM特权才可发言"
|
||||
this.noInputTip:GetComponent("Text").text = "等级达到20级才可发言"
|
||||
end
|
||||
elseif this._CurChannel == CHAT_CHANNEL.FRIEND or this._CurChannel == CHAT_CHANNEL.SYSTEM then
|
||||
this.input:SetActive(false)
|
||||
|
|
|
|||
Loading…
Reference in New Issue