@@ -1,6 +1,6 @@
|
|
1
1
|
using System;
|
2
2
|
using System.Collections.Generic;
|
3
|
-
using System.
|
3
|
+
using System.Numerics;
|
4
4
|
using TaleWorlds.GauntletUI;
|
5
5
|
using TaleWorlds.GauntletUI.Data;
|
6
6
|
using TaleWorlds.GauntletUI.PrefabSystem;
|
@@ -23,14 +23,6 @@ namespace TaleWorlds.Engine.GauntletUI
|
|
23
23
|
|
24
24
|
public readonly WidgetFactory _widgetFactory;
|
25
25
|
|
26
|
-
public event Action OnGainGamepadNavigationCursor
|
27
|
-
{
|
28
|
-
[CompilerGenerated]
|
29
|
-
add;
|
30
|
-
[CompilerGenerated]
|
31
|
-
remove;
|
32
|
-
}
|
33
|
-
|
34
26
|
public extern GauntletLayer(int localOrder, string categoryId = "GauntletLayer", bool shouldClear = false);
|
35
27
|
|
36
28
|
public extern IGauntletMovie LoadMovie(string movieName, ViewModel dataSource);
|
@@ -55,6 +47,8 @@ namespace TaleWorlds.Engine.GauntletUI
|
|
55
47
|
|
56
48
|
public override extern void ProcessEvents();
|
57
49
|
|
50
|
+
public override extern bool HitTest(Vector2 position);
|
51
|
+
|
58
52
|
public override extern bool HitTest();
|
59
53
|
|
60
54
|
public override extern bool FocusTest();
|
@@ -66,5 +60,9 @@ namespace TaleWorlds.Engine.GauntletUI
|
|
66
60
|
public override extern void OnOnScreenKeyboardDone(string inputText);
|
67
61
|
|
68
62
|
public override extern void UpdateLayout();
|
63
|
+
|
64
|
+
public extern bool GetIsAvailableForGamepadNavigation();
|
65
|
+
|
66
|
+
public override extern void DrawDebugInfo();
|
69
67
|
}
|
70
68
|
}
|
@@ -52,6 +52,14 @@ namespace TaleWorlds.Engine.GauntletUI
|
|
52
52
|
|
53
53
|
extern void ITwoDimensionPlatform.DrawDebugText(string text);
|
54
54
|
|
55
|
+
extern bool ITwoDimensionPlatform.DrawDebugTreeNode(string text);
|
56
|
+
|
57
|
+
extern void ITwoDimensionPlatform.PopDebugTreeNode();
|
58
|
+
|
59
|
+
extern void ITwoDimensionPlatform.DrawCheckbox(string label, ref bool isChecked);
|
60
|
+
|
61
|
+
extern bool ITwoDimensionPlatform.IsDebugItemHovered();
|
62
|
+
|
55
63
|
extern bool ITwoDimensionPlatform.IsDebugModeEnabled();
|
56
64
|
|
57
65
|
public extern void Reset();
|
@@ -1,3 +1,4 @@
|
|
1
|
+
using System.Collections.Generic;
|
1
2
|
using System.Runtime.CompilerServices;
|
2
3
|
using TaleWorlds.GauntletUI;
|
3
4
|
using TaleWorlds.GauntletUI.PrefabSystem;
|
@@ -26,7 +27,7 @@ namespace TaleWorlds.Engine.GauntletUI
|
|
26
27
|
public static TwoDimensionEngineResourceContext ResourceContext { [CompilerGenerated]
|
27
28
|
get; }
|
28
29
|
|
29
|
-
public static extern void Initialize(ResourceDepot resourceDepot);
|
30
|
+
public static extern void Initialize(ResourceDepot resourceDepot, List<string> assemblyOrder);
|
30
31
|
|
31
32
|
public static extern void Update();
|
32
33
|
|