28 virtual void NativeConstruct()
override;
29 virtual bool Initialize()
override;
31 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta=(BindWidget))
32 UTextBlock* CurrentTimeText;
33 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta=(BindWidget))
34 UTextBlock* TotalTimeText;
36 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta=(BindWidget))
39 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta=(BindWidget))
41 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta=(BindWidget))
42 UTextBlock* PauseButtonText;
43 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta=(BindWidget))
44 UComboBoxString* PlayRateComboBox;
46 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta=(BindWidget))
47 UButton* RestartButton;
48 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta=(BindWidget))
49 UButton* RewindButton;
51 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta=(BindWidget))
54 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta=(BindWidget))
58 UFUNCTION(BlueprintCallable, Category="Replay")
64 void PauseButtonClicked();
66 void RestartButtonClicked();
68 void RewindButtonClicked();
71 void BackButtonClicked();
73 void MenuButtonClicked();
77 void PlaybackSelectionChanged(FString
Item, ESelectInfo::Type SelectionType);
81 void OnMouseCaptureSlider();
83 void OnMouseCaptureEndSlider();
85 void OnValueChanged(
float Value);
89 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Replay")
90 int32 TotalTimeInSeconds = 0;
91 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Replay")
92 int32 CurrentTimeInSeconds = 0;
94 virtual
void NativeTick(const FGeometry& MyGeometry,
float InDeltaTime) override;
96 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Replay")
99 UFUNCTION(BlueprintCallable, Category="Replay")
100 FText GetCurrentTimeText() const;
102 UFUNCTION(BlueprintCallable, Category="Replay")
103 FText GetTotalTimeText() const;
105 UFUNCTION(BlueprintCallable, Category="Replay")
106 FText GetPauseButtonText() const;
108 UFUNCTION(BlueprintCallable, Category="Replay")
109 float GetSliderValue() const;
111 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Replay")
112 bool bSliderPickedByUser = false;
113 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Replay")
114 bool bCurrentlyPaused = false;
116 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Replay")
117 float SliderReleasedAtValue = 0.0f;
122 void GetReplaySpectatorController();