You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
UDeprecatedDataLayerInstance allows to boot level using deprecated UDataLayers Worlds using DataLayer can run the DataLayerToAssetCommandlet to transition their existing DataLayers FActorDataLayer interface is deprecated. DataLayers Blueprint referencers should now use DataLayerAsset to retrieve DataLayerInstances. DataLayer Code referencers should now use DataLayerAssets or DataLayerInstance FName to retrieve DataLayerInstances. DataLayerLabels now only used for display/UI purpose Relabeling DataLayers is not permitted anymore on new DataLayerInstances (allowed on UDeprecatedDataLayerInstance) Added Changelist Validation for DataLayers Added a column to the datalayer outliner showing any data layer errors. #rb richard.mal jeanfrancois.dube #preflight 623098c2050dc69468b6a297 (errors only related to lyra, which do not exist in this stream) #ROBOMERGE-OWNER: philippe.deseve #ROBOMERGE-AUTHOR: philippe.deseve #ROBOMERGE-SOURCE: CL 19385808 via CL 19387392 #ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884) [CL 19389077 by philippe deseve in ue5-main branch]
51 lines
1.4 KiB
C++
51 lines
1.4 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Framework/Commands/UICommandList.h"
|
|
#include "Framework/MultiBox/MultiBoxExtender.h"
|
|
#include "WorldPartition/DataLayer/IDataLayerEditorModule.h"
|
|
|
|
class UDataLayerInstance;
|
|
|
|
/**
|
|
* The module holding all of the UI related pieces for DataLayers
|
|
*/
|
|
class FDataLayerEditorModule : public IDataLayerEditorModule
|
|
{
|
|
public:
|
|
|
|
/**
|
|
* Called right after the module DLL has been loaded and the module object has been created
|
|
*/
|
|
virtual void StartupModule();
|
|
|
|
/**
|
|
* Called before the module is unloaded, right before the module object is destroyed.
|
|
*/
|
|
virtual void ShutdownModule();
|
|
|
|
/**
|
|
* Creates a DataLayer Browser widget
|
|
*/
|
|
virtual TSharedRef<class SWidget> CreateDataLayerBrowser();
|
|
|
|
/*
|
|
* Selected DataLayer in DataLayer Browser widget
|
|
*/
|
|
virtual void SyncDataLayerBrowserToDataLayer(const UDataLayerInstance* DataLayer);
|
|
|
|
/** Delegates to be called to extend the DataLayers menus */
|
|
DECLARE_DELEGATE_RetVal_OneParam(TSharedRef<FExtender>, FDataLayersMenuExtender, const TSharedRef<FUICommandList>);
|
|
virtual TArray<FDataLayersMenuExtender>& GetAllDataLayersMenuExtenders() {return DataLayersMenuExtenders;}
|
|
|
|
private:
|
|
TWeakPtr<SWidget> DataLayerBrowser;
|
|
|
|
/** All extender delegates for the DataLayers menus */
|
|
TArray<FDataLayersMenuExtender> DataLayersMenuExtenders;
|
|
};
|
|
|
|
|