M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
SandBox.GauntletUI.Menu.GauntletMenuTroopSelectionView Class Reference

Inherits SandBox.View.Menu.MenuView.

Public Member Functions

 GauntletMenuTroopSelectionView (TroopRoster fullRoster, TroopRoster initialSelections, Func< CharacterObject, bool > changeChangeStatusOfTroop, Action< TroopRoster > onDone, int maxSelectableTroopCount, int minSelectableTroopCount)
 

Protected Member Functions

override void OnInitialize ()
 
override void OnFinalize ()
 
override void OnFrameTick (float dt)
 

Additional Inherited Members

- Static Protected Attributes inherited from SandBox.View.Menu.MenuView
const float ContextAlphaModifier = 8.5f
 
- Properties inherited from SandBox.View.Menu.MenuView
virtual bool ShouldUpdateMenuAfterRemoved [get]
 
MenuViewContext MenuViewContext [get]
 
MenuContext MenuContext [get]
 
- Properties inherited from SandBox.View.SandboxView
bool IsFinalized [get, protected set]
 
ScreenLayer Layer [get, protected set]
 

Constructor & Destructor Documentation

◆ GauntletMenuTroopSelectionView()

SandBox.GauntletUI.Menu.GauntletMenuTroopSelectionView.GauntletMenuTroopSelectionView ( TroopRoster  fullRoster,
TroopRoster  initialSelections,
Func< CharacterObject, bool >  changeChangeStatusOfTroop,
Action< TroopRoster onDone,
int  maxSelectableTroopCount,
int  minSelectableTroopCount 
)

Member Function Documentation

◆ OnInitialize()

override void SandBox.GauntletUI.Menu.GauntletMenuTroopSelectionView.OnInitialize ( )
protectedvirtual

Reimplemented from SandBox.View.SandboxView.

◆ OnFinalize()

override void SandBox.GauntletUI.Menu.GauntletMenuTroopSelectionView.OnFinalize ( )
protectedvirtual

Reimplemented from SandBox.View.SandboxView.

◆ OnFrameTick()

override void SandBox.GauntletUI.Menu.GauntletMenuTroopSelectionView.OnFrameTick ( float  dt)
protectedvirtual

Reimplemented from SandBox.View.SandboxView.