Table of Contents

Class GauntletLayer

Namespace
TaleWorlds.Engine.GauntletUI
Assembly
TaleWorlds.Engine.GauntletUI.dll
public class GauntletLayer : ScreenLayer, IComparable
Inheritance
GauntletLayer
Implements
Inherited Members

Constructors

GauntletLayer(int, string, bool)

public GauntletLayer(int localOrder, string categoryId = "GauntletLayer", bool shouldClear = false)

Parameters

localOrder int
categoryId string
shouldClear bool

Fields

EngineInputService

public readonly EngineInputService EngineInputService

Field Value

EngineInputService

GamepadNavigationContext

public readonly IGamepadNavigationContext GamepadNavigationContext

Field Value

IGamepadNavigationContext

MoviesAndDataSources

public readonly List<Tuple<IGauntletMovie, ViewModel>> MoviesAndDataSources

Field Value

List<Tuple<IGauntletMovie, ViewModel>>

TwoDimensionEnginePlatform

public readonly TwoDimensionEnginePlatform TwoDimensionEnginePlatform

Field Value

TwoDimensionEnginePlatform

TwoDimensionView

public readonly TwoDimensionView TwoDimensionView

Field Value

TwoDimensionView

UIContext

public readonly UIContext UIContext

Field Value

UIContext

WidgetFactory

public readonly WidgetFactory WidgetFactory

Field Value

WidgetFactory

Methods

DrawDebugInfo()

public override void DrawDebugInfo()

FocusTest()

public override bool FocusTest()

Returns

bool

GetIsAvailableForGamepadNavigation()

public bool GetIsAvailableForGamepadNavigation()

Returns

bool

HitTest()

public override bool HitTest()

Returns

bool

HitTest(Vector2)

public override bool HitTest(Vector2 position)

Parameters

position Vector2

Returns

bool

IsFocusedOnInput()

public override bool IsFocusedOnInput()

Returns

bool

LateTick(float)

protected override void LateTick(float dt)

Parameters

dt float

LoadMovie(string, ViewModel)

public IGauntletMovie LoadMovie(string movieName, ViewModel dataSource)

Parameters

movieName string
dataSource ViewModel

Returns

IGauntletMovie

OnActivate()

protected override void OnActivate()

OnDeactivate()

protected override void OnDeactivate()

OnFinalize()

protected override void OnFinalize()

OnLateUpdate(float)

protected override void OnLateUpdate(float dt)

Parameters

dt float

OnLoseFocus()

protected override void OnLoseFocus()

OnOnScreenKeyboardCanceled()

public override void OnOnScreenKeyboardCanceled()

OnOnScreenKeyboardDone(string)

public override void OnOnScreenKeyboardDone(string inputText)

Parameters

inputText string

ProcessEvents()

public override void ProcessEvents()

RefreshGlobalOrder(ref int)

protected override void RefreshGlobalOrder(ref int currentOrder)

Parameters

currentOrder int

ReleaseMovie(IGauntletMovie)

public void ReleaseMovie(IGauntletMovie movie)

Parameters

movie IGauntletMovie

Tick(float)

protected override void Tick(float dt)

Parameters

dt float

Update(IReadOnlyList<int>)

protected override void Update(IReadOnlyList<int> lastKeysPressed)

Parameters

lastKeysPressed IReadOnlyList<int>

UpdateLayout()

public override void UpdateLayout()

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).