@@ -0,0 +1,12 @@
|
|
1
|
+
using System;
|
2
|
+
using System.Runtime.CompilerServices;
|
3
|
+
|
4
|
+
namespace Microsoft.CodeAnalysis
|
5
|
+
{
|
6
|
+
[CompilerGenerated]
|
7
|
+
[Embedded]
|
8
|
+
internal sealed class EmbeddedAttribute : Attribute
|
9
|
+
{
|
10
|
+
public extern EmbeddedAttribute();
|
11
|
+
}
|
12
|
+
}
|
@@ -5,12 +5,10 @@ namespace StoryMode
|
|
5
5
|
{
|
6
6
|
public class StoryModeGameManager : SandBoxGameManager
|
7
7
|
{
|
8
|
-
public extern StoryModeGameManager();
|
9
|
-
|
10
|
-
public extern StoryModeGameManager(int seed);
|
11
|
-
|
12
8
|
protected override extern void DoLoadingForGameManager(GameManagerLoadingSteps gameManagerLoadingStep, out GameManagerLoadingSteps nextStep);
|
13
9
|
|
14
10
|
public override extern void OnLoadFinished();
|
11
|
+
|
12
|
+
public extern StoryModeGameManager();
|
15
13
|
}
|
16
14
|
}
|
@@ -5,5 +5,7 @@ namespace StoryMode.Extensions
|
|
5
5
|
public static class Extensions
|
6
6
|
{
|
7
7
|
public static extern bool IsTrainingField(this Settlement settlement);
|
8
|
+
|
9
|
+
public static extern TrainingField TrainingField(this Settlement settlement);
|
8
10
|
}
|
9
11
|
}
|
@@ -4,7 +4,7 @@ using TaleWorlds.MountAndBlade;
|
|
4
4
|
|
5
5
|
namespace StoryMode.GameComponents
|
6
6
|
{
|
7
|
-
public class StoryModeAgentDecideKilledOrUnconsciousModel :
|
7
|
+
public class StoryModeAgentDecideKilledOrUnconsciousModel : SandboxAgentDecideKilledOrUnconsciousModel
|
8
8
|
{
|
9
9
|
public override extern float GetAgentStateProbability(Agent affectorAgent, Agent effectedAgent, DamageTypes damageType, out float useSurgeryProbability);
|
10
10
|
|
@@ -0,0 +1,13 @@
|
|
1
|
+
using TaleWorlds.CampaignSystem;
|
2
|
+
using TaleWorlds.CampaignSystem.GameComponents;
|
3
|
+
using TaleWorlds.Core;
|
4
|
+
|
5
|
+
namespace StoryMode.GameComponents
|
6
|
+
{
|
7
|
+
public class StoryModeCutsceneSelectionModel : DefaultCutsceneSelectionModel
|
8
|
+
{
|
9
|
+
public override extern SceneNotificationData GetKingdomDestroyedSceneNotification(Kingdom kingdom);
|
10
|
+
|
11
|
+
public extern StoryModeCutsceneSelectionModel();
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
using System.Collections.Generic;
|
2
|
+
using TaleWorlds.CampaignSystem.GameComponents;
|
3
|
+
using TaleWorlds.CampaignSystem.MapEvents;
|
4
|
+
using TaleWorlds.CampaignSystem.Roster;
|
5
|
+
|
6
|
+
namespace StoryMode.GameComponents
|
7
|
+
{
|
8
|
+
public class StoryModeTroopSupplierProbabilityModel : DefaultTroopSupplierProbabilityModel
|
9
|
+
{
|
10
|
+
public override extern Dictionary<FlattenedTroopRosterElement, float> GetTroopSpawnProbabilitiesAccordingToUnitSpawnPrioritization(MapEventParty battleParty, FlattenedTroopRoster priorityTroops, bool includePlayers, int sizeOfSide);
|
11
|
+
|
12
|
+
public extern StoryModeTroopSupplierProbabilityModel();
|
13
|
+
}
|
14
|
+
}
|
@@ -93,7 +93,7 @@ namespace StoryMode.Missions
|
|
93
93
|
|
94
94
|
public override extern void OnAgentShootMissile(Agent shooterAgent, EquipmentIndex weaponIndex, Vec3 position, Vec3 velocity, Mat3 orientation, bool hasRigidBody, int forcedMissileIndex = -1);
|
95
95
|
|
96
|
-
public override extern void OnScoreHit(Agent affectedAgent, Agent affectorAgent, WeaponComponentData attackerWeapon, bool isBlocked, bool isSiegeEngineHit,
|
96
|
+
public override extern void OnScoreHit(Agent affectedAgent, Agent affectorAgent, WeaponComponentData attackerWeapon, bool isBlocked, bool isSiegeEngineHit, in Blow blow, in AttackCollisionData collisionData, float damagedHp, float hitDistance, float shotDifficulty);
|
97
97
|
|
98
98
|
public extern TrainingFieldMissionController();
|
99
99
|
}
|
@@ -21,7 +21,5 @@ namespace StoryMode.StoryModeObjects
|
|
21
21
|
public static Hero RadagosHencman { get; }
|
22
22
|
|
23
23
|
public static Clan RadiersClan { get; }
|
24
|
-
|
25
|
-
public extern void UpdateStoryModeHeroDeathProbabilities();
|
26
24
|
}
|
27
25
|
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
using Microsoft.CodeAnalysis;
|
2
|
+
|
3
|
+
namespace System.Runtime.CompilerServices
|
4
|
+
{
|
5
|
+
[CompilerGenerated]
|
6
|
+
[Microsoft.CodeAnalysis.Embedded]
|
7
|
+
internal sealed class IsReadOnlyAttribute : Attribute
|
8
|
+
{
|
9
|
+
public extern IsReadOnlyAttribute();
|
10
|
+
}
|
11
|
+
}
|