Update - 2.1.0.147

EN: 2.1.0.147
CN: 2.1.0.147
JP: 2.1.0.149
KR: 2.1.0.154
This commit is contained in:
SL1900
2026-11-13 12:00:00 +09:00
parent c84dd6f891
commit da1d2be9fc
822 changed files with 1752348 additions and 1554 deletions
@@ -235,6 +235,12 @@ end
function BdConvertBuildCtrl:SortBuildData()
if self.nSortype == SortType.Time then
local sortByTime = function(a, b)
if a.bDislike ~= b.bDislike then
return a.bDislike
end
if a.bPreference ~= b.bPreference then
return b.bPreference
end
if self.nSortOrder == SortOrder.Descending then
return a.nBuildId > b.nBuildId
else
@@ -244,6 +250,12 @@ function BdConvertBuildCtrl:SortBuildData()
table.sort(self._tbAllBuild, sortByTime)
else
local sortByScore = function(a, b)
if a.bDislike ~= b.bDislike then
return a.bDislike
end
if a.bPreference ~= b.bPreference then
return b.bPreference
end
if self.nSortOrder == SortOrder.Descending then
if a.nScore ~= b.nScore then
return a.nScore > b.nScore
@@ -15,6 +15,7 @@ BdConvertBuildItemCtrl._mapNodeConfig = {
sComponentName = "UIButton",
callback = "OnBtnClick_Lock"
},
imgDiscard = {},
imgRareFrame = {sComponentName = "Image"},
imgRareScore = {sComponentName = "Image"},
txtBuildName = {sComponentName = "TMP_Text"},
@@ -91,7 +92,9 @@ function BdConvertBuildItemCtrl:RefreshInfo()
NovaAPI.SetTMPText(self._mapNode.txtBuildName, self._mapData.sName)
end
self._mapNode.imgLike:SetActive(self._mapData.bPreference)
self._mapNode.imgDiscard:SetActive(self._mapData.bDislike)
self._mapNode.btn_LockIcon.interactable = self._mapData.bLock
self._mapNode.btn_Lock.gameObject:SetActive(not self._mapData.bDislike)
end
function BdConvertBuildItemCtrl:RefreshChar()
for i = 1, 3 do