#include <GameMenuItem.h>
|
| | DECLARE_DELEGATE (FOnConfirmMenuItem) |
| |
| | DECLARE_DELEGATE_TwoParams (FOnOptionChanged, TSharedPtr< FGameMenuItem >, int32) |
| |
| | FGameMenuItem (FText _text) |
| |
| | FGameMenuItem (TSharedPtr< SGameMenuItemWidget > InWidget) |
| |
| | FGameMenuItem (FText InText, TArray< FText > InOptions, int32 InDefaultIndex=0) |
| |
| bool | ConfirmPressed () |
| |
| TSharedRef< FGameMenuItem, Mode > | AsShared () |
| |
| TSharedRef< FGameMenuItem const, Mode > | AsShared () const |
| |
| TSharedRef< SubobjectType, Mode > | AsSharedSubobject (SubobjectType *SubobjectPtr) const |
| |
| TWeakPtr< FGameMenuItem, Mode > | AsWeak () |
| |
| TWeakPtr< FGameMenuItem const, Mode > | AsWeak () const |
| |
| TWeakPtr< SubobjectType, Mode > | AsWeakSubobject (SubobjectType *SubobjectPtr) const |
| |
| void | UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const |
| |
| void | UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const |
| |
| UE_FORCEINLINE_HINT bool | DoesSharedInstanceExist () const |
| |
◆ FGameMenuItem() [1/3]
| FGameMenuItem::FGameMenuItem |
( |
FText |
_text | ) |
|
|
inline |
constructor accepting menu item text
◆ FGameMenuItem() [2/3]
custom widgets cannot contain sub menus, all functionality must be handled by custom widget itself
◆ FGameMenuItem() [3/3]
constructor for multi-choice item
◆ ConfirmPressed()
| bool FGameMenuItem::ConfirmPressed |
( |
| ) |
|
|
inline |
◆ CreateRoot()
◆ DECLARE_DELEGATE()
confirm menu item delegate
◆ DECLARE_DELEGATE_TwoParams()
multi-choice option changed, parameters are menu item itself and new multi-choice index
◆ bInactive
| bool FGameMenuItem::bInactive |
true if this item is active
◆ CustomWidget
shared pointer to actual slate widget representing the custom menu item, ie whole options screen
◆ MaxMultiChoiceIndex
| int32 FGameMenuItem::MaxMultiChoiceIndex |
set to other value than -1 to limit the options range
◆ MenuItemType
◆ MinMultiChoiceIndex
| int32 FGameMenuItem::MinMultiChoiceIndex |
set to other value than -1 to limit the options range
◆ MultiChoice
texts for multiple choice menu item (like INF AMMO ON/OFF or difficulty/resolution etc)
◆ OnConfirmMenuItem
delegate, which is executed by SSimpleMenuWidget if user confirms this menu item
◆ OnOptionChanged
multi-choice option changed, parameters are menu item itself and new multi-choice index
◆ SelectedMultiChoice
| int32 FGameMenuItem::SelectedMultiChoice |
selected multi-choice index for this menu item
◆ SubMenu
◆ Text
| FText FGameMenuItem::Text |
◆ Widget
shared pointer to actual slate widget representing the menu item
The documentation for this class was generated from the following file: