30 UFUNCTION(BlueprintCallable, Category=
"HUD")
33 UFUNCTION(BlueprintCallable, Category=
"HUD")
34 void SelectionUp()
const;
35 UFUNCTION(BlueprintCallable, Category=
"HUD")
36 void SelectionDown()
const;
39 UFUNCTION(BlueprintCallable, Category=
"HUD")
40 void FocusOnGame()
const;
41 UFUNCTION(BlueprintCallable, Category=
"HUD")
42 void FocusOnWidget()
const;
44 UFUNCTION(BlueprintCallable, Category=
"HUD")
45 void SetMultiplayerHUD(const
bool bMultiplayerHUD = true){bMultiplayer = bMultiplayerHUD;};
46 UFUNCTION(BlueprintCallable, Category=
"HUD")
47 void ToggleGameMenuWidget(class UUserWidget* TargetWidget);
49 void StartOpenQuestMenu() const;
50 void StopOpenQuestMenu() const;
52 virtual
void ToggleGameLog() override;
54 void OpenScoreboard(const
bool bOpen = true) const;
63 virtual void StartFocusOnObject(
const FString& ObjectName,
const FInteractionData& InteractionData)
override;
64 virtual void StartFocusOnCharacter(
const FString& CharacterName,
const FInteractionData& InteractionData)
override;
65 virtual void ShowCustomPrompt(
const FInteractionData& InteractionData)
override;
66 virtual void HideCustomPrompt()
override;
67 virtual void SetSelectedInteraction(
const int32 SelectedIndex)
override;
68 virtual void StartSelection(
const float Time)
override;
69 virtual void StopSelection()
override;
70 virtual void EndFocus()
override;
74 virtual void SetCompanionInteractions(
const FInteractionData& CompanionData,
const FString& Object)
override;
75 virtual void ToggleCompanionInteractions(
const bool bShow =
true)
override;
76 virtual void SetSelectedCompanionInteraction(
const int32 SelectedIndex)
override;
90 virtual void UpdateStamina(
const float CurrentStamina,
const float MaxStamina)
override;
91 virtual void DamageIndicator(
const FVector& HitLocation,
const float Damage,
const UDamageType* DamageType)
override;
92 virtual void StealthIndicator(AActor* ThreatActor,
const float Amount = 0.0f)
override;
94 virtual void OwnerDeath(
const struct FPlayerDeath& PlayerDeathData)
override;
98 virtual void UpdateThreatIndication(
const FVector&
Location,
const float DetectionAmount);
101 virtual void PlayerDeath(
FPlayerDeath& PlayerDeath)
override;
102 virtual void AIDeath(
FPlayerDeath& PlayerDeath)
override;
106 void MatchOver(
const FMatchState& MatchState,
const TArray<FTeamScoreData>& Scores)
const;
107 void RoundOver(
const FMatchState& MatchState,
const TArray<FTeamScoreData>& Scores)
const;
108 void SetMultiplayerMatchState(
const FMatchState& State)
const;
111 virtual void SetScore(
const TArray<FTeamScoreData>& Scores,
const int32 ScoreGoal);
113 virtual void SetRound(
const int32 Num);
120 virtual void SetAiming(
const bool bIsAiming);
122 UFUNCTION(BlueprintCallable, Category=
"HUD")
125 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bChatWidgetPython"))
126 bool bChatWidget = true;
127 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bHealthWidgetPython"))
128 bool bHealthWidget = true;
129 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bInteractionCrosshairWidgetPython"))
130 bool bInteractionCrosshairWidget = true;
131 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bInteractionContextWidgetPython"))
132 bool bInteractionContextWidget = true;
133 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bWeaponBarWidgetPython"))
134 bool bWeaponBarWidget = true;
135 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bCrosshairWidgetPython"))
136 bool bCrosshairWidget = true;
137 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bQuestMenuButtonWidgetPython"))
138 bool bQuestMenuButtonWidget = true;
140 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bQuestSystemWidgetPython"))
141 bool bQuestSystemWidget = true;
142 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bQuestLogWidgetPython"))
143 bool bQuestLogWidget = true;
144 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bbQuestNotificationManagerWidgetPython"))
145 bool bQuestNotificationManagerWidget = true;
146 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bQuestTrackerWidgetPython"))
147 bool bQuestTrackerWidget = true;
149 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bScoreWidgetPython"))
150 bool bScoreWidget = true;
151 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bKillFeedWidgetPython"))
152 bool bKillFeedWidget = true;
153 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bScoreboardWidgetPython"))
154 bool bScoreboardWidget = true;
155 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bMatchOverWidgetPython"))
156 bool bMatchOverWidget = true;
157 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bStaminaWidgetPython"))
158 bool bStaminaWidget = true;
159 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bDamageIndicatorPython"))
160 bool bDamageIndicator = true;
161 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bStealthIndicatorPython"))
162 bool bStealthIndicator = true;
163 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bGameLogWidgetPython"))
164 bool bGameLogWidget = true;
166 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Debug", meta = (ScriptName = "bScoreWidgetPython"))
167 float OpenQuestMenuTime = 1.0f;
172 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="HUD|Layout")
176 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="HUD|Quest")
188 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="HUD|
Interaction")
190 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="HUD|
Interaction")
194 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="HUD|Weapons")
196 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="HUD|Weapons")
204 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="HUD|Stamina")
206 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="HUD|Log")
210 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="HUD|
Multiplayer")
212 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="HUD|
Multiplayer")
215 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="HUD|
Multiplayer")
218 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="HUD|
Multiplayer")
220 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="HUD|
Multiplayer")
223 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="HUD|
Debug")
224 int32 MultiplayerTeamID = 0;
225 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="HUD")
226 bool bMultiplayer = false;
228 virtual
void BeginDestroy() override;
230 UFUNCTION(BlueprintCallable, Category="HUD|Layout")
231 void SetupLayoutWidget();
232 UFUNCTION(BlueprintCallable, Category="HUD|Quest")
233 void AddGameWidgetsToViewport();
235 UFUNCTION(BlueprintCallable, Category="HUD|Log")
236 void SetupGameLogWidget();
240 UFUNCTION(BlueprintCallable, Category="HUD|Quest")
241 void SetupQuestMenuButton();
256 UFUNCTION(BlueprintCallable, Category="HUD|
Interaction")
257 void SetupInteractionCrosshairWidget();
258 UFUNCTION(BlueprintCallable, Category="HUD|
Interaction")
259 void SetupInteractionContextWidget();
264 UFUNCTION(BlueprintCallable, Category="HUD|Stamina")
265 void SetupStaminaWidget();
270 void SetupKillFeedWidget();
271 void SetupScoreWidget();
272 void SetupScoreboardWidget();
273 void SetupMatchOverWidget();
275 void SetupChatBoxWidget();
278 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="HUD")
279 UUserWidget* WidgetToFocus =
nullptr;
282 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="HUD")
283 TArray<UUserWidget*> GameMenuWidgetList;
285 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="HUD")
286 TArray<UUserWidget*> GameWidgetList;
293 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|Weapons")
294 TSubclassOf<class UUserWidget> GameLogWidgetClass;
297 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|Quest")
301 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|Quest")
308 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|Weapons")
310 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|Weapons")
319 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Character")
321 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Character")
323 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Character")
326 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Interaction")
328 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Interaction")
333 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Health")
338 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Multiplayer")
340 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Multiplayer")
343 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|
Multiplayer")
345 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|Layout")
348 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="HUD|Layout")
353 bool bChatBoxOpen = false;
354 bool bCommandingMode = false;
357 void ToggleQuestLogBind();
359 void ToggleQuestTrackerBind();