19 void SelectIndex(uint32 Index);
22 virtual void SetServerList(
const TArray<FServerRow>& ServerInfo)
override;
24 virtual UWidget* NativeGetDesiredFocusTarget()
const override;
27 virtual bool Initialize()
override;
28 virtual void NativeConstruct()
override;
32 virtual void ModalButtonSelected(
const int32 Index)
override;
34 UFUNCTION(BlueprintImplementableEvent, Category=
"Menu System")
35 void OnDifficultyChanged();
37 UFUNCTION(BlueprintCallable, Category="
Menu System")
38 void SetDifficultyLevelText() const;
40 UFUNCTION(BlueprintCallable, Category="
Menu System")
41 void LoginToEpicOnline() const;
43 UFUNCTION(BlueprintCallable, Category="
Menu System")
44 void ReturnToCurrentMenu();
46 UFUNCTION(BlueprintCallable, Category="
Menu System")
47 void ReturnToMainMenu();
48 UFUNCTION(BlueprintCallable, Category="
Menu System")
49 void ReturnToMultiplayerMenu();
51 UFUNCTION(BlueprintCallable, Category="
Menu System")
52 void SetActiveMenu(const int32 Index, class UWidgetSwitcher* MenuSwitcherWidget);
53 UWidget* GetActiveMenuWidget() const;
55 UFUNCTION(BlueprintCallable, Category="
Menu System")
56 class UWidgetSwitcher* GetActiveMenu() const;
59 UFUNCTION(BlueprintCallable, Category="
Menu System")
60 void JoinButtonClicked();
61 UFUNCTION(BlueprintCallable, Category="
Menu System")
63 UFUNCTION(BlueprintCallable, Category="
Menu System")
64 void HostButtonClicked();
66 void UpdateServerRows();
68 void NumberOnSliderChanged(
float Value);
70 void MinNumberOnSliderChanged(
float Value);
73 UFUNCTION(BlueprintCallable, Category="
Menu System")
74 void OpenQuitConfirmationPopup();
77 UFUNCTION(BlueprintCallable, Category="
Menu System")
80 UFUNCTION(BlueprintCallable, Category="
Menu System")
81 void BackOneMenu(
bool bOpenConfirmation);
84 UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
85 bool bIsControllerInput = false;
90 UFUNCTION(BlueprintCallable, Category="
Menu System")
91 void SetIsControllerInput(
bool bIsNewController);
92 UPROPERTY(BlueprintReadWrite, Category="
Menu System")
93 int32 ButtonFocused = 1;
96 UPROPERTY(BlueprintReadWrite, Category="
Menu System")
97 int32 MenuPageIndex = 0;
99 UPROPERTY(BlueprintReadWrite, Category="
Menu System")
100 int32 MultiplayerPageIndex = 0;
103 const int32 MultiplayerPageIndexNumber = 4;
104 const int32 MainMenuPageIndexNumber = 2;
105 const int32 SignInPageIndexNumber = 1;
108 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="
Menu System")
110 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
111 class UOverlay* LevelSelectOverlay =
nullptr;
113 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
114 class UPanelWidget* ModalPanel =
nullptr;
115 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
116 class UPanelWidget* NotificationPanel =
nullptr;
119 UPROPERTY(BlueprintReadOnly, meta = (BindWidget))
120 class UButton* StartScreenButton =
nullptr;
121 UPROPERTY(BlueprintReadOnly, meta = (BindWidget))
122 class UButton* JoinButton =
nullptr;
130 UPROPERTY(BlueprintReadOnly, meta = (BindWidget))
131 class UCommonActivatableWidgetSwitcher* MenuSwitcher =
nullptr;
132 UPROPERTY(BlueprintReadOnly, meta = (BindWidget))
133 class UCommonActivatableWidgetSwitcher* MultiplayerMenuSwitcher =
nullptr;
136 UPROPERTY(BlueprintReadOnly, meta = (BindWidget))
137 class UWidget* StartScreen =
nullptr;
141 UPROPERTY(BlueprintReadWrite, meta = (BindWidget))
142 class UTextBlock* GameVersionText =
nullptr;
143 UPROPERTY(BlueprintReadWrite, meta = (BindWidget))
144 class UTextBlock* UserNameText =
nullptr;
146 UPROPERTY(BlueprintReadonly, Category="
Menu System")
147 bool bSearchingForServersInProgress = false;
149 UPROPERTY(BlueprintReadWrite, Category="
Menu System")
150 bool bAllowJoinInProgress = false;
151 UPROPERTY(BlueprintReadWrite, Category="
Menu System")
152 bool bAllowInvites = false;
153 UPROPERTY(BlueprintReadWrite, Category="
Menu System")
155 UPROPERTY(BlueprintReadWrite, Category="
Menu System")
156 bool bIsDedicatedServer = false;
157 UPROPERTY(BlueprintReadWrite, Category="
Menu System")
158 bool bShouldAdvertise = false;
159 UPROPERTY(BlueprintReadWrite, Category="
Menu System")
160 bool bUseLobbiesIfAvailable = false;
161 UPROPERTY(BlueprintReadWrite, Category="
Menu System")
162 bool bUseLobbiesVoiceChatIfAvailable = false;
163 UPROPERTY(BlueprintReadWrite, Category="
Menu System")
164 bool bUsesPresence = false;
165 UPROPERTY(BlueprintReadWrite, Category="
Menu System")
166 bool bAllowJoinViaPresence = false;
168 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
169 class UPanelWidget* ServerList =
nullptr;
170 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
171 class UButton* SearchServersButton =
nullptr;
173 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
174 class UEditableTextBox* IPInputTextBox =
nullptr;
176 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
177 class UEditableTextBox* ServerNameTextBox =
nullptr;
178 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
179 class USlider* NumberOfPlayersSlider =
nullptr;
180 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
181 class USlider* MinNumberOfPlayersSlider =
nullptr;
182 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
183 class UTextBlock* NumberOfPlayersText =
nullptr;
184 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
185 class UTextBlock* MinNumberOfPlayersText =
nullptr;
186 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
187 class UCheckBox* DedicatedServerCheckbox =
nullptr;
188 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
189 class UCheckBox* LANCheckbox =
nullptr;
190 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
191 class UCheckBox* UsesPresenceCheckbox =
nullptr;
195 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
196 class UTextBlock* DifficultyTextBlock =
nullptr;
198 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
199 class UWidget* SearchingProgressSpinner =
nullptr;
202 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
204 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
206 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
208 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
210 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
212 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
214 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
216 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
218 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
221 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget))
229 void StartScreenButtonClicked();
232 TSubclassOf<class UUserWidget> ServerRowClass;
233 TSubclassOf<class UUserWidget> LevelSelectClass;
235 float NumberOfPlayers = 1;
236 float MinNumberOfPlayers = 1;
238 TOptional<uint32> SelectedIndex;
240 bool bCloseGame = false;
244 void SignInScreenButtonSelected(const int32 Index);
246 void MainMenuButtonSelected(const int32 Index);
248 void CampaignMenuButtonSelected(const int32 Index);
250 void MultiplayerMenuButtonSelected(const int32 Index);
252 void HordeMenuButtonSelected(const int32 Index);
254 void CharacterMenuButtonSelected(const int32 Index);
256 void BrowseMenuButtonSelected(const int32 Index);
258 void HostMenuButtonSelected(const int32 Index);
260 void QuickMatchMenuButtonSelected(const int32 Index);
262 void PlaylistMenuButtonSelected(const int32 Index);
265 void CloseLevelSelect(const
bool bOpenConfirm);