Major Update - 2.0.0.143

EN: 2.0.0.143
CN: 2.0.0.142
JP: 2.0.0.145
KR: 2.0.0.150
This commit is contained in:
SL1900
2026-10-20 13:00:00 +09:00
parent 4bcada6061
commit 08b515afd9
1773 changed files with 1095195 additions and 65670 deletions
+9 -2
View File
@@ -103,7 +103,8 @@ FormationCtrl._mapEventConfig = {
[EventId.UIBackConfirm] = "OnEvent_Back",
[EventId.UIHomeConfirm] = "OnEvent_BackHome",
OnEvent_CloseTeamList = "OnEvent_CloseList",
OnEvent_ChangeTeamModel = "OnEvent_ChangeTeamModel"
OnEvent_ChangeTeamModel = "OnEvent_ChangeTeamModel",
UpdateFormationInfoSuc = "OnEvent_UpdateFormationInfoSuc"
}
function FormationCtrl:Refresh(nDirection)
NovaAPI.SetTMPText(self._mapNode.txtTeamNane, orderedFormat(ConfigTable.GetUIText("Formation_DefaultName"), self._panel.nTeamIndex))
@@ -426,7 +427,7 @@ function FormationCtrl:LoadCharacter(nCharId, bOpen)
local go = instantiate(obj, self.rtSceneOriginPos)
NovaAPI.ChangeAnimatorDefaultState(go.transform)
self.mapCurModel[idx] = {nCharId = nCharId, model = go}
NovaAPI.BindUIParallaxStageCameraControllerModel(self._mapNode.UIParallax3DStage, idx - 1, go)
NovaAPI.BindUIParallaxStageCameraControllerModel(self._mapNode.UIParallax3DStage, idx - 1, go, true)
if self.rtSceneOriginPos ~= nil then
go.transform.position = self.rtSceneOriginPos.position
go.transform.localEulerAngles = Vector3(0, 180, 0)
@@ -972,4 +973,10 @@ function FormationCtrl:OnEvent_OpenSwapChar(nIdx)
self._mapNode.SwapCharPanel:ShowSwapChar(self.curTeam, nCurSelectChar, callback)
self._mapNode.SwapBlock:SetActive(true)
end
function FormationCtrl:OnEvent_UpdateFormationInfoSuc(nTeamIdx)
if nTeamIdx == self._panel.nTeamIndex then
self.nPreselectionId = PlayerData.Team:GetTeamPreselectionId(self._panel.nTeamIndex)
self:RefreshPreselection()
end
end
return FormationCtrl