M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
GauntletGamepadNavigationContext Class Reference

Inherits IGamepadNavigationContext.

Public Member Functions

 GauntletGamepadNavigationContext (Func< Vector2, bool > onGetIsBlockedAtPosition, Func< int > onGetLastScreenOrder, Func< bool > onGetIsAvailableForGamepadNavigation)
 
void OnFinalize ()
 
bool GetIsBlockedAtPosition (Vector2 position)
 
int GetLastScreenOrder ()
 
bool IsAvailableForNavigation ()
 
void OnWidgetUsedNavigationMovementsUpdated (Widget widget)
 
void OnGainNavigation ()
 
void GainNavigationAfterFrames (int frameCount, Func< bool > predicate)
 
void GainNavigationAfterTime (float seconds, Func< bool > predicate)
 
void OnWidgetNavigationStatusChanged (Widget widget)
 
void OnWidgetNavigationIndexUpdated (Widget widget)
 
void AddNavigationScope (GamepadNavigationScope scope, bool initialize)
 
void RemoveNavigationScope (GamepadNavigationScope scope)
 
void AddForcedScopeCollection (GamepadNavigationForcedScopeCollection collection)
 
void RemoveForcedScopeCollection (GamepadNavigationForcedScopeCollection collection)
 
bool HasNavigationScope (GamepadNavigationScope scope)
 
bool HasNavigationScope (Func< GamepadNavigationScope, bool > predicate)
 
void OnMovieLoaded (string movieName)
 
void OnMovieReleased (string movieName)
 

Public Attributes

readonly Func< Vector2, bool > OnGetIsBlockedAtPosition
 
readonly Func< int > OnGetLastScreenOrder
 
readonly Func< bool > OnGetIsAvailableForGamepadNavigation
 

Constructor & Destructor Documentation

◆ GauntletGamepadNavigationContext()

GauntletGamepadNavigationContext.GauntletGamepadNavigationContext ( Func< Vector2, bool >  onGetIsBlockedAtPosition,
Func< int >  onGetLastScreenOrder,
Func< bool >  onGetIsAvailableForGamepadNavigation 
)

Member Data Documentation

◆ OnGetIsBlockedAtPosition

readonly Func<Vector2, bool> GauntletGamepadNavigationContext.OnGetIsBlockedAtPosition

◆ OnGetLastScreenOrder

readonly Func<int> GauntletGamepadNavigationContext.OnGetLastScreenOrder

◆ OnGetIsAvailableForGamepadNavigation

readonly Func<bool> GauntletGamepadNavigationContext.OnGetIsAvailableForGamepadNavigation