Content changes for mapgrid kill (#12567)
This commit is contained in:
@@ -6,6 +6,7 @@ using NUnit.Framework;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Map.Components;
|
||||
|
||||
namespace Content.IntegrationTests.Tests.DeviceNetwork
|
||||
{
|
||||
@@ -189,7 +190,7 @@ namespace Content.IntegrationTests.Tests.DeviceNetwork
|
||||
DeviceNetworkComponent networkComponent1 = null;
|
||||
DeviceNetworkComponent networkComponent2 = null;
|
||||
WiredNetworkComponent wiredNetworkComponent = null;
|
||||
IMapGrid grid = testMap.MapGrid;
|
||||
MapGridComponent grid = testMap.MapGrid;
|
||||
|
||||
var testValue = "test";
|
||||
var payload = new NetworkPayload
|
||||
|
||||
@@ -9,6 +9,7 @@ using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Log;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Map.Components;
|
||||
using Robust.Shared.Maths;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
@@ -129,7 +130,7 @@ namespace Content.IntegrationTests.Tests
|
||||
var componentFactory = server.ResolveDependency<IComponentFactory>();
|
||||
var tileDefinitionManager = server.ResolveDependency<ITileDefinitionManager>();
|
||||
|
||||
IMapGrid grid = default;
|
||||
MapGridComponent grid = default;
|
||||
|
||||
await server.WaitPost(() =>
|
||||
{
|
||||
@@ -224,7 +225,7 @@ namespace Content.IntegrationTests.Tests
|
||||
var componentFactory = server.ResolveDependency<IComponentFactory>();
|
||||
var tileDefinitionManager = server.ResolveDependency<ITileDefinitionManager>();
|
||||
|
||||
IMapGrid grid = default;
|
||||
MapGridComponent grid = default;
|
||||
|
||||
await server.WaitPost(() =>
|
||||
{
|
||||
|
||||
@@ -9,6 +9,7 @@ using Content.Shared.FixedPoint;
|
||||
using NUnit.Framework;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Map.Components;
|
||||
using Robust.Shared.Maths;
|
||||
using Robust.Shared.Timing;
|
||||
|
||||
@@ -18,7 +19,7 @@ namespace Content.IntegrationTests.Tests.Fluids;
|
||||
[TestOf(typeof(FluidSpreaderSystem))]
|
||||
public sealed class FluidSpill
|
||||
{
|
||||
private static PuddleComponent? GetPuddle(IEntityManager entityManager, IMapGrid mapGrid, Vector2i pos)
|
||||
private static PuddleComponent? GetPuddle(IEntityManager entityManager, MapGridComponent mapGrid, Vector2i pos)
|
||||
{
|
||||
foreach (var uid in mapGrid.GetAnchoredEntities(pos))
|
||||
{
|
||||
|
||||
@@ -8,6 +8,7 @@ using Content.Shared.FixedPoint;
|
||||
using NUnit.Framework;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Map.Components;
|
||||
using Robust.Shared.Timing;
|
||||
|
||||
namespace Content.IntegrationTests.Tests.Fluids
|
||||
@@ -54,7 +55,7 @@ namespace Content.IntegrationTests.Tests.Fluids
|
||||
var entitySystemManager = server.ResolveDependency<IEntitySystemManager>();
|
||||
var spillSystem = entitySystemManager.GetEntitySystem<SpillableSystem>();
|
||||
|
||||
IMapGrid grid = null;
|
||||
MapGridComponent grid = null;
|
||||
|
||||
// Remove all tiles
|
||||
await server.WaitPost(() =>
|
||||
@@ -93,7 +94,7 @@ namespace Content.IntegrationTests.Tests.Fluids
|
||||
var metaSystem = entityManager.EntitySysManager.GetEntitySystem<MetaDataSystem>();
|
||||
|
||||
MapId sMapId = default;
|
||||
IMapGrid sGrid;
|
||||
MapGridComponent sGrid;
|
||||
EntityUid sGridId = default;
|
||||
EntityCoordinates sCoordinates = default;
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ using NUnit.Framework;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Map.Components;
|
||||
|
||||
namespace Content.IntegrationTests.Tests
|
||||
{
|
||||
@@ -38,8 +39,8 @@ namespace Content.IntegrationTests.Tests
|
||||
EntityUid generator = default;
|
||||
var entityMan = server.ResolveDependency<IEntityManager>();
|
||||
|
||||
IMapGrid grid1 = null;
|
||||
IMapGrid grid2 = null;
|
||||
MapGridComponent grid1 = null;
|
||||
MapGridComponent grid2 = null;
|
||||
|
||||
// Create grids
|
||||
await server.WaitAssertion(() =>
|
||||
|
||||
@@ -8,6 +8,7 @@ using NUnit.Framework;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Map.Components;
|
||||
using Robust.Shared.Physics;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.Manager;
|
||||
@@ -87,7 +88,7 @@ public sealed class PrototypeSaveTest
|
||||
var compFact = server.ResolveDependency<IComponentFactory>();
|
||||
|
||||
var prototypes = new List<EntityPrototype>();
|
||||
IMapGrid grid = default!;
|
||||
MapGridComponent grid = default!;
|
||||
EntityUid uid;
|
||||
MapId mapId = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user