move GameMapPrototype and GameMapCondition to shared (#41742)

* move GameMapPrototype and GameMapCondition to shared

* fix
This commit is contained in:
Errant 2025-12-06 16:45:50 +01:00 committed by BarryNorfolk
parent 4f4945d8c6
commit 36cbc7491f
19 changed files with 20 additions and 13 deletions

View File

@ -5,7 +5,7 @@ using System.Threading.Tasks;
using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Attributes;
using Content.IntegrationTests; using Content.IntegrationTests;
using Content.IntegrationTests.Pair; using Content.IntegrationTests.Pair;
using Content.Server.Maps; using Content.Shared.Maps;
using Robust.Shared; using Robust.Shared;
using Robust.Shared.Analyzers; using Robust.Shared.Analyzers;
using Robust.Shared.EntitySerialization.Systems; using Robust.Shared.EntitySerialization.Systems;

View File

@ -5,12 +5,12 @@ using System.Text.RegularExpressions;
using YamlDotNet.RepresentationModel; using YamlDotNet.RepresentationModel;
using Content.Server.Administration.Systems; using Content.Server.Administration.Systems;
using Content.Server.GameTicking; using Content.Server.GameTicking;
using Content.Server.Maps;
using Content.Server.Shuttles.Components; using Content.Server.Shuttles.Components;
using Content.Server.Shuttles.Systems; using Content.Server.Shuttles.Systems;
using Content.Server.Spawners.Components; using Content.Server.Spawners.Components;
using Content.Server.Station.Components; using Content.Server.Station.Components;
using Content.Shared.CCVar; using Content.Shared.CCVar;
using Content.Shared.Maps;
using Content.Shared.Roles; using Content.Shared.Roles;
using Content.Shared.Station.Components; using Content.Shared.Station.Components;
using Robust.Shared.Configuration; using Robust.Shared.Configuration;

View File

@ -1,11 +1,11 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Content.Server.GameTicking; using Content.Server.GameTicking;
using Content.Server.Maps;
using Content.Server.Power.Components; using Content.Server.Power.Components;
using Content.Server.Power.EntitySystems; using Content.Server.Power.EntitySystems;
using Content.Server.Power.NodeGroups; using Content.Server.Power.NodeGroups;
using Content.Server.Power.Pow3r; using Content.Server.Power.Pow3r;
using Content.Shared.Maps;
using Content.Shared.Power.Components; using Content.Shared.Power.Components;
using Content.Shared.NodeContainer; using Content.Shared.NodeContainer;
using Robust.Server.GameObjects; using Robust.Server.GameObjects;

View File

@ -1,8 +1,8 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Content.Server.Maps;
using Content.Server.Station.Components; using Content.Server.Station.Components;
using Content.Server.Station.Systems; using Content.Server.Station.Systems;
using Content.Shared.Maps;
using Content.Shared.Preferences; using Content.Shared.Preferences;
using Content.Shared.Roles; using Content.Shared.Roles;
using Robust.Shared.GameObjects; using Robust.Shared.GameObjects;

View File

@ -7,7 +7,7 @@ using System.Text.Json;
using System.Threading.Tasks; using System.Threading.Tasks;
using Content.IntegrationTests; using Content.IntegrationTests;
using Content.MapRenderer.Painters; using Content.MapRenderer.Painters;
using Content.Server.Maps; using Content.Shared.Maps;
using Robust.Shared.Prototypes; using Robust.Shared.Prototypes;
using Robust.UnitTesting.Pool; using Robust.UnitTesting.Pool;
using SixLabors.ImageSharp; using SixLabors.ImageSharp;

View File

@ -1,5 +1,5 @@
using System.IO; using System.IO;
using Content.Server.Maps; using Content.Shared.Maps;
using Robust.Shared.Prototypes; using Robust.Shared.Prototypes;
using Robust.Shared.Utility; using Robust.Shared.Utility;

View File

@ -1,7 +1,7 @@
using System.Numerics; using System.Numerics;
using Content.Server.GameTicking; using Content.Server.GameTicking;
using Content.Server.Maps;
using Content.Shared.Administration; using Content.Shared.Administration;
using Content.Shared.Maps;
using Robust.Shared.Console; using Robust.Shared.Console;
using Robust.Shared.Map; using Robust.Shared.Map;
using Robust.Shared.Prototypes; using Robust.Shared.Prototypes;

View File

@ -3,6 +3,7 @@ using Content.Server.Administration;
using Content.Server.Maps; using Content.Server.Maps;
using Content.Shared.Administration; using Content.Shared.Administration;
using Content.Shared.CCVar; using Content.Shared.CCVar;
using Content.Shared.Maps;
using Robust.Shared.Configuration; using Robust.Shared.Configuration;
using Robust.Shared.Console; using Robust.Shared.Console;
using Robust.Shared.Prototypes; using Robust.Shared.Prototypes;

View File

@ -4,6 +4,7 @@ using System.Threading.Tasks;
using Content.Server.GameTicking.Presets; using Content.Server.GameTicking.Presets;
using Content.Server.Maps; using Content.Server.Maps;
using Content.Shared.CCVar; using Content.Shared.CCVar;
using Content.Shared.Maps;
using JetBrains.Annotations; using JetBrains.Annotations;
using Robust.Shared.Player; using Robust.Shared.Player;

View File

@ -8,6 +8,7 @@ using Content.Server.Roles;
using Content.Shared.CCVar; using Content.Shared.CCVar;
using Content.Shared.Database; using Content.Shared.Database;
using Content.Shared.GameTicking; using Content.Shared.GameTicking;
using Content.Shared.Maps;
using Content.Shared.Mind; using Content.Shared.Mind;
using Content.Shared.Players; using Content.Shared.Players;
using Content.Shared.Preferences; using Content.Shared.Preferences;

View File

@ -1,6 +1,5 @@
using Content.Server.GameTicking.Rules;
using Content.Server.Maps;
using Content.Shared.GridPreloader.Prototypes; using Content.Shared.GridPreloader.Prototypes;
using Content.Shared.Maps;
using Robust.Shared.Prototypes; using Robust.Shared.Prototypes;
using Robust.Shared.Utility; using Robust.Shared.Utility;

View File

@ -1,5 +1,6 @@
using System.Linq; using System.Linq;
using Content.Server.Holiday; using Content.Server.Holiday;
using Content.Shared.Maps;
namespace Content.Server.Maps.Conditions; namespace Content.Server.Maps.Conditions;

View File

@ -3,6 +3,7 @@ using System.Diagnostics.CodeAnalysis;
using System.Linq; using System.Linq;
using Content.Server.GameTicking; using Content.Server.GameTicking;
using Content.Shared.CCVar; using Content.Shared.CCVar;
using Content.Shared.Maps;
using Robust.Server.Player; using Robust.Server.Player;
using Robust.Shared.Configuration; using Robust.Shared.Configuration;
using Robust.Shared.ContentPack; using Robust.Shared.ContentPack;

View File

@ -1,3 +1,4 @@
using Content.Shared.Maps;
using JetBrains.Annotations; using JetBrains.Annotations;
using Robust.Shared.Prototypes; using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set;

View File

@ -1,3 +1,5 @@
using Content.Shared.Maps;
namespace Content.Server.Maps; namespace Content.Server.Maps;
/// <summary> /// <summary>

View File

@ -6,12 +6,12 @@ using Content.Server.Administration.Managers;
using Content.Server.Discord.WebhookMessages; using Content.Server.Discord.WebhookMessages;
using Content.Server.GameTicking; using Content.Server.GameTicking;
using Content.Server.GameTicking.Presets; using Content.Server.GameTicking.Presets;
using Content.Server.Maps;
using Content.Server.Roles; using Content.Server.Roles;
using Content.Server.RoundEnd; using Content.Server.RoundEnd;
using Content.Shared.CCVar; using Content.Shared.CCVar;
using Content.Shared.Chat; using Content.Shared.Chat;
using Content.Shared.Database; using Content.Shared.Database;
using Content.Shared.Maps;
using Content.Shared.Players; using Content.Shared.Players;
using Content.Shared.Players.PlayTimeTracking; using Content.Shared.Players.PlayTimeTracking;
using Content.Shared.Voting; using Content.Shared.Voting;

View File

@ -1,4 +1,4 @@
namespace Content.Server.Maps; namespace Content.Shared.Maps;
[ImplicitDataDefinitionForInheritors] [ImplicitDataDefinitionForInheritors]
public abstract partial class GameMapCondition public abstract partial class GameMapCondition

View File

@ -1,4 +1,4 @@
namespace Content.Server.Maps; namespace Content.Shared.Maps;
public sealed partial class GameMapPrototype public sealed partial class GameMapPrototype
{ {

View File

@ -4,7 +4,7 @@ using Robust.Shared.Utility;
using System.Diagnostics; using System.Diagnostics;
using Content.Shared.Station; using Content.Shared.Station;
namespace Content.Server.Maps; namespace Content.Shared.Maps;
/// <summary> /// <summary>
/// Prototype data for a game map. /// Prototype data for a game map.