Remove PoolSettings.ExtraPrototypes option (#18678)

This commit is contained in:
Leon Friedrich
2023-08-05 16:16:48 +12:00
committed by GitHub
parent c2beaff3ac
commit d58786faf4
51 changed files with 463 additions and 399 deletions

View File

@@ -20,8 +20,7 @@ namespace Content.IntegrationTests.Tests.Destructible
{
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings
{
NoClient = true,
ExtraPrototypes = Prototypes
NoClient = true
});
var server = pairTracker.Pair.Server;

View File

@@ -17,8 +17,7 @@ namespace Content.IntegrationTests.Tests.Destructible
{
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings
{
NoClient = true,
ExtraPrototypes = Prototypes
NoClient = true
});
var server = pairTracker.Pair.Server;

View File

@@ -16,8 +16,7 @@ namespace Content.IntegrationTests.Tests.Destructible
{
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings
{
NoClient = true,
ExtraPrototypes = Prototypes
NoClient = true
});
var server = pairTracker.Pair.Server;

View File

@@ -8,7 +8,8 @@ namespace Content.IntegrationTests.Tests.Destructible
public const string DestructibleDamageTypeEntityId = "DestructibleTestsDestructibleDamageTypeEntity";
public const string DestructibleDamageGroupEntityId = "DestructibleTestsDestructibleDamageGroupEntity";
public static readonly string Prototypes = $@"
[TestPrototypes]
public const string DamagePrototypes = $@"
- type: damageType
id: TestBlunt

View File

@@ -22,8 +22,7 @@ namespace Content.IntegrationTests.Tests.Destructible
{
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings
{
NoClient = true,
ExtraPrototypes = Prototypes
NoClient = true
});
var server = pairTracker.Pair.Server;