-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add various factories; update build to installedbuild
- Loading branch information
Showing
51 changed files
with
293 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
Plugins/BodyDriverPlugin/Binaries/Win64/UE4Editor-BodyDriverPlugin.dll
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
Plugins/BonamikPlugin/Binaries/Win64/UE4Editor-BonamikEd.dll
Binary file not shown.
Binary file modified
BIN
+512 Bytes
(100%)
Plugins/BonamikPlugin/Binaries/Win64/UE4Editor-BonamikRt.dll
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
Plugins/EndGame/Menu/EndTextResource/Binaries/Win64/UE4Editor-EndTextResource.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
Plugins/EndGame/Menu/EndTextResource/Binaries/Win64/UE4Editor.modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
Plugins/EnginePlugins/Media/BinkMedia/Binaries/Win64/UE4Editor-BinkMediaPlayer.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
Plugins/EnginePlugins/Media/BinkMedia/Binaries/Win64/UE4Editor.modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
...s/EnginePlugins/Online/OnlineSubsystemEOS/Binaries/Win64/UE4Editor-OnlineSubsystemEOS.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
Plugins/EnginePlugins/Online/OnlineSubsystemEOS/Binaries/Win64/UE4Editor.modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+512 Bytes
(100%)
Plugins/HappySadFaceLipSync/Binaries/Win64/UE4Editor-HSFLipSyncRuntime.dll
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+512 Bytes
(100%)
Plugins/KineDriverPlugin/Binaries/Win64/UE4Editor-KineDriverEd.dll
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Plugins/KineDriverPlugin/Binaries/Win64/UE4Editor-KineDriverRt.dll
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-512 Bytes
(100%)
Plugins/VFXNiagara/Binaries/Win64/UE4Editor-VFXNiagara.dll
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,31 @@ | ||
#include "Modules/ModuleManager.h" | ||
#include "ENDEditorModule.h" | ||
#include "IAssetTools.h" | ||
#include "AssetToolsModule.h" | ||
#include "AssetTypeActions_EffectAppendixMesh.h" | ||
#include "AssetTypeActions_EndEmissiveColorSettings.h" | ||
|
||
IMPLEMENT_MODULE(FDefaultModuleImpl, ENDEditor); | ||
void FENDEditorModule::StartupModule() | ||
{ | ||
FAssetToolsModule& AssetToolsModule = FAssetToolsModule::GetModule(); | ||
|
||
IAssetTools& AssetTools = AssetToolsModule.Get(); | ||
|
||
EAssetTypeCategories::Type CustomAssetCategory = AssetTools.RegisterAdvancedAssetCategory(FName("SQEX"), FText::FromString("SQEX")); | ||
AssetAction = new FAssetTypeActions_EndEmissiveColorSettings(CustomAssetCategory); | ||
AssetAction2 = new FAssetTypeActions_EffectAppendixMesh(CustomAssetCategory); | ||
AssetTools.RegisterAssetTypeActions(MakeShareable(AssetAction)); | ||
AssetTools.RegisterAssetTypeActions(MakeShareable(AssetAction2)); | ||
} | ||
|
||
void FENDEditorModule::ShutdownModule() | ||
{ | ||
if (UObjectInitialized()) | ||
{ | ||
FAssetToolsModule& AssetToolsModule = FAssetToolsModule::GetModule(); | ||
IAssetTools& AssetTools = AssetToolsModule.Get(); | ||
AssetTools.UnregisterAssetTypeActions(AssetAction->AsShared()); | ||
AssetTools.UnregisterAssetTypeActions(AssetAction2->AsShared()); | ||
} | ||
} | ||
|
||
IMPLEMENT_MODULE(FENDEditorModule, ENDEditor) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
// Fill out your copyright notice in the Description page of Project Settings. | ||
|
||
#include "EffectAppendixMesh_Factory.h" | ||
|
||
#include "AssetToolsModule.h" | ||
#include "AssetTypeCategories.h" | ||
#include "IAssetTools.h" | ||
#include "EffectAppendixMesh.h" | ||
|
||
#define LOCTEXT_NAMESPACE "UEffectAppendixMesh_Factory" | ||
|
||
UEffectAppendixMesh_Factory::UEffectAppendixMesh_Factory() | ||
{ | ||
Formats.Add(TEXT("xml;EffectAppendixMesh")); | ||
bCreateNew = true; | ||
bEditAfterNew = true; | ||
bEditorImport = true; | ||
SupportedClass = UEffectAppendixMesh::StaticClass(); | ||
} | ||
|
||
FText UEffectAppendixMesh_Factory::GetDisplayName() const | ||
{ | ||
return LOCTEXT("DisplayName", "Effect Appendix Mesh"); | ||
} | ||
|
||
static bool bSoundFactorySuppressImportOverwriteDialog = false; | ||
|
||
uint32 UEffectAppendixMesh_Factory::GetMenuCategories() const | ||
{ | ||
IAssetTools& AssetTools = FModuleManager::LoadModuleChecked<FAssetToolsModule>("AssetTools").Get(); | ||
return AssetTools.RegisterAdvancedAssetCategory("SQEX", LOCTEXT("AssetCategoryName", "SQEX")); | ||
} | ||
|
||
UObject * UEffectAppendixMesh_Factory::FactoryCreateNew(UClass * InClass, UObject * InParent, FName InName, EObjectFlags flags, UObject * Cntext, FFeedbackContext * Warn) | ||
{ | ||
return NewObject<UEffectAppendixMesh>(InParent, InClass, InName, flags); | ||
} | ||
|
||
bool UEffectAppendixMesh_Factory::ShouldShowInNewMenu() const | ||
{ | ||
return true; | ||
} | ||
|
||
UObject* UEffectAppendixMesh_Factory::FactoryCreateBinary(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, const TCHAR* Type, const uint8*& Buffer, const uint8* BufferEnd, FFeedbackContext* Warn, bool& bOutOperationCanceled) | ||
{ | ||
FString PackagePath = FPackageName::GetLongPackagePath(InParent->GetOutermost()->GetName()); | ||
|
||
UEffectAppendixMesh* ImportedAsset = NewObject<UEffectAppendixMesh>(InParent, Name, Flags); | ||
FString FilePath = FPaths::GetPath(CurrentFilename); | ||
FPaths::MakePathRelativeTo(FilePath, *FPaths::ProjectDir()); | ||
return ImportedAsset; | ||
} | ||
|
||
#undef LOCTEXT_NAMESPACE |
54 changes: 54 additions & 0 deletions
54
Source/ENDEditor/Private/EndEmissiveColorSettings_Factory.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
// Fill out your copyright notice in the Description page of Project Settings. | ||
|
||
#include "EndEmissiveColorSettings_Factory.h" | ||
|
||
#include "AssetToolsModule.h" | ||
#include "AssetTypeCategories.h" | ||
#include "IAssetTools.h" | ||
#include "EndEmissiveColorSettings.h" | ||
|
||
#define LOCTEXT_NAMESPACE "UEndEmissiveColorSettings_Factory" | ||
|
||
UEndEmissiveColorSettings_Factory::UEndEmissiveColorSettings_Factory() | ||
{ | ||
Formats.Add(TEXT("xml;EndEmissiveColorSettings")); | ||
bCreateNew = true; | ||
bEditAfterNew = true; | ||
bEditorImport = true; | ||
SupportedClass = UEndEmissiveColorSettings::StaticClass(); | ||
} | ||
|
||
FText UEndEmissiveColorSettings_Factory::GetDisplayName() const | ||
{ | ||
return LOCTEXT("DisplayName", "End Emissive Color Settings"); | ||
} | ||
|
||
static bool bSoundFactorySuppressImportOverwriteDialog = false; | ||
|
||
uint32 UEndEmissiveColorSettings_Factory::GetMenuCategories() const | ||
{ | ||
IAssetTools& AssetTools = FModuleManager::LoadModuleChecked<FAssetToolsModule>("AssetTools").Get(); | ||
return AssetTools.RegisterAdvancedAssetCategory("SQEX", LOCTEXT("AssetCategoryName", "SQEX")); | ||
} | ||
|
||
UObject * UEndEmissiveColorSettings_Factory::FactoryCreateNew(UClass * InClass, UObject * InParent, FName InName, EObjectFlags flags, UObject * Cntext, FFeedbackContext * Warn) | ||
{ | ||
return NewObject<UEndEmissiveColorSettings>(InParent, InClass, InName, flags); | ||
} | ||
|
||
bool UEndEmissiveColorSettings_Factory::ShouldShowInNewMenu() const | ||
{ | ||
return true; | ||
} | ||
|
||
UObject* UEndEmissiveColorSettings_Factory::FactoryCreateBinary(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, const TCHAR* Type, const uint8*& Buffer, const uint8* BufferEnd, FFeedbackContext* Warn, bool& bOutOperationCanceled) | ||
{ | ||
FString PackagePath = FPackageName::GetLongPackagePath(InParent->GetOutermost()->GetName()); | ||
|
||
UEndEmissiveColorSettings* ImportedAsset = NewObject<UEndEmissiveColorSettings>(InParent, Name, Flags); | ||
FString FilePath = FPaths::GetPath(CurrentFilename); | ||
FPaths::MakePathRelativeTo(FilePath, *FPaths::ProjectDir()); | ||
return ImportedAsset; | ||
} | ||
|
||
#undef LOCTEXT_NAMESPACE |
22 changes: 22 additions & 0 deletions
22
Source/ENDEditor/Public/AssetTypeActions_EffectAppendixMesh.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#pragma once | ||
|
||
#include "CoreMinimal.h" | ||
#include "AssetTypeCategories.h" | ||
#include "AssetTypeActions_Base.h" | ||
#include "EffectAppendixMesh.h" | ||
|
||
class FAssetTypeActions_EffectAppendixMesh : public FAssetTypeActions_Base | ||
{ | ||
public: | ||
FAssetTypeActions_EffectAppendixMesh(EAssetTypeCategories::Type InAssetCategory) | ||
: AssetCategory(InAssetCategory) | ||
{} | ||
// IAssetTypeActions Implementation | ||
virtual FText GetName() const override { return NSLOCTEXT("AssetTypeActions", "AssetTypeActions_EffectAppendixMesh", "Effect Appendix Mesh"); } | ||
virtual FColor GetTypeColor() const override { return FColor::Magenta; } | ||
virtual UClass* GetSupportedClass() const override { return UEffectAppendixMesh::StaticClass(); } | ||
virtual uint32 GetCategories() override { return AssetCategory; } | ||
|
||
private: | ||
EAssetTypeCategories::Type AssetCategory; | ||
}; |
22 changes: 22 additions & 0 deletions
22
Source/ENDEditor/Public/AssetTypeActions_EndEmissiveColorSettings.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#pragma once | ||
|
||
#include "CoreMinimal.h" | ||
#include "AssetTypeCategories.h" | ||
#include "AssetTypeActions_Base.h" | ||
#include "EndEmissiveColorSettings.h" | ||
|
||
class FAssetTypeActions_EndEmissiveColorSettings : public FAssetTypeActions_Base | ||
{ | ||
public: | ||
FAssetTypeActions_EndEmissiveColorSettings(EAssetTypeCategories::Type InAssetCategory) | ||
: AssetCategory(InAssetCategory) | ||
{} | ||
// IAssetTypeActions Implementation | ||
virtual FText GetName() const override { return NSLOCTEXT("AssetTypeActions", "AssetTypeActions_EndEmissiveColorSettings", "End Emissive Color Settings"); } | ||
virtual FColor GetTypeColor() const override { return FColor::Magenta; } | ||
virtual UClass* GetSupportedClass() const override { return UEndEmissiveColorSettings::StaticClass(); } | ||
virtual uint32 GetCategories() override { return AssetCategory; } | ||
|
||
private: | ||
EAssetTypeCategories::Type AssetCategory; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#pragma once | ||
#include "CoreMinimal.h" | ||
#include "Modules/ModuleManager.h" | ||
|
||
class FENDEditorModule : public IModuleInterface | ||
{ | ||
public: | ||
FENDEditorModule() {} | ||
/** IModuleInterface implementation */ | ||
virtual void StartupModule() override; | ||
virtual void ShutdownModule() override; | ||
private: | ||
class FAssetTypeActions_EndEmissiveColorSettings* AssetAction; | ||
class FAssetTypeActions_EffectAppendixMesh* AssetAction2; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#pragma once | ||
|
||
#include "CoreMinimal.h" | ||
#include "Factories/Factory.h" | ||
#include "EditorReimportHandler.h" | ||
#include "EffectAppendixMesh_Factory.generated.h" | ||
|
||
/** | ||
* | ||
*/ | ||
UCLASS() | ||
class ENDEDITOR_API UEffectAppendixMesh_Factory : public UFactory | ||
{ | ||
GENERATED_BODY() | ||
|
||
UEffectAppendixMesh_Factory(); | ||
virtual uint32 GetMenuCategories() const override; | ||
virtual FText GetDisplayName() const override; | ||
virtual UObject* FactoryCreateNew(UClass* InClass, UObject* InParent, FName InName, EObjectFlags Flags, UObject* Cntext, FFeedbackContext* Warn) override; | ||
virtual bool ShouldShowInNewMenu() const override; | ||
virtual UObject* FactoryCreateBinary(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, const TCHAR* Type, const uint8*& Buffer, const uint8* BufferEnd, FFeedbackContext* Warn, bool& bOutOperationCanceled) override; | ||
}; |
22 changes: 22 additions & 0 deletions
22
Source/ENDEditor/Public/EndEmissiveColorSettings_Factory.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#pragma once | ||
|
||
#include "CoreMinimal.h" | ||
#include "Factories/Factory.h" | ||
#include "EditorReimportHandler.h" | ||
#include "EndEmissiveColorSettings_Factory.generated.h" | ||
|
||
/** | ||
* | ||
*/ | ||
UCLASS() | ||
class ENDEDITOR_API UEndEmissiveColorSettings_Factory : public UFactory | ||
{ | ||
GENERATED_BODY() | ||
|
||
UEndEmissiveColorSettings_Factory(); | ||
virtual uint32 GetMenuCategories() const override; | ||
virtual FText GetDisplayName() const override; | ||
virtual UObject* FactoryCreateNew(UClass* InClass, UObject* InParent, FName InName, EObjectFlags Flags, UObject* Cntext, FFeedbackContext* Warn) override; | ||
virtual bool ShouldShowInNewMenu() const override; | ||
virtual UObject* FactoryCreateBinary(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, const TCHAR* Type, const uint8*& Buffer, const uint8* BufferEnd, FFeedbackContext* Warn, bool& bOutOperationCanceled) override; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.