mirror of
https://github.com/FortniteModdingHub/FNGameProj.git
synced 2026-09-02 19:27:55 +00:00
45 lines
1.3 KiB
C++
45 lines
1.3 KiB
C++
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "CommonActivatablePanel.h"
|
|
#include "FortDisplayNameWidget.generated.h"
|
|
|
|
class UCommonButton;
|
|
class UCommonTextBlock;
|
|
class UEditableText;
|
|
|
|
UCLASS(Abstract, Blueprintable, EditInlineNew)
|
|
class UFortDisplayNameWidget : public UCommonActivatablePanel {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
FText ButtonDisableReason;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
FText NameTakenText;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
FText NameInvalidFormatText;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
FText NameTooShortText;
|
|
|
|
private:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
|
|
UCommonButton* Button_Enter;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
|
|
UCommonTextBlock* Text_Error;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
|
|
UEditableText* EditText_DisplayName;
|
|
|
|
public:
|
|
UFortDisplayNameWidget();
|
|
protected:
|
|
UFUNCTION(BlueprintCallable)
|
|
void HandleTextChanged(const FText& Text);
|
|
|
|
};
|
|
|