mirror of
https://github.com/FortniteModdingHub/FNGameProj.git
synced 2026-08-26 19:43:31 +00:00
Character Preview
This commit is contained in:
BIN
Binary file not shown.
+4
-1
@@ -1,5 +1,8 @@
|
||||
#include "McpItemDefinitionBase.h"
|
||||
|
||||
UMcpItemDefinitionBase::UMcpItemDefinitionBase() {
|
||||
UMcpItemDefinitionBase::UMcpItemDefinitionBase(const FObjectInitializer& ObjectInitializer)
|
||||
: Super(ObjectInitializer)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
+5
-1
@@ -7,6 +7,10 @@ UCLASS(Blueprintable)
|
||||
class MCPPROFILESYS_API UMcpItemDefinitionBase : public UPrimaryDataAsset {
|
||||
GENERATED_BODY()
|
||||
public:
|
||||
UMcpItemDefinitionBase();
|
||||
#if WITH_EDITORONLY_DATA
|
||||
UPROPERTY(VisibleAnywhere, DisplayName="Template ID / Persistent Name", Category="Item")
|
||||
FString EditorTemplateId;
|
||||
#endif
|
||||
UMcpItemDefinitionBase(const FObjectInitializer& ObjectInitializer);
|
||||
};
|
||||
|
||||
|
||||
@@ -20,6 +20,19 @@ public class FortniteEditor : ModuleRules
|
||||
"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"
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,15 +3,19 @@
|
||||
#include "FortniteEditor.h"
|
||||
#include "Modules/ModuleManager.h"
|
||||
#include "FortItemDefinitionThumbnailRenderer.h"
|
||||
#include "AssetTypeActions_Base.h"
|
||||
#include "BuildingTextureDataThumbnailRenderer.h"
|
||||
#include "FortniteGame/Public/FortItemDefinition.h"
|
||||
#include "ThumbnailRendering/ThumbnailManager.h"
|
||||
#include "IAssetTools.h"
|
||||
#include "AssetToolsModule.h"
|
||||
#include "BuildingTextureData.h"
|
||||
#include "ContentBrowserModule.h"
|
||||
#include "CustomCharacterPart.h"
|
||||
#include "Public/CustomCharacterPartThumbnailRenderer.h"
|
||||
#include "LevelEditor.h"
|
||||
#include "FortConversation.h"
|
||||
#include "FortAssetTypeActions_FortItemDefinition.cpp"
|
||||
#include "FortAssetTypeActions_FortConversation.cpp"
|
||||
#include "FortAssetTypeActions_FortPlaysetItemDefinition.cpp"
|
||||
#include "GameplayTagsManager.h"
|
||||
#include "IAssetTypeActions.h"
|
||||
|
||||
|
||||
@@ -21,45 +25,20 @@ DEFINE_LOG_CATEGORY(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()
|
||||
{
|
||||
UE_LOG(LogFortEditor, Warning, TEXT("FortniteEditor was initialized."));
|
||||
{
|
||||
IAssetTools& AssetTools = FModuleManager::LoadModuleChecked<FAssetToolsModule>("AssetTools").Get();
|
||||
|
||||
TSharedPtr<IAssetTypeActions> Action = MakeShareable(new FATA_FortItemDefinitionFactory());
|
||||
TSharedPtr<IAssetTypeActions> ActionConv = MakeShareable(new FATA_FortConversationFactory());
|
||||
AssetTools.RegisterAssetTypeActions(Action.ToSharedRef());
|
||||
AssetTools.RegisterAssetTypeActions(ActionConv.ToSharedRef());
|
||||
TArray<TSharedPtr<IAssetTypeActions>> AssetTypeActionsArray;
|
||||
AssetTypeActionsArray.Add(MakeShareable(new FFortAssetTypeActions_FortItemDefinition()));
|
||||
AssetTypeActionsArray.Add(MakeShareable(new FFortAssetTypeActions_FortConversation()));
|
||||
AssetTypeActionsArray.Add(MakeShareable(new FFortAssetTypeActions_FortPlaysetItemDefinition()));
|
||||
for (const auto& AssetTypeActions : AssetTypeActionsArray)
|
||||
{
|
||||
AssetTools.RegisterAssetTypeActions(AssetTypeActions.ToSharedRef());
|
||||
}
|
||||
}
|
||||
UThumbnailManager::Get().UnregisterCustomRenderer(UFortItemDefinition::StaticClass());
|
||||
UThumbnailManager::Get().RegisterCustomRenderer(UFortItemDefinition::StaticClass(), UFortItemDefinitionThumbnailRenderer::StaticClass());
|
||||
@@ -67,6 +46,7 @@ void FFortniteEditor::StartupModule()
|
||||
UThumbnailManager::Get().UnregisterCustomRenderer(UCustomCharacterPart::StaticClass());
|
||||
UThumbnailManager::Get().RegisterCustomRenderer(UCustomCharacterPart::StaticClass(), UCustomCharacterPartThumbnailRenderer::StaticClass());
|
||||
|
||||
UThumbnailManager::Get().UnregisterCustomRenderer(UBuildingTextureData::StaticClass());
|
||||
UThumbnailManager::Get().RegisterCustomRenderer(UBuildingTextureData::StaticClass(), UBuildingTextureDataThumbnailRenderer::StaticClass());
|
||||
}
|
||||
|
||||
#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.
|
||||
|
||||
|
||||
#include "CustomCharacterPartThumbnailRenderer.h"
|
||||
#include "CustomCharacterPart.h"
|
||||
#include "SceneView.h"
|
||||
#include "Engine/SkeletalMesh.h"
|
||||
#include "ThumbnailHelpers.h"
|
||||
#include "ThumbnailRendering/ThumbnailManager.h"
|
||||
#include "Materials/MaterialInstanceDynamic.h"
|
||||
|
||||
|
||||
#include "Engine/AssetManager.h"
|
||||
#include "Engine/StreamableManager.h"
|
||||
|
||||
UCustomCharacterPartThumbnailRenderer::UCustomCharacterPartThumbnailRenderer(const FObjectInitializer& 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);
|
||||
if (Part->SkeletalMesh != nullptr)
|
||||
if (Part && Part->SkeletalMesh)
|
||||
{
|
||||
if ( ThumbnailScene == nullptr )
|
||||
{
|
||||
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);
|
||||
Super::Draw(Part->SkeletalMesh.LoadSynchronous(), X, Y, Width, Height, RenderTarget, Canvas, bAdditionalViewFamily);
|
||||
}
|
||||
}
|
||||
|
||||
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> LargePreviewImage = Item->GetLargePreviewImage();
|
||||
TSoftObjectPtr<UTexture2D> SmallPreviewImage = Item->GetSmallPreviewImage();
|
||||
TSoftObjectPtr<UTexture2D> WidePreviewImage = Item->WidePreviewImage;
|
||||
TSoftObjectPtr<UTexture2D> WidePreviewImage = Item->WidePreviewImage.LoadSynchronous();
|
||||
if (LargePreviewImage != nullptr)
|
||||
{
|
||||
IconToDraw = LargePreviewImage;
|
||||
@@ -47,10 +47,10 @@ void UFortItemDefinitionThumbnailRenderer::Draw(UObject* Object, int32 X, int32
|
||||
TSoftObjectPtr<UTexture2D> IconToDraw;
|
||||
TSoftObjectPtr<UTexture2D> LargePreviewImageHero = CharItem->HeroDefinition->GetLargePreviewImage();
|
||||
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> SmallPreviewImage = CharItem->GetSmallPreviewImage();
|
||||
TSoftObjectPtr<UTexture2D> WidePreviewImage = CharItem->WidePreviewImage;
|
||||
TSoftObjectPtr<UTexture2D> WidePreviewImage = CharItem->WidePreviewImage.LoadSynchronous();
|
||||
if (CharItem->HeroDefinition != nullptr)
|
||||
{
|
||||
if (LargePreviewImageHero != nullptr)
|
||||
@@ -89,10 +89,10 @@ void UFortItemDefinitionThumbnailRenderer::Draw(UObject* Object, int32 X, int32
|
||||
TSoftObjectPtr<UTexture2D> IconToDraw;
|
||||
TSoftObjectPtr<UTexture2D> LargePreviewImageWID = PickaxeItem->WeaponDefinition->GetLargePreviewImage();
|
||||
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> SmallPreviewImage = PickaxeItem->GetSmallPreviewImage();
|
||||
TSoftObjectPtr<UTexture2D> WidePreviewImage = PickaxeItem->WidePreviewImage;
|
||||
TSoftObjectPtr<UTexture2D> WidePreviewImage = PickaxeItem->WidePreviewImage.LoadSynchronous();
|
||||
if (PickaxeItem->WeaponDefinition != 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()
|
||||
|
||||
// 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
|
||||
|
||||
// UObject implementation
|
||||
FORTNITEEDITOR_API virtual void BeginDestroy() override;
|
||||
|
||||
private:
|
||||
class FSkeletalMeshThumbnailScene* ThumbnailScene;
|
||||
};
|
||||
|
||||
@@ -16,9 +16,7 @@ UCLASS()
|
||||
class FORTNITEEDITOR_API UFortItemDefinitionThumbnailRenderer : public UTextureThumbnailRenderer
|
||||
{
|
||||
GENERATED_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;
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
#include "Editor/UnrealEdEngine.h"
|
||||
#include "FortUnrealEdEngine.generated.h"
|
||||
|
||||
|
||||
UCLASS()
|
||||
class FORTNITEEDITOR_API UFortUnrealEdEngine : public UUnrealEdEngine
|
||||
{
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
#include "AIAssignmentInfo.h"
|
||||
|
||||
FAIAssignmentInfo::FAIAssignmentInfo() {
|
||||
this->TimeCurrentGoalWasChosen = 1;
|
||||
this->TimeExitedLastAssignmentOfType[0] = 1;
|
||||
this->TimeExitedLastAssignmentOfType[1] = 1;
|
||||
this->TimeExitedLastAssignmentOfType[2] = 1;
|
||||
this->TimeExitedLastAssignmentOfType[3] = 1;
|
||||
this->bWaitingForQueryResponse = false;
|
||||
this->bSuppressGoalUpdates = false;
|
||||
this->bReportEnemyGoalSelection = false;
|
||||
TimeCurrentGoalWasChosen = 1;
|
||||
TimeExitedLastAssignmentOfType[0] = 1;
|
||||
TimeExitedLastAssignmentOfType[1] = 1;
|
||||
TimeExitedLastAssignmentOfType[2] = 1;
|
||||
TimeExitedLastAssignmentOfType[3] = 1;
|
||||
bWaitingForQueryResponse = false;
|
||||
bSuppressGoalUpdates = false;
|
||||
bReportEnemyGoalSelection = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "AICharacterPartsPreloadData.h"
|
||||
|
||||
FAICharacterPartsPreloadData::FAICharacterPartsPreloadData() {
|
||||
this->Priority = 1;
|
||||
this->CharacterPart = NULL;
|
||||
Priority = 1;
|
||||
CharacterPart = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "AIDirectorDebugInfo.h"
|
||||
|
||||
FAIDirectorDebugInfo::FAIDirectorDebugInfo() {
|
||||
this->Timestamp = 1;
|
||||
Timestamp = 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#include "AIDirectorEventData.h"
|
||||
|
||||
FAIDirectorEventData::FAIDirectorEventData() {
|
||||
this->Event = EFortAIDirectorEvent::PlayerAIEnemies;
|
||||
this->ContributionType = EFortAIDirectorEventContribution::Increment;
|
||||
this->OwnerParticipantType = EFortAIDirectorEventParticipant::Target;
|
||||
Event = EFortAIDirectorEvent::PlayerAIEnemies;
|
||||
ContributionType = EFortAIDirectorEventContribution::Increment;
|
||||
OwnerParticipantType = EFortAIDirectorEventParticipant::Target;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "AIDiscouragedGoalTimer.h"
|
||||
|
||||
FAIDiscouragedGoalTimer::FAIDiscouragedGoalTimer() {
|
||||
this->ExpirationTime = 4294967295;
|
||||
this->NumberOfTimesMarkedForDiscouragement = 0;
|
||||
ExpirationTime = 4294967295;
|
||||
NumberOfTimesMarkedForDiscouragement = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -158,17 +158,17 @@ void AAIHotSpot::AssignFromWaitingList() {
|
||||
}
|
||||
|
||||
AAIHotSpot::AAIHotSpot() {
|
||||
this->SlotGenerator = NULL;
|
||||
this->FocusActor = NULL;
|
||||
this->FilterClass = URecastFilter_UseDefaultArea::StaticClass();
|
||||
this->bStartEnabled = true;
|
||||
this->bAllowSlotlessAssignment = false;
|
||||
this->bAllowClaimingMultipleSlots = false;
|
||||
this->bTrackOverlappingSlots = true;
|
||||
this->bProjectSlotsOnNavmesh = true;
|
||||
this->bCustomNavmeshSearchExtent = false;
|
||||
this->bIsEnabled = false;
|
||||
this->RenderingComponent = NULL;
|
||||
this->SpriteComponent = CreateDefaultSubobject<UBillboardComponent>(TEXT("Sprite"));
|
||||
SlotGenerator = NULL;
|
||||
FocusActor = NULL;
|
||||
FilterClass = URecastFilter_UseDefaultArea::StaticClass();
|
||||
bStartEnabled = true;
|
||||
bAllowSlotlessAssignment = false;
|
||||
bAllowClaimingMultipleSlots = false;
|
||||
bTrackOverlappingSlots = true;
|
||||
bProjectSlotsOnNavmesh = true;
|
||||
bCustomNavmeshSearchExtent = false;
|
||||
bIsEnabled = false;
|
||||
RenderingComponent = NULL;
|
||||
SpriteComponent = CreateDefaultSubobject<UBillboardComponent>(TEXT("Sprite"));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "AIHotSpotConfig.h"
|
||||
|
||||
UAIHotSpotConfig::UAIHotSpotConfig() {
|
||||
this->bDetectUnreachableSlots = true;
|
||||
this->SlotGenerator = NULL;
|
||||
bDetectUnreachableSlots = true;
|
||||
SlotGenerator = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -66,18 +66,18 @@ void UAIHotSpotSlot::ClearSlot() {
|
||||
}
|
||||
|
||||
UAIHotSpotSlot::UAIHotSpotSlot() {
|
||||
this->Height = 1;
|
||||
this->Radius = 1;
|
||||
this->DistanceToFocusActor = 1;
|
||||
this->UserId = 0;
|
||||
this->bStartEnabled = false;
|
||||
this->bHasCachedAgentData = false;
|
||||
this->bHasOverlappingSlots = false;
|
||||
this->bHasDistanceToFocusActor = false;
|
||||
this->bIsBlockingOthers = false;
|
||||
this->bIsEnabled = false;
|
||||
this->Owner = NULL;
|
||||
this->SlotIndex = 0;
|
||||
this->SlotState = EAIHotSpotSlot::Free;
|
||||
Height = 1;
|
||||
Radius = 1;
|
||||
DistanceToFocusActor = 1;
|
||||
UserId = 0;
|
||||
bStartEnabled = false;
|
||||
bHasCachedAgentData = false;
|
||||
bHasOverlappingSlots = false;
|
||||
bHasDistanceToFocusActor = false;
|
||||
bIsBlockingOthers = false;
|
||||
bIsEnabled = false;
|
||||
Owner = NULL;
|
||||
SlotIndex = 0;
|
||||
SlotState = EAIHotSpotSlot::Free;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "AIHotSpotSlotConfig.h"
|
||||
|
||||
FAIHotSpotSlotConfig::FAIHotSpotSlotConfig() {
|
||||
this->SlotType = EFortHotSpotSlot::Melee;
|
||||
SlotType = EFortHotSpotSlot::Melee;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
#include "AIHotSpotSlotGenerator_OnBoundingBox.h"
|
||||
|
||||
UAIHotSpotSlotGenerator_OnBoundingBox::UAIHotSpotSlotGenerator_OnBoundingBox() {
|
||||
this->SlotClass = NULL;
|
||||
this->ExpandBy = 1;
|
||||
this->OffsetFromEdge = 1;
|
||||
this->Spacing = 1;
|
||||
this->bLimitMaxExtent = false;
|
||||
this->bMustHitFocusActor = false;
|
||||
this->SlotDirectionCalculation = EBoundingBoxSlotDirectionCalculation::Auto;
|
||||
SlotClass = NULL;
|
||||
ExpandBy = 1;
|
||||
OffsetFromEdge = 1;
|
||||
Spacing = 1;
|
||||
bLimitMaxExtent = false;
|
||||
bMustHitFocusActor = false;
|
||||
SlotDirectionCalculation = EBoundingBoxSlotDirectionCalculation::Auto;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "AIHotSpotSlotInfo.h"
|
||||
|
||||
FAIHotSpotSlotInfo::FAIHotSpotSlotInfo() {
|
||||
this->HotSpot = NULL;
|
||||
this->SlotIndex = 0;
|
||||
HotSpot = NULL;
|
||||
SlotIndex = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "AIPawnCustomizationPreloadData.h"
|
||||
|
||||
FAIPawnCustomizationPreloadData::FAIPawnCustomizationPreloadData() {
|
||||
this->Priority = 1;
|
||||
this->Customization = NULL;
|
||||
Priority = 1;
|
||||
Customization = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,19 +14,19 @@ void AARDronePawn::ScaleIn() {
|
||||
}
|
||||
|
||||
AARDronePawn::AARDronePawn() {
|
||||
this->ARRoot = CreateDefaultSubobject<USceneComponent>(TEXT("ARRoot"));
|
||||
this->WebcamRoot = CreateDefaultSubobject<USceneComponent>(TEXT("WebcamRoot"));
|
||||
this->WebcamRotRoot = CreateDefaultSubobject<USceneComponent>(TEXT("WebcamRotRoot"));
|
||||
this->ScreenRoot = CreateDefaultSubobject<USceneComponent>(TEXT("ScreenRoot"));
|
||||
this->MotionBase = CreateDefaultSubobject<USceneComponent>(TEXT("MotionBase0"));
|
||||
this->MotionController = CreateDefaultSubobject<UMotionControllerComponent>(TEXT("MotionController"));
|
||||
this->POVCaptureComponent = CreateDefaultSubobject<USceneCaptureComponent2D>(TEXT("POVCaptureComponent"));
|
||||
this->ScreenCaptureComponent = CreateDefaultSubobject<UARScreenCaptureComponent>(TEXT("ScreenCaptureComponent"));
|
||||
this->ARCapture = CreateDefaultSubobject<USceneCaptureComponent2D>(TEXT("ARCapture"));
|
||||
this->MediaPlayer = NULL;
|
||||
this->MediaPlayerVideoFormatIndex = 0;
|
||||
this->WorldToMetersMultiplier = 1;
|
||||
this->ARPostProcessMaterial = NULL;
|
||||
this->ARPostProcessMID = NULL;
|
||||
ARRoot = CreateDefaultSubobject<USceneComponent>(TEXT("ARRoot"));
|
||||
WebcamRoot = CreateDefaultSubobject<USceneComponent>(TEXT("WebcamRoot"));
|
||||
WebcamRotRoot = CreateDefaultSubobject<USceneComponent>(TEXT("WebcamRotRoot"));
|
||||
ScreenRoot = CreateDefaultSubobject<USceneComponent>(TEXT("ScreenRoot"));
|
||||
MotionBase = CreateDefaultSubobject<USceneComponent>(TEXT("MotionBase0"));
|
||||
MotionController = CreateDefaultSubobject<UMotionControllerComponent>(TEXT("MotionController"));
|
||||
POVCaptureComponent = CreateDefaultSubobject<USceneCaptureComponent2D>(TEXT("POVCaptureComponent"));
|
||||
ScreenCaptureComponent = CreateDefaultSubobject<UARScreenCaptureComponent>(TEXT("ScreenCaptureComponent"));
|
||||
ARCapture = CreateDefaultSubobject<USceneCaptureComponent2D>(TEXT("ARCapture"));
|
||||
MediaPlayer = NULL;
|
||||
MediaPlayerVideoFormatIndex = 0;
|
||||
WorldToMetersMultiplier = 1;
|
||||
ARPostProcessMaterial = NULL;
|
||||
ARPostProcessMID = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "AbilityActivatedByInputData.h"
|
||||
|
||||
FAbilityActivatedByInputData::FAbilityActivatedByInputData() {
|
||||
this->Ability = NULL;
|
||||
Ability = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#include "AbilityKitItem.h"
|
||||
|
||||
FAbilityKitItem::FAbilityKitItem() {
|
||||
this->Item = NULL;
|
||||
this->Quantity = 0;
|
||||
this->Replenishment = EFortReplenishmentType::Restricted;
|
||||
Item = NULL;
|
||||
Quantity = 0;
|
||||
Replenishment = EFortReplenishmentType::Restricted;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "AbilityToolSpawnParameters.h"
|
||||
|
||||
FAbilityToolSpawnParameters::FAbilityToolSpawnParameters() {
|
||||
this->SpawnClass = NULL;
|
||||
this->AttachedToActor = NULL;
|
||||
SpawnClass = NULL;
|
||||
AttachedToActor = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
#include "AccountIdAndMatchEndData.h"
|
||||
|
||||
FAccountIdAndMatchEndData::FAccountIdAndMatchEndData() {
|
||||
this->TotalScore = 0;
|
||||
this->bCriticalMatchBonus = false;
|
||||
this->bDidLeech = false;
|
||||
this->NumMissionPoints = 0;
|
||||
this->ShuffledLockerUsedIndex = 0;
|
||||
this->TheaterNum = 0;
|
||||
this->OutpostNum = 0;
|
||||
this->bAbandoning = false;
|
||||
this->MissionLeechScaling = 1;
|
||||
TotalScore = 0;
|
||||
bCriticalMatchBonus = false;
|
||||
bDidLeech = false;
|
||||
NumMissionPoints = 0;
|
||||
ShuffledLockerUsedIndex = 0;
|
||||
TheaterNum = 0;
|
||||
OutpostNum = 0;
|
||||
bAbandoning = false;
|
||||
MissionLeechScaling = 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#include "AccountIdAndScore.h"
|
||||
|
||||
FAccountIdAndScore::FAccountIdAndScore() {
|
||||
this->TotalScore = 0;
|
||||
this->IndividualContribution = 0;
|
||||
this->bCriticalMatchBonus = false;
|
||||
this->bIsLeecherExempt = false;
|
||||
TotalScore = 0;
|
||||
IndividualContribution = 0;
|
||||
bCriticalMatchBonus = false;
|
||||
bIsLeecherExempt = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "AccumulatedItemEntry.h"
|
||||
|
||||
FAccumulatedItemEntry::FAccumulatedItemEntry() {
|
||||
this->ItemDefinition = NULL;
|
||||
this->Quantity = 0;
|
||||
ItemDefinition = NULL;
|
||||
Quantity = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#include "ActiveFortCamera.h"
|
||||
|
||||
FActiveFortCamera::FActiveFortCamera() {
|
||||
this->Camera = NULL;
|
||||
this->ViewTarget = NULL;
|
||||
this->TransitionAlpha = 1;
|
||||
this->TransitionUpdateRate = 1;
|
||||
this->BlendWeight = 1;
|
||||
Camera = NULL;
|
||||
ViewTarget = NULL;
|
||||
TransitionAlpha = 1;
|
||||
TransitionUpdateRate = 1;
|
||||
BlendWeight = 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "ActiveGameplayModifier.h"
|
||||
|
||||
FActiveGameplayModifier::FActiveGameplayModifier() {
|
||||
this->ModifierDef = NULL;
|
||||
this->Expiration = 0;
|
||||
ModifierDef = NULL;
|
||||
Expiration = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "ActiveGameplayModifierArray.h"
|
||||
|
||||
FActiveGameplayModifierArray::FActiveGameplayModifierArray() {
|
||||
this->ModifierHandleGenerator = 0;
|
||||
this->bSupportRuntimeModifierShutdown = false;
|
||||
ModifierHandleGenerator = 0;
|
||||
bSupportRuntimeModifierShutdown = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "ActiveGameplayModifierHandle.h"
|
||||
|
||||
FActiveGameplayModifierHandle::FActiveGameplayModifierHandle() {
|
||||
this->Handle = 0;
|
||||
Handle = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "ActiveItemGrantInfo.h"
|
||||
|
||||
FActiveItemGrantInfo::FActiveItemGrantInfo() {
|
||||
this->Item = NULL;
|
||||
Item = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "ActiveRealEstatePlotInfo.h"
|
||||
|
||||
FActiveRealEstatePlotInfo::FActiveRealEstatePlotInfo() {
|
||||
this->Plot = NULL;
|
||||
Plot = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#include "ActiveTieredCollectionLayout.h"
|
||||
|
||||
FActiveTieredCollectionLayout::FActiveTieredCollectionLayout() {
|
||||
this->Layout = NULL;
|
||||
this->MaxTierUnlocked = 0;
|
||||
this->bLocked = false;
|
||||
Layout = NULL;
|
||||
MaxTierUnlocked = 0;
|
||||
bLocked = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "ActiveTieredCollectionLayoutArray.h"
|
||||
|
||||
FActiveTieredCollectionLayoutArray::FActiveTieredCollectionLayoutArray() {
|
||||
this->bTiersForced = false;
|
||||
bTiersForced = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "ActiveVehicleUI.h"
|
||||
|
||||
FActiveVehicleUI::FActiveVehicleUI() {
|
||||
this->ActiveWidget = NULL;
|
||||
ActiveWidget = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "ActorAndTimePair.h"
|
||||
|
||||
FActorAndTimePair::FActorAndTimePair() {
|
||||
this->Actor = NULL;
|
||||
Actor = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "ActorAndTransformPair.h"
|
||||
|
||||
FActorAndTransformPair::FActorAndTransformPair() {
|
||||
this->Actor = NULL;
|
||||
this->bHasValidTransform = false;
|
||||
Actor = NULL;
|
||||
bHasValidTransform = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "ActorComponentRecord.h"
|
||||
|
||||
FActorComponentRecord::FActorComponentRecord() {
|
||||
this->DataHash = 0;
|
||||
DataHash = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "AdditionalLevelStreamed.h"
|
||||
|
||||
FAdditionalLevelStreamed::FAdditionalLevelStreamed() {
|
||||
this->bIsServerOnly = false;
|
||||
bIsServerOnly = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "AileronRoll.h"
|
||||
|
||||
FAileronRoll::FAileronRoll() {
|
||||
this->Direction = EAileronRollDirection::None;
|
||||
Direction = EAileronRollDirection::None;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#include "AircraftFlightInfo.h"
|
||||
|
||||
FAircraftFlightInfo::FAircraftFlightInfo() {
|
||||
this->FlightSpeed = 1;
|
||||
this->TimeTillFlightEnd = 1;
|
||||
this->TimeTillDropStart = 1;
|
||||
this->TimeTillDropEnd = 1;
|
||||
FlightSpeed = 1;
|
||||
TimeTillFlightEnd = 1;
|
||||
TimeTillDropStart = 1;
|
||||
TimeTillDropEnd = 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
#include "AlterationSlot.h"
|
||||
|
||||
FAlterationSlot::FAlterationSlot() {
|
||||
this->UnlockLevel = 0;
|
||||
this->UnlockRarity = EFortRarity::Common;
|
||||
this->bRespeccable = false;
|
||||
this->SlotInitMin = EFortRarity::Common;
|
||||
this->SlotInitMax = EFortRarity::Common;
|
||||
this->SlotInitIndex = 0;
|
||||
UnlockLevel = 0;
|
||||
UnlockRarity = EFortRarity::Common;
|
||||
bRespeccable = false;
|
||||
SlotInitMin = EFortRarity::Common;
|
||||
SlotInitMax = EFortRarity::Common;
|
||||
SlotInitIndex = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "AlterationWeightData.h"
|
||||
|
||||
FAlterationWeightData::FAlterationWeightData() {
|
||||
this->InitialRollWeight = 0;
|
||||
InitialRollWeight = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#include "AmmoItemState.h"
|
||||
|
||||
FAmmoItemState::FAmmoItemState() {
|
||||
this->AmmoItemDefintion = NULL;
|
||||
this->AmmoLoadedCount = 0;
|
||||
this->AmmoMaxCount = 0;
|
||||
AmmoItemDefintion = NULL;
|
||||
AmmoLoadedCount = 0;
|
||||
AmmoMaxCount = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#include "AnimInstance_GalileoFerryAxe.h"
|
||||
|
||||
UAnimInstance_GalileoFerryAxe::UAnimInstance_GalileoFerryAxe() {
|
||||
this->TimeBeforeFolding = 1;
|
||||
this->VFXDisableTimeOffset = 1;
|
||||
this->ShouldFoldBackWeapon = false;
|
||||
this->bDesiredIdleParticleVisibility = false;
|
||||
TimeBeforeFolding = 1;
|
||||
VFXDisableTimeOffset = 1;
|
||||
ShouldFoldBackWeapon = false;
|
||||
bDesiredIdleParticleVisibility = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#include "AnimSpinner.h"
|
||||
|
||||
FAnimSpinner::FAnimSpinner() {
|
||||
this->BaseRotationSpeed = 1;
|
||||
this->RotationRate = 1;
|
||||
this->InterpolationRateSpeedUp = 1;
|
||||
this->InterpolationRateSlowDown = 1;
|
||||
this->RotationAngle = 1;
|
||||
BaseRotationSpeed = 1;
|
||||
RotationRate = 1;
|
||||
InterpolationRateSpeedUp = 1;
|
||||
InterpolationRateSlowDown = 1;
|
||||
RotationAngle = 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "AnimTagProperty.h"
|
||||
|
||||
FAnimTagProperty::FAnimTagProperty() {
|
||||
this->bUseExactTag = false;
|
||||
bUseExactTag = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "AnimatingMaterialPair.h"
|
||||
|
||||
FAnimatingMaterialPair::FAnimatingMaterialPair() {
|
||||
this->Original = NULL;
|
||||
this->Override = NULL;
|
||||
Original = NULL;
|
||||
Override = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "AntelopeVehicleBoostLevel.h"
|
||||
|
||||
FAntelopeVehicleBoostLevel::FAntelopeVehicleBoostLevel() {
|
||||
this->AccumulationPercent = 1;
|
||||
this->BoostTime = 1;
|
||||
AccumulationPercent = 1;
|
||||
BoostTime = 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "AppliedHomebaseData.h"
|
||||
|
||||
FAppliedHomebaseData::FAppliedHomebaseData() {
|
||||
this->Source = NULL;
|
||||
this->Target = NULL;
|
||||
Source = NULL;
|
||||
Target = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
#include "ApplyVariantsAdditionalParams.h"
|
||||
|
||||
FApplyVariantsAdditionalParams::FApplyVariantsAdditionalParams() {
|
||||
this->bApplyToAdditionalVariantComponentsOnly = false;
|
||||
this->bDeriveMIDNameFromParent = false;
|
||||
this->bShouldResetOverrideMaterialsOnMeshSwap = false;
|
||||
this->bBackpackReliesOnVariantsFromCID = false;
|
||||
this->bGliderReliesOnVariantsFromCID = false;
|
||||
this->bForbidParticleSwapping = false;
|
||||
bApplyToAdditionalVariantComponentsOnly = false;
|
||||
bDeriveMIDNameFromParent = false;
|
||||
bShouldResetOverrideMaterialsOnMeshSwap = false;
|
||||
bBackpackReliesOnVariantsFromCID = false;
|
||||
bGliderReliesOnVariantsFromCID = false;
|
||||
bForbidParticleSwapping = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "ArenaCamPawn.h"
|
||||
|
||||
AArenaCamPawn::AArenaCamPawn() {
|
||||
this->CurrArenaCamIdx = 0;
|
||||
CurrArenaCamIdx = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#include "AshtonStoneData.h"
|
||||
|
||||
FAshtonStoneData::FAshtonStoneData() {
|
||||
this->StoneType = EAshtonStoneType::Purple;
|
||||
this->StoneItemDefinition = NULL;
|
||||
this->InitialStoneState = EAshtonStoneStateType::NotSpawned;
|
||||
StoneType = EAshtonStoneType::Purple;
|
||||
StoneItemDefinition = NULL;
|
||||
InitialStoneState = EAshtonStoneStateType::NotSpawned;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#include "AshtonStoneState.h"
|
||||
|
||||
FAshtonStoneState::FAshtonStoneState() {
|
||||
this->StoneType = EAshtonStoneType::Purple;
|
||||
this->StoneState = EAshtonStoneStateType::NotSpawned;
|
||||
this->SpawnTime = 1;
|
||||
this->bHasEverSpawned = false;
|
||||
this->SpawnDataIdx = 0;
|
||||
StoneType = EAshtonStoneType::Purple;
|
||||
StoneState = EAshtonStoneStateType::NotSpawned;
|
||||
SpawnTime = 1;
|
||||
bHasEverSpawned = false;
|
||||
SpawnDataIdx = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
#include "AssetAttachment.h"
|
||||
|
||||
FAssetAttachment::FAssetAttachment() {
|
||||
this->SkeletalMeshAsset = NULL;
|
||||
this->StaticMeshAsset = NULL;
|
||||
this->bSkipOnDedicatedServers = false;
|
||||
this->bIsCurrentWeaponSubstitute = false;
|
||||
this->SkelMeshComp = NULL;
|
||||
this->StaticMeshComp = NULL;
|
||||
SkeletalMeshAsset = NULL;
|
||||
StaticMeshAsset = NULL;
|
||||
bSkipOnDedicatedServers = false;
|
||||
bIsCurrentWeaponSubstitute = false;
|
||||
SkelMeshComp = NULL;
|
||||
StaticMeshComp = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,6 @@ UAsyncAction_WaitForScriptedActions* UAsyncAction_WaitForScriptedActions::WaitFo
|
||||
}
|
||||
|
||||
UAsyncAction_WaitForScriptedActions::UAsyncAction_WaitForScriptedActions() {
|
||||
this->ActionManager = NULL;
|
||||
ActionManager = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "AsyncTaskResult.h"
|
||||
|
||||
FAsyncTaskResult::FAsyncTaskResult() {
|
||||
this->bSucceeded = false;
|
||||
bSucceeded = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
#include "AthenaAIController.h"
|
||||
|
||||
AAthenaAIController::AAthenaAIController() {
|
||||
this->PrimaryMeleeAttackAbilityInstance = NULL;
|
||||
this->PrimaryRangedAttackAbilityInstance = NULL;
|
||||
this->CheapFlyingNavPointHorizontalGridRatio = 1;
|
||||
this->CheapFlyingNavNavPointVerticalGridRatio = 1;
|
||||
this->bEnableCheapFlyingNavigation = false;
|
||||
this->bAllowBacktrackPathfinding = true;
|
||||
this->bIsGoalRequiredForBehavior = true;
|
||||
this->SecondaryGoalActor = NULL;
|
||||
this->AthenaPFC = NULL;
|
||||
PrimaryMeleeAttackAbilityInstance = NULL;
|
||||
PrimaryRangedAttackAbilityInstance = NULL;
|
||||
CheapFlyingNavPointHorizontalGridRatio = 1;
|
||||
CheapFlyingNavNavPointVerticalGridRatio = 1;
|
||||
bEnableCheapFlyingNavigation = false;
|
||||
bAllowBacktrackPathfinding = true;
|
||||
bIsGoalRequiredForBehavior = true;
|
||||
SecondaryGoalActor = NULL;
|
||||
AthenaPFC = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -7,6 +7,6 @@ void UAthenaAIPopulationTracker::OnAgentGameOver(AFortAthenaAIBotController* AIB
|
||||
}
|
||||
|
||||
UAthenaAIPopulationTracker::UAthenaAIPopulationTracker() {
|
||||
this->CachedGameMode = NULL;
|
||||
CachedGameMode = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#include "AthenaAIService.h"
|
||||
|
||||
UAthenaAIService::UAthenaAIService() {
|
||||
this->CachedGameMode = NULL;
|
||||
this->CachedGameState = NULL;
|
||||
this->AIServiceManager = NULL;
|
||||
CachedGameMode = NULL;
|
||||
CachedGameState = NULL;
|
||||
AIServiceManager = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ void UAthenaAIServiceLoot::OnGamePhaseStepChanged(const TScriptInterface<IFortSa
|
||||
}
|
||||
|
||||
UAthenaAIServiceLoot::UAthenaAIServiceLoot() {
|
||||
this->CachedWorldItem = NULL;
|
||||
this->BotBuildingContainerBlacklistDataTable = NULL;
|
||||
CachedWorldItem = NULL;
|
||||
BotBuildingContainerBlacklistDataTable = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
#include "AthenaAISettings.h"
|
||||
|
||||
UAthenaAISettings::UAthenaAISettings() {
|
||||
this->bAllowAIDirector = true;
|
||||
this->bAllowAIGoalManager = false;
|
||||
this->bForceRVOUse = true;
|
||||
this->MaxPlayerSpeedScaleFootstepSounds = 1;
|
||||
this->MinFootstepHearingRange = 1;
|
||||
this->MaxFootstepHearingRange = 1;
|
||||
this->DamagedHearingRange = 1;
|
||||
this->CrouchHearingModifier = 1;
|
||||
this->MaxNPCHearingRange = 1;
|
||||
this->MaxPerceptualStimuliAge = 1;
|
||||
this->DeAggroRange = 1;
|
||||
this->ReducedDeAggroRange = 1;
|
||||
this->DurationReduceAggroLimits = 1;
|
||||
this->NavigationSystemConfig = NULL;
|
||||
bAllowAIDirector = true;
|
||||
bAllowAIGoalManager = false;
|
||||
bForceRVOUse = true;
|
||||
MaxPlayerSpeedScaleFootstepSounds = 1;
|
||||
MinFootstepHearingRange = 1;
|
||||
MaxFootstepHearingRange = 1;
|
||||
DamagedHearingRange = 1;
|
||||
CrouchHearingModifier = 1;
|
||||
MaxNPCHearingRange = 1;
|
||||
MaxPerceptualStimuliAge = 1;
|
||||
DeAggroRange = 1;
|
||||
ReducedDeAggroRange = 1;
|
||||
DurationReduceAggroLimits = 1;
|
||||
NavigationSystemConfig = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "AthenaAISettingsAIDIrectorLOD.h"
|
||||
|
||||
UAthenaAISettingsAIDIrectorLOD::UAthenaAISettingsAIDIrectorLOD() {
|
||||
this->PlayerLODViewConeConfigs.AddDefaulted(5);
|
||||
this->FortAIDirectorLODConfigs.AddDefaulted(4);
|
||||
PlayerLODViewConeConfigs.AddDefaulted(5);
|
||||
FortAIDirectorLODConfigs.AddDefaulted(4);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
#include "AthenaAISystem.h"
|
||||
|
||||
UAthenaAISystem::UAthenaAISystem() {
|
||||
this->PerceptionManager = NULL;
|
||||
this->AIDropper = NULL;
|
||||
this->AISpawner = NULL;
|
||||
this->AIServiceManager = NULL;
|
||||
this->AIPopulationTracker = NULL;
|
||||
this->PlayerBotManager = NULL;
|
||||
PerceptionManager = NULL;
|
||||
AIDropper = NULL;
|
||||
AISpawner = NULL;
|
||||
AIServiceManager = NULL;
|
||||
AIPopulationTracker = NULL;
|
||||
PlayerBotManager = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "AthenaAccolades.h"
|
||||
|
||||
FAthenaAccolades::FAthenaAccolades() {
|
||||
this->AccoladeDef = NULL;
|
||||
this->Count = 0;
|
||||
AccoladeDef = NULL;
|
||||
Count = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#include "AthenaAwardGroup.h"
|
||||
|
||||
FAthenaAwardGroup::FAthenaAwardGroup() {
|
||||
this->RewardSource = ERewardSource::Invalid;
|
||||
this->Score = 0;
|
||||
this->SeasonXp = 1;
|
||||
this->BookXp = 0;
|
||||
RewardSource = ERewardSource::Invalid;
|
||||
Score = 0;
|
||||
SeasonXp = 1;
|
||||
BookXp = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "AthenaBackpackItemDefinition.h"
|
||||
|
||||
UAthenaBackpackItemDefinition::UAthenaBackpackItemDefinition() {
|
||||
this->ItemType = EFortItemType::AthenaBackpack;
|
||||
UAthenaBackpackItemDefinition::UAthenaBackpackItemDefinition(const FObjectInitializer& ObjectInitializer)
|
||||
: Super(ObjectInitializer) {
|
||||
ItemType = EFortItemType::AthenaBackpack;
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ void AAthenaBarrierFlag::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& O
|
||||
}
|
||||
|
||||
AAthenaBarrierFlag::AAthenaBarrierFlag() {
|
||||
this->CurrentState = EBarrierFlagState::FlagUp;
|
||||
this->FoodTeam = EBarrierFoodTeam::Burger;
|
||||
CurrentState = EBarrierFlagState::FlagUp;
|
||||
FoodTeam = EBarrierFoodTeam::Burger;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,9 +40,9 @@ void AAthenaBarrierObjective::GetLifetimeReplicatedProps(TArray<FLifetimePropert
|
||||
}
|
||||
|
||||
AAthenaBarrierObjective::AAthenaBarrierObjective() {
|
||||
this->FoodTeam = EBarrierFoodTeam::Burger;
|
||||
this->ObjectiveDamageState = EBarrierObjectiveDamageState::Health_75;
|
||||
this->HeadRotationYaw = 1;
|
||||
this->bAllowDamage = false;
|
||||
FoodTeam = EBarrierFoodTeam::Burger;
|
||||
ObjectiveDamageState = EBarrierObjectiveDamageState::Health_75;
|
||||
HeadRotationYaw = 1;
|
||||
bAllowDamage = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "AthenaBatchedDamageGameplayCues_NonShared.h"
|
||||
|
||||
FAthenaBatchedDamageGameplayCues_NonShared::FAthenaBatchedDamageGameplayCues_NonShared() {
|
||||
this->HitActor = NULL;
|
||||
this->NonPlayerHitActor = NULL;
|
||||
HitActor = NULL;
|
||||
NonPlayerHitActor = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
#include "AthenaBatchedDamageGameplayCues_Shared.h"
|
||||
|
||||
FAthenaBatchedDamageGameplayCues_Shared::FAthenaBatchedDamageGameplayCues_Shared() {
|
||||
this->Magnitude = 1;
|
||||
this->bWeaponActivate = false;
|
||||
this->bIsFatal = false;
|
||||
this->bIsCritical = false;
|
||||
this->bIsShield = false;
|
||||
this->bIsShieldDestroyed = false;
|
||||
this->bIsShieldApplied = false;
|
||||
this->bIsBallistic = false;
|
||||
this->NonPlayerMagnitude = 1;
|
||||
this->NonPlayerbIsFatal = false;
|
||||
this->NonPlayerbIsCritical = false;
|
||||
this->bIsValid = false;
|
||||
Magnitude = 1;
|
||||
bWeaponActivate = false;
|
||||
bIsFatal = false;
|
||||
bIsCritical = false;
|
||||
bIsShield = false;
|
||||
bIsShieldDestroyed = false;
|
||||
bIsShieldApplied = false;
|
||||
bIsBallistic = false;
|
||||
NonPlayerMagnitude = 1;
|
||||
NonPlayerbIsFatal = false;
|
||||
NonPlayerbIsCritical = false;
|
||||
bIsValid = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,8 @@ TSoftClassPtr<ABattleBusCosmeticInstanceBase> UAthenaBattleBusItemDefinition::Ge
|
||||
return NULL;
|
||||
}
|
||||
|
||||
UAthenaBattleBusItemDefinition::UAthenaBattleBusItemDefinition() {
|
||||
this->ItemType = EFortItemType::AthenaBattleBus;
|
||||
UAthenaBattleBusItemDefinition::UAthenaBattleBusItemDefinition(const FObjectInitializer& ObjectInitializer)
|
||||
: Super(ObjectInitializer) {
|
||||
ItemType = EFortItemType::AthenaBattleBus;
|
||||
}
|
||||
|
||||
|
||||
@@ -27,9 +27,9 @@ void AAthenaBigBaseWall::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& O
|
||||
}
|
||||
|
||||
AAthenaBigBaseWall::AAthenaBigBaseWall() {
|
||||
this->WallGravity = 1;
|
||||
this->TimeUntilWallComesDown = 1;
|
||||
this->bResetBool = false;
|
||||
this->BarrierState = EBarrierState::BarrierUp;
|
||||
WallGravity = 1;
|
||||
TimeUntilWallComesDown = 1;
|
||||
bResetBool = false;
|
||||
BarrierState = EBarrierState::BarrierUp;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "AthenaBroadcastKillFeedEntryInfo.h"
|
||||
|
||||
FAthenaBroadcastKillFeedEntryInfo::FAthenaBroadcastKillFeedEntryInfo() {
|
||||
this->EntryType = EAthenaBroadcastKillFeedEntryType::Elimination;
|
||||
EntryType = EAthenaBroadcastKillFeedEntryType::Elimination;
|
||||
}
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ void AAthenaBuildingFoundationObjective::GetLifetimeReplicatedProps(TArray<FLife
|
||||
}
|
||||
|
||||
AAthenaBuildingFoundationObjective::AAthenaBuildingFoundationObjective() {
|
||||
this->CurrentHealth = 1;
|
||||
this->MaxHealth = 1;
|
||||
CurrentHealth = 1;
|
||||
MaxHealth = 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#include "AthenaCallingCardItemDefinition.h"
|
||||
|
||||
UAthenaCallingCardItemDefinition::UAthenaCallingCardItemDefinition() {
|
||||
UAthenaCallingCardItemDefinition::UAthenaCallingCardItemDefinition(const FObjectInitializer& ObjectInitializer)
|
||||
: Super(ObjectInitializer) {
|
||||
}
|
||||
|
||||
|
||||
@@ -66,42 +66,42 @@ void AAthenaCapturePoint::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>&
|
||||
}
|
||||
|
||||
AAthenaCapturePoint::AAthenaCapturePoint() {
|
||||
this->HUDIndicatorMID = NULL;
|
||||
this->IconMaterialIndexParameter = 0;
|
||||
this->bPermanentShutdown = false;
|
||||
this->ShutdownTime = 1;
|
||||
this->HUDIndicatorRef = NULL;
|
||||
this->CapturePointMID_Neutral = NULL;
|
||||
this->CapturePointMID_AllyCaptured = NULL;
|
||||
this->CapturePointMID_AllyCapping = NULL;
|
||||
this->CapturePointMID_EnemyCaptured = NULL;
|
||||
this->CapturePointMID_EnemyCapping = NULL;
|
||||
this->bUseHUDIndicator = false;
|
||||
this->bHUDClampToScreenEdge = true;
|
||||
this->DistanceForMinHUDSize = 1;
|
||||
this->CapturePointMat_Neutral = NULL;
|
||||
this->CapturePointMat_AllyCaptured = NULL;
|
||||
this->CapturePointMat_AllyCapping = NULL;
|
||||
this->CapturePointMat_EnemyCaptured = NULL;
|
||||
this->CapturePointMat_EnemyCapping = NULL;
|
||||
this->StructuralComponent = CreateDefaultSubobject<UBoxComponent>(TEXT("StructuralComponent"));
|
||||
this->CaptureComponent = CreateDefaultSubobject<UBoxComponent>(TEXT("CaptureComponent"));
|
||||
this->bActivated = true;
|
||||
this->ContentionRules = EContentionRuleType::MajorityWins;
|
||||
this->bSupportsPerPlayerCapturing = false;
|
||||
this->CachedPercentIncreasePerPlayerCaptor = 1;
|
||||
this->CachedBonusPercentIncreasePerPlayerCaptor = 1;
|
||||
this->CachedPercentDecreaseNoCaptor = 1;
|
||||
this->bLocked = false;
|
||||
this->UnlockInterval = 1;
|
||||
this->UnlockRules = ECapturePointUnlockRules::Reset;
|
||||
this->NumCapturingPoint = 0;
|
||||
this->TeamCapturingPoint = 0;
|
||||
this->TeamControllingPoint = 0;
|
||||
this->TeamInfoControllingPoint = NULL;
|
||||
this->TeamOwningPoint = 0;
|
||||
this->CaptureState = ECapturePointState::Idle;
|
||||
this->CapturePercentage = 1;
|
||||
this->ReplicatedCapturePercentage = 1;
|
||||
HUDIndicatorMID = NULL;
|
||||
IconMaterialIndexParameter = 0;
|
||||
bPermanentShutdown = false;
|
||||
ShutdownTime = 1;
|
||||
HUDIndicatorRef = NULL;
|
||||
CapturePointMID_Neutral = NULL;
|
||||
CapturePointMID_AllyCaptured = NULL;
|
||||
CapturePointMID_AllyCapping = NULL;
|
||||
CapturePointMID_EnemyCaptured = NULL;
|
||||
CapturePointMID_EnemyCapping = NULL;
|
||||
bUseHUDIndicator = false;
|
||||
bHUDClampToScreenEdge = true;
|
||||
DistanceForMinHUDSize = 1;
|
||||
CapturePointMat_Neutral = NULL;
|
||||
CapturePointMat_AllyCaptured = NULL;
|
||||
CapturePointMat_AllyCapping = NULL;
|
||||
CapturePointMat_EnemyCaptured = NULL;
|
||||
CapturePointMat_EnemyCapping = NULL;
|
||||
StructuralComponent = CreateDefaultSubobject<UBoxComponent>(TEXT("StructuralComponent"));
|
||||
CaptureComponent = CreateDefaultSubobject<UBoxComponent>(TEXT("CaptureComponent"));
|
||||
bActivated = true;
|
||||
ContentionRules = EContentionRuleType::MajorityWins;
|
||||
bSupportsPerPlayerCapturing = false;
|
||||
CachedPercentIncreasePerPlayerCaptor = 1;
|
||||
CachedBonusPercentIncreasePerPlayerCaptor = 1;
|
||||
CachedPercentDecreaseNoCaptor = 1;
|
||||
bLocked = false;
|
||||
UnlockInterval = 1;
|
||||
UnlockRules = ECapturePointUnlockRules::Reset;
|
||||
NumCapturingPoint = 0;
|
||||
TeamCapturingPoint = 0;
|
||||
TeamControllingPoint = 0;
|
||||
TeamInfoControllingPoint = NULL;
|
||||
TeamOwningPoint = 0;
|
||||
CaptureState = ECapturePointState::Idle;
|
||||
CapturePercentage = 1;
|
||||
ReplicatedCapturePercentage = 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,32 +1,32 @@
|
||||
#include "AthenaCarPlayerSlot.h"
|
||||
|
||||
FAthenaCarPlayerSlot::FAthenaCarPlayerSlot() {
|
||||
this->SoundOnEnter = NULL;
|
||||
this->SoundOnExit = NULL;
|
||||
this->AnimInstanceOverride = NULL;
|
||||
this->AnimLayerOverride = NULL;
|
||||
this->bUsePerSeatAnimInstanceOverride = false;
|
||||
this->bIsSelectable = false;
|
||||
this->bUseGroundMotion = false;
|
||||
this->bUseVehicleIsOnGround = false;
|
||||
this->bCanEmote = false;
|
||||
this->bCanCarryDBNOPlayer = false;
|
||||
this->bForceCrouch = false;
|
||||
this->bPlayEnterSoundForTransition = false;
|
||||
this->bPlayExitSoundForTransition = false;
|
||||
this->bIsPushDriver = false;
|
||||
this->bCanOnlyFireWhenTargeting = false;
|
||||
this->SlopeCompensationCameraOffset = 1;
|
||||
this->Player = NULL;
|
||||
this->Controller = NULL;
|
||||
this->PlayerEntryTime = 1;
|
||||
this->EnterSeatTime = 1;
|
||||
this->bConstrainPawnToSeatTransform = false;
|
||||
this->bConstrainPawnToSeatDuringTransitionMontage = false;
|
||||
this->bOffsetPlayerRelativeAttachLocation = false;
|
||||
this->bUseExitTimer = false;
|
||||
this->WeaponComponent = NULL;
|
||||
this->CameraPitchConstraint = 1;
|
||||
this->CameraYawConstraint = 1;
|
||||
SoundOnEnter = NULL;
|
||||
SoundOnExit = NULL;
|
||||
AnimInstanceOverride = NULL;
|
||||
AnimLayerOverride = NULL;
|
||||
bUsePerSeatAnimInstanceOverride = false;
|
||||
bIsSelectable = false;
|
||||
bUseGroundMotion = false;
|
||||
bUseVehicleIsOnGround = false;
|
||||
bCanEmote = false;
|
||||
bCanCarryDBNOPlayer = false;
|
||||
bForceCrouch = false;
|
||||
bPlayEnterSoundForTransition = false;
|
||||
bPlayExitSoundForTransition = false;
|
||||
bIsPushDriver = false;
|
||||
bCanOnlyFireWhenTargeting = false;
|
||||
SlopeCompensationCameraOffset = 1;
|
||||
Player = NULL;
|
||||
Controller = NULL;
|
||||
PlayerEntryTime = 1;
|
||||
EnterSeatTime = 1;
|
||||
bConstrainPawnToSeatTransform = false;
|
||||
bConstrainPawnToSeatDuringTransitionMontage = false;
|
||||
bOffsetPlayerRelativeAttachLocation = false;
|
||||
bUseExitTimer = false;
|
||||
WeaponComponent = NULL;
|
||||
CameraPitchConstraint = 1;
|
||||
CameraYawConstraint = 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "AthenaCarPlayerSlotUnreplicated.h"
|
||||
|
||||
FAthenaCarPlayerSlotUnreplicated::FAthenaCarPlayerSlotUnreplicated() {
|
||||
this->Input = NULL;
|
||||
Input = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#include "AthenaChallengeBundleQuestDefinition.h"
|
||||
|
||||
UAthenaChallengeBundleQuestDefinition::UAthenaChallengeBundleQuestDefinition() {
|
||||
UAthenaChallengeBundleQuestDefinition::UAthenaChallengeBundleQuestDefinition(const FObjectInitializer& ObjectInitializer)
|
||||
: Super(ObjectInitializer) {
|
||||
}
|
||||
|
||||
|
||||
@@ -4,6 +4,6 @@ void UAthenaChallengeIndicatorCache::HandleQuestsUpdated() {
|
||||
}
|
||||
|
||||
UAthenaChallengeIndicatorCache::UAthenaChallengeIndicatorCache() {
|
||||
this->OwningPlayerController = NULL;
|
||||
OwningPlayerController = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +1,76 @@
|
||||
#include "AthenaCharacterItemDefinition.h"
|
||||
#include "CustomCharacterPart.h"
|
||||
#include "FortHeroType.h"
|
||||
#include "FortHeroSpecialization.h"
|
||||
|
||||
UAthenaCharacterItemDefinition::UAthenaCharacterItemDefinition() {
|
||||
this->HeroDefinition = NULL;
|
||||
this->DefaultBackpack = NULL;
|
||||
this->Gender = EFortCustomGender::Invalid;
|
||||
this->ItemType = EFortItemType::AthenaCharacter;
|
||||
UAthenaCharacterItemDefinition::UAthenaCharacterItemDefinition(const FObjectInitializer& ObjectInitializer)
|
||||
: Super(ObjectInitializer)
|
||||
{
|
||||
HeroDefinition = nullptr;
|
||||
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*>();
|
||||
}
|
||||
|
||||
UAthenaCharacterPartItemDefinition::UAthenaCharacterPartItemDefinition() {
|
||||
UAthenaCharacterPartItemDefinition::UAthenaCharacterPartItemDefinition(const FObjectInitializer& ObjectInitializer)
|
||||
: Super(ObjectInitializer) {
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,8 @@ TSubclassOf<AFortPlayerCharm> UAthenaCharmItemDefinition::GetCharmPrefabClass()
|
||||
return NULL;
|
||||
}
|
||||
|
||||
UAthenaCharmItemDefinition::UAthenaCharmItemDefinition() {
|
||||
this->ItemType = EFortItemType::AthenaCharmCosmetic;
|
||||
UAthenaCharmItemDefinition::UAthenaCharmItemDefinition(const FObjectInitializer& ObjectInitializer)
|
||||
: Super(ObjectInitializer) {
|
||||
ItemType = EFortItemType::AthenaCharmCosmetic;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "AthenaChromeTraversePoint.h"
|
||||
|
||||
AAthenaChromeTraversePoint::AAthenaChromeTraversePoint() {
|
||||
this->HoldingArea = NULL;
|
||||
HoldingArea = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -18,13 +18,13 @@ void AAthenaCobaltStormShield::GetLifetimeReplicatedProps(TArray<FLifetimeProper
|
||||
}
|
||||
|
||||
AAthenaCobaltStormShield::AAthenaCobaltStormShield() {
|
||||
this->ShieldBoundarySound = NULL;
|
||||
this->LowpassAudioListenerRange = 1;
|
||||
this->LowpassAudioValueOutside = 1;
|
||||
this->LowpassAudioValueInside = 1;
|
||||
this->LowpassAudioInterpSpeed = 1;
|
||||
this->CachedMutator = NULL;
|
||||
this->ClientStormShieldShrinkTimerValue = 1;
|
||||
this->ShieldBoundaryAudio = NULL;
|
||||
ShieldBoundarySound = NULL;
|
||||
LowpassAudioListenerRange = 1;
|
||||
LowpassAudioValueOutside = 1;
|
||||
LowpassAudioValueInside = 1;
|
||||
LowpassAudioInterpSpeed = 1;
|
||||
CachedMutator = NULL;
|
||||
ClientStormShieldShrinkTimerValue = 1;
|
||||
ShieldBoundaryAudio = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#include "AthenaConsumableEmoteItemDefinition.h"
|
||||
|
||||
UAthenaConsumableEmoteItemDefinition::UAthenaConsumableEmoteItemDefinition() {
|
||||
UAthenaConsumableEmoteItemDefinition::UAthenaConsumableEmoteItemDefinition(const FObjectInitializer& ObjectInitializer)
|
||||
: Super(ObjectInitializer) {
|
||||
}
|
||||
|
||||
|
||||
@@ -21,6 +21,6 @@ UFortHero* UAthenaCosmeticAccountItem::GetHero() const {
|
||||
}
|
||||
|
||||
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 {
|
||||
}
|
||||
|
||||
UAthenaCosmeticItemDefinition::UAthenaCosmeticItemDefinition() {
|
||||
this->bIsShuffleTile = false;
|
||||
this->bIsOwnedByCampaignHero = false;
|
||||
this->bHasMoreThanOneCharacterPartVariant = false;
|
||||
this->bHideIfNotOwned = false;
|
||||
this->bInitializedConfiguredDynamicInstallBundles = false;
|
||||
this->bDynamicInstallBundlesError = false;
|
||||
this->bDynamicInstallBundlesComplete = false;
|
||||
this->DynamicInstallBundlesUpdateStartTime = 4294967295;
|
||||
this->VariantUnlockType = EVariantUnlockType::UnlockAll;
|
||||
UAthenaCosmeticItemDefinition::UAthenaCosmeticItemDefinition(const FObjectInitializer& ObjectInitializer)
|
||||
: Super(ObjectInitializer) {
|
||||
bIsShuffleTile = false;
|
||||
bIsOwnedByCampaignHero = false;
|
||||
bHasMoreThanOneCharacterPartVariant = false;
|
||||
bHideIfNotOwned = false;
|
||||
bInitializedConfiguredDynamicInstallBundles = false;
|
||||
bDynamicInstallBundlesError = false;
|
||||
bDynamicInstallBundlesComplete = false;
|
||||
DynamicInstallBundlesUpdateStartTime = 4294967295;
|
||||
VariantUnlockType = EVariantUnlockType::UnlockAll;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "AthenaCosmeticMaterialOverride.h"
|
||||
|
||||
FAthenaCosmeticMaterialOverride::FAthenaCosmeticMaterialOverride() {
|
||||
this->MaterialOverrideIndex = 0;
|
||||
MaterialOverrideIndex = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ void AAthenaCreativeRift::NotifyActorDespawnEndOverlap(UPrimitiveComponent* Over
|
||||
|
||||
|
||||
AAthenaCreativeRift::AAthenaCreativeRift() {
|
||||
this->DespawnSphereComponent = NULL;
|
||||
this->ParentTrap = NULL;
|
||||
this->bHasLoadedSettings = false;
|
||||
DespawnSphereComponent = NULL;
|
||||
ParentTrap = NULL;
|
||||
bHasLoadedSettings = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#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
Reference in New Issue
Block a user