refactor(ui/panel): TMap<EUIPanelTexture> -> TMap<FName> com PostSerialize migration
FUIStylePanel migra de TMap<EUIPanelTexture, FSlateBrush> (enum legacy) para TMap<FName, FSlateBrush>. Permite adicionar/remover categorias diretamente no DT_UI_Styles via dropdown (meta=GetOptions) sem mexer no enum em C++. PanelBackground, PanelOutline e PanelOutlineEffect viraram *_DEPRECATED. Versoes novas: PanelBackgroundByName, PanelOutlineByName, PanelOutlineEffectByName. PostSerialize migra os legacy -> ByName no PostLoad de cada FUIStyleRow. Apos o primeiro re-save no editor os deprecated ficam vazios e o codigo vira no-op. PropertyRedirects em DefaultEngine.ini preservam a leitura do asset antigo (3 entries: PanelBackground, PanelOutline, PanelOutlineEffect). Atualiza UIPanel_Base pra ler ByName + DT_UI_Styles, UI_Panel_Master e UI_PlayerStatus_Window resalvos. Inclui nova textura T_Panel_Outline_Effect_Square_02. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -86,6 +86,15 @@ GameViewportClientClassName=/Script/CommonUI.CommonGameViewportClient
|
||||
+ActiveClassRedirects=(OldClassName="TP_ThirdPersonCharacter",NewClassName="ZMMOPlayerCharacter")
|
||||
+ActiveClassRedirects=(OldClassName="ZMMOCharacter",NewClassName="ZMMOPlayerCharacter")
|
||||
|
||||
[CoreRedirects]
|
||||
; Migração v1→v2 do FUIStylePanel: TMap<EUIPanelTexture,...> (Enum) → TMap<FName,...>.
|
||||
; Os campos *_DEPRECATED preservam a leitura do asset antigo; PostSerialize copia
|
||||
; pros novos ByName e após re-save os legacy ficam vazios. Os redirects podem
|
||||
; ser removidos quando todos os DTs do projeto tiverem sido re-salvos.
|
||||
+PropertyRedirects=(OldName="/Script/ZMMO.UIStylePanel.PanelBackground",NewName="/Script/ZMMO.UIStylePanel.PanelBackground_DEPRECATED")
|
||||
+PropertyRedirects=(OldName="/Script/ZMMO.UIStylePanel.PanelOutline",NewName="/Script/ZMMO.UIStylePanel.PanelOutline_DEPRECATED")
|
||||
+PropertyRedirects=(OldName="/Script/ZMMO.UIStylePanel.PanelOutlineEffect",NewName="/Script/ZMMO.UIStylePanel.PanelOutlineEffect_DEPRECATED")
|
||||
|
||||
[/Script/AndroidFileServerEditor.AndroidFileServerRuntimeSettings]
|
||||
bEnablePlugin=True
|
||||
bAllowNetworkConnection=True
|
||||
|
||||
Reference in New Issue
Block a user