Files
FNGameProj/Source/FortniteUI/Public/FortUIStateWidget_NUI.h
2024-01-21 00:41:14 +01:00

74 lines
2.3 KiB
C++

#pragma once
#include "CoreMinimal.h"
#include "FortClientEventInterface.h"
#include "ContentPushState.h"
#include "EFortUIState.h"
#include "FortActivatablePanel.h"
#include "FortUIStateWidget_NUI.generated.h"
class UWidget;
UCLASS(Blueprintable, EditInlineNew)
class UFortUIStateWidget_NUI : public UFortActivatablePanel, public IFortClientEventInterface {
GENERATED_BODY()
public:
protected:
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
TArray<FContentPushState> StackStates;
public:
UFortUIStateWidget_NUI();
UFUNCTION(BlueprintCallable)
void SetFrontEndVisibility(bool bHideHeader, bool bHideFooter, bool bHideChatWidget);
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void RequestOpenSocialMenu();
protected:
UFUNCTION(BlueprintCallable, BlueprintNativeEvent)
void PushContentWidgetInternal(UWidget* Widget, FContentPushState State);
public:
UFUNCTION(BlueprintCallable)
void PushContentWidgetAdvanced(UWidget* Widget, bool bHideHeader, bool bHideFooter, bool bHideChatWidget);
UFUNCTION(BlueprintCallable)
void PushContentWidget(UWidget* Widget);
protected:
UFUNCTION(BlueprintCallable, BlueprintNativeEvent)
UWidget* PopContentWidgetInternal(FContentPushState State);
public:
UFUNCTION(BlueprintCallable)
UWidget* PopContentWidget();
UFUNCTION(BlueprintCallable)
void PopAllContentWidgets();
protected:
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void OnLoadingScreenVisibilityChanged(bool IsVisible);
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void OnHUDScaleChanged(float HUDScale);
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void OnFrontEndVisibilityUpdated(bool bHideHeader, bool bHideFooter, bool bHideChatWidget);
public:
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void OnExitState(EFortUIState NextUIState);
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void OnEnterState(EFortUIState PreviousUIState);
protected:
UFUNCTION(BlueprintCallable)
void DynamicHandleLoadingScreenVisibilityChanged(bool IsVisible);
// Fix for true pure virtual functions not being implemented
};