#include <MenuSystemWidget.h>
|
| virtual void | ModalButtonSelected (const int32 Index) |
| |
| void | OnModalButtonSelectedEvent (const int32 Index) |
| |
| virtual void | ModalClosed () |
| |
| void | OnModalClosedEvent () |
| |
| class UModalMenuSystemWidget * | GetCurrentModal () const |
| |
| void | SetModalSlot (UPanelWidget *PanelWidget) |
| |
| void | SetNotificationSlot (UPanelWidget *PanelWidget) |
| |
| void | LogDebugError (const FString &Message) const |
| |
| void | LogDebugError (const FString &Message, const int32 Value) const |
| |
| void | LogDebugError (const FString &Message, const float Value) const |
| |
| void | LogDebugWarning (const FString &Message) const |
| |
| void | LogDebugWarning (const FString &Message, const int32 Value) const |
| |
| void | LogDebugWarning (const FString &Message, const float Value) const |
| |
| void | LogDebugMessage (const FString &Message, const bool bWarning=false, const bool bError=false) const |
| |
| void | LogDebugMessage (const FString &Message, const int32 Value, const bool bWarning=false, const bool bError=false) const |
| |
| void | LogDebugMessage (const FString &Message, const float Value, const bool bWarning=false, const bool bError=false) const |
| |
| void | LogDebugMessage (const FString &Message, const bool bValue, const bool bWarning, const bool bError) const |
| |
| void | LogOnScreenMessage (const int32 Key, const FString &Message, FColor Color=FColor::Green) const |
| |
| void | SetCategoryName (const FLogCategoryBase &Category) |
| |
◆ UMenuSystemWidget()
| UMenuSystemWidget::UMenuSystemWidget |
( |
const FObjectInitializer & | ObjectInitializer | ) |
|
|
explicit |
10 : Super(ObjectInitializer)
11{
12
13}
◆ GetCurrentModal()
◆ GetCurrentSessionName()
| FString UMenuSystemWidget::GetCurrentSessionName |
( |
| ) |
const |
|
virtual |
156{
157 if(
MenuInterface ==
nullptr){UE_LOG(LogMenuSystem,
Error, TEXT(
"Menu Interface Missing, GetCurrentSessionName"));
return "Error in Session Name, Check Log";}
159}
◆ GetDebuggingMode()
| bool UMenuSystemWidget::GetDebuggingMode |
( |
| ) |
const |
|
virtual |
138{
139 if(
MenuInterface ==
nullptr){UE_LOG(LogMenuSystem,
Error, TEXT(
"Menu Interface Missing, GetDebuggingMode"));
return false;}
141}
◆ GetIsOnlineGame()
| bool UMenuSystemWidget::GetIsOnlineGame |
( |
| ) |
const |
126{
127 if(
MenuInterface ==
nullptr){UE_LOG(LogMenuSystem,
Error, TEXT(
"Menu Interface Missing, GetIsOnlineGame"));
return false;}
129}
◆ GetIsPlayerLoggedIn()
| bool UMenuSystemWidget::GetIsPlayerLoggedIn |
( |
| ) |
const |
|
virtual |
150{
151 if(
MenuInterface ==
nullptr){UE_LOG(LogMenuSystem,
Error, TEXT(
"Menu Interface Missing, GetIsPlayerLoggedIn"));
return false;}
153}
◆ GetIsPublicMatch()
| bool UMenuSystemWidget::GetIsPublicMatch |
( |
| ) |
const |
132{
133 if(
MenuInterface ==
nullptr){UE_LOG(LogMenuSystem,
Error, TEXT(
"Menu Interface Missing, GetIsPublicMatch"));
return false;}
135}
◆ GetOnlineSubsystem()
◆ GetOwnerWidget()
| UUserWidget * UMenuSystemWidget::GetOwnerWidget |
( |
| ) |
const |
|
inline |
◆ GetPlayerUserName()
| FString UMenuSystemWidget::GetPlayerUserName |
( |
| ) |
const |
|
virtual |
144{
145 if(
MenuInterface ==
nullptr){UE_LOG(LogMenuSystem,
Error, TEXT(
"Menu Interface Missing, GetPlayerUserName"));
return "Error in Player Name, Check Log";}
147}
◆ Initialize()
| bool UMenuSystemWidget::Initialize |
( |
| ) |
|
|
overridevirtual |
◆ ModalButtonSelected()
| void UMenuSystemWidget::ModalButtonSelected |
( |
const int32 | Index | ) |
|
|
protectedvirtual |
◆ ModalClosed()
| void UMenuSystemWidget::ModalClosed |
( |
| ) |
|
|
protectedvirtual |
◆ NativeConstruct()
| void UMenuSystemWidget::NativeConstruct |
( |
| ) |
|
|
overridevirtual |
◆ NativeOnHandleBackAction()
| bool UMenuSystemWidget::NativeOnHandleBackAction |
( |
| ) |
|
|
overridevirtual |
◆ OnModalButtonSelectedEvent()
| void UMenuSystemWidget::OnModalButtonSelectedEvent |
( |
const int32 | Index | ) |
|
|
protected |
◆ OnModalClosedEvent()
| void UMenuSystemWidget::OnModalClosedEvent |
( |
| ) |
|
|
protected |
◆ OpenConfirmationMessage()
| void UMenuSystemWidget::OpenConfirmationMessage |
( |
const FModalData & | ModalData | ) |
|
|
virtual |
70{
72 {
74 }
77 {
81 return;
82 }
84 {
86 }
88 {
89 if(
Modal->IsInViewport())
90 {
91 DeactivateWidget();
92 Modal->ActivateWidget();
93 return;
94 }
99 {
102 DeactivateWidget();
103 Modal->ActivateWidget();
104 return;
105 }
106 Modal->AddToViewport();
107 DeactivateWidget();
108 Modal->ActivateWidget();
109 }
110}
virtual TSubclassOf< UUserWidget > GetModalWidgetClass()
Definition ModalInterface.h:29
EMenuSystemModalType Style
Definition MenuData.h:272
◆ SetMenuInterface()
| void UMenuSystemWidget::SetMenuInterface |
( |
IMenuSystem * | Interface | ) |
|
◆ SetModalSlot()
| void UMenuSystemWidget::SetModalSlot |
( |
UPanelWidget * | PanelWidget | ) |
|
|
inlineprotected |
◆ SetNotificationSlot()
| void UMenuSystemWidget::SetNotificationSlot |
( |
UPanelWidget * | PanelWidget | ) |
|
|
inlineprotected |
◆ SetOwnerWidget()
| void UMenuSystemWidget::SetOwnerWidget |
( |
UUserWidget * | Owner | ) |
|
|
inline |
◆ SetServerList()
| void UMenuSystemWidget::SetServerList |
( |
const TArray< FServerRow > & | ServerInfo | ) |
|
|
virtual |
◆ Setup()
| void UMenuSystemWidget::Setup |
( |
| ) |
|
58{
59 AddToViewport();
60 APlayerController* PlayerControllerReference = GetOwningPlayer();
61
62 if (!ensure(PlayerControllerReference != nullptr)) return;
63 FInputModeUIOnly InputModeData;
64 InputModeData.SetLockMouseToViewportBehavior(EMouseLockMode::LockAlways);
65 PlayerControllerReference->SetInputMode(InputModeData);
66 PlayerControllerReference->bShowMouseCursor = true;
67}
◆ WidgetVisibilityChanged()
| void UMenuSystemWidget::WidgetVisibilityChanged |
( |
ESlateVisibility | SlateVisibility | ) |
|
◆ bIsController
| bool UMenuSystemWidget::bIsController = false |
|
protected |
◆ bIsKeyboard
| bool UMenuSystemWidget::bIsKeyboard = false |
|
protected |
◆ bMouse
| bool UMenuSystemWidget::bMouse = false |
|
protected |
◆ MenuInterface
| IMenuSystem* UMenuSystemWidget::MenuInterface = nullptr |
|
protected |
◆ Modal
◆ ModalInterface
◆ ModalSlot
| class UPanelWidget* UMenuSystemWidget::ModalSlot = nullptr |
|
private |
◆ NotificationSlot
| class UPanelWidget* UMenuSystemWidget::NotificationSlot = nullptr |
|
private |
◆ OnMenuBackButtonSelected
| FOnMenuBackButtonSelected UMenuSystemWidget::OnMenuBackButtonSelected |
◆ OwnerWidget
| UUserWidget* UMenuSystemWidget::OwnerWidget = nullptr |
|
private |
The documentation for this class was generated from the following files:
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/MenuSystem/Source/MenuSystem/Public/Widgets/MenuSystemWidget.h
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/MenuSystem/Source/MenuSystem/Private/Widgets/MenuSystemWidget.cpp