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

Inherits ScreenLayer.

Public Member Functions

 GauntletLayer (int localOrder, string categoryId="GauntletLayer", bool shouldClear=false)
 
IGauntletMovie LoadMovie (string movieName, ViewModel dataSource)
 
void ReleaseMovie (IGauntletMovie movie)
 
override void ProcessEvents ()
 
override bool HitTest (Vector2 position)
 
override bool HitTest ()
 
override bool FocusTest ()
 
override bool IsFocusedOnInput ()
 
override void OnOnScreenKeyboardDone (string inputText)
 
override void OnOnScreenKeyboardCanceled ()
 
override void UpdateLayout ()
 
bool GetIsAvailableForGamepadNavigation ()
 
override void DrawDebugInfo ()
 

Public Attributes

readonly TwoDimensionView TwoDimensionView
 
readonly UIContext UIContext
 
readonly IGamepadNavigationContext GamepadNavigationContext
 
readonly List< Tuple< IGauntletMovie, ViewModel > > MoviesAndDataSources
 
readonly TwoDimensionEnginePlatform TwoDimensionEnginePlatform
 
readonly EngineInputService EngineInputService
 
readonly WidgetFactory WidgetFactory
 

Protected Member Functions

override void OnActivate ()
 
override void OnDeactivate ()
 
override void Tick (float dt)
 
override void LateTick (float dt)
 
override void OnLateUpdate (float dt)
 
override void Update (IReadOnlyList< int > lastKeysPressed)
 
override void OnFinalize ()
 
override void RefreshGlobalOrder (ref int currentOrder)
 
override void OnLoseFocus ()
 

Constructor & Destructor Documentation

◆ GauntletLayer()

TaleWorlds.Engine.GauntletUI.GauntletLayer.GauntletLayer ( int  localOrder,
string  categoryId = "GauntletLayer",
bool  shouldClear = false 
)

Member Function Documentation

◆ LoadMovie()

IGauntletMovie TaleWorlds.Engine.GauntletUI.GauntletLayer.LoadMovie ( string  movieName,
ViewModel  dataSource 
)

◆ ReleaseMovie()

void TaleWorlds.Engine.GauntletUI.GauntletLayer.ReleaseMovie ( IGauntletMovie  movie)

◆ OnActivate()

override void TaleWorlds.Engine.GauntletUI.GauntletLayer.OnActivate ( )
protected

◆ OnDeactivate()

override void TaleWorlds.Engine.GauntletUI.GauntletLayer.OnDeactivate ( )
protected

◆ Tick()

override void TaleWorlds.Engine.GauntletUI.GauntletLayer.Tick ( float  dt)
protected

◆ LateTick()

override void TaleWorlds.Engine.GauntletUI.GauntletLayer.LateTick ( float  dt)
protected

◆ OnLateUpdate()

override void TaleWorlds.Engine.GauntletUI.GauntletLayer.OnLateUpdate ( float  dt)
protected

◆ Update()

override void TaleWorlds.Engine.GauntletUI.GauntletLayer.Update ( IReadOnlyList< int >  lastKeysPressed)
protected

◆ OnFinalize()

override void TaleWorlds.Engine.GauntletUI.GauntletLayer.OnFinalize ( )
protected

◆ RefreshGlobalOrder()

override void TaleWorlds.Engine.GauntletUI.GauntletLayer.RefreshGlobalOrder ( ref int  currentOrder)
protected

◆ ProcessEvents()

override void TaleWorlds.Engine.GauntletUI.GauntletLayer.ProcessEvents ( )

◆ HitTest() [1/2]

override bool TaleWorlds.Engine.GauntletUI.GauntletLayer.HitTest ( Vector2  position)

◆ HitTest() [2/2]

override bool TaleWorlds.Engine.GauntletUI.GauntletLayer.HitTest ( )

◆ FocusTest()

override bool TaleWorlds.Engine.GauntletUI.GauntletLayer.FocusTest ( )

◆ IsFocusedOnInput()

override bool TaleWorlds.Engine.GauntletUI.GauntletLayer.IsFocusedOnInput ( )

◆ OnLoseFocus()

override void TaleWorlds.Engine.GauntletUI.GauntletLayer.OnLoseFocus ( )
protected

◆ OnOnScreenKeyboardDone()

override void TaleWorlds.Engine.GauntletUI.GauntletLayer.OnOnScreenKeyboardDone ( string  inputText)

◆ OnOnScreenKeyboardCanceled()

override void TaleWorlds.Engine.GauntletUI.GauntletLayer.OnOnScreenKeyboardCanceled ( )

◆ UpdateLayout()

override void TaleWorlds.Engine.GauntletUI.GauntletLayer.UpdateLayout ( )

◆ GetIsAvailableForGamepadNavigation()

bool TaleWorlds.Engine.GauntletUI.GauntletLayer.GetIsAvailableForGamepadNavigation ( )

◆ DrawDebugInfo()

override void TaleWorlds.Engine.GauntletUI.GauntletLayer.DrawDebugInfo ( )

Member Data Documentation

◆ TwoDimensionView

readonly TwoDimensionView TaleWorlds.Engine.GauntletUI.GauntletLayer.TwoDimensionView

◆ UIContext

readonly UIContext TaleWorlds.Engine.GauntletUI.GauntletLayer.UIContext

◆ GamepadNavigationContext

readonly IGamepadNavigationContext TaleWorlds.Engine.GauntletUI.GauntletLayer.GamepadNavigationContext

◆ MoviesAndDataSources

readonly List<Tuple<IGauntletMovie, ViewModel> > TaleWorlds.Engine.GauntletUI.GauntletLayer.MoviesAndDataSources

◆ TwoDimensionEnginePlatform

readonly TwoDimensionEnginePlatform TaleWorlds.Engine.GauntletUI.GauntletLayer.TwoDimensionEnginePlatform

◆ EngineInputService

readonly EngineInputService TaleWorlds.Engine.GauntletUI.GauntletLayer.EngineInputService

◆ WidgetFactory

readonly WidgetFactory TaleWorlds.Engine.GauntletUI.GauntletLayer.WidgetFactory