Space Plunder
Loading...
Searching...
No Matches
MenuBPLib.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Kismet/BlueprintFunctionLibrary.h"
7// #include "Data/MenuData.h"
8#include "Data/BaseData.h"
9#include "Data/MenuData.h"
10#include "MenuBPLib.generated.h"
11
12struct FGameLevel;
13
14UCLASS()
15class MENUSYSTEM_API UMenuBPLib : public UBlueprintFunctionLibrary
16{
17 GENERATED_BODY()
18
19public:
20
21 // UFUNCTION(BlueprintCallable, Category="Menu System")
22 // static class UButtonPromptMenuSystemWidget* OpenPopup(APlayerController* PlayerController);
23
24 //- Returns if the Popup Was Created //
25 // UFUNCTION(BlueprintCallable, Category="Menu System")
26 // static bool OpenConfirmPopup(APlayerController* PlayerController, const FModalData& ModalData);
27
28 UFUNCTION(BlueprintPure, Category="Menu System|BP Lib", meta=(WorldContext="WorldContextObject"))
29 static EDifficultyLevel GetCurrentDifficultyLevel(const UObject* WorldContextObject);
30
31 UFUNCTION(BlueprintPure, Category="Menu System|BP Lib", meta=(WorldContext="WorldContextObject"))
32 static FString GetCurrentDifficultyLevelString(const UObject* WorldContextObject);
33
34 UFUNCTION(BlueprintCallable, Category="Menu System|BP Lib")
35 static void QuitGame(APlayerController* PlayerController);
36
37 //- Gets List of Levels from Game Instance Data Table (FGameLevel) //
38 UFUNCTION(BlueprintPure, Category="Menu System|BP Lib", meta=(WorldContext="WorldContextObject"))
39 static TArray<FGameLevel> GetAllGameLevels(const UObject* WorldContextObject, const bool bIncludeDebugLevels = false);
40 UFUNCTION(BlueprintPure, Category="Menu System|BP Lib", meta=(WorldContext="WorldContextObject"))
41 static TArray<FGameLevel> GetAllCampaignLevels(const UObject* WorldContextObject, const bool bIncludeDebugLevels = false);
42 UFUNCTION(BlueprintPure, Category="Menu System|BP Lib", meta=(WorldContext="WorldContextObject"))
43 static TArray<FGameLevel> GetAllMultiplayerLevels(const UObject* WorldContextObject, const bool bIncludeDebugLevels = false);
44 UFUNCTION(BlueprintPure, Category="Menu System|BP Lib", meta=(WorldContext="WorldContextObject"))
45 static TArray<FGameLevel> GetAllHordeLevels(const UObject* WorldContextObject, const bool bIncludeDebugLevels = false);
46
47 UFUNCTION(BlueprintPure, Category="Menu System|BP Lib", meta=(WorldContext="WorldContextObject"))
48 static FGameLevel GetDefaultLevel(const UObject* WorldContextObject, const EGameplayMode GameplayMode = EGameplayMode::Multiplayer);
49
50 UFUNCTION(BlueprintPure, Category="Menu System|BP Lib", meta=(WorldContext="WorldContextObject"))
51 static bool GetGameDebuggingMode(const UObject* WorldContextObject);
52
53
54};
EDifficultyLevel
Definition BaseData.h:1052
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13
EGameplayMode
Definition MenuData.h:40
Definition MenuBPLib.h:16
Definition MenuData.h:115