Character Preview

This commit is contained in:
Niklas
2024-06-07 01:17:09 +02:00
parent 7fd443ea32
commit 845d16cc0a
3299 changed files with 20798 additions and 20388 deletions
@@ -1,5 +1,8 @@
#include "McpItemDefinitionBase.h" #include "McpItemDefinitionBase.h"
UMcpItemDefinitionBase::UMcpItemDefinitionBase() { UMcpItemDefinitionBase::UMcpItemDefinitionBase(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
} }
@@ -7,6 +7,10 @@ UCLASS(Blueprintable)
class MCPPROFILESYS_API UMcpItemDefinitionBase : public UPrimaryDataAsset { class MCPPROFILESYS_API UMcpItemDefinitionBase : public UPrimaryDataAsset {
GENERATED_BODY() GENERATED_BODY()
public: public:
UMcpItemDefinitionBase(); #if WITH_EDITORONLY_DATA
UPROPERTY(VisibleAnywhere, DisplayName="Template ID / Persistent Name", Category="Item")
FString EditorTemplateId;
#endif
UMcpItemDefinitionBase(const FObjectInitializer& ObjectInitializer);
}; };
+14 -1
View File
@@ -20,6 +20,19 @@ public class FortniteEditor : ModuleRules
"FortniteEditor/Private" "FortniteEditor/Private"
}); });
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "FortniteGame", "UnrealEd", "AssetTools" }); PublicDependencyModuleNames.AddRange(new string[] {
"Core",
"CoreUObject",
"Engine",
"InputCore",
"FortniteGame",
"UnrealEd",
"AssetTools",
"GameplayTags",
"Slate",
"SlateCore",
"ApplicationCore"
});
} }
} }
+17 -37
View File
@@ -3,15 +3,19 @@
#include "FortniteEditor.h" #include "FortniteEditor.h"
#include "Modules/ModuleManager.h" #include "Modules/ModuleManager.h"
#include "FortItemDefinitionThumbnailRenderer.h" #include "FortItemDefinitionThumbnailRenderer.h"
#include "AssetTypeActions_Base.h" #include "BuildingTextureDataThumbnailRenderer.h"
#include "FortniteGame/Public/FortItemDefinition.h" #include "FortniteGame/Public/FortItemDefinition.h"
#include "ThumbnailRendering/ThumbnailManager.h" #include "ThumbnailRendering/ThumbnailManager.h"
#include "IAssetTools.h" #include "IAssetTools.h"
#include "AssetToolsModule.h" #include "AssetToolsModule.h"
#include "BuildingTextureData.h"
#include "ContentBrowserModule.h"
#include "CustomCharacterPart.h" #include "CustomCharacterPart.h"
#include "Public/CustomCharacterPartThumbnailRenderer.h" #include "Public/CustomCharacterPartThumbnailRenderer.h"
#include "LevelEditor.h" #include "FortAssetTypeActions_FortItemDefinition.cpp"
#include "FortConversation.h" #include "FortAssetTypeActions_FortConversation.cpp"
#include "FortAssetTypeActions_FortPlaysetItemDefinition.cpp"
#include "GameplayTagsManager.h"
#include "IAssetTypeActions.h" #include "IAssetTypeActions.h"
@@ -21,45 +25,20 @@ DEFINE_LOG_CATEGORY(LogFortEditor)
#define LOCTEXT_NAMESPACE "LogFortEditor" #define LOCTEXT_NAMESPACE "LogFortEditor"
class FATA_FortItemDefinitionFactory : public FAssetTypeActions_Base {
#if WITH_EDITOR
public:
FATA_FortItemDefinitionFactory()
{
};
virtual uint32 GetCategories() override { return EAssetTypeCategories::Misc; }
virtual FText GetName() const override { return LOCTEXT("FortItemDefinition", "FortItemDefinition"); }
virtual FColor GetTypeColor() const { return FColor(65, 102, 44); }
virtual UClass* GetSupportedClass() const override { return UFortItemDefinition::StaticClass(); }
#undef LOCTEXT_NAMESPACE
#endif
};
class FATA_FortConversationFactory : public FAssetTypeActions_Base {
#if WITH_EDITOR
#define LOCTEXT_NAMESPACE "FortConversation"
public:
FATA_FortConversationFactory()
{
};
virtual uint32 GetCategories() override { return EAssetTypeCategories::Misc; }
virtual FText GetName() const override { return LOCTEXT("FortConversation", "FortConversation"); }
virtual FColor GetTypeColor() const { return FColor(114, 178, 19); }
virtual UClass* GetSupportedClass() const override { return UFortConversation::StaticClass(); }
#undef LOCTEXT_NAMESPACE
#endif
};
void FFortniteEditor::StartupModule() void FFortniteEditor::StartupModule()
{ {
UE_LOG(LogFortEditor, Warning, TEXT("FortniteEditor was initialized.")); UE_LOG(LogFortEditor, Warning, TEXT("FortniteEditor was initialized."));
{ {
IAssetTools& AssetTools = FModuleManager::LoadModuleChecked<FAssetToolsModule>("AssetTools").Get(); IAssetTools& AssetTools = FModuleManager::LoadModuleChecked<FAssetToolsModule>("AssetTools").Get();
TSharedPtr<IAssetTypeActions> Action = MakeShareable(new FATA_FortItemDefinitionFactory()); TArray<TSharedPtr<IAssetTypeActions>> AssetTypeActionsArray;
TSharedPtr<IAssetTypeActions> ActionConv = MakeShareable(new FATA_FortConversationFactory()); AssetTypeActionsArray.Add(MakeShareable(new FFortAssetTypeActions_FortItemDefinition()));
AssetTools.RegisterAssetTypeActions(Action.ToSharedRef()); AssetTypeActionsArray.Add(MakeShareable(new FFortAssetTypeActions_FortConversation()));
AssetTools.RegisterAssetTypeActions(ActionConv.ToSharedRef()); AssetTypeActionsArray.Add(MakeShareable(new FFortAssetTypeActions_FortPlaysetItemDefinition()));
for (const auto& AssetTypeActions : AssetTypeActionsArray)
{
AssetTools.RegisterAssetTypeActions(AssetTypeActions.ToSharedRef());
}
} }
UThumbnailManager::Get().UnregisterCustomRenderer(UFortItemDefinition::StaticClass()); UThumbnailManager::Get().UnregisterCustomRenderer(UFortItemDefinition::StaticClass());
UThumbnailManager::Get().RegisterCustomRenderer(UFortItemDefinition::StaticClass(), UFortItemDefinitionThumbnailRenderer::StaticClass()); UThumbnailManager::Get().RegisterCustomRenderer(UFortItemDefinition::StaticClass(), UFortItemDefinitionThumbnailRenderer::StaticClass());
@@ -67,6 +46,7 @@ void FFortniteEditor::StartupModule()
UThumbnailManager::Get().UnregisterCustomRenderer(UCustomCharacterPart::StaticClass()); UThumbnailManager::Get().UnregisterCustomRenderer(UCustomCharacterPart::StaticClass());
UThumbnailManager::Get().RegisterCustomRenderer(UCustomCharacterPart::StaticClass(), UCustomCharacterPartThumbnailRenderer::StaticClass()); UThumbnailManager::Get().RegisterCustomRenderer(UCustomCharacterPart::StaticClass(), UCustomCharacterPartThumbnailRenderer::StaticClass());
UThumbnailManager::Get().UnregisterCustomRenderer(UBuildingTextureData::StaticClass());
UThumbnailManager::Get().RegisterCustomRenderer(UBuildingTextureData::StaticClass(), UBuildingTextureDataThumbnailRenderer::StaticClass());
} }
#undef LOCTEXT_NAMESPACE #undef LOCTEXT_NAMESPACE
@@ -0,0 +1,44 @@
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
/** @ BuildingTextureDataThumbnailRenderer implementation */
#include "BuildingTextureDataThumbnailRenderer.h"
#include "CanvasTypes.h"
#include "CanvasItem.h"
#include "FortHeroType.h"
#include "BuildingTextureData.h"
#include "Engine/Engine.h"
#include "Engine/Texture2D.h"
UBuildingTextureDataThumbnailRenderer::UBuildingTextureDataThumbnailRenderer(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
}
void UBuildingTextureDataThumbnailRenderer::Draw(UObject* Object, int32 X, int32 Y, uint32 Width, uint32 Height, FRenderTarget* Viewport, FCanvas* Canvas, bool bAdditionalViewFamily)
{
UBuildingTextureData* BuildingTextureData = Cast<UBuildingTextureData>(Object);
if (BuildingTextureData)
{
if (TSoftObjectPtr<UTexture2D> Texture2D = BuildingTextureData->Diffuse)
{
Super::Draw(BuildingTextureData->Diffuse, X, Y, Width, Height, Viewport, Canvas, bAdditionalViewFamily);
}
}
}
bool UBuildingTextureDataThumbnailRenderer::CanVisualizeAsset(UObject* Object)
{
UBuildingTextureData* BuildingTextureData = Cast<UBuildingTextureData>(Object);
if (BuildingTextureData)
{
if (BuildingTextureData->Diffuse != nullptr)
{
return true;
}
}
return false;
}
@@ -1,73 +1,22 @@
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "CustomCharacterPartThumbnailRenderer.h" #include "CustomCharacterPartThumbnailRenderer.h"
#include "CustomCharacterPart.h" #include "CustomCharacterPart.h"
#include "SceneView.h"
#include "Engine/SkeletalMesh.h" #include "Engine/SkeletalMesh.h"
#include "ThumbnailHelpers.h"
#include "ThumbnailRendering/ThumbnailManager.h"
#include "Materials/MaterialInstanceDynamic.h" #include "Materials/MaterialInstanceDynamic.h"
#include "Engine/AssetManager.h"
#include "Engine/StreamableManager.h"
UCustomCharacterPartThumbnailRenderer::UCustomCharacterPartThumbnailRenderer(const FObjectInitializer& ObjectInitializer) UCustomCharacterPartThumbnailRenderer::UCustomCharacterPartThumbnailRenderer(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer) : Super(ObjectInitializer)
{ {
ThumbnailScene = nullptr;
} }
void UCustomCharacterPartThumbnailRenderer::Draw(UObject* Object, int32 X, int32 Y, uint32 Width, uint32 Height, FRenderTarget* RenderTarget, FCanvas* Canvas) void UCustomCharacterPartThumbnailRenderer::Draw(UObject* Object, int32 X, int32 Y, uint32 Width, uint32 Height, FRenderTarget* RenderTarget, FCanvas* Canvas, bool bAdditionalViewFamily)
{ {
UCustomCharacterPart* Part = Cast<UCustomCharacterPart>(Object); UCustomCharacterPart* Part = Cast<UCustomCharacterPart>(Object);
if (Part->SkeletalMesh != nullptr) if (Part && Part->SkeletalMesh)
{ {
if ( ThumbnailScene == nullptr ) Super::Draw(Part->SkeletalMesh.LoadSynchronous(), X, Y, Width, Height, RenderTarget, Canvas, bAdditionalViewFamily);
{
ThumbnailScene = new FSkeletalMeshThumbnailScene();
}
USkeletalMesh* SkeletalMesh = Part->GetSkeletalMesh();
ThumbnailScene->SetSkeletalMesh(SkeletalMesh);
for (const FCustomPartMaterialOverrideData& OverrideData : Part->MaterialOverrides)
{
if (OverrideData.MaterialOverrideIndex >= 0 && OverrideData.MaterialOverrideIndex < SkeletalMesh->Materials.Num())
{
UMaterialInterface* OverrideMaterial = OverrideData.OverrideMaterial.LoadSynchronous();
if (OverrideMaterial)
{
// Create a dynamic material instance
UMaterialInstanceDynamic* MID = UMaterialInstanceDynamic::Create(OverrideMaterial, NULL);
// Assign the dynamic material instance
if (MID)
{
SkeletalMesh->Materials[OverrideData.MaterialOverrideIndex].MaterialInterface = MID;
}
}
}
}
FSceneViewFamilyContext ViewFamily( FSceneViewFamily::ConstructionValues( RenderTarget, ThumbnailScene->GetScene(), FEngineShowFlags(ESFIM_Game) )
.SetWorldTimes(FApp::GetCurrentTime() - GStartTime, FApp::GetDeltaTime(), FApp::GetCurrentTime() - GStartTime));
ViewFamily.EngineShowFlags.DisableAdvancedFeatures();
ViewFamily.EngineShowFlags.MotionBlur = 0;
ViewFamily.EngineShowFlags.LOD = 0;
ThumbnailScene->GetView(&ViewFamily, X, Y, Width, Height);
RenderViewFamily(Canvas,&ViewFamily);
} }
} }
void UCustomCharacterPartThumbnailRenderer::BeginDestroy()
{
if ( ThumbnailScene != nullptr )
{
delete ThumbnailScene;
ThumbnailScene = nullptr;
}
Super::BeginDestroy();
}
@@ -0,0 +1,13 @@
// Copyright 1998-2024 Epic Games, Inc. All Rights Reserved.
#include "AssetTypeActions_Base.h"
#include "FortConversation.h"
/** @ FFortAssetTypeActions_FortConversation implementation */
class FFortAssetTypeActions_FortConversation : public FAssetTypeActions_Base {
public:
// IAssetTypeActions Implementation
virtual FText GetName() const override { return NSLOCTEXT("AssetTypeActions", "FortAssetTypeActions_FortConversation", "FortConversation"); }
virtual FColor GetTypeColor() const { return FColor(114, 178, 19); }
virtual UClass* GetSupportedClass() const override { return UFortConversation::StaticClass(); }
virtual uint32 GetCategories() override { return EAssetTypeCategories::Misc; }
};
@@ -0,0 +1,47 @@
// Copyright 1998-2017 Epic Games, Inc.
#include "AssetTypeActions_Base.h"
#include "FortItemDefinition.h"
#include "Windows/WindowsPlatformApplicationMisc.h"
/** @ FFortAssetTypeActions_FortItemDefinition implementation */
class FFortAssetTypeActions_FortItemDefinition : public FAssetTypeActions_Base {
public:
// IAssetTypeActions Implementation
virtual FText GetName() const override { return NSLOCTEXT("AssetTypeActions", "FortAssetTypeActions_FortItemDefinition", "FortItemDefinition"); }
virtual FColor GetTypeColor() const { return FColor(65, 102, 44); }
virtual UClass* GetSupportedClass() const override { return UFortItemDefinition::StaticClass(); }
virtual uint32 GetCategories() override { return EAssetTypeCategories::Misc; }
// Implement this method to add custom context menu actions
virtual void GetActions(const TArray<UObject*>& InObjects, FMenuBuilder& MenuBuilder) override
{
FAssetTypeActions_Base::GetActions(InObjects, MenuBuilder);
// Add your custom action
MenuBuilder.AddMenuEntry(
NSLOCTEXT("AssetTypeActions", "FortAssetTypeActions_FortItemDefinition", "Copy TemplateIds to Clipboard"),
NSLOCTEXT("AssetTypeActions", "FortAssetTypeActions_FortItemDefinition", "Copy the Template ID of this asset to the clipboard."),
FSlateIcon(),
FUIAction(FExecuteAction::CreateLambda([=] { CopyTemplateIdsToClipboard(InObjects); }))
);
}
// Method to copy the Template ID to the clipboard
void CopyTemplateIdsToClipboard(const TArray<UObject*>& InObjects)
{
FString AllTemplateIds;
for (UObject* Object : InObjects)
{
UFortItemDefinition* FortItemDefinition = Cast<UFortItemDefinition>(Object);
if (FortItemDefinition)
{
AllTemplateIds += FortItemDefinition->EditorTemplateId + TEXT("\n");
}
}
if (!AllTemplateIds.IsEmpty())
{
FPlatformApplicationMisc::ClipboardCopy(*AllTemplateIds);
}
}
};
@@ -0,0 +1,13 @@
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "AssetTypeActions_Base.h"
#include "FortPlaysetItemDefinition.h"
/** @ FFortAssetTypeActions_FortPlaysetItemDefinition implementation */
class FFortAssetTypeActions_FortPlaysetItemDefinition : public FAssetTypeActions_Base {
public:
// IAssetTypeActions Implementation
virtual FText GetName() const override { return NSLOCTEXT("AssetTypeActions", "FortAssetTypeActions_FortPlaysetItemDefinition", "FortPlaysetItemDefinition"); }
virtual FColor GetTypeColor() const { return FColor(65, 102, 44); }
virtual UClass* GetSupportedClass() const override { return UFortPlaysetItemDefinition::StaticClass(); }
virtual uint32 GetCategories() override { return EAssetTypeCategories::Misc; }
};
@@ -27,7 +27,7 @@ void UFortItemDefinitionThumbnailRenderer::Draw(UObject* Object, int32 X, int32
TSoftObjectPtr<UTexture2D> IconToDraw; TSoftObjectPtr<UTexture2D> IconToDraw;
TSoftObjectPtr<UTexture2D> LargePreviewImage = Item->GetLargePreviewImage(); TSoftObjectPtr<UTexture2D> LargePreviewImage = Item->GetLargePreviewImage();
TSoftObjectPtr<UTexture2D> SmallPreviewImage = Item->GetSmallPreviewImage(); TSoftObjectPtr<UTexture2D> SmallPreviewImage = Item->GetSmallPreviewImage();
TSoftObjectPtr<UTexture2D> WidePreviewImage = Item->WidePreviewImage; TSoftObjectPtr<UTexture2D> WidePreviewImage = Item->WidePreviewImage.LoadSynchronous();
if (LargePreviewImage != nullptr) if (LargePreviewImage != nullptr)
{ {
IconToDraw = LargePreviewImage; IconToDraw = LargePreviewImage;
@@ -47,10 +47,10 @@ void UFortItemDefinitionThumbnailRenderer::Draw(UObject* Object, int32 X, int32
TSoftObjectPtr<UTexture2D> IconToDraw; TSoftObjectPtr<UTexture2D> IconToDraw;
TSoftObjectPtr<UTexture2D> LargePreviewImageHero = CharItem->HeroDefinition->GetLargePreviewImage(); TSoftObjectPtr<UTexture2D> LargePreviewImageHero = CharItem->HeroDefinition->GetLargePreviewImage();
TSoftObjectPtr<UTexture2D> SmallPreviewImageHero = CharItem->HeroDefinition->GetSmallPreviewImage(); TSoftObjectPtr<UTexture2D> SmallPreviewImageHero = CharItem->HeroDefinition->GetSmallPreviewImage();
TSoftObjectPtr<UTexture2D> WidePreviewImageHero = CharItem->HeroDefinition->WidePreviewImage; TSoftObjectPtr<UTexture2D> WidePreviewImageHero = CharItem->HeroDefinition->WidePreviewImage.LoadSynchronous();
TSoftObjectPtr<UTexture2D> LargePreviewImage = CharItem->GetLargePreviewImage(); TSoftObjectPtr<UTexture2D> LargePreviewImage = CharItem->GetLargePreviewImage();
TSoftObjectPtr<UTexture2D> SmallPreviewImage = CharItem->GetSmallPreviewImage(); TSoftObjectPtr<UTexture2D> SmallPreviewImage = CharItem->GetSmallPreviewImage();
TSoftObjectPtr<UTexture2D> WidePreviewImage = CharItem->WidePreviewImage; TSoftObjectPtr<UTexture2D> WidePreviewImage = CharItem->WidePreviewImage.LoadSynchronous();
if (CharItem->HeroDefinition != nullptr) if (CharItem->HeroDefinition != nullptr)
{ {
if (LargePreviewImageHero != nullptr) if (LargePreviewImageHero != nullptr)
@@ -89,10 +89,10 @@ void UFortItemDefinitionThumbnailRenderer::Draw(UObject* Object, int32 X, int32
TSoftObjectPtr<UTexture2D> IconToDraw; TSoftObjectPtr<UTexture2D> IconToDraw;
TSoftObjectPtr<UTexture2D> LargePreviewImageWID = PickaxeItem->WeaponDefinition->GetLargePreviewImage(); TSoftObjectPtr<UTexture2D> LargePreviewImageWID = PickaxeItem->WeaponDefinition->GetLargePreviewImage();
TSoftObjectPtr<UTexture2D> SmallPreviewImageWID = PickaxeItem->WeaponDefinition->GetSmallPreviewImage(); TSoftObjectPtr<UTexture2D> SmallPreviewImageWID = PickaxeItem->WeaponDefinition->GetSmallPreviewImage();
TSoftObjectPtr<UTexture2D> WidePreviewImageWID = PickaxeItem->WeaponDefinition->WidePreviewImage; TSoftObjectPtr<UTexture2D> WidePreviewImageWID = PickaxeItem->WeaponDefinition->WidePreviewImage.LoadSynchronous();
TSoftObjectPtr<UTexture2D> LargePreviewImage = PickaxeItem->GetLargePreviewImage(); TSoftObjectPtr<UTexture2D> LargePreviewImage = PickaxeItem->GetLargePreviewImage();
TSoftObjectPtr<UTexture2D> SmallPreviewImage = PickaxeItem->GetSmallPreviewImage(); TSoftObjectPtr<UTexture2D> SmallPreviewImage = PickaxeItem->GetSmallPreviewImage();
TSoftObjectPtr<UTexture2D> WidePreviewImage = PickaxeItem->WidePreviewImage; TSoftObjectPtr<UTexture2D> WidePreviewImage = PickaxeItem->WidePreviewImage.LoadSynchronous();
if (PickaxeItem->WeaponDefinition != nullptr) if (PickaxeItem->WeaponDefinition != nullptr)
{ {
if (LargePreviewImageWID != nullptr) if (LargePreviewImageWID != nullptr)
@@ -0,0 +1,17 @@
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Engine/Texture2D.h"
#include "ThumbnailRendering/TextureThumbnailRenderer.h"
#include "BuildingTextureDataThumbnailRenderer.generated.h"
UCLASS(config=Editor, MinimalAPI)
class UBuildingTextureDataThumbnailRenderer : public UTextureThumbnailRenderer
{
GENERATED_UCLASS_BODY()
protected:
virtual void Draw(UObject* Object, int32 X, int32 Y, uint32 Width, uint32 Height, FRenderTarget* Viewport, FCanvas* Canvas, bool bAdditionalViewFamily) override;
virtual bool CanVisualizeAsset(UObject* Object) override;
};
@@ -17,12 +17,8 @@ class UCustomCharacterPartThumbnailRenderer : public USkeletalMeshThumbnailRende
GENERATED_UCLASS_BODY() GENERATED_UCLASS_BODY()
// Begin UThumbnailRenderer Object // Begin UThumbnailRenderer Object
FORTNITEEDITOR_API virtual void Draw(UObject* Object, int32 X, int32 Y, uint32 Width, uint32 Height, FRenderTarget*, FCanvas* Canvas) override; FORTNITEEDITOR_API virtual void Draw(UObject* Object, int32 X, int32 Y, uint32 Width, uint32 Height, FRenderTarget*, FCanvas* Canvas, bool bAdditionalViewFamily) override;
// End UThumbnailRenderer Object // End UThumbnailRenderer Object
// UObject implementation
FORTNITEEDITOR_API virtual void BeginDestroy() override;
private: private:
class FSkeletalMeshThumbnailScene* ThumbnailScene; class FSkeletalMeshThumbnailScene* ThumbnailScene;
}; };
@@ -16,9 +16,7 @@ UCLASS()
class FORTNITEEDITOR_API UFortItemDefinitionThumbnailRenderer : public UTextureThumbnailRenderer class FORTNITEEDITOR_API UFortItemDefinitionThumbnailRenderer : public UTextureThumbnailRenderer
{ {
GENERATED_BODY() GENERATED_BODY()
protected: protected:
virtual void Draw(UObject* Object, int32 X, int32 Y, uint32 Width, uint32 Height, FRenderTarget* Viewport, FCanvas* Canvas, bool bAdditionalViewFamily) override; virtual void Draw(UObject* Object, int32 X, int32 Y, uint32 Width, uint32 Height, FRenderTarget* Viewport, FCanvas* Canvas, bool bAdditionalViewFamily) override;
virtual bool CanVisualizeAsset(UObject* Object) override; virtual bool CanVisualizeAsset(UObject* Object) override;
@@ -6,7 +6,6 @@
#include "Editor/UnrealEdEngine.h" #include "Editor/UnrealEdEngine.h"
#include "FortUnrealEdEngine.generated.h" #include "FortUnrealEdEngine.generated.h"
UCLASS() UCLASS()
class FORTNITEEDITOR_API UFortUnrealEdEngine : public UUnrealEdEngine class FORTNITEEDITOR_API UFortUnrealEdEngine : public UUnrealEdEngine
{ {
@@ -1,13 +1,13 @@
#include "AIAssignmentInfo.h" #include "AIAssignmentInfo.h"
FAIAssignmentInfo::FAIAssignmentInfo() { FAIAssignmentInfo::FAIAssignmentInfo() {
this->TimeCurrentGoalWasChosen = 1; TimeCurrentGoalWasChosen = 1;
this->TimeExitedLastAssignmentOfType[0] = 1; TimeExitedLastAssignmentOfType[0] = 1;
this->TimeExitedLastAssignmentOfType[1] = 1; TimeExitedLastAssignmentOfType[1] = 1;
this->TimeExitedLastAssignmentOfType[2] = 1; TimeExitedLastAssignmentOfType[2] = 1;
this->TimeExitedLastAssignmentOfType[3] = 1; TimeExitedLastAssignmentOfType[3] = 1;
this->bWaitingForQueryResponse = false; bWaitingForQueryResponse = false;
this->bSuppressGoalUpdates = false; bSuppressGoalUpdates = false;
this->bReportEnemyGoalSelection = false; bReportEnemyGoalSelection = false;
} }
@@ -1,7 +1,7 @@
#include "AICharacterPartsPreloadData.h" #include "AICharacterPartsPreloadData.h"
FAICharacterPartsPreloadData::FAICharacterPartsPreloadData() { FAICharacterPartsPreloadData::FAICharacterPartsPreloadData() {
this->Priority = 1; Priority = 1;
this->CharacterPart = NULL; CharacterPart = NULL;
} }
@@ -1,6 +1,6 @@
#include "AIDirectorDebugInfo.h" #include "AIDirectorDebugInfo.h"
FAIDirectorDebugInfo::FAIDirectorDebugInfo() { FAIDirectorDebugInfo::FAIDirectorDebugInfo() {
this->Timestamp = 1; Timestamp = 1;
} }
@@ -1,8 +1,8 @@
#include "AIDirectorEventData.h" #include "AIDirectorEventData.h"
FAIDirectorEventData::FAIDirectorEventData() { FAIDirectorEventData::FAIDirectorEventData() {
this->Event = EFortAIDirectorEvent::PlayerAIEnemies; Event = EFortAIDirectorEvent::PlayerAIEnemies;
this->ContributionType = EFortAIDirectorEventContribution::Increment; ContributionType = EFortAIDirectorEventContribution::Increment;
this->OwnerParticipantType = EFortAIDirectorEventParticipant::Target; OwnerParticipantType = EFortAIDirectorEventParticipant::Target;
} }
@@ -1,7 +1,7 @@
#include "AIDiscouragedGoalTimer.h" #include "AIDiscouragedGoalTimer.h"
FAIDiscouragedGoalTimer::FAIDiscouragedGoalTimer() { FAIDiscouragedGoalTimer::FAIDiscouragedGoalTimer() {
this->ExpirationTime = 4294967295; ExpirationTime = 4294967295;
this->NumberOfTimesMarkedForDiscouragement = 0; NumberOfTimesMarkedForDiscouragement = 0;
} }
+12 -12
View File
@@ -158,17 +158,17 @@ void AAIHotSpot::AssignFromWaitingList() {
} }
AAIHotSpot::AAIHotSpot() { AAIHotSpot::AAIHotSpot() {
this->SlotGenerator = NULL; SlotGenerator = NULL;
this->FocusActor = NULL; FocusActor = NULL;
this->FilterClass = URecastFilter_UseDefaultArea::StaticClass(); FilterClass = URecastFilter_UseDefaultArea::StaticClass();
this->bStartEnabled = true; bStartEnabled = true;
this->bAllowSlotlessAssignment = false; bAllowSlotlessAssignment = false;
this->bAllowClaimingMultipleSlots = false; bAllowClaimingMultipleSlots = false;
this->bTrackOverlappingSlots = true; bTrackOverlappingSlots = true;
this->bProjectSlotsOnNavmesh = true; bProjectSlotsOnNavmesh = true;
this->bCustomNavmeshSearchExtent = false; bCustomNavmeshSearchExtent = false;
this->bIsEnabled = false; bIsEnabled = false;
this->RenderingComponent = NULL; RenderingComponent = NULL;
this->SpriteComponent = CreateDefaultSubobject<UBillboardComponent>(TEXT("Sprite")); SpriteComponent = CreateDefaultSubobject<UBillboardComponent>(TEXT("Sprite"));
} }
@@ -1,7 +1,7 @@
#include "AIHotSpotConfig.h" #include "AIHotSpotConfig.h"
UAIHotSpotConfig::UAIHotSpotConfig() { UAIHotSpotConfig::UAIHotSpotConfig() {
this->bDetectUnreachableSlots = true; bDetectUnreachableSlots = true;
this->SlotGenerator = NULL; SlotGenerator = NULL;
} }
+13 -13
View File
@@ -66,18 +66,18 @@ void UAIHotSpotSlot::ClearSlot() {
} }
UAIHotSpotSlot::UAIHotSpotSlot() { UAIHotSpotSlot::UAIHotSpotSlot() {
this->Height = 1; Height = 1;
this->Radius = 1; Radius = 1;
this->DistanceToFocusActor = 1; DistanceToFocusActor = 1;
this->UserId = 0; UserId = 0;
this->bStartEnabled = false; bStartEnabled = false;
this->bHasCachedAgentData = false; bHasCachedAgentData = false;
this->bHasOverlappingSlots = false; bHasOverlappingSlots = false;
this->bHasDistanceToFocusActor = false; bHasDistanceToFocusActor = false;
this->bIsBlockingOthers = false; bIsBlockingOthers = false;
this->bIsEnabled = false; bIsEnabled = false;
this->Owner = NULL; Owner = NULL;
this->SlotIndex = 0; SlotIndex = 0;
this->SlotState = EAIHotSpotSlot::Free; SlotState = EAIHotSpotSlot::Free;
} }
@@ -1,6 +1,6 @@
#include "AIHotSpotSlotConfig.h" #include "AIHotSpotSlotConfig.h"
FAIHotSpotSlotConfig::FAIHotSpotSlotConfig() { FAIHotSpotSlotConfig::FAIHotSpotSlotConfig() {
this->SlotType = EFortHotSpotSlot::Melee; SlotType = EFortHotSpotSlot::Melee;
} }
@@ -1,12 +1,12 @@
#include "AIHotSpotSlotGenerator_OnBoundingBox.h" #include "AIHotSpotSlotGenerator_OnBoundingBox.h"
UAIHotSpotSlotGenerator_OnBoundingBox::UAIHotSpotSlotGenerator_OnBoundingBox() { UAIHotSpotSlotGenerator_OnBoundingBox::UAIHotSpotSlotGenerator_OnBoundingBox() {
this->SlotClass = NULL; SlotClass = NULL;
this->ExpandBy = 1; ExpandBy = 1;
this->OffsetFromEdge = 1; OffsetFromEdge = 1;
this->Spacing = 1; Spacing = 1;
this->bLimitMaxExtent = false; bLimitMaxExtent = false;
this->bMustHitFocusActor = false; bMustHitFocusActor = false;
this->SlotDirectionCalculation = EBoundingBoxSlotDirectionCalculation::Auto; SlotDirectionCalculation = EBoundingBoxSlotDirectionCalculation::Auto;
} }
@@ -1,7 +1,7 @@
#include "AIHotSpotSlotInfo.h" #include "AIHotSpotSlotInfo.h"
FAIHotSpotSlotInfo::FAIHotSpotSlotInfo() { FAIHotSpotSlotInfo::FAIHotSpotSlotInfo() {
this->HotSpot = NULL; HotSpot = NULL;
this->SlotIndex = 0; SlotIndex = 0;
} }
@@ -1,7 +1,7 @@
#include "AIPawnCustomizationPreloadData.h" #include "AIPawnCustomizationPreloadData.h"
FAIPawnCustomizationPreloadData::FAIPawnCustomizationPreloadData() { FAIPawnCustomizationPreloadData::FAIPawnCustomizationPreloadData() {
this->Priority = 1; Priority = 1;
this->Customization = NULL; Customization = NULL;
} }
+14 -14
View File
@@ -14,19 +14,19 @@ void AARDronePawn::ScaleIn() {
} }
AARDronePawn::AARDronePawn() { AARDronePawn::AARDronePawn() {
this->ARRoot = CreateDefaultSubobject<USceneComponent>(TEXT("ARRoot")); ARRoot = CreateDefaultSubobject<USceneComponent>(TEXT("ARRoot"));
this->WebcamRoot = CreateDefaultSubobject<USceneComponent>(TEXT("WebcamRoot")); WebcamRoot = CreateDefaultSubobject<USceneComponent>(TEXT("WebcamRoot"));
this->WebcamRotRoot = CreateDefaultSubobject<USceneComponent>(TEXT("WebcamRotRoot")); WebcamRotRoot = CreateDefaultSubobject<USceneComponent>(TEXT("WebcamRotRoot"));
this->ScreenRoot = CreateDefaultSubobject<USceneComponent>(TEXT("ScreenRoot")); ScreenRoot = CreateDefaultSubobject<USceneComponent>(TEXT("ScreenRoot"));
this->MotionBase = CreateDefaultSubobject<USceneComponent>(TEXT("MotionBase0")); MotionBase = CreateDefaultSubobject<USceneComponent>(TEXT("MotionBase0"));
this->MotionController = CreateDefaultSubobject<UMotionControllerComponent>(TEXT("MotionController")); MotionController = CreateDefaultSubobject<UMotionControllerComponent>(TEXT("MotionController"));
this->POVCaptureComponent = CreateDefaultSubobject<USceneCaptureComponent2D>(TEXT("POVCaptureComponent")); POVCaptureComponent = CreateDefaultSubobject<USceneCaptureComponent2D>(TEXT("POVCaptureComponent"));
this->ScreenCaptureComponent = CreateDefaultSubobject<UARScreenCaptureComponent>(TEXT("ScreenCaptureComponent")); ScreenCaptureComponent = CreateDefaultSubobject<UARScreenCaptureComponent>(TEXT("ScreenCaptureComponent"));
this->ARCapture = CreateDefaultSubobject<USceneCaptureComponent2D>(TEXT("ARCapture")); ARCapture = CreateDefaultSubobject<USceneCaptureComponent2D>(TEXT("ARCapture"));
this->MediaPlayer = NULL; MediaPlayer = NULL;
this->MediaPlayerVideoFormatIndex = 0; MediaPlayerVideoFormatIndex = 0;
this->WorldToMetersMultiplier = 1; WorldToMetersMultiplier = 1;
this->ARPostProcessMaterial = NULL; ARPostProcessMaterial = NULL;
this->ARPostProcessMID = NULL; ARPostProcessMID = NULL;
} }
@@ -1,6 +1,6 @@
#include "AbilityActivatedByInputData.h" #include "AbilityActivatedByInputData.h"
FAbilityActivatedByInputData::FAbilityActivatedByInputData() { FAbilityActivatedByInputData::FAbilityActivatedByInputData() {
this->Ability = NULL; Ability = NULL;
} }
@@ -1,8 +1,8 @@
#include "AbilityKitItem.h" #include "AbilityKitItem.h"
FAbilityKitItem::FAbilityKitItem() { FAbilityKitItem::FAbilityKitItem() {
this->Item = NULL; Item = NULL;
this->Quantity = 0; Quantity = 0;
this->Replenishment = EFortReplenishmentType::Restricted; Replenishment = EFortReplenishmentType::Restricted;
} }
@@ -1,7 +1,7 @@
#include "AbilityToolSpawnParameters.h" #include "AbilityToolSpawnParameters.h"
FAbilityToolSpawnParameters::FAbilityToolSpawnParameters() { FAbilityToolSpawnParameters::FAbilityToolSpawnParameters() {
this->SpawnClass = NULL; SpawnClass = NULL;
this->AttachedToActor = NULL; AttachedToActor = NULL;
} }
@@ -1,14 +1,14 @@
#include "AccountIdAndMatchEndData.h" #include "AccountIdAndMatchEndData.h"
FAccountIdAndMatchEndData::FAccountIdAndMatchEndData() { FAccountIdAndMatchEndData::FAccountIdAndMatchEndData() {
this->TotalScore = 0; TotalScore = 0;
this->bCriticalMatchBonus = false; bCriticalMatchBonus = false;
this->bDidLeech = false; bDidLeech = false;
this->NumMissionPoints = 0; NumMissionPoints = 0;
this->ShuffledLockerUsedIndex = 0; ShuffledLockerUsedIndex = 0;
this->TheaterNum = 0; TheaterNum = 0;
this->OutpostNum = 0; OutpostNum = 0;
this->bAbandoning = false; bAbandoning = false;
this->MissionLeechScaling = 1; MissionLeechScaling = 1;
} }
@@ -1,9 +1,9 @@
#include "AccountIdAndScore.h" #include "AccountIdAndScore.h"
FAccountIdAndScore::FAccountIdAndScore() { FAccountIdAndScore::FAccountIdAndScore() {
this->TotalScore = 0; TotalScore = 0;
this->IndividualContribution = 0; IndividualContribution = 0;
this->bCriticalMatchBonus = false; bCriticalMatchBonus = false;
this->bIsLeecherExempt = false; bIsLeecherExempt = false;
} }
@@ -1,7 +1,7 @@
#include "AccumulatedItemEntry.h" #include "AccumulatedItemEntry.h"
FAccumulatedItemEntry::FAccumulatedItemEntry() { FAccumulatedItemEntry::FAccumulatedItemEntry() {
this->ItemDefinition = NULL; ItemDefinition = NULL;
this->Quantity = 0; Quantity = 0;
} }
@@ -1,10 +1,10 @@
#include "ActiveFortCamera.h" #include "ActiveFortCamera.h"
FActiveFortCamera::FActiveFortCamera() { FActiveFortCamera::FActiveFortCamera() {
this->Camera = NULL; Camera = NULL;
this->ViewTarget = NULL; ViewTarget = NULL;
this->TransitionAlpha = 1; TransitionAlpha = 1;
this->TransitionUpdateRate = 1; TransitionUpdateRate = 1;
this->BlendWeight = 1; BlendWeight = 1;
} }
@@ -1,7 +1,7 @@
#include "ActiveGameplayModifier.h" #include "ActiveGameplayModifier.h"
FActiveGameplayModifier::FActiveGameplayModifier() { FActiveGameplayModifier::FActiveGameplayModifier() {
this->ModifierDef = NULL; ModifierDef = NULL;
this->Expiration = 0; Expiration = 0;
} }
@@ -1,7 +1,7 @@
#include "ActiveGameplayModifierArray.h" #include "ActiveGameplayModifierArray.h"
FActiveGameplayModifierArray::FActiveGameplayModifierArray() { FActiveGameplayModifierArray::FActiveGameplayModifierArray() {
this->ModifierHandleGenerator = 0; ModifierHandleGenerator = 0;
this->bSupportRuntimeModifierShutdown = false; bSupportRuntimeModifierShutdown = false;
} }
@@ -1,6 +1,6 @@
#include "ActiveGameplayModifierHandle.h" #include "ActiveGameplayModifierHandle.h"
FActiveGameplayModifierHandle::FActiveGameplayModifierHandle() { FActiveGameplayModifierHandle::FActiveGameplayModifierHandle() {
this->Handle = 0; Handle = 0;
} }
@@ -1,6 +1,6 @@
#include "ActiveItemGrantInfo.h" #include "ActiveItemGrantInfo.h"
FActiveItemGrantInfo::FActiveItemGrantInfo() { FActiveItemGrantInfo::FActiveItemGrantInfo() {
this->Item = NULL; Item = NULL;
} }
@@ -1,6 +1,6 @@
#include "ActiveRealEstatePlotInfo.h" #include "ActiveRealEstatePlotInfo.h"
FActiveRealEstatePlotInfo::FActiveRealEstatePlotInfo() { FActiveRealEstatePlotInfo::FActiveRealEstatePlotInfo() {
this->Plot = NULL; Plot = NULL;
} }
@@ -1,8 +1,8 @@
#include "ActiveTieredCollectionLayout.h" #include "ActiveTieredCollectionLayout.h"
FActiveTieredCollectionLayout::FActiveTieredCollectionLayout() { FActiveTieredCollectionLayout::FActiveTieredCollectionLayout() {
this->Layout = NULL; Layout = NULL;
this->MaxTierUnlocked = 0; MaxTierUnlocked = 0;
this->bLocked = false; bLocked = false;
} }
@@ -1,6 +1,6 @@
#include "ActiveTieredCollectionLayoutArray.h" #include "ActiveTieredCollectionLayoutArray.h"
FActiveTieredCollectionLayoutArray::FActiveTieredCollectionLayoutArray() { FActiveTieredCollectionLayoutArray::FActiveTieredCollectionLayoutArray() {
this->bTiersForced = false; bTiersForced = false;
} }
@@ -1,6 +1,6 @@
#include "ActiveVehicleUI.h" #include "ActiveVehicleUI.h"
FActiveVehicleUI::FActiveVehicleUI() { FActiveVehicleUI::FActiveVehicleUI() {
this->ActiveWidget = NULL; ActiveWidget = NULL;
} }
@@ -1,6 +1,6 @@
#include "ActorAndTimePair.h" #include "ActorAndTimePair.h"
FActorAndTimePair::FActorAndTimePair() { FActorAndTimePair::FActorAndTimePair() {
this->Actor = NULL; Actor = NULL;
} }
@@ -1,7 +1,7 @@
#include "ActorAndTransformPair.h" #include "ActorAndTransformPair.h"
FActorAndTransformPair::FActorAndTransformPair() { FActorAndTransformPair::FActorAndTransformPair() {
this->Actor = NULL; Actor = NULL;
this->bHasValidTransform = false; bHasValidTransform = false;
} }
@@ -1,6 +1,6 @@
#include "ActorComponentRecord.h" #include "ActorComponentRecord.h"
FActorComponentRecord::FActorComponentRecord() { FActorComponentRecord::FActorComponentRecord() {
this->DataHash = 0; DataHash = 0;
} }
@@ -1,6 +1,6 @@
#include "AdditionalLevelStreamed.h" #include "AdditionalLevelStreamed.h"
FAdditionalLevelStreamed::FAdditionalLevelStreamed() { FAdditionalLevelStreamed::FAdditionalLevelStreamed() {
this->bIsServerOnly = false; bIsServerOnly = false;
} }
+1 -1
View File
@@ -1,6 +1,6 @@
#include "AileronRoll.h" #include "AileronRoll.h"
FAileronRoll::FAileronRoll() { FAileronRoll::FAileronRoll() {
this->Direction = EAileronRollDirection::None; Direction = EAileronRollDirection::None;
} }
@@ -1,9 +1,9 @@
#include "AircraftFlightInfo.h" #include "AircraftFlightInfo.h"
FAircraftFlightInfo::FAircraftFlightInfo() { FAircraftFlightInfo::FAircraftFlightInfo() {
this->FlightSpeed = 1; FlightSpeed = 1;
this->TimeTillFlightEnd = 1; TimeTillFlightEnd = 1;
this->TimeTillDropStart = 1; TimeTillDropStart = 1;
this->TimeTillDropEnd = 1; TimeTillDropEnd = 1;
} }
@@ -1,11 +1,11 @@
#include "AlterationSlot.h" #include "AlterationSlot.h"
FAlterationSlot::FAlterationSlot() { FAlterationSlot::FAlterationSlot() {
this->UnlockLevel = 0; UnlockLevel = 0;
this->UnlockRarity = EFortRarity::Common; UnlockRarity = EFortRarity::Common;
this->bRespeccable = false; bRespeccable = false;
this->SlotInitMin = EFortRarity::Common; SlotInitMin = EFortRarity::Common;
this->SlotInitMax = EFortRarity::Common; SlotInitMax = EFortRarity::Common;
this->SlotInitIndex = 0; SlotInitIndex = 0;
} }
@@ -1,6 +1,6 @@
#include "AlterationWeightData.h" #include "AlterationWeightData.h"
FAlterationWeightData::FAlterationWeightData() { FAlterationWeightData::FAlterationWeightData() {
this->InitialRollWeight = 0; InitialRollWeight = 0;
} }
@@ -1,8 +1,8 @@
#include "AmmoItemState.h" #include "AmmoItemState.h"
FAmmoItemState::FAmmoItemState() { FAmmoItemState::FAmmoItemState() {
this->AmmoItemDefintion = NULL; AmmoItemDefintion = NULL;
this->AmmoLoadedCount = 0; AmmoLoadedCount = 0;
this->AmmoMaxCount = 0; AmmoMaxCount = 0;
} }
@@ -1,9 +1,9 @@
#include "AnimInstance_GalileoFerryAxe.h" #include "AnimInstance_GalileoFerryAxe.h"
UAnimInstance_GalileoFerryAxe::UAnimInstance_GalileoFerryAxe() { UAnimInstance_GalileoFerryAxe::UAnimInstance_GalileoFerryAxe() {
this->TimeBeforeFolding = 1; TimeBeforeFolding = 1;
this->VFXDisableTimeOffset = 1; VFXDisableTimeOffset = 1;
this->ShouldFoldBackWeapon = false; ShouldFoldBackWeapon = false;
this->bDesiredIdleParticleVisibility = false; bDesiredIdleParticleVisibility = false;
} }
+5 -5
View File
@@ -1,10 +1,10 @@
#include "AnimSpinner.h" #include "AnimSpinner.h"
FAnimSpinner::FAnimSpinner() { FAnimSpinner::FAnimSpinner() {
this->BaseRotationSpeed = 1; BaseRotationSpeed = 1;
this->RotationRate = 1; RotationRate = 1;
this->InterpolationRateSpeedUp = 1; InterpolationRateSpeedUp = 1;
this->InterpolationRateSlowDown = 1; InterpolationRateSlowDown = 1;
this->RotationAngle = 1; RotationAngle = 1;
} }
@@ -1,6 +1,6 @@
#include "AnimTagProperty.h" #include "AnimTagProperty.h"
FAnimTagProperty::FAnimTagProperty() { FAnimTagProperty::FAnimTagProperty() {
this->bUseExactTag = false; bUseExactTag = false;
} }
@@ -1,7 +1,7 @@
#include "AnimatingMaterialPair.h" #include "AnimatingMaterialPair.h"
FAnimatingMaterialPair::FAnimatingMaterialPair() { FAnimatingMaterialPair::FAnimatingMaterialPair() {
this->Original = NULL; Original = NULL;
this->Override = NULL; Override = NULL;
} }
@@ -1,7 +1,7 @@
#include "AntelopeVehicleBoostLevel.h" #include "AntelopeVehicleBoostLevel.h"
FAntelopeVehicleBoostLevel::FAntelopeVehicleBoostLevel() { FAntelopeVehicleBoostLevel::FAntelopeVehicleBoostLevel() {
this->AccumulationPercent = 1; AccumulationPercent = 1;
this->BoostTime = 1; BoostTime = 1;
} }
@@ -1,7 +1,7 @@
#include "AppliedHomebaseData.h" #include "AppliedHomebaseData.h"
FAppliedHomebaseData::FAppliedHomebaseData() { FAppliedHomebaseData::FAppliedHomebaseData() {
this->Source = NULL; Source = NULL;
this->Target = NULL; Target = NULL;
} }
@@ -1,11 +1,11 @@
#include "ApplyVariantsAdditionalParams.h" #include "ApplyVariantsAdditionalParams.h"
FApplyVariantsAdditionalParams::FApplyVariantsAdditionalParams() { FApplyVariantsAdditionalParams::FApplyVariantsAdditionalParams() {
this->bApplyToAdditionalVariantComponentsOnly = false; bApplyToAdditionalVariantComponentsOnly = false;
this->bDeriveMIDNameFromParent = false; bDeriveMIDNameFromParent = false;
this->bShouldResetOverrideMaterialsOnMeshSwap = false; bShouldResetOverrideMaterialsOnMeshSwap = false;
this->bBackpackReliesOnVariantsFromCID = false; bBackpackReliesOnVariantsFromCID = false;
this->bGliderReliesOnVariantsFromCID = false; bGliderReliesOnVariantsFromCID = false;
this->bForbidParticleSwapping = false; bForbidParticleSwapping = false;
} }
+1 -1
View File
@@ -1,6 +1,6 @@
#include "ArenaCamPawn.h" #include "ArenaCamPawn.h"
AArenaCamPawn::AArenaCamPawn() { AArenaCamPawn::AArenaCamPawn() {
this->CurrArenaCamIdx = 0; CurrArenaCamIdx = 0;
} }
@@ -1,8 +1,8 @@
#include "AshtonStoneData.h" #include "AshtonStoneData.h"
FAshtonStoneData::FAshtonStoneData() { FAshtonStoneData::FAshtonStoneData() {
this->StoneType = EAshtonStoneType::Purple; StoneType = EAshtonStoneType::Purple;
this->StoneItemDefinition = NULL; StoneItemDefinition = NULL;
this->InitialStoneState = EAshtonStoneStateType::NotSpawned; InitialStoneState = EAshtonStoneStateType::NotSpawned;
} }
@@ -1,10 +1,10 @@
#include "AshtonStoneState.h" #include "AshtonStoneState.h"
FAshtonStoneState::FAshtonStoneState() { FAshtonStoneState::FAshtonStoneState() {
this->StoneType = EAshtonStoneType::Purple; StoneType = EAshtonStoneType::Purple;
this->StoneState = EAshtonStoneStateType::NotSpawned; StoneState = EAshtonStoneStateType::NotSpawned;
this->SpawnTime = 1; SpawnTime = 1;
this->bHasEverSpawned = false; bHasEverSpawned = false;
this->SpawnDataIdx = 0; SpawnDataIdx = 0;
} }
@@ -1,11 +1,11 @@
#include "AssetAttachment.h" #include "AssetAttachment.h"
FAssetAttachment::FAssetAttachment() { FAssetAttachment::FAssetAttachment() {
this->SkeletalMeshAsset = NULL; SkeletalMeshAsset = NULL;
this->StaticMeshAsset = NULL; StaticMeshAsset = NULL;
this->bSkipOnDedicatedServers = false; bSkipOnDedicatedServers = false;
this->bIsCurrentWeaponSubstitute = false; bIsCurrentWeaponSubstitute = false;
this->SkelMeshComp = NULL; SkelMeshComp = NULL;
this->StaticMeshComp = NULL; StaticMeshComp = NULL;
} }
@@ -13,6 +13,6 @@ UAsyncAction_WaitForScriptedActions* UAsyncAction_WaitForScriptedActions::WaitFo
} }
UAsyncAction_WaitForScriptedActions::UAsyncAction_WaitForScriptedActions() { UAsyncAction_WaitForScriptedActions::UAsyncAction_WaitForScriptedActions() {
this->ActionManager = NULL; ActionManager = NULL;
} }
@@ -1,6 +1,6 @@
#include "AsyncTaskResult.h" #include "AsyncTaskResult.h"
FAsyncTaskResult::FAsyncTaskResult() { FAsyncTaskResult::FAsyncTaskResult() {
this->bSucceeded = false; bSucceeded = false;
} }
@@ -1,14 +1,14 @@
#include "AthenaAIController.h" #include "AthenaAIController.h"
AAthenaAIController::AAthenaAIController() { AAthenaAIController::AAthenaAIController() {
this->PrimaryMeleeAttackAbilityInstance = NULL; PrimaryMeleeAttackAbilityInstance = NULL;
this->PrimaryRangedAttackAbilityInstance = NULL; PrimaryRangedAttackAbilityInstance = NULL;
this->CheapFlyingNavPointHorizontalGridRatio = 1; CheapFlyingNavPointHorizontalGridRatio = 1;
this->CheapFlyingNavNavPointVerticalGridRatio = 1; CheapFlyingNavNavPointVerticalGridRatio = 1;
this->bEnableCheapFlyingNavigation = false; bEnableCheapFlyingNavigation = false;
this->bAllowBacktrackPathfinding = true; bAllowBacktrackPathfinding = true;
this->bIsGoalRequiredForBehavior = true; bIsGoalRequiredForBehavior = true;
this->SecondaryGoalActor = NULL; SecondaryGoalActor = NULL;
this->AthenaPFC = NULL; AthenaPFC = NULL;
} }
@@ -7,6 +7,6 @@ void UAthenaAIPopulationTracker::OnAgentGameOver(AFortAthenaAIBotController* AIB
} }
UAthenaAIPopulationTracker::UAthenaAIPopulationTracker() { UAthenaAIPopulationTracker::UAthenaAIPopulationTracker() {
this->CachedGameMode = NULL; CachedGameMode = NULL;
} }
@@ -1,8 +1,8 @@
#include "AthenaAIService.h" #include "AthenaAIService.h"
UAthenaAIService::UAthenaAIService() { UAthenaAIService::UAthenaAIService() {
this->CachedGameMode = NULL; CachedGameMode = NULL;
this->CachedGameState = NULL; CachedGameState = NULL;
this->AIServiceManager = NULL; AIServiceManager = NULL;
} }
@@ -10,7 +10,7 @@ void UAthenaAIServiceLoot::OnGamePhaseStepChanged(const TScriptInterface<IFortSa
} }
UAthenaAIServiceLoot::UAthenaAIServiceLoot() { UAthenaAIServiceLoot::UAthenaAIServiceLoot() {
this->CachedWorldItem = NULL; CachedWorldItem = NULL;
this->BotBuildingContainerBlacklistDataTable = NULL; BotBuildingContainerBlacklistDataTable = NULL;
} }
@@ -1,19 +1,19 @@
#include "AthenaAISettings.h" #include "AthenaAISettings.h"
UAthenaAISettings::UAthenaAISettings() { UAthenaAISettings::UAthenaAISettings() {
this->bAllowAIDirector = true; bAllowAIDirector = true;
this->bAllowAIGoalManager = false; bAllowAIGoalManager = false;
this->bForceRVOUse = true; bForceRVOUse = true;
this->MaxPlayerSpeedScaleFootstepSounds = 1; MaxPlayerSpeedScaleFootstepSounds = 1;
this->MinFootstepHearingRange = 1; MinFootstepHearingRange = 1;
this->MaxFootstepHearingRange = 1; MaxFootstepHearingRange = 1;
this->DamagedHearingRange = 1; DamagedHearingRange = 1;
this->CrouchHearingModifier = 1; CrouchHearingModifier = 1;
this->MaxNPCHearingRange = 1; MaxNPCHearingRange = 1;
this->MaxPerceptualStimuliAge = 1; MaxPerceptualStimuliAge = 1;
this->DeAggroRange = 1; DeAggroRange = 1;
this->ReducedDeAggroRange = 1; ReducedDeAggroRange = 1;
this->DurationReduceAggroLimits = 1; DurationReduceAggroLimits = 1;
this->NavigationSystemConfig = NULL; NavigationSystemConfig = NULL;
} }
@@ -1,7 +1,7 @@
#include "AthenaAISettingsAIDIrectorLOD.h" #include "AthenaAISettingsAIDIrectorLOD.h"
UAthenaAISettingsAIDIrectorLOD::UAthenaAISettingsAIDIrectorLOD() { UAthenaAISettingsAIDIrectorLOD::UAthenaAISettingsAIDIrectorLOD() {
this->PlayerLODViewConeConfigs.AddDefaulted(5); PlayerLODViewConeConfigs.AddDefaulted(5);
this->FortAIDirectorLODConfigs.AddDefaulted(4); FortAIDirectorLODConfigs.AddDefaulted(4);
} }
@@ -1,11 +1,11 @@
#include "AthenaAISystem.h" #include "AthenaAISystem.h"
UAthenaAISystem::UAthenaAISystem() { UAthenaAISystem::UAthenaAISystem() {
this->PerceptionManager = NULL; PerceptionManager = NULL;
this->AIDropper = NULL; AIDropper = NULL;
this->AISpawner = NULL; AISpawner = NULL;
this->AIServiceManager = NULL; AIServiceManager = NULL;
this->AIPopulationTracker = NULL; AIPopulationTracker = NULL;
this->PlayerBotManager = NULL; PlayerBotManager = NULL;
} }
@@ -1,7 +1,7 @@
#include "AthenaAccolades.h" #include "AthenaAccolades.h"
FAthenaAccolades::FAthenaAccolades() { FAthenaAccolades::FAthenaAccolades() {
this->AccoladeDef = NULL; AccoladeDef = NULL;
this->Count = 0; Count = 0;
} }
@@ -1,9 +1,9 @@
#include "AthenaAwardGroup.h" #include "AthenaAwardGroup.h"
FAthenaAwardGroup::FAthenaAwardGroup() { FAthenaAwardGroup::FAthenaAwardGroup() {
this->RewardSource = ERewardSource::Invalid; RewardSource = ERewardSource::Invalid;
this->Score = 0; Score = 0;
this->SeasonXp = 1; SeasonXp = 1;
this->BookXp = 0; BookXp = 0;
} }
@@ -1,6 +1,7 @@
#include "AthenaBackpackItemDefinition.h" #include "AthenaBackpackItemDefinition.h"
UAthenaBackpackItemDefinition::UAthenaBackpackItemDefinition() { UAthenaBackpackItemDefinition::UAthenaBackpackItemDefinition(const FObjectInitializer& ObjectInitializer)
this->ItemType = EFortItemType::AthenaBackpack; : Super(ObjectInitializer) {
ItemType = EFortItemType::AthenaBackpack;
} }
@@ -31,7 +31,7 @@ void AAthenaBarrierFlag::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& O
} }
AAthenaBarrierFlag::AAthenaBarrierFlag() { AAthenaBarrierFlag::AAthenaBarrierFlag() {
this->CurrentState = EBarrierFlagState::FlagUp; CurrentState = EBarrierFlagState::FlagUp;
this->FoodTeam = EBarrierFoodTeam::Burger; FoodTeam = EBarrierFoodTeam::Burger;
} }
@@ -40,9 +40,9 @@ void AAthenaBarrierObjective::GetLifetimeReplicatedProps(TArray<FLifetimePropert
} }
AAthenaBarrierObjective::AAthenaBarrierObjective() { AAthenaBarrierObjective::AAthenaBarrierObjective() {
this->FoodTeam = EBarrierFoodTeam::Burger; FoodTeam = EBarrierFoodTeam::Burger;
this->ObjectiveDamageState = EBarrierObjectiveDamageState::Health_75; ObjectiveDamageState = EBarrierObjectiveDamageState::Health_75;
this->HeadRotationYaw = 1; HeadRotationYaw = 1;
this->bAllowDamage = false; bAllowDamage = false;
} }
@@ -1,7 +1,7 @@
#include "AthenaBatchedDamageGameplayCues_NonShared.h" #include "AthenaBatchedDamageGameplayCues_NonShared.h"
FAthenaBatchedDamageGameplayCues_NonShared::FAthenaBatchedDamageGameplayCues_NonShared() { FAthenaBatchedDamageGameplayCues_NonShared::FAthenaBatchedDamageGameplayCues_NonShared() {
this->HitActor = NULL; HitActor = NULL;
this->NonPlayerHitActor = NULL; NonPlayerHitActor = NULL;
} }
@@ -1,17 +1,17 @@
#include "AthenaBatchedDamageGameplayCues_Shared.h" #include "AthenaBatchedDamageGameplayCues_Shared.h"
FAthenaBatchedDamageGameplayCues_Shared::FAthenaBatchedDamageGameplayCues_Shared() { FAthenaBatchedDamageGameplayCues_Shared::FAthenaBatchedDamageGameplayCues_Shared() {
this->Magnitude = 1; Magnitude = 1;
this->bWeaponActivate = false; bWeaponActivate = false;
this->bIsFatal = false; bIsFatal = false;
this->bIsCritical = false; bIsCritical = false;
this->bIsShield = false; bIsShield = false;
this->bIsShieldDestroyed = false; bIsShieldDestroyed = false;
this->bIsShieldApplied = false; bIsShieldApplied = false;
this->bIsBallistic = false; bIsBallistic = false;
this->NonPlayerMagnitude = 1; NonPlayerMagnitude = 1;
this->NonPlayerbIsFatal = false; NonPlayerbIsFatal = false;
this->NonPlayerbIsCritical = false; NonPlayerbIsCritical = false;
this->bIsValid = false; bIsValid = false;
} }
@@ -24,7 +24,8 @@ TSoftClassPtr<ABattleBusCosmeticInstanceBase> UAthenaBattleBusItemDefinition::Ge
return NULL; return NULL;
} }
UAthenaBattleBusItemDefinition::UAthenaBattleBusItemDefinition() { UAthenaBattleBusItemDefinition::UAthenaBattleBusItemDefinition(const FObjectInitializer& ObjectInitializer)
this->ItemType = EFortItemType::AthenaBattleBus; : Super(ObjectInitializer) {
ItemType = EFortItemType::AthenaBattleBus;
} }
@@ -27,9 +27,9 @@ void AAthenaBigBaseWall::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& O
} }
AAthenaBigBaseWall::AAthenaBigBaseWall() { AAthenaBigBaseWall::AAthenaBigBaseWall() {
this->WallGravity = 1; WallGravity = 1;
this->TimeUntilWallComesDown = 1; TimeUntilWallComesDown = 1;
this->bResetBool = false; bResetBool = false;
this->BarrierState = EBarrierState::BarrierUp; BarrierState = EBarrierState::BarrierUp;
} }
@@ -1,6 +1,6 @@
#include "AthenaBroadcastKillFeedEntryInfo.h" #include "AthenaBroadcastKillFeedEntryInfo.h"
FAthenaBroadcastKillFeedEntryInfo::FAthenaBroadcastKillFeedEntryInfo() { FAthenaBroadcastKillFeedEntryInfo::FAthenaBroadcastKillFeedEntryInfo() {
this->EntryType = EAthenaBroadcastKillFeedEntryType::Elimination; EntryType = EAthenaBroadcastKillFeedEntryType::Elimination;
} }
@@ -10,7 +10,7 @@ void AAthenaBuildingFoundationObjective::GetLifetimeReplicatedProps(TArray<FLife
} }
AAthenaBuildingFoundationObjective::AAthenaBuildingFoundationObjective() { AAthenaBuildingFoundationObjective::AAthenaBuildingFoundationObjective() {
this->CurrentHealth = 1; CurrentHealth = 1;
this->MaxHealth = 1; MaxHealth = 1;
} }
@@ -1,5 +1,6 @@
#include "AthenaCallingCardItemDefinition.h" #include "AthenaCallingCardItemDefinition.h"
UAthenaCallingCardItemDefinition::UAthenaCallingCardItemDefinition() { UAthenaCallingCardItemDefinition::UAthenaCallingCardItemDefinition(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer) {
} }
@@ -66,42 +66,42 @@ void AAthenaCapturePoint::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>&
} }
AAthenaCapturePoint::AAthenaCapturePoint() { AAthenaCapturePoint::AAthenaCapturePoint() {
this->HUDIndicatorMID = NULL; HUDIndicatorMID = NULL;
this->IconMaterialIndexParameter = 0; IconMaterialIndexParameter = 0;
this->bPermanentShutdown = false; bPermanentShutdown = false;
this->ShutdownTime = 1; ShutdownTime = 1;
this->HUDIndicatorRef = NULL; HUDIndicatorRef = NULL;
this->CapturePointMID_Neutral = NULL; CapturePointMID_Neutral = NULL;
this->CapturePointMID_AllyCaptured = NULL; CapturePointMID_AllyCaptured = NULL;
this->CapturePointMID_AllyCapping = NULL; CapturePointMID_AllyCapping = NULL;
this->CapturePointMID_EnemyCaptured = NULL; CapturePointMID_EnemyCaptured = NULL;
this->CapturePointMID_EnemyCapping = NULL; CapturePointMID_EnemyCapping = NULL;
this->bUseHUDIndicator = false; bUseHUDIndicator = false;
this->bHUDClampToScreenEdge = true; bHUDClampToScreenEdge = true;
this->DistanceForMinHUDSize = 1; DistanceForMinHUDSize = 1;
this->CapturePointMat_Neutral = NULL; CapturePointMat_Neutral = NULL;
this->CapturePointMat_AllyCaptured = NULL; CapturePointMat_AllyCaptured = NULL;
this->CapturePointMat_AllyCapping = NULL; CapturePointMat_AllyCapping = NULL;
this->CapturePointMat_EnemyCaptured = NULL; CapturePointMat_EnemyCaptured = NULL;
this->CapturePointMat_EnemyCapping = NULL; CapturePointMat_EnemyCapping = NULL;
this->StructuralComponent = CreateDefaultSubobject<UBoxComponent>(TEXT("StructuralComponent")); StructuralComponent = CreateDefaultSubobject<UBoxComponent>(TEXT("StructuralComponent"));
this->CaptureComponent = CreateDefaultSubobject<UBoxComponent>(TEXT("CaptureComponent")); CaptureComponent = CreateDefaultSubobject<UBoxComponent>(TEXT("CaptureComponent"));
this->bActivated = true; bActivated = true;
this->ContentionRules = EContentionRuleType::MajorityWins; ContentionRules = EContentionRuleType::MajorityWins;
this->bSupportsPerPlayerCapturing = false; bSupportsPerPlayerCapturing = false;
this->CachedPercentIncreasePerPlayerCaptor = 1; CachedPercentIncreasePerPlayerCaptor = 1;
this->CachedBonusPercentIncreasePerPlayerCaptor = 1; CachedBonusPercentIncreasePerPlayerCaptor = 1;
this->CachedPercentDecreaseNoCaptor = 1; CachedPercentDecreaseNoCaptor = 1;
this->bLocked = false; bLocked = false;
this->UnlockInterval = 1; UnlockInterval = 1;
this->UnlockRules = ECapturePointUnlockRules::Reset; UnlockRules = ECapturePointUnlockRules::Reset;
this->NumCapturingPoint = 0; NumCapturingPoint = 0;
this->TeamCapturingPoint = 0; TeamCapturingPoint = 0;
this->TeamControllingPoint = 0; TeamControllingPoint = 0;
this->TeamInfoControllingPoint = NULL; TeamInfoControllingPoint = NULL;
this->TeamOwningPoint = 0; TeamOwningPoint = 0;
this->CaptureState = ECapturePointState::Idle; CaptureState = ECapturePointState::Idle;
this->CapturePercentage = 1; CapturePercentage = 1;
this->ReplicatedCapturePercentage = 1; ReplicatedCapturePercentage = 1;
} }
@@ -1,32 +1,32 @@
#include "AthenaCarPlayerSlot.h" #include "AthenaCarPlayerSlot.h"
FAthenaCarPlayerSlot::FAthenaCarPlayerSlot() { FAthenaCarPlayerSlot::FAthenaCarPlayerSlot() {
this->SoundOnEnter = NULL; SoundOnEnter = NULL;
this->SoundOnExit = NULL; SoundOnExit = NULL;
this->AnimInstanceOverride = NULL; AnimInstanceOverride = NULL;
this->AnimLayerOverride = NULL; AnimLayerOverride = NULL;
this->bUsePerSeatAnimInstanceOverride = false; bUsePerSeatAnimInstanceOverride = false;
this->bIsSelectable = false; bIsSelectable = false;
this->bUseGroundMotion = false; bUseGroundMotion = false;
this->bUseVehicleIsOnGround = false; bUseVehicleIsOnGround = false;
this->bCanEmote = false; bCanEmote = false;
this->bCanCarryDBNOPlayer = false; bCanCarryDBNOPlayer = false;
this->bForceCrouch = false; bForceCrouch = false;
this->bPlayEnterSoundForTransition = false; bPlayEnterSoundForTransition = false;
this->bPlayExitSoundForTransition = false; bPlayExitSoundForTransition = false;
this->bIsPushDriver = false; bIsPushDriver = false;
this->bCanOnlyFireWhenTargeting = false; bCanOnlyFireWhenTargeting = false;
this->SlopeCompensationCameraOffset = 1; SlopeCompensationCameraOffset = 1;
this->Player = NULL; Player = NULL;
this->Controller = NULL; Controller = NULL;
this->PlayerEntryTime = 1; PlayerEntryTime = 1;
this->EnterSeatTime = 1; EnterSeatTime = 1;
this->bConstrainPawnToSeatTransform = false; bConstrainPawnToSeatTransform = false;
this->bConstrainPawnToSeatDuringTransitionMontage = false; bConstrainPawnToSeatDuringTransitionMontage = false;
this->bOffsetPlayerRelativeAttachLocation = false; bOffsetPlayerRelativeAttachLocation = false;
this->bUseExitTimer = false; bUseExitTimer = false;
this->WeaponComponent = NULL; WeaponComponent = NULL;
this->CameraPitchConstraint = 1; CameraPitchConstraint = 1;
this->CameraYawConstraint = 1; CameraYawConstraint = 1;
} }
@@ -1,6 +1,6 @@
#include "AthenaCarPlayerSlotUnreplicated.h" #include "AthenaCarPlayerSlotUnreplicated.h"
FAthenaCarPlayerSlotUnreplicated::FAthenaCarPlayerSlotUnreplicated() { FAthenaCarPlayerSlotUnreplicated::FAthenaCarPlayerSlotUnreplicated() {
this->Input = NULL; Input = NULL;
} }
@@ -1,5 +1,6 @@
#include "AthenaChallengeBundleQuestDefinition.h" #include "AthenaChallengeBundleQuestDefinition.h"
UAthenaChallengeBundleQuestDefinition::UAthenaChallengeBundleQuestDefinition() { UAthenaChallengeBundleQuestDefinition::UAthenaChallengeBundleQuestDefinition(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer) {
} }
@@ -4,6 +4,6 @@ void UAthenaChallengeIndicatorCache::HandleQuestsUpdated() {
} }
UAthenaChallengeIndicatorCache::UAthenaChallengeIndicatorCache() { UAthenaChallengeIndicatorCache::UAthenaChallengeIndicatorCache() {
this->OwningPlayerController = NULL; OwningPlayerController = NULL;
} }
@@ -1,9 +1,76 @@
#include "AthenaCharacterItemDefinition.h" #include "AthenaCharacterItemDefinition.h"
#include "CustomCharacterPart.h"
#include "FortHeroType.h"
#include "FortHeroSpecialization.h"
UAthenaCharacterItemDefinition::UAthenaCharacterItemDefinition() { UAthenaCharacterItemDefinition::UAthenaCharacterItemDefinition(const FObjectInitializer& ObjectInitializer)
this->HeroDefinition = NULL; : Super(ObjectInitializer)
this->DefaultBackpack = NULL; {
this->Gender = EFortCustomGender::Invalid; HeroDefinition = nullptr;
this->ItemType = EFortItemType::AthenaCharacter; DefaultBackpack = nullptr;
ItemType = EFortItemType::AthenaCharacter;
} }
USkeletalMesh* UAthenaCharacterItemDefinition::GetPreviewBaseMesh() const
{
if (!HeroDefinition) return nullptr;
for (const TSoftObjectPtr<UFortHeroSpecialization>& Specialization : HeroDefinition->Specializations)
{
if (UFortHeroSpecialization* FortHeroSpecialization = Specialization.LoadSynchronous())
{
for (const TSoftObjectPtr<UCustomCharacterPart>& CharacterPart : FortHeroSpecialization->CharacterParts)
{
if (UCustomCharacterPart* CustomCharacterPart = CharacterPart.LoadSynchronous())
{
if (CustomCharacterPart->CharacterPartType == EFortCustomPartType::Body &&
CustomCharacterPart->MasterSkeletalMeshes.Num() > 0)
{
if (USkeletalMesh* SkeletalMesh = CustomCharacterPart->MasterSkeletalMeshes[0].LoadSynchronous())
{
return SkeletalMesh;
}
}
}
}
}
}
return nullptr;
}
void UAthenaCharacterItemDefinition::GetPreviewSkeletalMeshes(TArray<USkeletalMesh*>& OutMeshes, TArray<TSubclassOf<UAnimInstance>>& OutAnimClasses) const
{
if (!HeroDefinition) return;
for (const TSoftObjectPtr<UFortHeroSpecialization>& Specialization : HeroDefinition->Specializations)
{
if (UFortHeroSpecialization* FortHeroSpecialization = Specialization.LoadSynchronous())
{
for (const TSoftObjectPtr<UCustomCharacterPart>& CharacterPart : FortHeroSpecialization->CharacterParts)
{
if (UCustomCharacterPart* CustomCharacterPart = CharacterPart.LoadSynchronous())
{
if (USkeletalMesh* SkeletalMesh = CustomCharacterPart->SkeletalMesh.LoadSynchronous())
{
OutMeshes.Add(SkeletalMesh);
}
if (UCustomCharacterBodyPartData* BodyPartData = Cast<UCustomCharacterBodyPartData>(CustomCharacterPart->AdditionalData))
{
if (UClass* AnimClass = BodyPartData->AnimClass.LoadSynchronous())
{
OutAnimClasses.Add(AnimClass);
}
}
if (UCustomCharacterAccessoryData* AccessoryData = Cast<UCustomCharacterAccessoryData>(CustomCharacterPart->AdditionalData))
{
if (UClass* AnimClass = AccessoryData->AnimClass.LoadSynchronous())
{
OutAnimClasses.Add(AnimClass);
}
}
}
}
}
}
}
@@ -4,6 +4,7 @@ TArray<UCustomCharacterPart*> UAthenaCharacterPartItemDefinition::GetCharacterPa
return TArray<UCustomCharacterPart*>(); return TArray<UCustomCharacterPart*>();
} }
UAthenaCharacterPartItemDefinition::UAthenaCharacterPartItemDefinition() { UAthenaCharacterPartItemDefinition::UAthenaCharacterPartItemDefinition(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer) {
} }
@@ -21,7 +21,8 @@ TSubclassOf<AFortPlayerCharm> UAthenaCharmItemDefinition::GetCharmPrefabClass()
return NULL; return NULL;
} }
UAthenaCharmItemDefinition::UAthenaCharmItemDefinition() { UAthenaCharmItemDefinition::UAthenaCharmItemDefinition(const FObjectInitializer& ObjectInitializer)
this->ItemType = EFortItemType::AthenaCharmCosmetic; : Super(ObjectInitializer) {
ItemType = EFortItemType::AthenaCharmCosmetic;
} }
@@ -1,6 +1,6 @@
#include "AthenaChromeTraversePoint.h" #include "AthenaChromeTraversePoint.h"
AAthenaChromeTraversePoint::AAthenaChromeTraversePoint() { AAthenaChromeTraversePoint::AAthenaChromeTraversePoint() {
this->HoldingArea = NULL; HoldingArea = NULL;
} }
@@ -18,13 +18,13 @@ void AAthenaCobaltStormShield::GetLifetimeReplicatedProps(TArray<FLifetimeProper
} }
AAthenaCobaltStormShield::AAthenaCobaltStormShield() { AAthenaCobaltStormShield::AAthenaCobaltStormShield() {
this->ShieldBoundarySound = NULL; ShieldBoundarySound = NULL;
this->LowpassAudioListenerRange = 1; LowpassAudioListenerRange = 1;
this->LowpassAudioValueOutside = 1; LowpassAudioValueOutside = 1;
this->LowpassAudioValueInside = 1; LowpassAudioValueInside = 1;
this->LowpassAudioInterpSpeed = 1; LowpassAudioInterpSpeed = 1;
this->CachedMutator = NULL; CachedMutator = NULL;
this->ClientStormShieldShrinkTimerValue = 1; ClientStormShieldShrinkTimerValue = 1;
this->ShieldBoundaryAudio = NULL; ShieldBoundaryAudio = NULL;
} }
@@ -1,5 +1,6 @@
#include "AthenaConsumableEmoteItemDefinition.h" #include "AthenaConsumableEmoteItemDefinition.h"
UAthenaConsumableEmoteItemDefinition::UAthenaConsumableEmoteItemDefinition() { UAthenaConsumableEmoteItemDefinition::UAthenaConsumableEmoteItemDefinition(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer) {
} }
@@ -21,6 +21,6 @@ UFortHero* UAthenaCosmeticAccountItem::GetHero() const {
} }
UAthenaCosmeticAccountItem::UAthenaCosmeticAccountItem() { UAthenaCosmeticAccountItem::UAthenaCosmeticAccountItem() {
this->Hero = NULL; Hero = NULL;
} }
@@ -52,15 +52,16 @@ void UAthenaCosmeticItemDefinition::ApplyVariantsToComponent(UPrimitiveComponent
void UAthenaCosmeticItemDefinition::ApplyVariants(AActor* InActor, const FFortAthenaLoadout& Loadout, const FApplyVariantsAdditionalParams& Params) const { void UAthenaCosmeticItemDefinition::ApplyVariants(AActor* InActor, const FFortAthenaLoadout& Loadout, const FApplyVariantsAdditionalParams& Params) const {
} }
UAthenaCosmeticItemDefinition::UAthenaCosmeticItemDefinition() { UAthenaCosmeticItemDefinition::UAthenaCosmeticItemDefinition(const FObjectInitializer& ObjectInitializer)
this->bIsShuffleTile = false; : Super(ObjectInitializer) {
this->bIsOwnedByCampaignHero = false; bIsShuffleTile = false;
this->bHasMoreThanOneCharacterPartVariant = false; bIsOwnedByCampaignHero = false;
this->bHideIfNotOwned = false; bHasMoreThanOneCharacterPartVariant = false;
this->bInitializedConfiguredDynamicInstallBundles = false; bHideIfNotOwned = false;
this->bDynamicInstallBundlesError = false; bInitializedConfiguredDynamicInstallBundles = false;
this->bDynamicInstallBundlesComplete = false; bDynamicInstallBundlesError = false;
this->DynamicInstallBundlesUpdateStartTime = 4294967295; bDynamicInstallBundlesComplete = false;
this->VariantUnlockType = EVariantUnlockType::UnlockAll; DynamicInstallBundlesUpdateStartTime = 4294967295;
VariantUnlockType = EVariantUnlockType::UnlockAll;
} }
@@ -1,6 +1,6 @@
#include "AthenaCosmeticMaterialOverride.h" #include "AthenaCosmeticMaterialOverride.h"
FAthenaCosmeticMaterialOverride::FAthenaCosmeticMaterialOverride() { FAthenaCosmeticMaterialOverride::FAthenaCosmeticMaterialOverride() {
this->MaterialOverrideIndex = 0; MaterialOverrideIndex = 0;
} }
@@ -5,8 +5,8 @@ void AAthenaCreativeRift::NotifyActorDespawnEndOverlap(UPrimitiveComponent* Over
AAthenaCreativeRift::AAthenaCreativeRift() { AAthenaCreativeRift::AAthenaCreativeRift() {
this->DespawnSphereComponent = NULL; DespawnSphereComponent = NULL;
this->ParentTrap = NULL; ParentTrap = NULL;
this->bHasLoadedSettings = false; bHasLoadedSettings = false;
} }
@@ -1,5 +1,6 @@
#include "AthenaDailyQuestDefinition.h" #include "AthenaDailyQuestDefinition.h"
UAthenaDailyQuestDefinition::UAthenaDailyQuestDefinition() { UAthenaDailyQuestDefinition::UAthenaDailyQuestDefinition(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer) {
} }

Some files were not shown because too many files have changed in this diff Show More