xiyou_yueNanZhengshi
zhangjiannan 2024-09-24 19:03:43 +08:00
parent a998282548
commit 3d36aaf1ee
4 changed files with 6 additions and 6 deletions

View File

@ -115,7 +115,7 @@ end
function ArenaNewRankRewardPanel:OnOpen(Type, myRank, _baseData)
curRankType = Type
baseData = ArenaManager.GetArenaBaseData()
this.myInfoName.text = Language[11017] .. baseData.rankName
this.myInfoName.text = Language[11017] .. GetLanguageStrById(baseData.rankName)
RewardConfig = arenaLevel
this.tabbox:SetActive(true)
this.TabCtrl:Init(this.tabbox, _TabData)

View File

@ -44,7 +44,7 @@ for _, config in ConfigPairs(arenaRoom) do
local room = {}
room.default = "tab_img_norma"
room.select = "tab_img_select"
room.name = config.ArenaRoomName
room.name = GetLanguageStrById(config.ArenaRoomName)
room.roomId = config.Id
--room.RankingSData =rankKingList[6]
table.insert(roomList, room)

View File

@ -188,7 +188,7 @@ function this.TabAdapter(tab, index, status)
local tabLab = Util.GetGameObject(tab, "Text")
Util.GetGameObject(tab, "Image"):GetComponent("Image").sprite = this.spLoader:LoadSprite(_TabData[TabDataIndex]
[index][status])
tabLab:GetComponent("Text").text = _TabData[TabDataIndex][index].name
tabLab:GetComponent("Text").text = GetLanguageStrById(_TabData[TabDataIndex][index].name)
tabLab:GetComponent("Text").color = _TabFontColor[status]
end
@ -671,7 +671,7 @@ function this.SetInfoShow(go, data, rankType, Value0)
end
LogError("data.crossScore==" .. data.rankInfo.param2)
if arenaLevel[data.rankInfo.param2] then
rankName.text = arenaLevel[data.rankInfo.param2].ArenaLevelName
rankName.text = GetLanguageStrById(arenaLevel[data.rankInfo.param2].ArenaLevelName)
else
rankName.text = ""
end

View File

@ -231,7 +231,7 @@ function this.SetStarShow(grade, layer)
titleLive.transform.localPosition = Vector3.New(0, -600, 0)
titleLive.transform.localScale = Vector3.New(1, 1, 1)
SetParticleSortLayer(titleLive, layer)
this.rankName.text = rankData.RankName
this.rankName.text = GetLanguageStrById(rankData.RankName)
--this.RefreshEnemyData()
this.ShowRewardBoxProgressData()
end
@ -314,7 +314,7 @@ function this:RefreshEnemyData(team)
local rankImg = Util.GetGameObject(node, "rankImg"):GetComponent("Image")
local rankId = WorldArenaManager.GetRankImgByScore(EnemyList[i].score)
rankImg.sprite = this.spLoader:LoadSprite("y_yuxulundao_xiaobiao_0" .. rankId)
local name = EnemyList[i].servername .. " " .. EnemyList[i].name
local name = EnemyList[i].servername .. " " .. GetLanguageStrById(EnemyList[i].name)
lv_name.text = PracticeManager.SetNameColor(JingJiShouWeiToEn(name), EnemyList[i].practiceLevel)
integral:GetComponent("Text").text = Language[10085] .. EnemyList[i].score
power:GetComponent("Text").text = Language[10114] .. EnemyList[i].totalForce