@@ -1,21 +0,0 @@
|
|
1
|
-
using SandBox.View.Map;
|
2
|
-
using TaleWorlds.CampaignSystem;
|
3
|
-
using TaleWorlds.MountAndBlade.View.Missions;
|
4
|
-
using TaleWorlds.ScreenSystem;
|
5
|
-
|
6
|
-
namespace SandBox.GauntletUI
|
7
|
-
{
|
8
|
-
[OverrideView(typeof(BattleSimulationMapView))]
|
9
|
-
public class BattleSimulationGauntletView : MapView
|
10
|
-
{
|
11
|
-
public extern BattleSimulationGauntletView(BattleSimulation battleSimulation);
|
12
|
-
|
13
|
-
protected override extern void CreateLayout();
|
14
|
-
|
15
|
-
protected override extern void OnFinalize();
|
16
|
-
|
17
|
-
protected override extern void OnFrameTick(float dt);
|
18
|
-
|
19
|
-
public override extern bool OnGamepadNavigation(CursorAreas currentCursorArea, GamepadNavigationTypes movementType);
|
20
|
-
}
|
21
|
-
}
|
@@ -2,7 +2,7 @@ using System.Collections.Generic;
|
|
2
2
|
using TaleWorlds.CampaignSystem.GameState;
|
3
3
|
using TaleWorlds.Core;
|
4
4
|
using TaleWorlds.Library;
|
5
|
-
using TaleWorlds.MountAndBlade.View.
|
5
|
+
using TaleWorlds.MountAndBlade.View.Screens;
|
6
6
|
using TaleWorlds.ScreenSystem;
|
7
7
|
|
8
8
|
namespace SandBox.GauntletUI
|
@@ -1,8 +1,7 @@
|
|
1
1
|
using TaleWorlds.CampaignSystem.GameState;
|
2
2
|
using TaleWorlds.Core;
|
3
3
|
using TaleWorlds.MountAndBlade;
|
4
|
-
using TaleWorlds.MountAndBlade.
|
5
|
-
using TaleWorlds.MountAndBlade.View.Screen;
|
4
|
+
using TaleWorlds.MountAndBlade.View.Screens;
|
6
5
|
using TaleWorlds.ScreenSystem;
|
7
6
|
|
8
7
|
namespace SandBox.GauntletUI
|
@@ -26,8 +25,6 @@ namespace SandBox.GauntletUI
|
|
26
25
|
|
27
26
|
protected override extern void OnDeactivate();
|
28
27
|
|
29
|
-
public override extern bool OnGamepadNavigation(CursorAreas currentCursorArea, GamepadNavigationTypes movementType);
|
30
|
-
|
31
28
|
extern void IGameStateListener.OnActivate();
|
32
29
|
|
33
30
|
extern void IGameStateListener.OnDeactivate();
|
@@ -1,7 +1,7 @@
|
|
1
1
|
using SandBox.View;
|
2
2
|
using TaleWorlds.CampaignSystem.GameState;
|
3
3
|
using TaleWorlds.Core;
|
4
|
-
using TaleWorlds.MountAndBlade.View.
|
4
|
+
using TaleWorlds.MountAndBlade.View.Screens;
|
5
5
|
using TaleWorlds.ScreenSystem;
|
6
6
|
|
7
7
|
namespace SandBox.GauntletUI
|
@@ -1,6 +1,6 @@
|
|
1
1
|
using TaleWorlds.CampaignSystem.GameState;
|
2
2
|
using TaleWorlds.Core;
|
3
|
-
using TaleWorlds.MountAndBlade.View.
|
3
|
+
using TaleWorlds.MountAndBlade.View.Screens;
|
4
4
|
using TaleWorlds.ScreenSystem;
|
5
5
|
|
6
6
|
namespace SandBox.GauntletUI
|
@@ -2,7 +2,7 @@ using System.Runtime.CompilerServices;
|
|
2
2
|
using TaleWorlds.CampaignSystem.GameState;
|
3
3
|
using TaleWorlds.Core;
|
4
4
|
using TaleWorlds.Engine.Screens;
|
5
|
-
using TaleWorlds.MountAndBlade.View.
|
5
|
+
using TaleWorlds.MountAndBlade.View.Screens;
|
6
6
|
using TaleWorlds.ScreenSystem;
|
7
7
|
|
8
8
|
namespace SandBox.GauntletUI
|
@@ -24,7 +24,5 @@ namespace SandBox.GauntletUI
|
|
24
24
|
extern void IGameStateListener.OnFinalize();
|
25
25
|
|
26
26
|
extern void IGameStateListener.OnInitialize();
|
27
|
-
|
28
|
-
public override extern bool OnGamepadNavigation(CursorAreas currentCursorArea, GamepadNavigationTypes movementType);
|
29
27
|
}
|
30
28
|
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
using SandBox.View.Map;
|
2
|
-
using TaleWorlds.MountAndBlade.View.Missions;
|
3
|
-
|
4
|
-
namespace SandBox.GauntletUI
|
5
|
-
{
|
6
|
-
[OverrideView(typeof(EncyclopediaScreenManager))]
|
7
|
-
public class GauntletEncyclopediaScreenManager : EncyclopediaScreenManager
|
8
|
-
{
|
9
|
-
public EncyclopediaListViewDataController ListViewDataController;
|
10
|
-
|
11
|
-
protected override extern void CreateLayout();
|
12
|
-
|
13
|
-
protected override extern void OnFinalize();
|
14
|
-
|
15
|
-
public override extern void CloseEncyclopedia();
|
16
|
-
|
17
|
-
public extern GauntletEncyclopediaScreenManager();
|
18
|
-
}
|
19
|
-
}
|
@@ -1,18 +1,20 @@
|
|
1
|
+
using System.Collections.Generic;
|
1
2
|
using SandBox.View;
|
2
3
|
using TaleWorlds.CampaignSystem.GameState;
|
3
4
|
using TaleWorlds.CampaignSystem.Inventory;
|
4
5
|
using TaleWorlds.Core;
|
5
|
-
using TaleWorlds.
|
6
|
+
using TaleWorlds.Library;
|
7
|
+
using TaleWorlds.MountAndBlade.View.Screens;
|
6
8
|
using TaleWorlds.ScreenSystem;
|
7
9
|
|
8
10
|
namespace SandBox.GauntletUI
|
9
11
|
{
|
10
12
|
[GameStateScreen(typeof(InventoryState))]
|
11
|
-
public class
|
13
|
+
public class GauntletInventoryScreen : ScreenBase, IInventoryStateHandler, IGameStateListener, IChangeableScreen
|
12
14
|
{
|
13
15
|
protected override extern void OnFrameTick(float dt);
|
14
16
|
|
15
|
-
public extern
|
17
|
+
public extern GauntletInventoryScreen(InventoryState inventoryState);
|
16
18
|
|
17
19
|
protected override extern void OnInitialize();
|
18
20
|
|
@@ -57,5 +59,8 @@ namespace SandBox.GauntletUI
|
|
57
59
|
extern void IChangeableScreen.ApplyChanges();
|
58
60
|
|
59
61
|
extern void IChangeableScreen.ResetChanges();
|
62
|
+
|
63
|
+
[CommandLineArgumentFunction("set_inventory_search_enabled", "ui")]
|
64
|
+
public static extern string SetInventorySearchEnabled(List<string> args);
|
60
65
|
}
|
61
66
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
using TaleWorlds.CampaignSystem.GameState;
|
2
2
|
using TaleWorlds.Core;
|
3
|
-
using TaleWorlds.MountAndBlade.View.
|
3
|
+
using TaleWorlds.MountAndBlade.View.Screens;
|
4
4
|
using TaleWorlds.ScreenSystem;
|
5
5
|
|
6
6
|
namespace SandBox.GauntletUI
|
@@ -1,7 +1,7 @@
|
|
1
1
|
using SandBox.View;
|
2
2
|
using TaleWorlds.CampaignSystem.GameState;
|
3
3
|
using TaleWorlds.Core;
|
4
|
-
using TaleWorlds.MountAndBlade.View.
|
4
|
+
using TaleWorlds.MountAndBlade.View.Screens;
|
5
5
|
using TaleWorlds.ScreenSystem;
|
6
6
|
|
7
7
|
namespace SandBox.GauntletUI
|
@@ -21,8 +21,6 @@ namespace SandBox.GauntletUI
|
|
21
21
|
|
22
22
|
extern void IGameStateListener.OnFinalize();
|
23
23
|
|
24
|
-
public override extern bool OnGamepadNavigation(CursorAreas currentCursorArea, GamepadNavigationTypes movementType);
|
25
|
-
|
26
24
|
extern bool IChangeableScreen.AnyUnsavedChanges();
|
27
25
|
|
28
26
|
extern bool IChangeableScreen.CanChangesBeApplied();
|
@@ -1,6 +1,6 @@
|
|
1
1
|
using TaleWorlds.CampaignSystem.GameState;
|
2
2
|
using TaleWorlds.Core;
|
3
|
-
using TaleWorlds.MountAndBlade.View.
|
3
|
+
using TaleWorlds.MountAndBlade.View.Screens;
|
4
4
|
using TaleWorlds.ScreenSystem;
|
5
5
|
|
6
6
|
namespace SandBox.GauntletUI
|
@@ -1,13 +1,13 @@
|
|
1
1
|
using SandBox.View;
|
2
|
-
using TaleWorlds.MountAndBlade.View
|
2
|
+
using TaleWorlds.MountAndBlade.View;
|
3
3
|
using TaleWorlds.ScreenSystem;
|
4
4
|
|
5
5
|
namespace SandBox.GauntletUI
|
6
6
|
{
|
7
7
|
[OverrideView(typeof(SaveLoadScreen))]
|
8
|
-
public class
|
8
|
+
public class GauntletSaveLoadScreen : ScreenBase
|
9
9
|
{
|
10
|
-
public extern
|
10
|
+
public extern GauntletSaveLoadScreen(bool isSaving);
|
11
11
|
|
12
12
|
protected override extern void OnInitialize();
|
13
13
|
|
@@ -1,15 +0,0 @@
|
|
1
|
-
using SandBox.View.Map;
|
2
|
-
using TaleWorlds.MountAndBlade.View.Missions;
|
3
|
-
|
4
|
-
namespace SandBox.GauntletUI
|
5
|
-
{
|
6
|
-
[OverrideView(typeof(SceneNotification))]
|
7
|
-
public class GauntletSceneNotification : MapView
|
8
|
-
{
|
9
|
-
protected override extern void CreateLayout();
|
10
|
-
|
11
|
-
protected override extern void OnFinalize();
|
12
|
-
|
13
|
-
public extern GauntletSceneNotification();
|
14
|
-
}
|
15
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
using TaleWorlds.ScreenSystem;
|
2
|
-
|
3
|
-
namespace SandBox.GauntletUI
|
4
|
-
{
|
5
|
-
public class GauntletSceneNotificationLayer : GlobalLayer
|
6
|
-
{
|
7
|
-
public extern void Initialize();
|
8
|
-
|
9
|
-
protected override extern void OnTick(float dt);
|
10
|
-
|
11
|
-
public extern void OnFinalize();
|
12
|
-
|
13
|
-
public extern GauntletSceneNotificationLayer();
|
14
|
-
}
|
15
|
-
}
|
@@ -13,6 +13,8 @@ namespace SandBox.GauntletUI
|
|
13
13
|
|
14
14
|
public override extern void BeginGameStart(Game game);
|
15
15
|
|
16
|
+
protected override extern void OnBeforeInitialModuleScreenSetAsRoot();
|
17
|
+
|
16
18
|
protected override extern void OnGameStart(Game game, IGameStarter gameStarterObject);
|
17
19
|
}
|
18
20
|
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
using TaleWorlds.Core;
|
2
|
+
|
3
|
+
namespace SandBox.GauntletUI
|
4
|
+
{
|
5
|
+
public class SandboxSceneNotificationContextProvider : ISceneNotificationContextProvider
|
6
|
+
{
|
7
|
+
public extern bool IsContextAllowed(RelevantContextType relevantType);
|
8
|
+
|
9
|
+
public extern SandboxSceneNotificationContextProvider();
|
10
|
+
}
|
11
|
+
}
|
@@ -6,7 +6,7 @@ using TaleWorlds.Engine.GauntletUI;
|
|
6
6
|
using TaleWorlds.Engine.Screens;
|
7
7
|
using TaleWorlds.Localization;
|
8
8
|
|
9
|
-
namespace SandBox.GauntletUI
|
9
|
+
namespace SandBox.GauntletUI.BannerEditor
|
10
10
|
{
|
11
11
|
public class BannerEditorView
|
12
12
|
{
|
@@ -1,14 +1,14 @@
|
|
1
1
|
using TaleWorlds.CampaignSystem.GameState;
|
2
2
|
using TaleWorlds.Core;
|
3
|
-
using TaleWorlds.MountAndBlade.View.
|
3
|
+
using TaleWorlds.MountAndBlade.View.Screens;
|
4
4
|
using TaleWorlds.ScreenSystem;
|
5
5
|
|
6
|
-
namespace SandBox.GauntletUI
|
6
|
+
namespace SandBox.GauntletUI.BannerEditor
|
7
7
|
{
|
8
8
|
[GameStateScreen(typeof(BannerEditorState))]
|
9
|
-
public class
|
9
|
+
public class GauntletBannerEditorScreen : ScreenBase, IGameStateListener
|
10
10
|
{
|
11
|
-
public extern
|
11
|
+
public extern GauntletBannerEditorScreen(BannerEditorState bannerEditorState);
|
12
12
|
|
13
13
|
protected override extern void OnFrameTick(float dt);
|
14
14
|
|
@@ -24,8 +24,6 @@ namespace SandBox.GauntletUI
|
|
24
24
|
|
25
25
|
protected override extern void OnDeactivate();
|
26
26
|
|
27
|
-
public override extern bool OnGamepadNavigation(CursorAreas currentCursorArea, GamepadNavigationTypes movementType);
|
28
|
-
|
29
27
|
extern void IGameStateListener.OnActivate();
|
30
28
|
|
31
29
|
extern void IGameStateListener.OnDeactivate();
|
@@ -15,8 +15,6 @@ namespace SandBox.GauntletUI.CharacterCreation
|
|
15
15
|
|
16
16
|
public extern CharacterCreationBannerEditorView(BasicCharacterObject character, Banner banner, ControlCharacterCreationStage affirmativeAction, TextObject affirmativeActionText, ControlCharacterCreationStage negativeAction, TextObject negativeActionText, ControlCharacterCreationStage onRefresh = null, ControlCharacterCreationStageReturnInt getCurrentStageIndexAction = null, ControlCharacterCreationStageReturnInt getTotalStageCountAction = null, ControlCharacterCreationStageReturnInt getFurthestIndexAction = null, ControlCharacterCreationStageWithInt goToIndexAction = null);
|
17
17
|
|
18
|
-
public override extern bool OnGamepadNavigation(CursorAreas currentCursorArea, GamepadNavigationTypes movementType);
|
19
|
-
|
20
18
|
public override extern IEnumerable<ScreenLayer> GetLayers();
|
21
19
|
|
22
20
|
public override extern void PreviousStage();
|
@@ -29,8 +29,6 @@ namespace SandBox.GauntletUI.CharacterCreation
|
|
29
29
|
|
30
30
|
protected override extern void OnFinalize();
|
31
31
|
|
32
|
-
public override extern bool OnGamepadNavigation(CursorAreas currentCursorArea, GamepadNavigationTypes movementType);
|
33
|
-
|
34
32
|
public override extern void LoadEscapeMenuMovie();
|
35
33
|
|
36
34
|
public override extern void ReleaseEscapeMenuMovie();
|
@@ -24,8 +24,6 @@ namespace SandBox.GauntletUI.CharacterCreation
|
|
24
24
|
|
25
25
|
public override extern IEnumerable<ScreenLayer> GetLayers();
|
26
26
|
|
27
|
-
public override extern bool OnGamepadNavigation(CursorAreas currentCursorArea, GamepadNavigationTypes movementType);
|
28
|
-
|
29
27
|
public override extern void LoadEscapeMenuMovie();
|
30
28
|
|
31
29
|
public override extern void ReleaseEscapeMenuMovie();
|
@@ -26,8 +26,6 @@ namespace SandBox.GauntletUI.CharacterCreation
|
|
26
26
|
|
27
27
|
public override extern void GoToIndex(int index);
|
28
28
|
|
29
|
-
public override extern bool OnGamepadNavigation(CursorAreas currentCursorArea, GamepadNavigationTypes movementType);
|
30
|
-
|
31
29
|
public override extern void LoadEscapeMenuMovie();
|
32
30
|
|
33
31
|
public override extern void ReleaseEscapeMenuMovie();
|
@@ -3,6 +3,7 @@ using System.Runtime.CompilerServices;
|
|
3
3
|
using SandBox.View.CharacterCreation;
|
4
4
|
using TaleWorlds.CampaignSystem.CharacterCreationContent;
|
5
5
|
using TaleWorlds.Core.ViewModelCollection;
|
6
|
+
using TaleWorlds.Engine;
|
6
7
|
using TaleWorlds.Engine.Screens;
|
7
8
|
using TaleWorlds.Localization;
|
8
9
|
using TaleWorlds.ScreenSystem;
|
@@ -21,6 +22,8 @@ namespace SandBox.GauntletUI.CharacterCreation
|
|
21
22
|
|
22
23
|
public extern CharacterCreationGenericStageView(CharacterCreation characterCreation, ControlCharacterCreationStage affirmativeAction, TextObject affirmativeActionText, ControlCharacterCreationStage negativeAction, TextObject negativeActionText, ControlCharacterCreationStage onRefresh, ControlCharacterCreationStageReturnInt getCurrentStageIndexAction, ControlCharacterCreationStageReturnInt getTotalStageCountAction, ControlCharacterCreationStageReturnInt getFurthestIndexAction, ControlCharacterCreationStageWithInt goToIndexAction);
|
23
24
|
|
25
|
+
public override extern void SetGenericScene(Scene scene);
|
26
|
+
|
24
27
|
public override extern void Tick(float dt);
|
25
28
|
|
26
29
|
public override extern void NextStage();
|
@@ -33,8 +36,6 @@ namespace SandBox.GauntletUI.CharacterCreation
|
|
33
36
|
|
34
37
|
public override extern IEnumerable<ScreenLayer> GetLayers();
|
35
38
|
|
36
|
-
public override extern bool OnGamepadNavigation(CursorAreas currentCursorArea, GamepadNavigationTypes movementType);
|
37
|
-
|
38
39
|
public override extern void LoadEscapeMenuMovie();
|
39
40
|
|
40
41
|
public override extern void ReleaseEscapeMenuMovie();
|
@@ -3,6 +3,7 @@ using System.Runtime.CompilerServices;
|
|
3
3
|
using SandBox.View.CharacterCreation;
|
4
4
|
using TaleWorlds.CampaignSystem.CharacterCreationContent;
|
5
5
|
using TaleWorlds.Core.ViewModelCollection;
|
6
|
+
using TaleWorlds.Engine;
|
6
7
|
using TaleWorlds.Engine.Screens;
|
7
8
|
using TaleWorlds.Localization;
|
8
9
|
using TaleWorlds.ScreenSystem;
|
@@ -21,6 +22,8 @@ namespace SandBox.GauntletUI.CharacterCreation
|
|
21
22
|
|
22
23
|
public extern CharacterCreationOptionsStageView(CharacterCreation characterCreation, ControlCharacterCreationStage affirmativeAction, TextObject affirmativeActionText, ControlCharacterCreationStage negativeAction, TextObject negativeActionText, ControlCharacterCreationStage refreshAction, ControlCharacterCreationStageReturnInt getCurrentStageIndexAction, ControlCharacterCreationStageReturnInt getTotalStageCountAction, ControlCharacterCreationStageReturnInt getFurthestIndexAction, ControlCharacterCreationStageWithInt goToIndexAction);
|
23
24
|
|
25
|
+
public override extern void SetGenericScene(Scene scene);
|
26
|
+
|
24
27
|
public override extern void Tick(float dt);
|
25
28
|
|
26
29
|
protected override extern void OnFinalize();
|
@@ -33,8 +36,6 @@ namespace SandBox.GauntletUI.CharacterCreation
|
|
33
36
|
|
34
37
|
public override extern void PreviousStage();
|
35
38
|
|
36
|
-
public override extern bool OnGamepadNavigation(CursorAreas currentCursorArea, GamepadNavigationTypes movementType);
|
37
|
-
|
38
39
|
public override extern void LoadEscapeMenuMovie();
|
39
40
|
|
40
41
|
public override extern void ReleaseEscapeMenuMovie();
|
@@ -3,6 +3,7 @@ using System.Runtime.CompilerServices;
|
|
3
3
|
using SandBox.View.CharacterCreation;
|
4
4
|
using TaleWorlds.CampaignSystem.CharacterCreationContent;
|
5
5
|
using TaleWorlds.Core.ViewModelCollection;
|
6
|
+
using TaleWorlds.Engine;
|
6
7
|
using TaleWorlds.Engine.Screens;
|
7
8
|
using TaleWorlds.Localization;
|
8
9
|
using TaleWorlds.ScreenSystem;
|
@@ -21,6 +22,8 @@ namespace SandBox.GauntletUI.CharacterCreation
|
|
21
22
|
|
22
23
|
public extern CharacterCreationReviewStageView(CharacterCreation characterCreation, ControlCharacterCreationStage affirmativeAction, TextObject affirmativeActionText, ControlCharacterCreationStage negativeAction, TextObject negativeActionText, ControlCharacterCreationStage onRefresh, ControlCharacterCreationStageReturnInt getCurrentStageIndexAction, ControlCharacterCreationStageReturnInt getTotalStageCountAction, ControlCharacterCreationStageReturnInt getFurthestIndexAction, ControlCharacterCreationStageWithInt goToIndexAction);
|
23
24
|
|
25
|
+
public override extern void SetGenericScene(Scene scene);
|
26
|
+
|
24
27
|
public override extern void Tick(float dt);
|
25
28
|
|
26
29
|
public override extern void NextStage();
|
@@ -33,8 +36,6 @@ namespace SandBox.GauntletUI.CharacterCreation
|
|
33
36
|
|
34
37
|
public override extern IEnumerable<ScreenLayer> GetLayers();
|
35
38
|
|
36
|
-
public override extern bool OnGamepadNavigation(CursorAreas currentCursorArea, GamepadNavigationTypes movementType);
|
37
|
-
|
38
39
|
public override extern void LoadEscapeMenuMovie();
|
39
40
|
|
40
41
|
public override extern void ReleaseEscapeMenuMovie();
|
@@ -1,7 +1,7 @@
|
|
1
1
|
using TaleWorlds.CampaignSystem.ViewModelCollection.Encyclopedia;
|
2
2
|
using TaleWorlds.ScreenSystem;
|
3
3
|
|
4
|
-
namespace SandBox.GauntletUI
|
4
|
+
namespace SandBox.GauntletUI.Encyclopedia
|
5
5
|
{
|
6
6
|
public class EncyclopediaData
|
7
7
|
{
|
@@ -23,7 +23,7 @@ namespace SandBox.GauntletUI
|
|
23
23
|
Concept
|
24
24
|
}
|
25
25
|
|
26
|
-
public extern EncyclopediaData(
|
26
|
+
public extern EncyclopediaData(GauntletMapEncyclopediaView manager, ScreenBase screen, EncyclopediaHomeVM homeDatasource, EncyclopediaNavigatorVM navigatorDatasource);
|
27
27
|
|
28
28
|
public extern void OnFinalize();
|
29
29
|
|
@@ -1,6 +1,6 @@
|
|
1
|
-
using TaleWorlds.CampaignSystem.ViewModelCollection.Encyclopedia.
|
1
|
+
using TaleWorlds.CampaignSystem.ViewModelCollection.Encyclopedia.List;
|
2
2
|
|
3
|
-
namespace SandBox.GauntletUI
|
3
|
+
namespace SandBox.GauntletUI.Encyclopedia
|
4
4
|
{
|
5
5
|
public class EncyclopediaListViewDataController
|
6
6
|
{
|
@@ -1,7 +1,7 @@
|
|
1
1
|
using System.Runtime.CompilerServices;
|
2
2
|
using TaleWorlds.Library.EventSystem;
|
3
3
|
|
4
|
-
namespace SandBox.GauntletUI
|
4
|
+
namespace SandBox.GauntletUI.Encyclopedia
|
5
5
|
{
|
6
6
|
public class EncyclopediaPageChangedEvent : EventBase
|
7
7
|
{
|
@@ -0,0 +1,19 @@
|
|
1
|
+
using SandBox.View.Map;
|
2
|
+
using TaleWorlds.MountAndBlade.View;
|
3
|
+
|
4
|
+
namespace SandBox.GauntletUI.Encyclopedia
|
5
|
+
{
|
6
|
+
[OverrideView(typeof(MapEncyclopediaView))]
|
7
|
+
public class GauntletMapEncyclopediaView : MapEncyclopediaView
|
8
|
+
{
|
9
|
+
public EncyclopediaListViewDataController ListViewDataController;
|
10
|
+
|
11
|
+
protected override extern void CreateLayout();
|
12
|
+
|
13
|
+
protected override extern void OnFinalize();
|
14
|
+
|
15
|
+
public override extern void CloseEncyclopedia();
|
16
|
+
|
17
|
+
public extern GauntletMapEncyclopediaView();
|
18
|
+
}
|
19
|
+
}
|
@@ -13,8 +13,6 @@ namespace SandBox.GauntletUI.Map
|
|
13
13
|
|
14
14
|
protected override extern void OnTick(float dt);
|
15
15
|
|
16
|
-
public override extern bool OnGamepadNavigation(CursorAreas currentCursorArea, GamepadNavigationTypes movementType);
|
17
|
-
|
18
16
|
public extern GauntletMapBarGlobalLayer();
|
19
17
|
}
|
20
18
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
using SandBox.View.Map;
|
2
|
-
using TaleWorlds.MountAndBlade.View
|
2
|
+
using TaleWorlds.MountAndBlade.View;
|
3
3
|
|
4
4
|
namespace SandBox.GauntletUI.Map
|
5
5
|
{
|
6
|
-
[OverrideView(typeof(
|
7
|
-
public class
|
6
|
+
[OverrideView(typeof(MapBarView))]
|
7
|
+
public class GauntletMapBarView : MapView
|
8
8
|
{
|
9
9
|
protected override extern void CreateLayout();
|
10
10
|
|
@@ -18,6 +18,6 @@ namespace SandBox.GauntletUI.Map
|
|
18
18
|
|
19
19
|
protected override extern void OnMapConversationOver();
|
20
20
|
|
21
|
-
public extern
|
21
|
+
public extern GauntletMapBarView();
|
22
22
|
}
|
23
23
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
using System.Runtime.CompilerServices;
|
2
2
|
using SandBox.View.Map;
|
3
3
|
using TaleWorlds.Engine.GauntletUI;
|
4
|
-
using TaleWorlds.MountAndBlade.View
|
4
|
+
using TaleWorlds.MountAndBlade.View;
|
5
5
|
|
6
6
|
namespace SandBox.GauntletUI.Map
|
7
7
|
{
|
@@ -0,0 +1,18 @@
|
|
1
|
+
using SandBox.View.Map;
|
2
|
+
using TaleWorlds.CampaignSystem;
|
3
|
+
using TaleWorlds.MountAndBlade.View;
|
4
|
+
|
5
|
+
namespace SandBox.GauntletUI.Map
|
6
|
+
{
|
7
|
+
[OverrideView(typeof(BattleSimulationMapView))]
|
8
|
+
public class GauntletMapBattleSimulationView : MapView
|
9
|
+
{
|
10
|
+
public extern GauntletMapBattleSimulationView(BattleSimulation battleSimulation);
|
11
|
+
|
12
|
+
protected override extern void CreateLayout();
|
13
|
+
|
14
|
+
protected override extern void OnFinalize();
|
15
|
+
|
16
|
+
protected override extern void OnFrameTick(float dt);
|
17
|
+
}
|
18
|
+
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
using SandBox.View.Map;
|
2
|
-
using TaleWorlds.MountAndBlade.View.Missions;
|
3
|
-
using TaleWorlds.ScreenSystem;
|
4
|
-
|
5
|
-
namespace SandBox.GauntletUI.Map
|
6
|
-
{
|
7
|
-
[OverrideView(typeof(MapCampaignOptions))]
|
8
|
-
public class GauntletMapCampaignOptions : MapView
|
9
|
-
{
|
10
|
-
protected override extern void CreateLayout();
|
11
|
-
|
12
|
-
protected override extern void OnIdleTick(float dt);
|
13
|
-
|
14
|
-
protected override extern void OnFinalize();
|
15
|
-
|
16
|
-
public override extern bool OnGamepadNavigation(CursorAreas currentCursorArea, GamepadNavigationTypes movementType);
|
17
|
-
|
18
|
-
public extern GauntletMapCampaignOptions();
|
19
|
-
}
|
20
|
-
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
using SandBox.View.Map;
|
2
|
+
using TaleWorlds.MountAndBlade.View;
|
3
|
+
|
4
|
+
namespace SandBox.GauntletUI.Map
|
5
|
+
{
|
6
|
+
[OverrideView(typeof(MapCampaignOptionsView))]
|
7
|
+
public class GauntletMapCampaignOptionsView : MapView
|
8
|
+
{
|
9
|
+
protected override extern void CreateLayout();
|
10
|
+
|
11
|
+
protected override extern void OnIdleTick(float dt);
|
12
|
+
|
13
|
+
protected override extern void OnFinalize();
|
14
|
+
|
15
|
+
public extern GauntletMapCampaignOptionsView();
|
16
|
+
}
|
17
|
+
}
|
@@ -1,14 +1,13 @@
|
|
1
1
|
using SandBox.View.Map;
|
2
2
|
using TaleWorlds.CampaignSystem.Conversation;
|
3
|
-
using TaleWorlds.MountAndBlade.View
|
4
|
-
using TaleWorlds.ScreenSystem;
|
3
|
+
using TaleWorlds.MountAndBlade.View;
|
5
4
|
|
6
5
|
namespace SandBox.GauntletUI.Map
|
7
6
|
{
|
8
|
-
[OverrideView(typeof(
|
9
|
-
public class
|
7
|
+
[OverrideView(typeof(MapConversationView))]
|
8
|
+
public class GauntletMapConversationView : MapView, IConversationStateHandler
|
10
9
|
{
|
11
|
-
public extern
|
10
|
+
public extern GauntletMapConversationView(ConversationCharacterData playerCharacterData, ConversationCharacterData conversationPartnerData);
|
12
11
|
|
13
12
|
protected override extern void CreateLayout();
|
14
13
|
|
@@ -35,7 +34,5 @@ namespace SandBox.GauntletUI.Map
|
|
35
34
|
extern void IConversationStateHandler.OnConversationContinue();
|
36
35
|
|
37
36
|
extern void IConversationStateHandler.ExecuteConversationContinue();
|
38
|
-
|
39
|
-
public override extern bool OnGamepadNavigation(CursorAreas currentCursorArea, GamepadNavigationTypes movementType);
|
40
37
|
}
|
41
38
|
}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
using System.Collections.Generic;
|
2
|
-
using SandBox.View.Map;
|
3
|
-
using TaleWorlds.MountAndBlade.View.Missions;
|
4
|
-
using TaleWorlds.MountAndBlade.ViewModelCollection;
|
5
|
-
using TaleWorlds.ScreenSystem;
|
6
|
-
|
7
|
-
namespace SandBox.GauntletUI.Map
|
8
|
-
{
|
9
|
-
[OverrideView(typeof(MapEscapeMenu))]
|
10
|
-
public class GauntletMapEscapeMenu : MapView
|
11
|
-
{
|
12
|
-
public extern GauntletMapEscapeMenu(List<EscapeMenuItemVM> items);
|
13
|
-
|
14
|
-
protected override extern void CreateLayout();
|
15
|
-
|
16
|
-
protected override extern void OnFrameTick(float dt);
|
17
|
-
|
18
|
-
protected override extern void OnIdleTick(float dt);
|
19
|
-
|
20
|
-
protected override extern bool IsEscaped();
|
21
|
-
|
22
|
-
protected override extern void OnFinalize();
|
23
|
-
|
24
|
-
public override extern bool OnGamepadNavigation(CursorAreas currentCursorArea, GamepadNavigationTypes movementType);
|
25
|
-
}
|
26
|
-
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
using System.Collections.Generic;
|
2
|
+
using SandBox.View.Map;
|
3
|
+
using TaleWorlds.MountAndBlade.View;
|
4
|
+
using TaleWorlds.MountAndBlade.ViewModelCollection.EscapeMenu;
|
5
|
+
|
6
|
+
namespace SandBox.GauntletUI.Map
|
7
|
+
{
|
8
|
+
[OverrideView(typeof(MapEscapeMenuView))]
|
9
|
+
public class GauntletMapEscapeMenuView : MapView
|
10
|
+
{
|
11
|
+
public extern GauntletMapEscapeMenuView(List<EscapeMenuItemVM> items);
|
12
|
+
|
13
|
+
protected override extern void CreateLayout();
|
14
|
+
|
15
|
+
protected override extern void OnFrameTick(float dt);
|
16
|
+
|
17
|
+
protected override extern void OnIdleTick(float dt);
|
18
|
+
|
19
|
+
protected override extern bool IsEscaped();
|
20
|
+
|
21
|
+
protected override extern void OnFinalize();
|
22
|
+
}
|
23
|
+
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
using SandBox.View.Map;
|
2
|
-
using TaleWorlds.MountAndBlade.View
|
2
|
+
using TaleWorlds.MountAndBlade.View;
|
3
3
|
|
4
4
|
namespace SandBox.GauntletUI.Map
|
5
5
|
{
|
6
|
-
[OverrideView(typeof(
|
7
|
-
public class
|
6
|
+
[OverrideView(typeof(MapEventVisualsView))]
|
7
|
+
public class GauntletMapEventVisualsView : MapView, IGauntletMapEventVisualHandler
|
8
8
|
{
|
9
9
|
protected override extern void CreateLayout();
|
10
10
|
|
@@ -20,6 +20,6 @@ namespace SandBox.GauntletUI.Map
|
|
20
20
|
|
21
21
|
extern void IGauntletMapEventVisualHandler.OnEventVisibilityChanged(GauntletMapEventVisual visibilityChangedEvent);
|
22
22
|
|
23
|
-
public extern
|
23
|
+
public extern GauntletMapEventVisualsView();
|
24
24
|
}
|
25
25
|
}
|
@@ -1,21 +1,19 @@
|
|
1
1
|
using SandBox.View.Map;
|
2
|
-
using TaleWorlds.MountAndBlade.View
|
2
|
+
using TaleWorlds.MountAndBlade.View;
|
3
3
|
|
4
4
|
namespace SandBox.GauntletUI.Map
|
5
5
|
{
|
6
|
-
[OverrideView(typeof(
|
7
|
-
public class
|
6
|
+
[OverrideView(typeof(MapMobilePartyTrackerView))]
|
7
|
+
public class GauntletMapMobilePartyTrackerView : MapView
|
8
8
|
{
|
9
9
|
protected override extern void CreateLayout();
|
10
10
|
|
11
|
-
protected override extern void OnMapScreenUpdate(float dt);
|
12
|
-
|
13
|
-
protected override extern void OnMenuModeTick(float dt);
|
14
|
-
|
15
11
|
protected override extern void OnResume();
|
16
12
|
|
13
|
+
protected override extern void OnMapScreenUpdate(float dt);
|
14
|
+
|
17
15
|
protected override extern void OnFinalize();
|
18
16
|
|
19
|
-
public extern
|
17
|
+
public extern GauntletMapMobilePartyTrackerView();
|
20
18
|
}
|
21
19
|
}
|
@@ -1,14 +1,13 @@
|
|
1
1
|
using System;
|
2
2
|
using SandBox.View.Map;
|
3
|
-
using TaleWorlds.MountAndBlade.View
|
4
|
-
using TaleWorlds.ScreenSystem;
|
3
|
+
using TaleWorlds.MountAndBlade.View;
|
5
4
|
|
6
5
|
namespace SandBox.GauntletUI.Map
|
7
6
|
{
|
8
|
-
[OverrideView(typeof(
|
9
|
-
public class
|
7
|
+
[OverrideView(typeof(MapNotificationView))]
|
8
|
+
public class GauntletMapNotificationView : MapNotificationView
|
10
9
|
{
|
11
|
-
public extern
|
10
|
+
public extern GauntletMapNotificationView();
|
12
11
|
|
13
12
|
protected override extern void CreateLayout();
|
14
13
|
|
@@ -21,7 +20,5 @@ namespace SandBox.GauntletUI.Map
|
|
21
20
|
protected override extern void OnMenuModeTick(float dt);
|
22
21
|
|
23
22
|
public override extern void ResetNotifications();
|
24
|
-
|
25
|
-
public override extern bool OnGamepadNavigation(CursorAreas currentCursorArea, GamepadNavigationTypes movementType);
|
26
23
|
}
|
27
24
|
}
|
@@ -1,14 +1,14 @@
|
|
1
1
|
using SandBox.View.Map;
|
2
2
|
using TaleWorlds.CampaignSystem.Overlay;
|
3
|
-
using TaleWorlds.
|
4
|
-
using TaleWorlds.MountAndBlade.
|
3
|
+
using TaleWorlds.CampaignSystem.ViewModelCollection.GameMenu.Overlay;
|
4
|
+
using TaleWorlds.MountAndBlade.View;
|
5
5
|
|
6
|
-
namespace SandBox.GauntletUI
|
6
|
+
namespace SandBox.GauntletUI.Map
|
7
7
|
{
|
8
|
-
[OverrideView(typeof(
|
9
|
-
public class
|
8
|
+
[OverrideView(typeof(MapOverlayView))]
|
9
|
+
public class GauntletMapOverlayView : MapView
|
10
10
|
{
|
11
|
-
public extern
|
11
|
+
public extern GauntletMapOverlayView(MapOverlayType type);
|
12
12
|
|
13
13
|
protected override extern void CreateLayout();
|
14
14
|
|
@@ -1,19 +1,19 @@
|
|
1
1
|
using SandBox.View.Map;
|
2
|
-
using TaleWorlds.MountAndBlade.View
|
2
|
+
using TaleWorlds.MountAndBlade.View;
|
3
3
|
|
4
4
|
namespace SandBox.GauntletUI.Map
|
5
5
|
{
|
6
|
-
[OverrideView(typeof(
|
7
|
-
public class
|
6
|
+
[OverrideView(typeof(MapPartyNameplateView))]
|
7
|
+
public class GauntletMapPartyNameplateView : MapView
|
8
8
|
{
|
9
9
|
protected override extern void CreateLayout();
|
10
10
|
|
11
|
-
protected override extern void OnResume();
|
12
|
-
|
13
11
|
protected override extern void OnMapScreenUpdate(float dt);
|
14
12
|
|
13
|
+
protected override extern void OnResume();
|
14
|
+
|
15
15
|
protected override extern void OnFinalize();
|
16
16
|
|
17
|
-
public extern
|
17
|
+
public extern GauntletMapPartyNameplateView();
|
18
18
|
}
|
19
19
|
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
using SandBox.View.Map;
|
2
|
+
using TaleWorlds.MountAndBlade.View;
|
3
|
+
|
4
|
+
namespace SandBox.GauntletUI.Map
|
5
|
+
{
|
6
|
+
[OverrideView(typeof(MapReadyView))]
|
7
|
+
public class GauntletMapReadyView : MapReadyView
|
8
|
+
{
|
9
|
+
protected override extern void CreateLayout();
|
10
|
+
|
11
|
+
protected override extern void OnFinalize();
|
12
|
+
|
13
|
+
public override extern void SetIsMapSceneReady(bool isReady);
|
14
|
+
|
15
|
+
public extern GauntletMapReadyView();
|
16
|
+
}
|
17
|
+
}
|
@@ -1,15 +1,15 @@
|
|
1
1
|
using SandBox.View.Map;
|
2
|
-
using TaleWorlds.MountAndBlade.View
|
2
|
+
using TaleWorlds.MountAndBlade.View;
|
3
3
|
|
4
4
|
namespace SandBox.GauntletUI.Map
|
5
5
|
{
|
6
6
|
[OverrideView(typeof(MapSaveView))]
|
7
|
-
public class
|
7
|
+
public class GauntletMapSaveView : MapView
|
8
8
|
{
|
9
9
|
protected override extern void CreateLayout();
|
10
10
|
|
11
11
|
protected override extern void OnFinalize();
|
12
12
|
|
13
|
-
public extern
|
13
|
+
public extern GauntletMapSaveView();
|
14
14
|
}
|
15
15
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
using SandBox.View.Map;
|
2
|
-
using TaleWorlds.MountAndBlade.View
|
2
|
+
using TaleWorlds.MountAndBlade.View;
|
3
3
|
|
4
4
|
namespace SandBox.GauntletUI.Map
|
5
5
|
{
|
6
|
-
[OverrideView(typeof(
|
7
|
-
public class
|
6
|
+
[OverrideView(typeof(MapSettlementNameplateView))]
|
7
|
+
public class GauntletMapSettlementNameplateView : MapView, IGauntletMapEventVisualHandler
|
8
8
|
{
|
9
9
|
protected override extern void CreateLayout();
|
10
10
|
|
@@ -22,6 +22,6 @@ namespace SandBox.GauntletUI.Map
|
|
22
22
|
|
23
23
|
extern void IGauntletMapEventVisualHandler.OnEventVisibilityChanged(GauntletMapEventVisual visibilityChangedEvent);
|
24
24
|
|
25
|
-
public extern
|
25
|
+
public extern GauntletMapSettlementNameplateView();
|
26
26
|
}
|
27
27
|
}
|
@@ -1,13 +1,13 @@
|
|
1
1
|
using SandBox.View.Map;
|
2
2
|
using TaleWorlds.Library;
|
3
|
-
using TaleWorlds.MountAndBlade.View
|
3
|
+
using TaleWorlds.MountAndBlade.View;
|
4
4
|
|
5
5
|
namespace SandBox.GauntletUI.Map
|
6
6
|
{
|
7
|
-
[OverrideView(typeof(
|
8
|
-
public class
|
7
|
+
[OverrideView(typeof(MapSiegeOverlayView))]
|
8
|
+
public class GauntletMapSiegeOverlayView : MapView
|
9
9
|
{
|
10
|
-
public extern
|
10
|
+
public extern GauntletMapSiegeOverlayView();
|
11
11
|
|
12
12
|
protected override extern void CreateLayout();
|
13
13
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
using SandBox.View.Menu;
|
2
|
-
using TaleWorlds.MountAndBlade.View
|
2
|
+
using TaleWorlds.MountAndBlade.View;
|
3
3
|
|
4
4
|
namespace SandBox.GauntletUI.Menu
|
5
5
|
{
|
6
|
-
[OverrideView(typeof(
|
6
|
+
[OverrideView(typeof(MenuBackgroundView))]
|
7
7
|
public class GauntlerMenuBackground : MenuView
|
8
8
|
{
|
9
9
|
protected override extern void OnInitialize();
|
@@ -2,13 +2,12 @@ using System.Runtime.CompilerServices;
|
|
2
2
|
using SandBox.View.Menu;
|
3
3
|
using TaleWorlds.CampaignSystem.GameState;
|
4
4
|
using TaleWorlds.CampaignSystem.ViewModelCollection.GameMenu;
|
5
|
-
using TaleWorlds.MountAndBlade.View
|
6
|
-
using TaleWorlds.ScreenSystem;
|
5
|
+
using TaleWorlds.MountAndBlade.View;
|
7
6
|
|
8
7
|
namespace SandBox.GauntletUI.Menu
|
9
8
|
{
|
10
|
-
[OverrideView(typeof(
|
11
|
-
public class
|
9
|
+
[OverrideView(typeof(MenuBaseView))]
|
10
|
+
public class GauntletMenuBaseView : MenuView
|
12
11
|
{
|
13
12
|
public GameMenuVM GameMenuDataSource { [CompilerGenerated]
|
14
13
|
get; }
|
@@ -17,6 +16,8 @@ namespace SandBox.GauntletUI.Menu
|
|
17
16
|
|
18
17
|
protected override extern void OnActivate();
|
19
18
|
|
19
|
+
protected override extern void OnResume();
|
20
|
+
|
20
21
|
protected override extern void OnFinalize();
|
21
22
|
|
22
23
|
protected override extern void OnFrameTick(float dt);
|
@@ -29,8 +30,6 @@ namespace SandBox.GauntletUI.Menu
|
|
29
30
|
|
30
31
|
protected override extern void OnBackgroundMeshNameSet(string name);
|
31
32
|
|
32
|
-
public
|
33
|
-
|
34
|
-
public extern GauntletMenuBase();
|
33
|
+
public extern GauntletMenuBaseView();
|
35
34
|
}
|
36
35
|
}
|
@@ -1,12 +1,11 @@
|
|
1
1
|
using SandBox.View.Menu;
|
2
2
|
using TaleWorlds.CampaignSystem.Overlay;
|
3
|
-
using TaleWorlds.MountAndBlade.View
|
4
|
-
using TaleWorlds.ScreenSystem;
|
3
|
+
using TaleWorlds.MountAndBlade.View;
|
5
4
|
|
6
5
|
namespace SandBox.GauntletUI.Menu
|
7
6
|
{
|
8
|
-
[OverrideView(typeof(
|
9
|
-
public class
|
7
|
+
[OverrideView(typeof(MenuOverlayBaseView))]
|
8
|
+
public class GauntletMenuOverlayBaseView : MenuView
|
10
9
|
{
|
11
10
|
protected override extern void OnInitialize();
|
12
11
|
|
@@ -20,8 +19,6 @@ namespace SandBox.GauntletUI.Menu
|
|
20
19
|
|
21
20
|
protected override extern void OnFinalize();
|
22
21
|
|
23
|
-
public
|
24
|
-
|
25
|
-
public extern GauntletMenuOverlayBase();
|
22
|
+
public extern GauntletMenuOverlayBaseView();
|
26
23
|
}
|
27
24
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
using SandBox.View.Menu;
|
2
|
-
using TaleWorlds.MountAndBlade.View
|
2
|
+
using TaleWorlds.MountAndBlade.View;
|
3
3
|
|
4
|
-
namespace SandBox.GauntletUI
|
4
|
+
namespace SandBox.GauntletUI.Menu
|
5
5
|
{
|
6
|
-
[OverrideView(typeof(
|
7
|
-
public class
|
6
|
+
[OverrideView(typeof(MenuRecruitVolunteersView))]
|
7
|
+
public class GauntletMenuRecruitVolunteersView : MenuView
|
8
8
|
{
|
9
9
|
public override bool ShouldUpdateMenuAfterRemoved { get; }
|
10
10
|
|
@@ -14,6 +14,6 @@ namespace SandBox.GauntletUI
|
|
14
14
|
|
15
15
|
protected override extern void OnFrameTick(float dt);
|
16
16
|
|
17
|
-
public extern
|
17
|
+
public extern GauntletMenuRecruitVolunteersView();
|
18
18
|
}
|
19
19
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
using SandBox.View.Menu;
|
2
|
-
using TaleWorlds.MountAndBlade.View
|
2
|
+
using TaleWorlds.MountAndBlade.View;
|
3
3
|
|
4
4
|
namespace SandBox.GauntletUI.Menu
|
5
5
|
{
|
6
|
-
[OverrideView(typeof(
|
7
|
-
public class
|
6
|
+
[OverrideView(typeof(MenuTournamentLeaderboardView))]
|
7
|
+
public class GauntletMenuTournamentLeaderboardView : MenuView
|
8
8
|
{
|
9
9
|
protected override extern void OnInitialize();
|
10
10
|
|
@@ -12,6 +12,6 @@ namespace SandBox.GauntletUI.Menu
|
|
12
12
|
|
13
13
|
protected override extern void OnFrameTick(float dt);
|
14
14
|
|
15
|
-
public extern
|
15
|
+
public extern GauntletMenuTournamentLeaderboardView();
|
16
16
|
}
|
17
17
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
using SandBox.View.Menu;
|
2
|
-
using TaleWorlds.MountAndBlade.View
|
2
|
+
using TaleWorlds.MountAndBlade.View;
|
3
3
|
|
4
4
|
namespace SandBox.GauntletUI.Menu
|
5
5
|
{
|
6
|
-
[OverrideView(typeof(
|
7
|
-
public class
|
6
|
+
[OverrideView(typeof(MenuTownManagementView))]
|
7
|
+
public class GauntletMenuTownManagementView : MenuView
|
8
8
|
{
|
9
9
|
protected override extern void OnInitialize();
|
10
10
|
|
@@ -12,6 +12,6 @@ namespace SandBox.GauntletUI.Menu
|
|
12
12
|
|
13
13
|
protected override extern void OnFrameTick(float dt);
|
14
14
|
|
15
|
-
public extern
|
15
|
+
public extern GauntletMenuTownManagementView();
|
16
16
|
}
|
17
17
|
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
using System;
|
2
|
-
using SandBox.View.Menu;
|
3
|
-
using TaleWorlds.CampaignSystem;
|
4
|
-
using TaleWorlds.CampaignSystem.Roster;
|
5
|
-
using TaleWorlds.MountAndBlade.View.Missions;
|
6
|
-
|
7
|
-
namespace SandBox.GauntletUI.Menu
|
8
|
-
{
|
9
|
-
[OverrideView(typeof(MenuTroopSelection))]
|
10
|
-
public class GauntletMenuTroopSelection : MenuView
|
11
|
-
{
|
12
|
-
public extern GauntletMenuTroopSelection(TroopRoster fullRoster, TroopRoster initialSelections, Func<CharacterObject, bool> changeChangeStatusOfTroop, Action<TroopRoster> onDone, int maxSelectableTroopCount);
|
13
|
-
|
14
|
-
protected override extern void OnInitialize();
|
15
|
-
|
16
|
-
protected override extern void OnFinalize();
|
17
|
-
|
18
|
-
protected override extern void OnFrameTick(float dt);
|
19
|
-
}
|
20
|
-
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
using System;
|
2
|
+
using SandBox.View.Menu;
|
3
|
+
using TaleWorlds.CampaignSystem;
|
4
|
+
using TaleWorlds.CampaignSystem.Roster;
|
5
|
+
using TaleWorlds.MountAndBlade.View;
|
6
|
+
|
7
|
+
namespace SandBox.GauntletUI.Menu
|
8
|
+
{
|
9
|
+
[OverrideView(typeof(MenuTroopSelectionView))]
|
10
|
+
public class GauntletMenuTroopSelectionView : MenuView
|
11
|
+
{
|
12
|
+
public extern GauntletMenuTroopSelectionView(TroopRoster fullRoster, TroopRoster initialSelections, Func<CharacterObject, bool> changeChangeStatusOfTroop, Action<TroopRoster> onDone, int maxSelectableTroopCount);
|
13
|
+
|
14
|
+
protected override extern void OnInitialize();
|
15
|
+
|
16
|
+
protected override extern void OnFinalize();
|
17
|
+
|
18
|
+
protected override extern void OnFrameTick(float dt);
|
19
|
+
}
|
20
|
+
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
using SandBox.View.Missions;
|
2
|
-
using TaleWorlds.MountAndBlade.View
|
2
|
+
using TaleWorlds.MountAndBlade.View;
|
3
|
+
using TaleWorlds.MountAndBlade.View.MissionViews;
|
3
4
|
|
4
5
|
namespace SandBox.GauntletUI.Missions
|
5
6
|
{
|
@@ -1,5 +1,6 @@
|
|
1
|
-
using TaleWorlds.MountAndBlade.
|
2
|
-
using TaleWorlds.MountAndBlade.View.
|
1
|
+
using TaleWorlds.MountAndBlade.View;
|
2
|
+
using TaleWorlds.MountAndBlade.View.MissionViews;
|
3
|
+
using TaleWorlds.MountAndBlade.View.MissionViews.Singleplayer;
|
3
4
|
|
4
5
|
namespace SandBox.GauntletUI.Missions
|
5
6
|
{
|
@@ -1,14 +1,15 @@
|
|
1
1
|
using System.Runtime.CompilerServices;
|
2
2
|
using SandBox.BoardGames.MissionLogics;
|
3
3
|
using TaleWorlds.Engine;
|
4
|
-
using TaleWorlds.MountAndBlade.LegacyGUI.Missions.Singleplayer;
|
5
4
|
using TaleWorlds.MountAndBlade.Source.Missions.Handlers;
|
6
|
-
using TaleWorlds.MountAndBlade.View
|
5
|
+
using TaleWorlds.MountAndBlade.View;
|
6
|
+
using TaleWorlds.MountAndBlade.View.MissionViews;
|
7
|
+
using TaleWorlds.MountAndBlade.View.MissionViews.Singleplayer;
|
7
8
|
|
8
9
|
namespace SandBox.GauntletUI.Missions
|
9
10
|
{
|
10
11
|
[OverrideView(typeof(BoardGameView))]
|
11
|
-
public class
|
12
|
+
public class MissionGauntletBoardGameView : MissionView, IBoardGameHandler
|
12
13
|
{
|
13
14
|
public MissionBoardGameLogic _missionBoardGameHandler { [CompilerGenerated]
|
14
15
|
get; }
|
@@ -16,7 +17,7 @@ namespace SandBox.GauntletUI.Missions
|
|
16
17
|
public Camera Camera { [CompilerGenerated]
|
17
18
|
get; }
|
18
19
|
|
19
|
-
public extern
|
20
|
+
public extern MissionGauntletBoardGameView();
|
20
21
|
|
21
22
|
public override extern void OnMissionScreenInitialize();
|
22
23
|
|
@@ -1,9 +1,10 @@
|
|
1
1
|
using System.Runtime.CompilerServices;
|
2
2
|
using SandBox.Conversation.MissionLogics;
|
3
3
|
using TaleWorlds.CampaignSystem.Conversation;
|
4
|
-
using TaleWorlds.
|
5
|
-
using TaleWorlds.MountAndBlade.View
|
6
|
-
using TaleWorlds.
|
4
|
+
using TaleWorlds.Core;
|
5
|
+
using TaleWorlds.MountAndBlade.View;
|
6
|
+
using TaleWorlds.MountAndBlade.View.MissionViews;
|
7
|
+
using TaleWorlds.MountAndBlade.View.MissionViews.Singleplayer;
|
7
8
|
|
8
9
|
namespace SandBox.GauntletUI.Missions
|
9
10
|
{
|
@@ -25,6 +26,8 @@ namespace SandBox.GauntletUI.Missions
|
|
25
26
|
|
26
27
|
extern void IConversationStateHandler.OnConversationInstall();
|
27
28
|
|
29
|
+
public override extern void OnMissionModeChange(MissionMode oldMissionMode, bool atStart);
|
30
|
+
|
28
31
|
extern void IConversationStateHandler.OnConversationUninstall();
|
29
32
|
|
30
33
|
extern void IConversationStateHandler.OnConversationActivate();
|
@@ -34,7 +37,5 @@ namespace SandBox.GauntletUI.Missions
|
|
34
37
|
extern void IConversationStateHandler.OnConversationContinue();
|
35
38
|
|
36
39
|
extern void IConversationStateHandler.ExecuteConversationContinue();
|
37
|
-
|
38
|
-
public override extern bool OnGamepadNavigation(CursorAreas currentCursorArea, GamepadNavigationTypes movementType);
|
39
40
|
}
|
40
41
|
}
|
@@ -3,14 +3,15 @@ using SandBox.ViewModelCollection;
|
|
3
3
|
using TaleWorlds.Core;
|
4
4
|
using TaleWorlds.Library;
|
5
5
|
using TaleWorlds.MountAndBlade;
|
6
|
-
using TaleWorlds.MountAndBlade.View
|
6
|
+
using TaleWorlds.MountAndBlade.View;
|
7
|
+
using TaleWorlds.MountAndBlade.View.MissionViews;
|
7
8
|
|
8
|
-
namespace SandBox.GauntletUI
|
9
|
+
namespace SandBox.GauntletUI.Missions
|
9
10
|
{
|
10
11
|
[OverrideView(typeof(MissionNameMarkerUIHandler))]
|
11
|
-
public class
|
12
|
+
public class MissionGauntletNameMarkerView : MissionView
|
12
13
|
{
|
13
|
-
public extern
|
14
|
+
public extern MissionGauntletNameMarkerView();
|
14
15
|
|
15
16
|
public override extern void OnMissionScreenInitialize();
|
16
17
|
|
@@ -1,7 +1,8 @@
|
|
1
1
|
using SandBox.View.Missions.Tournaments;
|
2
2
|
using TaleWorlds.Core;
|
3
3
|
using TaleWorlds.MountAndBlade;
|
4
|
-
using TaleWorlds.MountAndBlade.View
|
4
|
+
using TaleWorlds.MountAndBlade.View;
|
5
|
+
using TaleWorlds.MountAndBlade.View.MissionViews;
|
5
6
|
|
6
7
|
namespace SandBox.GauntletUI.Missions
|
7
8
|
{
|