From 97a23bff7e33c45e9d2c66bdb30014003d88db5f Mon Sep 17 00:00:00 2001 From: mircearoata Date: Tue, 5 Nov 2024 14:44:47 +0100 Subject: [PATCH] Add stubs that were missed by the header implementer --- .../OnlineIntegration/Private/OnlineFriend.cpp | 2 ++ .../Private/User/OnlineUserBackendLink.cpp | 5 +++++ .../Private/Atmosphere/BiomeHelpers.cpp | 1 + .../Private/Buildables/FGBuildableConveyorBase.cpp | 3 +++ .../Private/Buildables/FGBuildablePoleBase.cpp | 1 + .../Buildables/FGBuildableTrainPlatformCargo.cpp | 1 + Source/FactoryGame/Private/FGAtmosphereUpdater.cpp | 1 + .../Private/FGAttachmentPointComponent.cpp | 2 ++ Source/FactoryGame/Private/FGBackgroundThread.cpp | 2 +- Source/FactoryGame/Private/FGCharacterPlayer.cpp | 1 + .../FactoryGame/Private/FGConveyorChainActor.cpp | 1 + Source/FactoryGame/Private/FGDroneVehicle.cpp | 1 + .../Private/FGFactoryConnectionComponent.cpp | 14 +++++++++----- .../Private/FGInventoryComponentEquipment.cpp | 1 + .../Private/FGLightweightBuildableSubsystem.cpp | 1 + .../FGMaterialFlowAnalysisFunctionLibrary.cpp | 2 ++ Source/FactoryGame/Private/FGPlayerState.cpp | 2 ++ Source/FactoryGame/Private/FGResearchManager.cpp | 2 ++ .../FactoryGame/Private/FGTutorialIntroManager.cpp | 2 ++ .../FactoryGame/Private/FGWorldGridSubsystem.cpp | 9 +++++++++ .../FactoryGame/Private/Online/FGOnlineHelpers.cpp | 2 ++ .../Private/Resources/FGItemDescriptor.cpp | 2 ++ Source/FactoryGame/Private/SCompassWidget.cpp | 2 ++ .../Private/Server/HTTPSharedDataTypes.cpp | 1 + .../Private/UI/FGSSearchableComboBox.cpp | 3 ++- 25 files changed, 57 insertions(+), 7 deletions(-) diff --git a/Plugins/Online/OnlineIntegration/Source/OnlineIntegration/Private/OnlineFriend.cpp b/Plugins/Online/OnlineIntegration/Source/OnlineIntegration/Private/OnlineFriend.cpp index dd5e32ad16..38c190700b 100644 --- a/Plugins/Online/OnlineIntegration/Source/OnlineIntegration/Private/OnlineFriend.cpp +++ b/Plugins/Online/OnlineIntegration/Source/OnlineIntegration/Private/OnlineFriend.cpp @@ -6,7 +6,9 @@ bool UOnlineFriend::IsPlayingThisGame() const{ return bool(); } UCommonUserSubsystem* UOnlineFriend::GetSubsystem() const{ return nullptr; } ULocalUserInfo* UOnlineFriend::GetLocalUserInfo() const{ return nullptr; } UOnlineUserPresence* UOnlineFriend::GetPresence(UOnlineIntegrationBackend* Backend) const{ return nullptr; } +USessionInformation* UOnlineFriend::GetGameSession() const { return nullptr; } EOnlineRelationship UOnlineFriend::GetRelationshipForBackend(UOnlineIntegrationBackend* Backend) const{ return EOnlineRelationship(); } +UOnlineUserInfo* UOnlineFriend::GetOnlineUser() const{ return nullptr; } EOnlineUserPresenceStatus UOnlineFriend::GetPresenceStatus(UOnlineIntegrationBackend* Backend) const{ return EOnlineUserPresenceStatus(); } EOnlineUserPresenceJoinability UOnlineFriend::GetPresenceJoinability(UOnlineIntegrationBackend* Backend) const{ return EOnlineUserPresenceJoinability(); } EOnlineUserPresenceGameStatus UOnlineFriend::GetPresenceGameStatus(UOnlineIntegrationBackend* Backend) const{ return EOnlineUserPresenceGameStatus(); } diff --git a/Plugins/Online/OnlineIntegration/Source/OnlineIntegration/Private/User/OnlineUserBackendLink.cpp b/Plugins/Online/OnlineIntegration/Source/OnlineIntegration/Private/User/OnlineUserBackendLink.cpp index 1a485d6f52..3d1bd30239 100644 --- a/Plugins/Online/OnlineIntegration/Source/OnlineIntegration/Private/User/OnlineUserBackendLink.cpp +++ b/Plugins/Online/OnlineIntegration/Source/OnlineIntegration/Private/User/OnlineUserBackendLink.cpp @@ -5,4 +5,9 @@ #include "GameplayTagContainerViewModel.h" UOnlineUserBackendLink::UOnlineUserBackendLink(){ } +const FPlayerAvatar& UOnlineUserBackendLink::GetAvatar() const{ return *(new FPlayerAvatar()); } +const FString& UOnlineUserBackendLink::GetNickname() const{ return *(new FString()); } +UE::Online::FAccountId UOnlineUserBackendLink::GetAccountId() const{ return UE::Online::FAccountId(); } +UOnlineIntegrationBackend* UOnlineUserBackendLink::GetOnlineBackend() const{ return nullptr; } +UOnlineUserInfo* UOnlineUserBackendLink::GetOnlineUser() const{ return nullptr; } const UGameplayTagContainerViewModel& UOnlineUserBackendLink::GetTagContainer() const{ return *NewObject(); } diff --git a/Source/FactoryGame/Private/Atmosphere/BiomeHelpers.cpp b/Source/FactoryGame/Private/Atmosphere/BiomeHelpers.cpp index 8030b4ed33..bbdfa4d441 100644 --- a/Source/FactoryGame/Private/Atmosphere/BiomeHelpers.cpp +++ b/Source/FactoryGame/Private/Atmosphere/BiomeHelpers.cpp @@ -2,5 +2,6 @@ #include "Atmosphere/BiomeHelpers.h" +void FBiomeHelpers::GetExponentialFogSettings(UFGBiome* biome, float atTime, struct FExponentialFogSettings& out_settings){ } void FBiomeHelpers::GetSkySphereSettings(UFGBiome *biome, float atTime, FSkySphereSettings& out_settings){ } void FBiomeHelpers::GetAtmosphereSettings(UFGBiome *biome, float atTime, FSkyAtmosphereSettings& out_settings){ } diff --git a/Source/FactoryGame/Private/Buildables/FGBuildableConveyorBase.cpp b/Source/FactoryGame/Private/Buildables/FGBuildableConveyorBase.cpp index 695c8df632..9728db3f56 100644 --- a/Source/FactoryGame/Private/Buildables/FGBuildableConveyorBase.cpp +++ b/Source/FactoryGame/Private/Buildables/FGBuildableConveyorBase.cpp @@ -14,6 +14,9 @@ void UFGConveyorRemoteCallObject::GetLifetimeReplicatedProps(TArray< FLifetimePr void UFGConveyorRemoteCallObject::Server_OnUse_Implementation( AFGBuildableConveyorBase* target, AFGCharacterPlayer* byCharacter, float itemOffset, uint16 desiredItemClassIdx){ } #if !UE_BUILD_SHIPPING void AFGBuildableConveyorBase::DebugDrawStalled() const{ } +#if !UE_BUILD_SHIPPING +void AFGBuildableConveyorBase::SetStalled(bool stall) const{ } +#endif #endif #if UE_BUILD_SHIPPING #endif diff --git a/Source/FactoryGame/Private/Buildables/FGBuildablePoleBase.cpp b/Source/FactoryGame/Private/Buildables/FGBuildablePoleBase.cpp index dc10f5095d..27f36b3659 100644 --- a/Source/FactoryGame/Private/Buildables/FGBuildablePoleBase.cpp +++ b/Source/FactoryGame/Private/Buildables/FGBuildablePoleBase.cpp @@ -13,5 +13,6 @@ void AFGBuildablePoleBase::GetLifetimeReplicatedProps(TArray& } bool AFGBuildablePoleBase::ShouldBeConsideredForBase_Implementation(){ return bool(); } bool AFGBuildablePoleBase::ShouldShowCenterGuidelinesForHologram(const AFGHologram* hologram) const{ return bool(); } +struct FPoleHeightMesh AFGBuildablePoleBase::FindBestHeightMesh(float inHeight) const{ return FPoleHeightMesh(); } void AFGBuildablePoleBase::PostLoad(){ Super::PostLoad(); } void AFGBuildablePoleBase::EndPlay(const EEndPlayReason::Type EndPlayReason){ } diff --git a/Source/FactoryGame/Private/Buildables/FGBuildableTrainPlatformCargo.cpp b/Source/FactoryGame/Private/Buildables/FGBuildableTrainPlatformCargo.cpp index f40f230da3..67a55f4fb9 100644 --- a/Source/FactoryGame/Private/Buildables/FGBuildableTrainPlatformCargo.cpp +++ b/Source/FactoryGame/Private/Buildables/FGBuildableTrainPlatformCargo.cpp @@ -101,6 +101,7 @@ bool AFGBuildableTrainPlatformCargo::CanCompleteDocking(){ return bool(); } bool AFGBuildableTrainPlatformCargo::IsLoadUnloadBlockedByNoneFilter(){ return bool(); } void AFGBuildableTrainPlatformCargo::UpdateItemTransferRate(int32 numItemsTransfered){ } float AFGBuildableTrainPlatformCargo::GetCurrentItemTransferRate(){ return float(); } +bool AFGBuildableTrainPlatformCargo::ShouldLockIncomingOutgoing() const{ return bool(); } void AFGBuildableTrainPlatformCargo::OnRep_SmoothedLoadRate(){ } void AFGBuildableTrainPlatformCargo::OnRep_SmoothedUnloadRate(){ } FName AFGBuildableTrainPlatformCargo::mMagicBoxComponentName = FName(); diff --git a/Source/FactoryGame/Private/FGAtmosphereUpdater.cpp b/Source/FactoryGame/Private/FGAtmosphereUpdater.cpp index be1c0b6903..33e89a5505 100644 --- a/Source/FactoryGame/Private/FGAtmosphereUpdater.cpp +++ b/Source/FactoryGame/Private/FGAtmosphereUpdater.cpp @@ -9,6 +9,7 @@ UFGAtmosphereUpdater::UFGAtmosphereUpdater() : Super() { } void UFGAtmosphereUpdater::Tick(float dt){ } void UFGAtmosphereUpdater::FinishDestroy(){ Super::FinishDestroy(); } +const TArray& UFGAtmosphereUpdater::GetEffectiveAtmosphereVolumes() const{ return *(new TArray()); } void UFGAtmosphereUpdater::ApplyFogSettings(const FExponentialFogSettings& fogSettings, UWorld* world) const{ } void UFGAtmosphereUpdater::ApplySkyAtmosphereSettings(const FSkyAtmosphereSettings& settings, UWorld* world) const{ } void UFGAtmosphereUpdater::InterpolateFogSettings(FExponentialFogSettings& dest, const FExponentialFogSettings& src, float alpha) const{ } diff --git a/Source/FactoryGame/Private/FGAttachmentPointComponent.cpp b/Source/FactoryGame/Private/FGAttachmentPointComponent.cpp index 9580c1c319..bbf3a6ed89 100644 --- a/Source/FactoryGame/Private/FGAttachmentPointComponent.cpp +++ b/Source/FactoryGame/Private/FGAttachmentPointComponent.cpp @@ -1,8 +1,10 @@ // This file has been automatically generated by the Unreal Header Implementation tool #include "FGAttachmentPointComponent.h" +#include "FGAttachmentPoint.h" UFGAttachmentPointComponent::UFGAttachmentPointComponent() : Super() { this->mUsage = EAttachmentPointUsage::EAPU_Default; this->mType = nullptr; } +struct FFGAttachmentPoint UFGAttachmentPointComponent::CreateAttachmentPoint(AActor* owner) const{ return FFGAttachmentPoint(); } diff --git a/Source/FactoryGame/Private/FGBackgroundThread.cpp b/Source/FactoryGame/Private/FGBackgroundThread.cpp index 9626cff776..cbbb0292ef 100644 --- a/Source/FactoryGame/Private/FGBackgroundThread.cpp +++ b/Source/FactoryGame/Private/FGBackgroundThread.cpp @@ -3,7 +3,7 @@ #include "FGBackgroundThread.h" DEFINE_LOG_CATEGORY(LogPoolSystem); - +class FFGBackgroundThread* FPoolInstanceBase::GetRunnable(const AActor* owner) const{ return nullptr; } bool FPoolInstanceBase::ResolveHitResults(const TArray& inHits, const TArray& classesToCheckAgainst, FVector& outHitLocation, float& inNearestDistance){ return bool(); } void FPoolInstanceComponent::Claim(int32 EntryId){ } bool FPoolInstanceComponent::Update(const TArray& entries){ return bool(); } diff --git a/Source/FactoryGame/Private/FGCharacterPlayer.cpp b/Source/FactoryGame/Private/FGCharacterPlayer.cpp index 0ff42009b2..b67254e03d 100644 --- a/Source/FactoryGame/Private/FGCharacterPlayer.cpp +++ b/Source/FactoryGame/Private/FGCharacterPlayer.cpp @@ -429,6 +429,7 @@ void AFGCharacterPlayer::OnDisabledInputGateChanged_Implementation(const FDisabl void AFGCharacterPlayer::StartPortal(AFGBuildablePortalBase* sourcePortal, AFGBuildablePortalBase* destPortal){ } void AFGCharacterPlayer::OnPortalStateChanged_Implementation(const FFGPlayerPortalData& newValue){ } void AFGCharacterPlayer::SnapPlayerToPortalExitLocation(){ } +struct FInventoryToRespawnWith AFGCharacterPlayer::SpawnDeathCrate(const EPlayerKeepInventoryMode& keepInventoryMode, UFGInventoryComponent* inventory){ return FInventoryToRespawnWith(); } void AFGCharacterPlayer::OnItemAddedToInventory(TSubclassOf< UFGItemDescriptor > itemClass, const int32 numAdded, UFGInventoryComponent* targetInventory){ } void AFGCharacterPlayer::OnInventorySlotUpdated(const int32 Index){ } void AFGCharacterPlayer::OnCentralStorageItemAmountUpdated(const TSubclassOf itemClass, int32 newAmount){ } diff --git a/Source/FactoryGame/Private/FGConveyorChainActor.cpp b/Source/FactoryGame/Private/FGConveyorChainActor.cpp index d7d669527d..64f0bd5729 100644 --- a/Source/FactoryGame/Private/FGConveyorChainActor.cpp +++ b/Source/FactoryGame/Private/FGConveyorChainActor.cpp @@ -74,6 +74,7 @@ float AFGConveyorChainActor::FindOffsetClosestToLocation(const FVector& location FConveyorChainSplineSegment* AFGConveyorChainActor::GetSegmentForConveyorBase(AFGBuildableConveyorBase* conveyorBase){ return nullptr; } FConveyorChainSplineSegment* AFGConveyorChainActor::GetSegmentForItemIndex(int32 itemIndex){ return nullptr; } FConveyorChainSplineSegment* AFGConveyorChainActor::GetSegmentForOffset(float offset){ return nullptr; } +bool AFGConveyorChainActor::HasRoomOnChain(float& out_availableSpace){ return bool(); } float AFGConveyorChainActor::GetAvailableSpace(){ return float(); } void AFGConveyorChainActor::InitializeConveyorItemArray(){ } void AFGConveyorChainActor::AddClientAvailableConveyor( AFGBuildableConveyorBase* conveyorBase){ } diff --git a/Source/FactoryGame/Private/FGDroneVehicle.cpp b/Source/FactoryGame/Private/FGDroneVehicle.cpp index 293eba313f..afe9be78d4 100644 --- a/Source/FactoryGame/Private/FGDroneVehicle.cpp +++ b/Source/FactoryGame/Private/FGDroneVehicle.cpp @@ -123,6 +123,7 @@ FDroneAction* AFGDroneVehicle::MigrateLegacyAction( UFGDroneAction* action){ ret void AFGDroneVehicle::OnMovementFlyingModeChanged(EDroneFlyingMode NewFlyingMode){ } void AFGDroneVehicle::OnMovementBrakingStateChanged(bool IsBraking){ } FGDroneActionFactory::FGDroneActionFactory(AFGDroneVehicle* drone){ } +struct FDroneAction* FGDroneActionFactory::CreateDroneActionFromName(const FName& name) const{ return nullptr; } #if !UE_BUILD_SHIPPING void FDroneAction::ShowDebug(FString& out_concatDebugString){ } #endif diff --git a/Source/FactoryGame/Private/FGFactoryConnectionComponent.cpp b/Source/FactoryGame/Private/FGFactoryConnectionComponent.cpp index 34f887c2a2..14ebc0bea6 100644 --- a/Source/FactoryGame/Private/FGFactoryConnectionComponent.cpp +++ b/Source/FactoryGame/Private/FGFactoryConnectionComponent.cpp @@ -43,11 +43,15 @@ UFGFactoryConnectionComponent* UFGFactoryConnectionComponent::FindCompatibleOver const FVector& location, const AActor* priorityActor, float radius){ return nullptr; } + +UFGFactoryConnectionComponent* UFGFactoryConnectionComponent::FindOverlappingConnections(UWorld* world, + const FVector& location, const AActor* priorityActor, float radius, EFactoryConnectionConnector connector, + EFactoryConnectionDirection direction, const TArray>& buildableClassFilter){ return nullptr; } int32 UFGFactoryConnectionComponent::FindAllOverlappingConnections(TArray< UFGFactoryConnectionComponent* > out_Connection, - UWorld* world, - const FVector& location, - float radius, - EFactoryConnectionConnector connector, - EFactoryConnectionDirection direction){ return int32(); } + UWorld* world, + const FVector& location, + float radius, + EFactoryConnectionConnector connector, + EFactoryConnectionDirection direction){ return int32(); } UFGFactoryConnectionComponent* UFGFactoryConnectionComponent::CheckIfSnapOnlyIsBlockedByOtherConnection(UFGFactoryConnectionComponent* connectionToCheck, const TArray< FOverlapResult >& potentialBlockers){ return nullptr; } diff --git a/Source/FactoryGame/Private/FGInventoryComponentEquipment.cpp b/Source/FactoryGame/Private/FGInventoryComponentEquipment.cpp index dc4498f59e..a2dc7e97d0 100644 --- a/Source/FactoryGame/Private/FGInventoryComponentEquipment.cpp +++ b/Source/FactoryGame/Private/FGInventoryComponentEquipment.cpp @@ -18,6 +18,7 @@ AFGEquipment* UFGInventoryComponentEquipment::GetStackEquipmentActorAtIdx(const int32 UFGInventoryComponentEquipment::FindSlotForSlottedInEquipment(const AFGEquipment* equipment) const{ return int32(); } void UFGInventoryComponentEquipment::CycleEquipment(int32 dir){ } void UFGInventoryComponentEquipment::SetActiveIndexWithDefaultItem(int32 index){ } +void UFGInventoryComponentEquipment::SetActiveIndex(int32 index, TOptional itemAtCurrentIndex){ } bool UFGInventoryComponentEquipment::ContainsItemTypeAndHasEnoughSpaceForItem(FInventoryItem item){ return bool(); } FDelegateHandle UFGInventoryComponentEquipment::BindOnActiveEquipmentChanged(const FOnActiveEquipmentChanged::FDelegate &Delegate){ return FDelegateHandle(); } void UFGInventoryComponentEquipment::SetActiveEquipment(AFGEquipment* equipment){ } diff --git a/Source/FactoryGame/Private/FGLightweightBuildableSubsystem.cpp b/Source/FactoryGame/Private/FGLightweightBuildableSubsystem.cpp index 7fc8ace625..60f1d37b99 100644 --- a/Source/FactoryGame/Private/FGLightweightBuildableSubsystem.cpp +++ b/Source/FactoryGame/Private/FGLightweightBuildableSubsystem.cpp @@ -8,6 +8,7 @@ void FLightweightBuildablePool::PreallocPool(AActor* owner, TArray buildableClass){ return nullptr; } void FLightweightBuildablePool::ReturnBuildableToPool(AFGBuildable* buildable){ } AFGBuildable* FLightweightBuildablePool::SpawnBuildableForPool(AActor* owner, TSubclassOf buildableClass){ return nullptr; } +bool FInstanceConverterInstigator::TryAddInstigatedBuildable(FInstanceToTemporaryBuildable* instanceToTemp){ return bool(); } void FLightweightBuildableRemovalArray::PostReplicatedAdd(const TArrayView& AddedIndices, int32 FinalSize){ } void FLightweightBuildableCustomizationArray::PostReplicatedAdd(const TArrayView& AddedIndices, int32 FinalSize){ } void UFGLightweightBuildableConstructionBundle::GetLifetimeReplicatedProps(TArray& OutLifetimeProps) const { diff --git a/Source/FactoryGame/Private/FGMaterialFlowAnalysisFunctionLibrary.cpp b/Source/FactoryGame/Private/FGMaterialFlowAnalysisFunctionLibrary.cpp index e3e9a18ee5..27add156d4 100644 --- a/Source/FactoryGame/Private/FGMaterialFlowAnalysisFunctionLibrary.cpp +++ b/Source/FactoryGame/Private/FGMaterialFlowAnalysisFunctionLibrary.cpp @@ -3,7 +3,9 @@ #include "FGMaterialFlowAnalysisFunctionLibrary.h" int32 FMaterialFlowGraph::GetDepth() const{ return int32(); } +struct FMaterialFlowNode* FMaterialFlowGraph::CreateNodeFromRecipe(TSubclassOf recipe, int32 depth){ return nullptr; } TArray< struct FMaterialFlowNode* > FMaterialFlowGraph::GetNodes(int32 depth) const{ return TArray(); } +struct FMaterialFlowNode* FMaterialFlowGraph::CreateNodeFromOutput(TSubclassOf descriptor, int32 depth){ return nullptr; } void FMaterialFlowGraph::SortNodes(){ } void FMaterialFlowGraph::UpdateTotals(){ } FMaterialFlowConnection::FMaterialFlowConnection(){ } diff --git a/Source/FactoryGame/Private/FGPlayerState.cpp b/Source/FactoryGame/Private/FGPlayerState.cpp index a8e65d411e..422d2d041b 100644 --- a/Source/FactoryGame/Private/FGPlayerState.cpp +++ b/Source/FactoryGame/Private/FGPlayerState.cpp @@ -149,6 +149,7 @@ int32 AFGPlayerState::FindHotbarIndex(UFGPlayerHotbar* hotbar) const{ return int void AFGPlayerState::GetAllHotbars(TArray& out_hotbars) const{ } bool AFGPlayerState::GetAndSetFirstTimeEquipped( AFGEquipment* equipment){ return bool(); } AFGPlayerController* AFGPlayerState::GetOwningController() const{ return nullptr; } +class AFGHUD* AFGPlayerState::GetHUD() const{ return nullptr; } UFGGameUI* AFGPlayerState::GetGameUI() const{ return nullptr; } void AFGPlayerState::AddNewRecipe(TSubclassOf< UFGRecipe > recipe){ } void AFGPlayerState::GetNewRecipes(TArray>& out_newRecipes) const{ } @@ -177,6 +178,7 @@ void AFGPlayerState::Server_SetMapCategoryCollapsed_Implementation(ERepresentati void AFGPlayerState::SetCustomMapCategoryCollapsed(const FString& customMapCategory, bool collapsed){ } void AFGPlayerState::Server_SetCustomMapCategoryCollapsed_Implementation(const FString& customMapCategory, bool collapsed){ } void AFGPlayerState::UpdateOwningPawnActorRepresentation() const{ } +void AFGPlayerState::SetIsServerAdmin(const bool isAdmin){ } void AFGPlayerState::DumpHotbars(){ } void AFGPlayerState::UpdateNumObservedInventorySlots(){ } bool AFGPlayerState::IsShopFavorite(TSubclassOf schematic) const{ return bool(); } diff --git a/Source/FactoryGame/Private/FGResearchManager.cpp b/Source/FactoryGame/Private/FGResearchManager.cpp index 886e6931bd..62ce5f314f 100644 --- a/Source/FactoryGame/Private/FGResearchManager.cpp +++ b/Source/FactoryGame/Private/FGResearchManager.cpp @@ -3,6 +3,8 @@ #include "FGResearchManager.h" #include "Net/UnrealNetwork.h" +bool IsValidForLoad(const FResearchData& element){ return bool(); } +bool IsValidForLoad(const FResearchTime& element){ return bool(); } bool FHardDriveData::operator==(const FHardDriveData& other) const{ return bool(); } void UFGResearchManagerRemoteCallObject::GetLifetimeReplicatedProps(TArray< FLifetimeProperty >& OutLifetimeProps) const { Super::GetLifetimeReplicatedProps(OutLifetimeProps); diff --git a/Source/FactoryGame/Private/FGTutorialIntroManager.cpp b/Source/FactoryGame/Private/FGTutorialIntroManager.cpp index 8488cb93b6..b09fcbf898 100644 --- a/Source/FactoryGame/Private/FGTutorialIntroManager.cpp +++ b/Source/FactoryGame/Private/FGTutorialIntroManager.cpp @@ -1,6 +1,7 @@ // This file has been automatically generated by the Unreal Header Implementation tool #include "FGTutorialIntroManager.h" +#include "FGCharacterPlayer.h" #include "Net/UnrealNetwork.h" AFGTutorialIntroManager* AFGTutorialIntroManager::Get(UWorld* world){ return nullptr; } @@ -69,6 +70,7 @@ void AFGTutorialIntroManager::CompleteOnboardingStepByTag(FGameplayTag completed UFGOnboardingStep* AFGTutorialIntroManager::GetOnboardingStepFromTag(FGameplayTag OnboardingStepTag) const{ return nullptr; } void AFGTutorialIntroManager::SetTradingPostLevel(int32 newLevel){ } void AFGTutorialIntroManager::SetInputGatesFromTutorialLevel( AFGPlayerController* playerController){ } +struct FDisabledInputGate AFGTutorialIntroManager::GetInputGatesFromTutorialLevel(){ return FDisabledInputGate(); } void AFGTutorialIntroManager::SetupDropPod( AFGCharacterPlayer* forPlayer){ } void AFGTutorialIntroManager::TradingPostWasBuilt(){ } void AFGTutorialIntroManager::StartSkipIntroSequence(){ } diff --git a/Source/FactoryGame/Private/FGWorldGridSubsystem.cpp b/Source/FactoryGame/Private/FGWorldGridSubsystem.cpp index b7e3d32838..d32abd9310 100644 --- a/Source/FactoryGame/Private/FGWorldGridSubsystem.cpp +++ b/Source/FactoryGame/Private/FGWorldGridSubsystem.cpp @@ -26,8 +26,17 @@ void AFGWorldGridSubsystem::CreateRuntimeWorldGrid(const TArray< FFGWorldGridCel bool AFGWorldGridSubsystem::HasValidGrid() const{ return bool(); } void AFGWorldGridSubsystem::UpdateCellContainingBuildable( AFGBuildable* pBuildable){ } void AFGWorldGridSubsystem::UpdateCellContainingLocation(const FVector& location){ } +FIntPoint AFGWorldGridSubsystem::GetWorldGridCoordinatesForLocation(const FVector& WorldLocation) const{ return FIntPoint(); } +FFGWorldGridCell* AFGWorldGridSubsystem::GetCellByIndex(int32 Index){ return nullptr; } +const FFGWorldGridCell* AFGWorldGridSubsystem::GetCellByIndex(int32 Index) const{ return nullptr; } +FFGWorldGridCell* AFGWorldGridSubsystem::GetCellFromGridCoordinates(const FIntPoint& Coords){ return nullptr; } +const FFGWorldGridCell* AFGWorldGridSubsystem::GetCellFromGridCoordinates(const FIntPoint& Coords) const{ return nullptr; } FFGWorldGridCell* AFGWorldGridSubsystem::GetCellContainingWorldLocation(const FVector& WorldLocation){ return nullptr; } FFGWorldGridCell* AFGWorldGridSubsystem::GetClosestCellToWorldLocation(const FVector& WorldLocation){ return nullptr; } +int32 AFGWorldGridSubsystem::GetCellIndexFromGridCoordinates(const FIntPoint& Coords) const{ return int32(); } +int32 AFGWorldGridSubsystem::GetCellIndexFromWorldLocation(const FVector& WorldLocation) const{ return int32(); } +FVector AFGWorldGridSubsystem::GetCellWorldLocationFromGridCoords(const FIntPoint& Coords) const { return FVector(); } +void AFGWorldGridSubsystem::GetCellWorldLocationFromGridCoords(const FIntPoint& Coords, FVector& OutVector) const{ } float AFGWorldGridSubsystem::GetCellElevationFromWorldLocation(const FVector& WorldLocation) const{ return float(); } float AFGWorldGridSubsystem::GetCellElevationFromGridCoordinates(const FIntPoint& Coords) const{ return float(); } TArray< const FFGWorldGridCell* > AFGWorldGridSubsystem::GetCellNeighbours(const FFGWorldGridCell* Cell) const{ return TArray(); } diff --git a/Source/FactoryGame/Private/Online/FGOnlineHelpers.cpp b/Source/FactoryGame/Private/Online/FGOnlineHelpers.cpp index dd5351ecc8..5b7fbf804b 100644 --- a/Source/FactoryGame/Private/Online/FGOnlineHelpers.cpp +++ b/Source/FactoryGame/Private/Online/FGOnlineHelpers.cpp @@ -5,6 +5,8 @@ void RefreshEOSConnectionForPlayer::CallLoginRefresh(IOnlineSubsystem* systemEos){ } FEOSAccountHelpers::FEOSAccountHelpers() noexcept(false){ } FEOSAccountHelpers::~FEOSAccountHelpers(){ } +const TCHAR* FEOSAccountHelpers::EpicAccountIDToString(EOS_EpicAccountId InAccountId){ return nullptr; } +const TCHAR* FEOSAccountHelpers::ProductUserIDToString(EOS_ProductUserId InAccountId){ return nullptr; } void FEOSAccountHelpers::ConnectAccount(UObject* worldContext, int32 LocalUserNum, TSharedRef userId, FString token, const FOnEOSAccountConnectionCompleteDelegate& onComplete){ } void FEOSAccountHelpers::ConnectLinkAccountToExistingEOSAccount(UObject* worldContext, int32 LocalUserNum, EOS_ContinuanceToken token, const FOnEOSAccountConnectionCompleteDelegate& onComplete){ } void FEOSAccountHelpers::CreateNewAccountConnection(UObject* worldContext, int32 LocalUserNum, TSharedRef userId, EOS_ContinuanceToken token, const FOnEOSAccountConnectionCompleteDelegate& onComplete){ } diff --git a/Source/FactoryGame/Private/Resources/FGItemDescriptor.cpp b/Source/FactoryGame/Private/Resources/FGItemDescriptor.cpp index 2d2a24eaad..f8e4afaada 100644 --- a/Source/FactoryGame/Private/Resources/FGItemDescriptor.cpp +++ b/Source/FactoryGame/Private/Resources/FGItemDescriptor.cpp @@ -203,6 +203,8 @@ TSubclassOf UFGItemDescriptor::GetRequiredSchematicToScan(TSubclas FText UFGItemDescriptor::GetScannerDisplayText(TSubclassOf< UFGItemDescriptor > inClass){ return FText(); } FColor UFGItemDescriptor::GetScannerLightColor(TSubclassOf< UFGItemDescriptor > inClass){ return FColor(); } bool UFGItemDescriptor::NeedsPickupMapMarker(TSubclassOf inClass){ return bool(); } +void UFGItemDescriptor::SetItemEncountered(TSubclassOf Class, int32 Index){ } +int32 UFGItemDescriptor::IsItemEncountered(TSubclassOf Class){ return int32(); } bool UFGItemDescriptor::CanItemBePickedup(TSubclassOf< UFGItemDescriptor > inClass){ return bool(); } bool UFGItemDescriptor::CanItemBePickedup(UFGItemDescriptor* inClass){ return bool(); } FText UFGItemDescriptor::GetItemNameInternal() const{ return FText(); } diff --git a/Source/FactoryGame/Private/SCompassWidget.cpp b/Source/FactoryGame/Private/SCompassWidget.cpp index cbfa1af729..6bf55161e5 100644 --- a/Source/FactoryGame/Private/SCompassWidget.cpp +++ b/Source/FactoryGame/Private/SCompassWidget.cpp @@ -22,6 +22,8 @@ UFGCompassWidget::UFGCompassWidget() : Super() { TSharedRef UFGCompassWidget::RebuildWidget(){ return Super::RebuildWidget(); } TArray& UFGCompassWidget::GetCompassEntries(){ return *(new TArray); } bool UFGCompassWidget::ShouldHideCompass() const{ return bool(); } +AFGHUD* UFGCompassWidget::GetOwningHUD() const{ return nullptr; } +void SCompassWidget::Construct(const FArguments& InArgs, const TWeakObjectPtr& OwnerCompassWidget){ } int32 SCompassWidget::OnPaint(const FPaintArgs& Args, const FGeometry& AllottedGeometry, const FSlateRect& MyCullingRect, FSlateWindowElementList& OutDrawElements, int32 LayerId, const FWidgetStyle& InWidgetStyle, bool bParentEnabled) const{ return int32(); } FVector2D SCompassWidget::ComputeDesiredSize(float LayoutScaleMultiplier) const{ return FVector2D(); } FChildren* SCompassWidget::GetChildren(){ return nullptr; } diff --git a/Source/FactoryGame/Private/Server/HTTPSharedDataTypes.cpp b/Source/FactoryGame/Private/Server/HTTPSharedDataTypes.cpp index a3d11f65a1..d48c2b7bbb 100644 --- a/Source/FactoryGame/Private/Server/HTTPSharedDataTypes.cpp +++ b/Source/FactoryGame/Private/Server/HTTPSharedDataTypes.cpp @@ -21,3 +21,4 @@ void FFGRequestBodyPart::AppendBodyHeaders(const TMap>& FString FFGRequestBodyPart::GetContentDisposition() const{ return FString(); } FFGRequestBodyPart* FFGMultipartDataWrapper::operator->() const{ return nullptr; } FFGRequestBodyPart& FFGMultipartDataWrapper::operator*() const{ return *MultipartData; } +FFGMultipartDataWrapper::operator FFGRequestBodyPart*() const { return nullptr; } diff --git a/Source/FactoryGame/Private/UI/FGSSearchableComboBox.cpp b/Source/FactoryGame/Private/UI/FGSSearchableComboBox.cpp index 307843c351..058fa2acd4 100644 --- a/Source/FactoryGame/Private/UI/FGSSearchableComboBox.cpp +++ b/Source/FactoryGame/Private/UI/FGSSearchableComboBox.cpp @@ -5,7 +5,8 @@ TSharedRef FGSSearchableComboBox::GenerateMenuItemRow(TSharedPtr InItem, const TSharedRef &OwnerTable) { return SNew(STableRow>, OwnerTable); } - +void FGSSearchableComboBox::OnMenuOpenChanged(bool bOpen){ } +void FGSSearchableComboBox::Construct(const FArguments& InArgs){ } void FGSSearchableComboBox::ClearSelection(){ } void FGSSearchableComboBox::SetSelectedItem(TSharedPtr InSelectedItem){ } TSharedPtr FGSSearchableComboBox::GetSelectedItem(){ return TSharedPtr(); }