|
LEAP Documentation 40220
Documentation for the LEAP project
|
#include <ProjectXGameViewportClient.h>
Public Member Functions | |
| virtual void | Tick (float DeltaTime) override |
| virtual void | PostRender (UCanvas *Canvas) override |
| virtual void | Init (struct FWorldContext &WorldContext, UGameInstance *OwningGameInstance, bool bCreateNewAudioDevice=true) override |
| virtual void | ClearFade () |
| virtual void | Fade (const float inFadeDuration, const bool bInToBlack, const float inFadeDelay=0.0f, const bool &bInForceFadeToBlack=false) |
| void | DrawScreenFade (UCanvas *Canvas) |
| bool | IsFading () const |
| void | ReinitializeViewportClientFade () |
| void | CleanViewport () |
| void | MenuBack () |
| void | ToggleEscMenu () |
| void | ToggleMap () |
| void | OpenMap () |
| void | OpenLandingScreen () |
| void | DeferredOpenMapTimerComplete () |
| void | CloseMap () |
| void | CloseLandingScreen () |
| void | DeferredOpenMap (float Delay=-1.f) |
| void | ClearMapTimers () |
| void | NavigateBumperLeft () |
| void | NavigateBumperRight () |
| bool | IsPlayerBindingNewButton () const |
| void | SetPlayerBindingNewButton (const bool bIsPlayerCurrentlyBinding) |
| void | TopFaceButton () |
| void | BottomFaceButton () |
| void | RightFaceButton () |
| void | LeftFaceButton () |
| void | ToggleKickVoteMenu () |
| void | ToggleMapVoteMenu () |
| void | ShowScoreboard () |
| void | HideScoreboard () |
| bool | CanToggleChat () const |
| bool | HasLegalPawn () const |
| void | OpenPostGameScreen () |
| void | OpenQuickChat () |
| void | CloseQuickChat () |
| void | ToggleDeathWidget (bool OpenWidget) |
| void | ToggleHUD (bool bToggle) |
| void | RemoveHUDUserWidget (UUserWidget *Widget) |
| void | RemoveAllHUDUserWidgets () |
| virtual void | ToggleSoftwareCursor (const bool bToggle) |
| bool | SetUserFocusOnAdvancedUserWidget (UAdvancedUserWidget *Widget) |
| bool | SetUserFocusOnFirstChild (UUserWidget *Widget) |
| bool | AreAnyActiveWidgetsDisablingInput () const |
| void | AddHUDBaseWidgetToList (UHUDBasicUserWidget *WidgetToAdd) |
| void | RemoveHUDBaseWidgetFromList (UHUDBasicUserWidget *WidgetToRemove) |
| virtual void | LevelTravel () |
| template<class T > | |
| void | ToggleWidgetByClass () |
| void | ToggleWidgetByClass (TSubclassOf< UAdvancedUserWidget > WidgetClass, EWindowToggleCommand ToggleCommand=EWindowToggleCommand::Toggle) |
| void | ToggleWidget (UAdvancedUserWidget *UserWidget, const EWindowToggleCommand ToggleCommand, const UObject *ContextObject=nullptr) |
| UAdvancedUserWidget * | GetWidgetByClass (TSubclassOf< UUserWidget > WidgetClass, bool bReturnInheritedClasses=false) const |
| void | CloseAllWidgets (const bool bClosedByAnotherWidget=false) |
| void | OnWidgetDestroyed (UAdvancedUserWidget *Widget) |
| UContextMenuWidget * | CreateContextMenu (const TArray< FContextMenuOption > &ContextMenuOptions, const FText Title, const bool bDismissable, const UObject *ContextObject=nullptr) |
| UContextMenuWidget * | CreateGlobalMessageDialogue (FContextMenuOption ContextMenuOption1, FContextMenuOption ContextMenuOption2, const FText Title, const FText Message, const bool bDismissable, const UObject *ContextObject=nullptr) |
| UHUDBasicUserWidget * | FindOrCreateHUDUserWidget (UClass *WidgetClass, const int32 ZOrder) |
| UUserWidget * | GetHUDWidgetByClass (TSubclassOf< UUserWidget > WidgetClass) const |
| AProjectXHUD * | GetHUD () const |
| UAdvancedUserWidget * | GetOrCreateViewportWidget (UClass *WidgetClass, const int32 ZOrder, const bool bDontCreateCopies=false) |
| void | ToggleDisplayMesh (bool bToggled) |
| AActor *const | GetDisplayMesh () const |
| bool | IsDisplayMeshVisible () const |
| void | KeysRebound () |
| TSubclassOf< UAdvancedUserWidget > | GetHighestActiveWidget () const |
| UUserWidget * | GetTooltipWidget () |
| void | SetPlayerInputLockingState () |
| bool | IsUsingGamePad () const |
| UAdvancedUserWidget * | GetHighestPriorityActiveWidget () const |
Static Public Member Functions | |
| static UUserWidget * | CreateUserWidgetFromPool (UObject *const WorldContextObject, TSubclassOf< UUserWidget > UserWidget) |
| static void | ReleaseUserWidgetFromPool (UObject *const WorldContextObject, UUserWidget *const UserWidget) |
| static void | BuildWidgetPoolForWidget (UObject *const WorldContextObject, TSubclassOf< UUserWidget > UserWidget, int32 PoolSize=10) |
| static UAdvancedUserWidget * | CreateAdvancedUserWidget (const UObject *WorldContextObject, TSubclassOf< UAdvancedUserWidget > AdvancedUserWidgetClass, const int32 ZOrder) |
| static void | ToggleAdvancedUserWidget (const UObject *WorldContextObject, UAdvancedUserWidget *AdvancedUserWidgetClass, const EWindowToggleCommand ToggleCommand) |
| static UAdvancedUserWidget * | ToggleAdvancedUserWidgetByClass (const UObject *WorldContextObject, TSubclassOf< UAdvancedUserWidget > AdvancedUserWidgetClass, const EWindowToggleCommand ToggleCommand) |
| static bool | IsAdvancedUserWidgetActiveByClass (const UObject *WorldContextObject, TSubclassOf< UAdvancedUserWidget > AdvancedUserWidgetClass) |
| static UProjectXGameViewportClient * | GetViewportClient (const UObject *WorldContextObject) |
Public Attributes | |
| FWidgetChangedSignature | OnHighestActiveWidgetChanged |
| FDisplayMeshVisibilityUpdatedSignature | OnDisplayMeshVisibilityChangedEvent |
| FViewportGamePadStateChangeSignature | OnGamepadStateChanged |
| FOnKeyBindingViewportUpdatedSignature | OnViewportKeybindUpdatedEvent |
Protected Member Functions | |
| virtual void | BeginDestroy () override |
| virtual APlayerController * | GetOwningPlayerController () const |
| virtual bool | InputKey (const FInputKeyEventArgs &EventArgs) override |
| virtual bool | InputAxis (FViewport *InViewport, int32 ControllerId, FKey Key, float Delta, float DeltaTime, int32 NumSamples, bool bGamepad) override |
| void | SetUsingGamepad (bool bToggle) |
| void | LogFocusedWidget () |
Protected Attributes | |
| TSubclassOf< UUserWidget > | TooltipWidgetClass = NULL |
Friends | |
| class | UAdvancedUserWidget |
| class | AProjectXHUD |
| class | UProjectXGameInstance |
| void UProjectXGameViewportClient::AddHUDBaseWidgetToList | ( | UHUDBasicUserWidget * | WidgetToAdd | ) |
| bool UProjectXGameViewportClient::AreAnyActiveWidgetsDisablingInput | ( | ) | const |
|
overrideprotectedvirtual |
| void UProjectXGameViewportClient::BottomFaceButton | ( | ) |
|
static |
| bool UProjectXGameViewportClient::CanToggleChat | ( | ) | const |
| void UProjectXGameViewportClient::CleanViewport | ( | ) |
|
virtual |
| void UProjectXGameViewportClient::ClearMapTimers | ( | ) |
| void UProjectXGameViewportClient::CloseAllWidgets | ( | const bool | bClosedByAnotherWidget = false | ) |
| void UProjectXGameViewportClient::CloseLandingScreen | ( | ) |
| void UProjectXGameViewportClient::CloseMap | ( | ) |
| void UProjectXGameViewportClient::CloseQuickChat | ( | ) |
|
static |
| UContextMenuWidget * UProjectXGameViewportClient::CreateContextMenu | ( | const TArray< FContextMenuOption > & | ContextMenuOptions, |
| const FText | Title, | ||
| const bool | bDismissable, | ||
| const UObject * | ContextObject = nullptr |
||
| ) |
| UContextMenuWidget * UProjectXGameViewportClient::CreateGlobalMessageDialogue | ( | FContextMenuOption | ContextMenuOption1, |
| FContextMenuOption | ContextMenuOption2, | ||
| const FText | Title, | ||
| const FText | Message, | ||
| const bool | bDismissable, | ||
| const UObject * | ContextObject = nullptr |
||
| ) |
|
static |
| void UProjectXGameViewportClient::DeferredOpenMap | ( | float | Delay = -1.f | ) |
| void UProjectXGameViewportClient::DeferredOpenMapTimerComplete | ( | ) |
| void UProjectXGameViewportClient::DrawScreenFade | ( | UCanvas * | Canvas | ) |
|
virtual |
| UHUDBasicUserWidget * UProjectXGameViewportClient::FindOrCreateHUDUserWidget | ( | UClass * | WidgetClass, |
| const int32 | ZOrder | ||
| ) |
| AActor *const UProjectXGameViewportClient::GetDisplayMesh | ( | ) | const |
|
inline |
| UAdvancedUserWidget * UProjectXGameViewportClient::GetHighestPriorityActiveWidget | ( | ) | const |
| AProjectXHUD * UProjectXGameViewportClient::GetHUD | ( | ) | const |
| UUserWidget * UProjectXGameViewportClient::GetHUDWidgetByClass | ( | TSubclassOf< UUserWidget > | WidgetClass | ) | const |
| UAdvancedUserWidget * UProjectXGameViewportClient::GetOrCreateViewportWidget | ( | UClass * | WidgetClass, |
| const int32 | ZOrder, | ||
| const bool | bDontCreateCopies = false |
||
| ) |
|
protectedvirtual |
| UUserWidget * UProjectXGameViewportClient::GetTooltipWidget | ( | ) |
|
static |
| UAdvancedUserWidget * UProjectXGameViewportClient::GetWidgetByClass | ( | TSubclassOf< UUserWidget > | WidgetClass, |
| bool | bReturnInheritedClasses = false |
||
| ) | const |
| bool UProjectXGameViewportClient::HasLegalPawn | ( | ) | const |
| void UProjectXGameViewportClient::HideScoreboard | ( | ) |
|
overridevirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
static |
|
inline |
| bool UProjectXGameViewportClient::IsFading | ( | ) | const |
|
inline |
|
inline |
|
inline |
| void UProjectXGameViewportClient::LeftFaceButton | ( | ) |
|
virtual |
|
protected |
| void UProjectXGameViewportClient::MenuBack | ( | ) |
| void UProjectXGameViewportClient::NavigateBumperLeft | ( | ) |
| void UProjectXGameViewportClient::NavigateBumperRight | ( | ) |
| void UProjectXGameViewportClient::OnWidgetDestroyed | ( | UAdvancedUserWidget * | Widget | ) |
| void UProjectXGameViewportClient::OpenLandingScreen | ( | ) |
| void UProjectXGameViewportClient::OpenMap | ( | ) |
| void UProjectXGameViewportClient::OpenPostGameScreen | ( | ) |
| void UProjectXGameViewportClient::OpenQuickChat | ( | ) |
|
overridevirtual |
| void UProjectXGameViewportClient::ReinitializeViewportClientFade | ( | ) |
|
static |
| void UProjectXGameViewportClient::RemoveAllHUDUserWidgets | ( | ) |
| void UProjectXGameViewportClient::RemoveHUDBaseWidgetFromList | ( | UHUDBasicUserWidget * | WidgetToRemove | ) |
| void UProjectXGameViewportClient::RemoveHUDUserWidget | ( | UUserWidget * | Widget | ) |
| void UProjectXGameViewportClient::RightFaceButton | ( | ) |
|
inline |
| void UProjectXGameViewportClient::SetPlayerInputLockingState | ( | ) |
| bool UProjectXGameViewportClient::SetUserFocusOnAdvancedUserWidget | ( | UAdvancedUserWidget * | Widget | ) |
| bool UProjectXGameViewportClient::SetUserFocusOnFirstChild | ( | UUserWidget * | Widget | ) |
|
protected |
| void UProjectXGameViewportClient::ShowScoreboard | ( | ) |
|
overridevirtual |
|
static |
|
static |
| void UProjectXGameViewportClient::ToggleDeathWidget | ( | bool | OpenWidget | ) |
| void UProjectXGameViewportClient::ToggleDisplayMesh | ( | bool | bToggled | ) |
| void UProjectXGameViewportClient::ToggleEscMenu | ( | ) |
| void UProjectXGameViewportClient::ToggleHUD | ( | bool | bToggle | ) |
| void UProjectXGameViewportClient::ToggleKickVoteMenu | ( | ) |
| void UProjectXGameViewportClient::ToggleMap | ( | ) |
| void UProjectXGameViewportClient::ToggleMapVoteMenu | ( | ) |
|
virtual |
| void UProjectXGameViewportClient::ToggleWidget | ( | UAdvancedUserWidget * | UserWidget, |
| const EWindowToggleCommand | ToggleCommand, | ||
| const UObject * | ContextObject = nullptr |
||
| ) |
|
inline |
| void UProjectXGameViewportClient::ToggleWidgetByClass | ( | TSubclassOf< UAdvancedUserWidget > | WidgetClass, |
| EWindowToggleCommand | ToggleCommand = EWindowToggleCommand::Toggle |
||
| ) |
| void UProjectXGameViewportClient::TopFaceButton | ( | ) |
|
friend |
|
friend |
|
friend |
| FDisplayMeshVisibilityUpdatedSignature UProjectXGameViewportClient::OnDisplayMeshVisibilityChangedEvent |
| FViewportGamePadStateChangeSignature UProjectXGameViewportClient::OnGamepadStateChanged |
| FWidgetChangedSignature UProjectXGameViewportClient::OnHighestActiveWidgetChanged |
| FOnKeyBindingViewportUpdatedSignature UProjectXGameViewportClient::OnViewportKeybindUpdatedEvent |
|
protected |