M&B: Bannerlord 1.1.0
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 _gauntletUIContext
 
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

◆ _gauntletUIContext

readonly UIContext TaleWorlds.Engine.GauntletUI.GauntletLayer._gauntletUIContext

◆ _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