Hotfix - 1.4.0.74

EN: 1.4.0.74
CN: 1.4.0.75
JP: 1.4.0.78
KR: 1.4.0.81
This commit is contained in:
SL1900
2025-12-26 17:30:00 +09:00
parent 35c8d87e86
commit 1714dcc21d
48 changed files with 1162 additions and 1118 deletions
@@ -21,14 +21,22 @@ function DatingCharItemCtrl:SetDatingCharItem(nCharId)
if mapSkin ~= nil then
self:SetPngSprite(self._mapNode.imgHeadIcon, mapSkin.Icon, AllEnum.CharHeadIconSurfix.S)
end
NovaAPI.SetTMPText(self._mapNode.txtCharName[1], mapCharacter.Name)
NovaAPI.SetTMPText(self._mapNode.txtCharName[2], mapCharacter.Name)
local sName = self:_temp_proc_name(mapCharacter.Name)
NovaAPI.SetTMPText(self._mapNode.txtCharName[1], sName)
NovaAPI.SetTMPText(self._mapNode.txtCharName[2], sName)
end
self:SetSelect(false)
self:RegisterRedDot()
local bDating = PlayerData.Dating:CheckDating(self.nCharId)
self._mapNode.imgDating.gameObject:SetActive(bDating)
end
function DatingCharItemCtrl:_temp_proc_name(sName)
local _sName = string.gsub(sName, "%(", [[
(]])
local _sName = string.gsub(_sName, "", "\n")
return _sName
end
function DatingCharItemCtrl:RegisterRedDot()
RedDotManager.RegisterNode(RedDotDefine.Phone_Dating_Char, self.nCharId, self._mapNode.redDotDatingItem)
end