29 UPROPERTY(Blueprintable)
30 FOnSliderValueChanged OnSliderValueChanged;
34 virtual
bool Initialize() override;
35 virtual
void NativePreConstruct() override;
36 virtual
void NativeConstruct() override;
38 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Common UI")
39 bool bShowValue = true;
40 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Common UI")
41 bool bShowEditValue = false;
42 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Common UI")
43 bool bShowTitle = true;
44 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Common UI")
45 FText Title = FText::FromString("Title Text");
46 UFUNCTION(BlueprintCallable, Category="Common UI")
47 float GetSliderValue()
const {
return SliderValue;};
48 UFUNCTION(BlueprintCallable, Category=
"Common UI")
49 void SetSliderValue(const
float Value);
50 UFUNCTION(BlueprintCallable, Category="Common UI")
51 void SetSliderMinMax(const
float MinValue, const
float MaxValue) const;
54 virtual
void Setup() override;
56 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Common UI", meta=(BindWidget))
57 USlider* Slider =
nullptr;
58 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Common UI", meta=(BindWidget))
59 UTextBlock* TitleTextBlock =
nullptr;
60 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Common UI", meta=(BindWidget))
61 UTextBlock* ValueTextBlock =
nullptr;
62 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Common UI", meta=(BindWidget))
63 UEditableTextBox* EditableTextBox =
nullptr;
64 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Common UI", meta=(BindWidget))
65 UButton* ValueInputButton =
nullptr;
66 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Common UI", meta=(BindWidget))
67 UWidgetSwitcher* InputSwitcher =
nullptr;
71 float SliderValue = 0.0;
74 void OnValueChanged(
float Value);
76 void OnTextCommited(const FText& Text, ETextCommit::Type CommitMethod);
78 void OnTextChanged(const FText& Text);
80 void OnButtonPressed();
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13