Content Bundle

* Move Content Bundle events into Engine (needed by World Partition).
* Add ContentBundleRemovedContent event.

#rb philippe.deseve, jeanfrancois.dube

[CL 26284475 by vincent beauchemin in ue5-main branch]
This commit is contained in:
vincent beauchemin
2023-06-28 10:14:35 -04:00
parent cb00df9a61
commit 51cb5e9cf3
4 changed files with 22 additions and 13 deletions
@@ -137,22 +137,9 @@ public:
virtual void PushContentBundleEditing() override;
virtual void PopContentBundleEditing() override;
DECLARE_EVENT_OneParam(UContentBundleEditorSubsystem, FOnContentBundleChanged, const FContentBundleEditor*);
FOnContentBundleChanged& OnContentBundleChanged() { return ContentBundleChanged; }
DECLARE_EVENT_OneParam(UContentBundleEditorSubsystem, FOnContentBundleAdded, const FContentBundleEditor*);
FOnContentBundleAdded& OnContentBundleAdded() { return ContentBundleAdded; }
DECLARE_EVENT_OneParam(UContentBundleEditorSubsystem, FOnContentBundleRemoved, const FContentBundleEditor*);
FOnContentBundleRemoved& OnContentBundleRemoved() { return ContentBundleRemoved; }
private:
void SelectActorsInternal(FContentBundleEditor& EditorContentBundle, bool bSelect);
UPROPERTY()
TObjectPtr<UContentBundleEditingSubmodule> ContentBundleEditingSubModule;
FOnContentBundleChanged ContentBundleChanged;
FOnContentBundleAdded ContentBundleAdded;
FOnContentBundleRemoved ContentBundleRemoved;
};