102 lines
4.1 KiB
C++
Executable file
102 lines
4.1 KiB
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/NoExportTypes.h"
|
|
#include "Engine/DataAsset.h"
|
|
#include "BiomeFeatures.h"
|
|
#include "DamageTypeDescription.h"
|
|
#include "EDamageType.h"
|
|
#include "MissionStepDescription.h"
|
|
#include "MissionTypeDescription.h"
|
|
#include "MinersManual.generated.h"
|
|
|
|
class UBiome;
|
|
class UEnemyMinersManualData;
|
|
class ULoreScreenMasterWidget;
|
|
class UMinersManualData;
|
|
class UMissionTemplate;
|
|
class UObject;
|
|
|
|
UCLASS(Blueprintable)
|
|
class UMinersManual : public UDataAsset {
|
|
GENERATED_BODY()
|
|
public:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
TArray<TSoftClassPtr<ULoreScreenMasterWidget>> BasicsPages;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
TMap<int32, FText> BasicsPageHeaders;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
TArray<TSoftClassPtr<ULoreScreenMasterWidget>> CombatPages;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
TArray<TSoftClassPtr<ULoreScreenMasterWidget>> ExtraMissionPages;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
TArray<TSoftClassPtr<ULoreScreenMasterWidget>> ResourcePages;
|
|
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
TArray<UEnemyMinersManualData*> Enemies;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
TArray<TSoftObjectPtr<UBiome>> BiomeReferences;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
TArray<TSoftObjectPtr<UMissionTemplate>> MissionReferences;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
TArray<FDamageTypeDescription> DamageTypeInfo;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
TMap<int32, FMissionTypeDescription> MissionDescriptions;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
TMap<int32, FBiomeFeatures> BiomeFeatureDescriptions;
|
|
|
|
public:
|
|
UMinersManual();
|
|
UFUNCTION(BlueprintCallable, BlueprintPure, meta=(WorldContext="WorldContext"))
|
|
bool IsObjectInMinersManual(UObject* WorldContext, UObject* Object);
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure, meta=(WorldContext="WorldContext"))
|
|
bool IsMissionUnlocked(UObject* WorldContext, UMissionTemplate* mission);
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure, meta=(WorldContext="WorldContext"))
|
|
bool IsBiomeUnlocked(UObject* WorldContext, UBiome* Biome);
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure, meta=(WorldContext="WorldContext"))
|
|
TArray<FText> GetUnlockedCreatureLore(UObject* WorldContext, UEnemyMinersManualData* enemy, float& completePercentage);
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
TArray<TSoftObjectPtr<UMissionTemplate>> GetMissions() const;
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
void GetMissionInfo(int32 MissionTypeIndex, FText& InfoHeadline, FText& InfoDescription, TArray<FMissionStepDescription>& Steps);
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure, meta=(WorldContext="WorldContext"))
|
|
int32 GetEnemyKillCount(UObject* WorldContext, FGuid EnemyID);
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
TArray<UEnemyMinersManualData*> GetEnemiesSorted();
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
TArray<UEnemyMinersManualData*> GetEnemies();
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
void GetDamageTypeDescriptions(TArray<EDamageType> damageTypes, TArray<FDamageTypeDescription>& Icon);
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
void GetDamageTypeDescription(EDamageType damageTypes, FDamageTypeDescription& Icon);
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
TArray<TSoftObjectPtr<UBiome>> GetBiomes() const;
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
TArray<UMinersManualData*> GetBiomeFeatures(int32 BiomeIndex);
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
TArray<FDamageTypeDescription> GetAllDamageTypeDescriptions();
|
|
|
|
};
|
|
|