|
|
|
|
| #pragma once
|
|
|
| #include "Kismet/BlueprintFunctionLibrary.h"
|
| #include "Templates/SubclassOf.h"
|
|
|
| #include "LyraDevelopmentStatics.generated.h"
|
|
|
| class UClass;
|
| class UObject;
|
| class UWorld;
|
| struct FAssetData;
|
| struct FFrame;
|
|
|
| UCLASS()
|
| class ULyraDevelopmentStatics : public UBlueprintFunctionLibrary
|
| {
|
| GENERATED_BODY()
|
|
|
| public:
|
|
|
|
|
| UFUNCTION(BlueprintCallable, Category="Lyra")
|
| static bool ShouldSkipDirectlyToGameplay();
|
|
|
|
|
|
|
| UFUNCTION(BlueprintCallable, Category = "Lyra", meta=(ExpandBoolAsExecs="ReturnValue"))
|
| static bool ShouldLoadCosmeticBackgrounds();
|
|
|
|
|
|
|
| UFUNCTION(BlueprintCallable, Category = "Lyra")
|
| static bool CanPlayerBotsAttack();
|
|
|
|
|
|
|
| static UWorld* FindPlayInEditorAuthorityWorld();
|
|
|
|
|
| static UClass* FindClassByShortName(const FString& SearchToken, UClass* DesiredBaseClass, bool bLogFailures = true);
|
|
|
| template <typename DesiredClass>
|
| static TSubclassOf<DesiredClass> FindClassByShortName(const FString& SearchToken, bool bLogFailures = true)
|
| {
|
| return FindClassByShortName(SearchToken, DesiredClass::StaticClass(), bLogFailures);
|
| }
|
|
|
| private:
|
| static TArray<FAssetData> GetAllBlueprints();
|
| static UClass* FindBlueprintClass(const FString& TargetNameRaw, UClass* DesiredBaseClass);
|
| };
|
|
|