系统消息新类型添加标签

dev_chengFeng
jiaoyangna 2021-03-11 17:06:08 +08:00
parent aa13c8ebab
commit e177f63787
3 changed files with 14 additions and 11 deletions

View File

@ -20,7 +20,8 @@ local _CHANNEL = {
this.SYS_MSG_TYPE = { this.SYS_MSG_TYPE = {
[0] = {name = Language[10350]}, [0] = {name = Language[10350]},
[1] = {name = Language[10351]}, [1] = {name = Language[10351]},
[2] = {name = Language[10352]} [2] = {name = Language[10352]},
[9] = {name = Language[10352]}
} }
-- 聊天中要显示时间的时间间隔(毫秒) -- 聊天中要显示时间的时间间隔(毫秒)

View File

@ -141,21 +141,13 @@ function RewardItemPopup:OnOpen(...)
if args[4] then if args[4] then
compShowType = args[4] compShowType = args[4] or 0
end end
if args[7] then if args[7] then
showHero = false showHero = false
else else
showHero = true showHero = true
end end
if compShowType == CompShowType.fourElement then
this.ScrollView.gameObject:SetActive(false)
this.dropPrefab.gameObject:SetActive(false)
this.ScrollView2.gameObject:SetActive(false)
this.shenying.gameObject:SetActive(true)
this.ShengYingShow(args[8])
return
end
this.shenying.gameObject:SetActive(false) this.shenying.gameObject:SetActive(false)
local haveRecord = BattleRecordManager.isHaveRecord() local haveRecord = BattleRecordManager.isHaveRecord()
this.btnResult:SetActive(haveRecord and args[5]) this.btnResult:SetActive(haveRecord and args[5])
@ -186,6 +178,15 @@ function RewardItemPopup:OnOpen(...)
if compShowType == 6 then if compShowType == 6 then
this.GuildTranscriptShow() this.GuildTranscriptShow()
end end
if compShowType == CompShowType.fourElement then
this.ScrollView.gameObject:SetActive(false)
this.dropPrefab.gameObject:SetActive(false)
this.ScrollView2.gameObject:SetActive(false)
this.shenying.gameObject:SetActive(true)
this.ShengYingShow(args[8])
return
end
local starItemDataList=BagManager.GetItemListFromTempBag(drop) local starItemDataList=BagManager.GetItemListFromTempBag(drop)
-- LogError("获取宝物的数量:".. LengthOfTable(starItemDataList)) -- LogError("获取宝物的数量:".. LengthOfTable(starItemDataList))
--做装备叠加特殊组拼数据 --做装备叠加特殊组拼数据

View File

@ -3,7 +3,8 @@
local SYS_MSG_TYPE = { local SYS_MSG_TYPE = {
[0] = {name = Language[10350]}, [0] = {name = Language[10350]},
[1] = {name = Language[10351]}, [1] = {name = Language[10351]},
[2] = {name = Language[10352]} [2] = {name = Language[10352]},
[9] = {name = Language[10352]}
} }
local VIEW_TYPE = { local VIEW_TYPE = {