]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Make all prototype types partial (#21374)
authorDrSmugleaf <DrSmugleaf@users.noreply.github.com>
Thu, 2 Nov 2023 02:56:23 +0000 (19:56 -0700)
committerGitHub <noreply@github.com>
Thu, 2 Nov 2023 02:56:23 +0000 (19:56 -0700)
105 files changed:
Content.Client/Parallax/Data/ParallaxPrototype.cs
Content.Server/Advertisements/AdvertisementsPackPrototype.cs
Content.Server/AlertLevel/AlertLevelPrototype.cs
Content.Server/Announcements/RoundAnnouncementPrototype.cs
Content.Server/Atmos/Reactions/GasReactionPrototype.cs
Content.Server/GameTicking/Presets/GamePresetPrototype.cs
Content.Server/GameTicking/Prototypes/LobbyBackgroundPrototype.cs
Content.Server/GameTicking/Rules/GameRulePrototype.cs
Content.Server/Holiday/HolidayPrototype.cs
Content.Server/Maps/GameMapPoolPrototype.cs
Content.Server/NPC/Components/NpcFactionPrototype.cs
Content.Server/NPC/HTN/HTNCompoundPrototype.cs
Content.Server/NPC/Queries/Curves/UtilityCurvePresetPrototype.cs
Content.Server/NPC/Queries/UtilityQueryPrototype.cs
Content.Server/Salvage/SalvageMapPrototype.cs
Content.Server/Speech/Components/ReplacementAccentComponent.cs
Content.Server/Wires/WireLayout.cs
Content.Server/Worldgen/Prototypes/BiomePrototype.cs
Content.Server/Worldgen/Prototypes/WorldgenConfigPrototype.cs
Content.Shared/Access/AccessGroupPrototype.cs
Content.Shared/Access/AccessLevelPrototype.cs
Content.Shared/Alert/AlertPrototype.cs
Content.Shared/Atmos/Monitor/AtmosAlarmThreshold.cs
Content.Shared/Atmos/Prototypes/GasPrototype.cs
Content.Shared/Audio/AmbientMusicPrototype.cs
Content.Shared/BarSign/BarSignPrototype.cs
Content.Shared/Body/Prototypes/BodyPrototype.cs
Content.Shared/Body/Prototypes/MetabolismGroupPrototype.cs
Content.Shared/Body/Prototypes/MetabolizerTypePrototype.cs
Content.Shared/Cargo/Prototypes/CargoBountyPrototype.cs
Content.Shared/Cargo/Prototypes/CargoProductPrototype.cs
Content.Shared/Chat/Prototypes/AutoEmotePrototype.cs
Content.Shared/Chat/Prototypes/EmotePrototype.cs
Content.Shared/Chat/Prototypes/EmoteSoundsPrototype.cs
Content.Shared/Chat/TypingIndicator/TypingIndicatorPrototype.cs
Content.Shared/Chemistry/Dispenser/ReagentDispenserInventoryPrototype.cs
Content.Shared/Chemistry/Reaction/ReactionPrototype.cs
Content.Shared/Chemistry/Reaction/ReactiveGroupPrototype.cs
Content.Shared/Communications/CommsHackerComponent.cs
Content.Shared/Construction/Prototypes/ConstructionGraphPrototype.cs
Content.Shared/Construction/Prototypes/ConstructionPrototype.cs
Content.Shared/Construction/Prototypes/MachinePartPrototype.cs
Content.Shared/Damage/Prototypes/DamageContainerPrototype.cs
Content.Shared/Damage/Prototypes/DamageGroupPrototype.cs
Content.Shared/Damage/Prototypes/DamageTypePrototype.cs
Content.Shared/Damage/Prototypes/ExaminableDamagePrototype.cs
Content.Shared/Dataset/DatasetPrototype.cs
Content.Shared/Decals/ColorPalettePrototype.cs
Content.Shared/Decals/DecalPrototype.cs
Content.Shared/DeviceNetwork/DeviceFrequencyPrototype.cs
Content.Shared/EntityList/EntityListPrototype.cs
Content.Shared/EntityList/EntityLootTablePrototype.cs
Content.Shared/Explosion/ExplosionPrototype.cs
Content.Shared/HUD/HudThemePrototype.cs
Content.Shared/Humanoid/Markings/MarkingPoints.cs
Content.Shared/Humanoid/Markings/MarkingPrototype.cs
Content.Shared/Humanoid/Prototypes/HumanoidProfilePrototype.cs
Content.Shared/Humanoid/Prototypes/HumanoidSpritePrototypes.cs
Content.Shared/Humanoid/Prototypes/RandomHumanoidSettingsPrototype.cs
Content.Shared/Humanoid/Prototypes/SpeciesPrototype.cs
Content.Shared/Inventory/InventoryTemplatePrototype.cs
Content.Shared/Kitchen/MicrowaveMealRecipePrototype.cs
Content.Shared/Maps/ContentTileDefinition.cs
Content.Shared/Materials/MaterialPrototype.cs
Content.Shared/Mining/OrePrototype.cs
Content.Shared/NameIdentifier/NameIdentifierGroupPrototype.cs
Content.Shared/Nutrition/Flavor.cs
Content.Shared/Parallax/Biomes/BiomeTemplatePrototype.cs
Content.Shared/Players/PlayTimeTracking/PlayTimeTrackerPrototype.cs
Content.Shared/Procedural/DungeonConfigPrototype.cs
Content.Shared/Procedural/DungeonPresetPrototype.cs
Content.Shared/Procedural/DungeonRoomPackPrototype.cs
Content.Shared/Procedural/DungeonRoomPrototype.cs
Content.Shared/Procedural/Loot/SalvageLootPrototype.cs
Content.Shared/Procedural/SalvageDifficultyPrototype.cs
Content.Shared/Radio/RadioChannelPrototype.cs
Content.Shared/Random/RulesPrototype.cs
Content.Shared/Random/WeightedRandomFillSolutionPrototype.cs
Content.Shared/Research/Prototypes/LatheRecipePrototype.cs
Content.Shared/Research/Prototypes/TechDisciplinePrototype.cs
Content.Shared/Research/Prototypes/TechnologyPrototype.cs
Content.Shared/Roles/AntagPrototype.cs
Content.Shared/Roles/DepartmentPrototype.cs
Content.Shared/Roles/JobPrototype.cs
Content.Shared/Roles/StartingGearPrototype.cs
Content.Shared/Salvage/Expeditions/Modifiers/SalvageAirMod.cs
Content.Shared/Salvage/Expeditions/Modifiers/SalvageBiomeModPrototype.cs
Content.Shared/Salvage/Expeditions/Modifiers/SalvageDungeonModPrototype.cs
Content.Shared/Salvage/Expeditions/Modifiers/SalvageLightMod.cs
Content.Shared/Salvage/Expeditions/Modifiers/SalvageMod.cs
Content.Shared/Salvage/Expeditions/Modifiers/SalvageTemperatureMod.cs
Content.Shared/Salvage/Expeditions/Modifiers/SalvageWeatherMod.cs
Content.Shared/Salvage/Expeditions/SalvageFactionPrototype.cs
Content.Shared/Speech/SpeechSoundsPrototype.cs
Content.Shared/Speech/SpeechVerbPrototype.cs
Content.Shared/SprayPainter/Prototypes/AirlockGroupPrototype.cs
Content.Shared/Spreader/EdgeSpreaderPrototype.cs
Content.Shared/Stacks/StackPrototype.cs
Content.Shared/StatusEffect/StatusEffectPrototype.cs
Content.Shared/Tag/TagPrototype.cs
Content.Shared/Tools/ToolQualityPrototype.cs
Content.Shared/Traits/TraitPrototype.cs
Content.Shared/VendingMachines/VendingMachineInventoryPrototype.cs
Content.Shared/Weapons/Ranged/HitscanPrototype.cs
Content.Shared/Weather/WeatherPrototype.cs

index 32b79717c76fcf64f7a3c832ffd040c14f471bf3..034d8a3da972349d8ac691a329e13acb612ac130 100644 (file)
@@ -1,9 +1,4 @@
-using System.Collections.Generic;
 using Robust.Shared.Prototypes;
-using Robust.Shared.Serialization.Manager.Attributes;
-using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Dictionary;
-using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
-using Robust.Shared.Utility;
 
 namespace Content.Client.Parallax.Data;
 
@@ -11,7 +6,7 @@ namespace Content.Client.Parallax.Data;
 /// Prototype data for a parallax.
 /// </summary>
 [Prototype("parallax")]
-public sealed class ParallaxPrototype : IPrototype
+public sealed partial class ParallaxPrototype : IPrototype
 {
     /// <inheritdoc/>
     [IdDataField]
index 31443573d34a2a5d1f24d758309f9cdd339a2a3f..56086d39a4fdf8f5bccc5e87b348fd3c6ffe6faf 100644 (file)
@@ -3,7 +3,7 @@
 namespace Content.Server.Advertisements
 {
     [Serializable, Prototype("advertisementsPack")]
-    public sealed class AdvertisementsPackPrototype : IPrototype
+    public sealed partial class AdvertisementsPackPrototype : IPrototype
     {
         [ViewVariables]
         [IdDataField]
index 6716203b25cbc29ac9140b4a46b0233f108f8906..c6740c16cc5bb150802c4004c30f4058ace1bf62 100644 (file)
@@ -4,7 +4,7 @@ using Robust.Shared.Prototypes;
 namespace Content.Server.AlertLevel;
 
 [Prototype("alertLevels")]
-public sealed class AlertLevelPrototype : IPrototype
+public sealed partial class AlertLevelPrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = default!;
 
index 928c279a87da105c5120a309f9435217ff12038e..11984196f1c7ae2744cb37ce107a52522cb50726 100644 (file)
@@ -1,7 +1,5 @@
-using Content.Server.GameTicking.Presets;
 using Robust.Shared.Audio;
 using Robust.Shared.Prototypes;
-using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
 
 namespace Content.Server.Announcements;
 
@@ -9,7 +7,7 @@ namespace Content.Server.Announcements;
 /// Used for any announcements on the start of a round.
 /// </summary>
 [Prototype("roundAnnouncement")]
-public sealed class RoundAnnouncementPrototype : IPrototype
+public sealed partial class RoundAnnouncementPrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index 6db99d80d83221d87d50be9b4dd4e00d8b229315..30f9b72f8df6085c09162009ba1f45ca00ada92a 100644 (file)
@@ -18,7 +18,7 @@ namespace Content.Server.Atmos.Reactions
     }
 
     [Prototype("gasReaction")]
-    public sealed class GasReactionPrototype : IPrototype
+    public sealed partial class GasReactionPrototype : IPrototype
     {
         [ViewVariables]
         [IdDataField]
index aff42cb4a7d1596b7e963e4ae5827275c25066d5..4731364ace2a424b074e6bb2019c15f7835fff29 100644 (file)
@@ -10,7 +10,7 @@ namespace Content.Server.GameTicking.Presets
     ///     A round-start setup preset, such as which antagonists to spawn.
     /// </summary>
     [Prototype("gamePreset")]
-    public sealed class GamePresetPrototype : IPrototype
+    public sealed partial class GamePresetPrototype : IPrototype
     {
         [IdDataField]
         public string ID { get; private set; } = default!;
index 27f9930df5c7f15fd7e835b94037dc61c900b2b9..4370c22b7ff81b5fe2be056d8c6fe991088cfa22 100644 (file)
@@ -7,7 +7,7 @@ namespace Content.Server.GameTicking.Prototypes;
 /// Prototype for a lobby background the game can choose.
 /// </summary>
 [Prototype("lobbyBackground")]
-public sealed class LobbyBackgroundPrototype : IPrototype
+public sealed partial class LobbyBackgroundPrototype : IPrototype
 {
     /// <inheritdoc/>
     [IdDataField]
index d4872fdcad230485536ce5241c2cbb6345dddb2b..47f99184f73b1dbf72899775238addf90b37cea5 100644 (file)
@@ -4,7 +4,7 @@ namespace Content.Server.GameTicking.Rules;
 
 /*
 [Prototype("gameRule")]
-public sealed class GameRulePrototype : IPrototype
+public sealed partial class GameRulePrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index 20414ad939ac6ed1bc9a48d6b7b841fbc29101fd..749423402b5ae0ecf423556124e7fe38f5b2c053 100644 (file)
@@ -6,7 +6,7 @@ using Robust.Shared.Prototypes;
 namespace Content.Server.Holiday
 {
     [Prototype("holiday")]
-    public sealed class HolidayPrototype : IPrototype
+    public sealed partial class HolidayPrototype : IPrototype
     {
         [DataField("name")] public string Name { get; private set; } = string.Empty;
 
index 4c439d44a6865020fabe3ec7abbc69fc54b38c3e..7f45314b7a47758d125ace9bb0e42ecbf4b21256 100644 (file)
@@ -8,7 +8,7 @@ namespace Content.Server.Maps;
 /// Prototype that holds a pool of maps that can be indexed based on the map pool CCVar.
 /// </summary>
 [Prototype("gameMapPool"), PublicAPI]
-public sealed class GameMapPoolPrototype : IPrototype
+public sealed partial class GameMapPoolPrototype : IPrototype
 {
     /// <inheritdoc/>
     [IdDataField]
index dba51c6a60f03f7582084d56561e631881449a1d..fe5774710afcf91ef227d84ba5580e18335dc0d7 100644 (file)
@@ -7,7 +7,7 @@ namespace Content.Server.NPC.Components
     /// Contains data about this faction's relations with other factions.
     /// </summary>
     [Prototype("npcFaction")]
-    public sealed class NpcFactionPrototype : IPrototype
+    public sealed partial class NpcFactionPrototype : IPrototype
     {
         [ViewVariables]
         [IdDataField]
index 82d6f029a7edcb1935d6006f49be71e866ad62fc..29cfb96f977b96985dd280a1f8b078a7bd331a5b 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Server.NPC.HTN;
 /// Represents a network of multiple tasks. This gets expanded out to its relevant nodes.
 /// </summary>
 [Prototype("htnCompound")]
-public sealed class HTNCompoundPrototype : IPrototype
+public sealed partial class HTNCompoundPrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = string.Empty;
 
index 5ac127c05301bd602a6aead4b593d4424138f600..7a6e9152c6c795622f06908b686605f441f582ce 100644 (file)
@@ -3,7 +3,7 @@ using Robust.Shared.Prototypes;
 namespace Content.Server.NPC.Queries.Curves;
 
 [Prototype("utilityCurvePreset")]
-public sealed class UtilityCurvePresetPrototype : IPrototype
+public sealed partial class UtilityCurvePresetPrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = string.Empty;
 
index e9b7e244fd631f0890ebaf29991b4a41ac2d00ee..76750dbe9b7bd17e76425083391c2db4604584aa 100644 (file)
@@ -10,7 +10,7 @@ namespace Content.Server.NPC.Queries;
 /// These results are then run through the considerations.
 /// </summary>
 [Prototype("utilityQuery")]
-public sealed class UtilityQueryPrototype : IPrototype
+public sealed partial class UtilityQueryPrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index 1f40870c60e82c8c5b9365a59158b985f2b9258c..b951c47d7a7deef1c8e06666a6cfd422f6b1e31f 100644 (file)
@@ -4,7 +4,7 @@ using Robust.Shared.Utility;
 namespace Content.Server.Salvage;
 
 [Prototype("salvageMap")]
-public sealed class SalvageMapPrototype : IPrototype
+public sealed partial class SalvageMapPrototype : IPrototype
 {
     [ViewVariables] [IdDataField] public string ID { get; } = default!;
 
index cbec2e84645c8273af08bf867aa7b8ec70855d86..ac4e9fbafef7806c814467562c1c482682e99272 100644 (file)
@@ -4,7 +4,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
 namespace Content.Server.Speech.Components
 {
     [Prototype("accent")]
-    public sealed class ReplacementAccentPrototype : IPrototype
+    public sealed partial class ReplacementAccentPrototype : IPrototype
     {
         [ViewVariables]
         [IdDataField]
index ed4381822fc8453133a34f4e060d9f5a900dc67b..ecafba013e0cd9b82d97701256cb3d5e45eb0ae4 100644 (file)
@@ -1,5 +1,4 @@
 using Robust.Shared.Prototypes;
-using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
 using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Array;
 
 namespace Content.Server.Wires;
@@ -12,7 +11,7 @@ namespace Content.Server.Wires;
 ///     WiresSystem as a functional wire set.
 /// </summary>
 [Prototype("wireLayout")]
-public sealed class WireLayoutPrototype : IPrototype, IInheritingPrototype
+public sealed partial class WireLayoutPrototype : IPrototype, IInheritingPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index 4f097d04e2e680ae453c9f20657b01207d85aa07..db1b5e2a160956f1df7f639b729224bd1e8f706a 100644 (file)
@@ -10,7 +10,7 @@ namespace Content.Server.Worldgen.Prototypes;
 ///     of noise channels at that location.
 /// </summary>
 [Prototype("spaceBiome")]
-public sealed class BiomePrototype : IPrototype, IInheritingPrototype
+public sealed partial class BiomePrototype : IPrototype, IInheritingPrototype
 {
     /// <inheritdoc />
     [ParentDataField(typeof(AbstractPrototypeIdArraySerializer<EntityPrototype>))]
index d6dda9fb747ad9904c68d092bf3fceb742bf5c67..49e9e1ed9d2e1d87aa5be9b5ebc5f995e17aed7e 100644 (file)
@@ -8,7 +8,7 @@ namespace Content.Server.Worldgen.Prototypes;
 ///     The components included are applied to the map that world generation is configured on.
 /// </summary>
 [Prototype("worldgenConfig")]
-public sealed class WorldgenConfigPrototype : IPrototype
+public sealed partial class WorldgenConfigPrototype : IPrototype
 {
     /// <inheritdoc />
     [IdDataField]
index f32c8ffbca6ae9c0f7505b156135501312f65cf9..8d3ed8feea1f42331309be003f71bbbb8a676959 100644 (file)
@@ -9,7 +9,7 @@ namespace Content.Shared.Access;
 ///     Used by <see cref="AccessComponent"/> to avoid boilerplate.
 /// </summary>
 [Prototype("accessGroup")]
-public sealed class AccessGroupPrototype : IPrototype
+public sealed partial class AccessGroupPrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index 4d3e4884b6bfa0102650270336922be972e3976a..8cc59271585480aa959856add4bc8cd6dc0e5564 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.Access
     ///     Defines a single access level that can be stored on ID cards and checked for.
     /// </summary>
     [Prototype("accessLevel")]
-    public sealed class AccessLevelPrototype : IPrototype
+    public sealed partial class AccessLevelPrototype : IPrototype
     {
         [ViewVariables]
         [IdDataField]
index ba37e5133295cdbccca1573f844af7f690d55855..c24ac8582b01e45d7a5056af36c31c33c10d3f20 100644 (file)
@@ -8,7 +8,7 @@ namespace Content.Shared.Alert
     /// An alert popup with associated icon, tooltip, and other data.
     /// </summary>
     [Prototype("alert")]
-    public sealed class AlertPrototype : IPrototype, ISerializationHooks
+    public sealed partial class AlertPrototype : IPrototype, ISerializationHooks
     {
         [ViewVariables]
         string IPrototype.ID => AlertType.ToString();
index 7ad0e0f5022c05e562087349743d54b5b0397fd1..c37c70a3abed653846dec21c7306a09b7464bc3c 100644 (file)
@@ -5,7 +5,7 @@ namespace Content.Shared.Atmos.Monitor;
 
 
 [Prototype("alarmThreshold")]
-public sealed class AtmosAlarmThresholdPrototype : IPrototype
+public sealed partial class AtmosAlarmThresholdPrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index 75416db3f99565aec52bbffceea3411a55f8f459..dd474f424d8b53a9cdda556f82ed4a5e43324ba9 100644 (file)
@@ -5,7 +5,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
 namespace Content.Shared.Atmos.Prototypes
 {
     [Prototype("gas")]
-    public sealed class GasPrototype : IPrototype
+    public sealed partial class GasPrototype : IPrototype
     {
         [DataField("name")] public string Name { get; set; } = "";
 
index ad6f67b175ea70cf81f9b1b336cd54d8e6f72f1b..54f70f57280f3121ca858e18b3d811b658790247 100644 (file)
@@ -9,7 +9,7 @@ namespace Content.Shared.Audio;
 /// Attaches a rules prototype to sound files to play ambience.
 /// </summary>
 [Prototype("ambientMusic")]
-public sealed class AmbientMusicPrototype : IPrototype
+public sealed partial class AmbientMusicPrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = string.Empty;
 
index 6b8fec1275c72085381e75dddd615ce6b9ca777b..a0566d9f4647dbd270bad02f833e58ff5b08a977 100644 (file)
@@ -3,7 +3,7 @@ using Robust.Shared.Prototypes;
 namespace Content.Shared.BarSign
 {
     [Prototype("barSign")]
-    public sealed class BarSignPrototype : IPrototype
+    public sealed partial class BarSignPrototype : IPrototype
     {
         [ViewVariables]
         [IdDataField]
index a1105dae5ca86f4c5f3dbc1deb2669d2a3e127e4..123638f099b57ba0d5a141736ba73d7436198e54 100644 (file)
@@ -3,7 +3,7 @@ using Robust.Shared.Prototypes;
 namespace Content.Shared.Body.Prototypes;
 
 [Prototype("body")]
-public sealed class BodyPrototype : IPrototype
+public sealed partial class BodyPrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = default!;
 
index 2bf2c5110e491cc06578493619bb18b76934ba45..162b5f2d6c2613976ca7cfcca6709541f13586f4 100644 (file)
@@ -3,7 +3,7 @@
 namespace Content.Shared.Body.Prototypes
 {
     [Prototype("metabolismGroup")]
-    public sealed class MetabolismGroupPrototype : IPrototype
+    public sealed partial class MetabolismGroupPrototype : IPrototype
     {
         [IdDataField]
         public string ID { get; private set; } = default!;
index 4add9738f30a6545b2639c2cdd1d634fa9d36cd3..c840983ca0c332a16d1651dcc574a9cf1d201bf9 100644 (file)
@@ -3,7 +3,7 @@
 namespace Content.Shared.Body.Prototypes
 {
     [Prototype("metabolizerType")]
-    public sealed class MetabolizerTypePrototype : IPrototype
+    public sealed partial class MetabolizerTypePrototype : IPrototype
     {
         [IdDataField]
         public string ID { get; private set; } = default!;
index e9c64ec99093a38674c25e3c3bd46f804a648437..89c1d153acb096dcdc710666b60e6406a7ad83af 100644 (file)
@@ -10,7 +10,7 @@ namespace Content.Shared.Cargo.Prototypes;
 /// to receive a monetary reward.
 /// </summary>
 [Prototype("cargoBounty"), Serializable, NetSerializable]
-public sealed class CargoBountyPrototype : IPrototype
+public sealed partial class CargoBountyPrototype : IPrototype
 {
     /// <inheritdoc/>
     [IdDataField]
index a2dc9b516daca9794d40f7092ae2b4ed3aa99496..54876183094af94fab6050e42a88c141949181cf 100644 (file)
@@ -1,12 +1,11 @@
 using Robust.Shared.Prototypes;
-using Robust.Shared.Serialization;
 using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
 using Robust.Shared.Utility;
 
 namespace Content.Shared.Cargo.Prototypes
 {
     [Prototype("cargoProduct")]
-    public sealed class CargoProductPrototype : IPrototype
+    public sealed partial class CargoProductPrototype : IPrototype
     {
         [DataField("name")] private string _name = string.Empty;
 
index bfa98fa243dea5b140fd3c6825ebdc800859ad97..ba818efb4d32e7e8d580b86b506b4d0d05b3477a 100644 (file)
@@ -1,10 +1,10 @@
-namespace Content.Shared.Chat.Prototypes;
-
 using Robust.Shared.Prototypes;
 using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
 
+namespace Content.Shared.Chat.Prototypes;
+
 [Prototype("autoEmote")]
-public sealed class AutoEmotePrototype : IPrototype
+public sealed partial class AutoEmotePrototype : IPrototype
 {
     /// <inheritdoc/>
     [IdDataField]
index d9d6a6344193bc710f4ffd38cb4ad78df138589a..08f209d28d3601ecffe2ecff39a1f175fdf992b1 100644 (file)
@@ -8,7 +8,7 @@ namespace Content.Shared.Chat.Prototypes;
 ///     Entities can activate emotes by chat input or code.
 /// </summary>
 [Prototype("emote")]
-public sealed class EmotePrototype : IPrototype
+public sealed partial class EmotePrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index 769bc7b20538b599759266fd9108739f7cb53a32..c9a78e7d6d7ffd1d2d750672be1be9ad6ca5a2e2 100644 (file)
@@ -9,7 +9,7 @@ namespace Content.Shared.Chat.Prototypes;
 ///     Different entities may use different sounds collections.
 /// </summary>
 [Prototype("emoteSounds")]
-public sealed class EmoteSoundsPrototype : IPrototype
+public sealed partial class EmoteSoundsPrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index 2cd114fde7e187c1c3881500081c089c0171e242..8cbfe7bb2e4f2b81f988d272326623e50f17bbe4 100644 (file)
@@ -8,7 +8,7 @@ namespace Content.Shared.Chat.TypingIndicator;
 ///     Prototype to store chat typing indicator visuals.
 /// </summary>
 [Prototype("typingIndicator")]
-public sealed class TypingIndicatorPrototype : IPrototype
+public sealed partial class TypingIndicatorPrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index 84578168381a6dc6fd097c6350ac60bd11e5e4a3..c362535e4f585ee6d9b20526b5a3809bbaeebb34 100644 (file)
@@ -12,7 +12,7 @@ namespace Content.Shared.Chemistry.Dispenser
     /// machines define their inventory.
     /// </summary>
     [Serializable, NetSerializable, Prototype("reagentDispenserInventory")]
-    public sealed class ReagentDispenserInventoryPrototype : IPrototype
+    public sealed partial class ReagentDispenserInventoryPrototype : IPrototype
     {
         // TODO use ReagentId
         [DataField("inventory", customTypeSerializer: typeof(PrototypeIdListSerializer<ReagentPrototype>))]
index 2ad0ff5e1d5c4d5928cef082a587dfd1fdc00879..37b5d4414074d70e70aa53e1b7b29acff2cecf4f 100644 (file)
@@ -11,7 +11,7 @@ namespace Content.Shared.Chemistry.Reaction
     /// Prototype for chemical reaction definitions
     /// </summary>
     [Prototype("reaction")]
-    public sealed class ReactionPrototype : IPrototype, IComparable<ReactionPrototype>
+    public sealed partial class ReactionPrototype : IPrototype, IComparable<ReactionPrototype>
     {
         [ViewVariables]
         [IdDataField]
index 329353681507e81937215d529abcf6922733cf22..906c01467cebaec4350b8fbd7f30111b73a942ad 100644 (file)
@@ -3,7 +3,7 @@
 namespace Content.Shared.Chemistry.Reaction;
 
 [Prototype("reactiveGroup")]
-public sealed class ReactiveGroupPrototype : IPrototype
+public sealed partial class ReactiveGroupPrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index 810058f1ce57bdaf87e99b359a57fc2e355702f8..b199e64d7e4cb45fc46900e6260cf5bc2d9bc2d9 100644 (file)
@@ -30,7 +30,7 @@ public sealed partial class CommsHackerComponent : Component
 /// You wouldn't do that, right?
 /// </summary>
 [Prototype("ninjaHackingThreat")]
-public sealed class NinjaHackingThreatPrototype : IPrototype
+public sealed partial class NinjaHackingThreatPrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index 050f8b6c18869f0cee369818dd28e966358585e5..7ac02371ebcd4f50bccd36b6eb714cc8a4e46ef0 100644 (file)
@@ -6,7 +6,7 @@ using Robust.Shared.Serialization;
 namespace Content.Shared.Construction.Prototypes
 {
     [Prototype("constructionGraph")]
-    public sealed class ConstructionGraphPrototype : IPrototype, ISerializationHooks
+    public sealed partial class ConstructionGraphPrototype : IPrototype, ISerializationHooks
     {
         private readonly Dictionary<string, ConstructionGraphNode> _nodes = new();
         private readonly Dictionary<(string, string), ConstructionGraphNode[]?> _paths = new();
index e4e28b11b5176966c855d316893656ca3a3d5e89..bd6dc096adda80860da3ed423cd2472ffdb79462 100644 (file)
@@ -6,7 +6,7 @@ using Robust.Shared.Utility;
 namespace Content.Shared.Construction.Prototypes;
 
 [Prototype("construction")]
-public sealed class ConstructionPrototype : IPrototype
+public sealed partial class ConstructionPrototype : IPrototype
 {
     [DataField("conditions")] private List<IConstructionCondition> _conditions = new();
 
index 707dc5dc23f6f3b9efca9d32633c6bfa666fdcc3..7a080c94a3f782a0d9101264cce9a463c20cdc81 100644 (file)
@@ -8,7 +8,7 @@ namespace Content.Shared.Construction.Prototypes;
 /// different types of machine parts.
 /// </summary>
 [Prototype("machinePart")]
-public sealed class MachinePartPrototype : IPrototype
+public sealed partial class MachinePartPrototype : IPrototype
 {
     /// <inheritdoc/>
     [IdDataField]
index 0bcb95294bd875d25f52357ecb3b60e8871ad7df..a77bf992c8906cf67198cc02f2f395c222dd2498 100644 (file)
@@ -14,7 +14,7 @@ namespace Content.Shared.Damage.Prototypes
     /// </remarks>
     [Prototype("damageContainer")]
     [Serializable, NetSerializable]
-    public sealed class DamageContainerPrototype : IPrototype
+    public sealed partial class DamageContainerPrototype : IPrototype
     {
         [ViewVariables]
         [IdDataField]
index 2a508a03e625b10bd034be04f5363633d9ea1f21..807f143708c7af21c0ede053b4d9b8b896ea6eb7 100644 (file)
@@ -13,7 +13,7 @@ namespace Content.Shared.Damage.Prototypes
     /// </remarks>
     [Prototype("damageGroup", 2)]
     [Serializable, NetSerializable]
-    public sealed class DamageGroupPrototype : IPrototype
+    public sealed partial class DamageGroupPrototype : IPrototype
     {
         [IdDataField] public string ID { get; } = default!;
 
index 592de5acf34e29f422e0af7ac3552b21b80dab8d..cde7a8617f5baac4aa10d744e00fb9ce30de3e14 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.Damage.Prototypes
     ///     A single damage type. These types are grouped together in <see cref="DamageGroupPrototype"/>s.
     /// </summary>
     [Prototype("damageType")]
-    public sealed class DamageTypePrototype : IPrototype
+    public sealed partial class DamageTypePrototype : IPrototype
     {
         [IdDataField]
         public string ID { get; private set; } = default!;
index c4191f4d1370b41ab316acb5895727a2546150de..563834b372689dbd6e0e503aaae1e3c749a71a19 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.Damage.Prototypes;
 ///     Prototype for examinable damage messages.
 /// </summary>
 [Prototype("examinableDamage")]
-public sealed class ExaminableDamagePrototype : IPrototype
+public sealed partial class ExaminableDamagePrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index b41886429940a7e9bde7461eacfdb3ad4b2592bd..08ae380bc5dcd1279c1d89f437e2ed4bdd0f7d67 100644 (file)
@@ -3,7 +3,7 @@
 namespace Content.Shared.Dataset
 {
     [Prototype("dataset")]
-    public sealed class DatasetPrototype : IPrototype
+    public sealed partial class DatasetPrototype : IPrototype
     {
         [ViewVariables]
         [IdDataField]
index a42e0a0ff3a0097f0ab42675dbef81dec2b323be..cef776d0c99536f7ef21a6354b0541c7b462ef6c 100644 (file)
@@ -3,7 +3,7 @@
 namespace Content.Shared.Decals;
 
 [Prototype("palette")]
-public sealed class ColorPalettePrototype : IPrototype
+public sealed partial class ColorPalettePrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = null!;
     [DataField("name")] public string Name { get; private set; } = null!;
index 1fc223b2075230ce80d8565e61b44691b042bf53..2721f5d2d257a28c63d96aa672a2f944804fe1a4 100644 (file)
@@ -4,7 +4,7 @@ using Robust.Shared.Utility;
 namespace Content.Shared.Decals
 {
     [Prototype("decal")]
-    public sealed class DecalPrototype : IPrototype
+    public sealed partial class DecalPrototype : IPrototype
     {
         [IdDataField] public string ID { get; } = null!;
         [DataField("sprite")] public SpriteSpecifier Sprite { get; private set; } = SpriteSpecifier.Invalid;
index 2e6ef4d1a0297a5eab292e67eb962083bb8303a9..b34d5b67a869b239cd8cc015b0e9a5a07a4faf10 100644 (file)
@@ -8,7 +8,7 @@ namespace Content.Shared.DeviceNetwork;
 /// </summary>
 [Prototype("deviceFrequency")]
 [Serializable, NetSerializable]
-public sealed class DeviceFrequencyPrototype : IPrototype
+public sealed partial class DeviceFrequencyPrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index 4ba6dbd7cafaa1dab07a60462525f579fbce8aec..241712eff7773b34cbbc6592bae61339670af722 100644 (file)
@@ -5,7 +5,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
 namespace Content.Shared.EntityList
 {
     [Prototype("entityList")]
-    public sealed class EntityListPrototype : IPrototype
+    public sealed partial class EntityListPrototype : IPrototype
     {
         [ViewVariables]
         [IdDataField]
index da535d570c4f5cb12ddb0267de7732d472c337fc..418a584af5c43ed4218292418aaf33eb6d239d86 100644 (file)
@@ -6,7 +6,7 @@ using Robust.Shared.Random;
 namespace Content.Shared.EntityList;
 
 [Prototype("entityLootTable")]
-public sealed class EntityLootTablePrototype : IPrototype
+public sealed partial class EntityLootTablePrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index a2fa7d632e845e1fe6bcdd101c09868218f8df8c..37d0b2b4212ffeef39e6ef921b5d3b2315757bce 100644 (file)
@@ -14,7 +14,7 @@ namespace Content.Shared.Explosion;
 ///     that map of airtight entities. This could be done, but is just not yet implemented.
 /// </remarks>
 [Prototype("explosion")]
-public sealed class ExplosionPrototype : IPrototype
+public sealed partial class ExplosionPrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index bdf6f056dc9271b094629cc577aed9de39a56856..deb62c9b66c2364a6c48154deeafef1697480c0d 100644 (file)
@@ -3,7 +3,7 @@
 namespace Content.Shared.HUD
 {
     [Prototype("hudTheme")]
-    public sealed class HudThemePrototype : IPrototype
+    public sealed partial class HudThemePrototype : IPrototype
     {
         [DataField("name", required: true)]
         public string Name { get; private set; } = string.Empty;
index 41009f95c0ddbd6b7456a1a1af459989cb80592f..c9784728e79c3f9b6210d38b646e75f613fd10c7 100644 (file)
@@ -35,7 +35,7 @@ public sealed partial class MarkingPoints
 }
 
 [Prototype("markingPoints")]
-public sealed class MarkingPointsPrototype : IPrototype
+public sealed partial class MarkingPointsPrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = default!;
 
index 19cb1773c9c3d735e434112fe5ca3bbbfc26b44a..dfb594db5f94bbfd03339761b74db9d2023d1144 100644 (file)
@@ -4,7 +4,7 @@ using Robust.Shared.Utility;
 namespace Content.Shared.Humanoid.Markings
 {
     [Prototype("marking")]
-    public sealed class MarkingPrototype : IPrototype
+    public sealed partial class MarkingPrototype : IPrototype
     {
         [IdDataField]
         public string ID { get; private set; } = "uwu";
index 7755e3113c01bd6cd734ff59314d95dab2639f8e..bd023e2d21fe5c86f4a95df80d51a5a2829e2855 100644 (file)
@@ -4,7 +4,7 @@ using Robust.Shared.Prototypes;
 namespace Content.Shared.Humanoid.Prototypes;
 
 [Prototype("humanoidProfile")]
-public sealed class HumanoidProfilePrototype : IPrototype
+public sealed partial class HumanoidProfilePrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index b185a6a502c284534c10f87320098ca7ff241eb5..097dc9d466b0e8eab0141e0d31d7f2b9de27feca 100644 (file)
@@ -1,4 +1,3 @@
-using Content.Shared.Humanoid.Markings;
 using Robust.Shared.Prototypes;
 using Robust.Shared.Utility;
 
@@ -9,7 +8,7 @@ namespace Content.Shared.Humanoid.Prototypes;
 ///     or settings per layer)
 /// </summary>
 [Prototype("speciesBaseSprites")]
-public sealed class HumanoidSpeciesBaseSpritesPrototype : IPrototype
+public sealed partial class HumanoidSpeciesBaseSpritesPrototype : IPrototype
 {
      [IdDataField]
      public string ID { get; private set; } = default!;
@@ -30,7 +29,7 @@ public sealed class HumanoidSpeciesBaseSpritesPrototype : IPrototype
 ///     that sprite (or at least, the layer this sprite is on).
 /// </summary>
 [Prototype("humanoidBaseSprite")]
-public sealed class HumanoidSpeciesSpriteLayer : IPrototype
+public sealed partial class HumanoidSpeciesSpriteLayer : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index 907adc42dc20e2e6cb6ad8572530eb0993b889e9..ec6818221a9ac5c917d297525419e769af735468 100644 (file)
@@ -7,7 +7,7 @@ namespace Content.Shared.Humanoid.Prototypes;
 ///     This is what is used to change a humanoid spawned by RandomHumanoidSystem in Content.Server.
 /// </summary>
 [Prototype("randomHumanoidSettings")]
-public sealed class RandomHumanoidSettingsPrototype : IPrototype, IInheritingPrototype
+public sealed partial class RandomHumanoidSettingsPrototype : IPrototype, IInheritingPrototype
 {
     [IdDataField] public string ID { get; } = default!;
 
index 54c74e542fc7541634fc22ef90c9039c3997b0c3..a8dcea36f1b0f39492dbf088912f96023f9f21d0 100644 (file)
@@ -4,7 +4,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
 namespace Content.Shared.Humanoid.Prototypes;
 
 [Prototype("species")]
-public sealed class SpeciesPrototype : IPrototype
+public sealed partial class SpeciesPrototype : IPrototype
 {
     /// <summary>
     /// Prototype ID of the species.
index fcbe5dcf3049095b19310bfda57d97525152f0eb..a4779699629709d60a0c8f849cd9fb904394058c 100644 (file)
@@ -5,7 +5,7 @@ using Robust.Shared.Prototypes;
 namespace Content.Shared.Inventory;
 
 [Prototype("inventoryTemplate")]
-public sealed class InventoryTemplatePrototype : IPrototype
+public sealed partial class InventoryTemplatePrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = string.Empty;
 
index 3ee8e8ee4a80eb18b88dfef87971adbdede37e81..b0991b54605dbe9101b3b2f93fc89fde0f1ac1a1 100644 (file)
@@ -10,7 +10,7 @@ namespace Content.Shared.Kitchen
     ///    A recipe for space microwaves.
     /// </summary>
     [Prototype("microwaveMealRecipe")]
-    public sealed class FoodRecipePrototype : IPrototype
+    public sealed partial class FoodRecipePrototype : IPrototype
     {
         [ViewVariables]
         [IdDataField]
index eab373a4630c15fef621310f9702036c2680670a..f3a26a359f9d8a8194c96999471601dd1ac9ead6 100644 (file)
@@ -10,7 +10,7 @@ using Robust.Shared.Utility;
 namespace Content.Shared.Maps
 {
     [Prototype("tile")]
-    public sealed class ContentTileDefinition : IPrototype, IInheritingPrototype, ITileDefinition
+    public sealed partial class ContentTileDefinition : IPrototype, IInheritingPrototype, ITileDefinition
     {
         public const string SpaceID = "Space";
 
index cf1159947be84109c8e3cbf47bbe9aa184ae170e..905a2359d38b062e896ec7979e58ce6cea85da89 100644 (file)
@@ -9,7 +9,7 @@ namespace Content.Shared.Materials
     ///     Properties should be intrinsic (or at least as much is necessary for game purposes).
     /// </summary>
     [Prototype("material")]
-    public sealed class MaterialPrototype : IPrototype, IInheritingPrototype
+    public sealed partial class MaterialPrototype : IPrototype, IInheritingPrototype
     {
         [ViewVariables]
         [ParentDataField(typeof(AbstractPrototypeIdArraySerializer<MaterialPrototype>))]
index ea15aead2049b47c7bb65f76669546ac1564e762..a4f8a40a6f672ff52f9cdec5442e781ae9da90e0 100644 (file)
@@ -7,7 +7,7 @@ namespace Content.Shared.Mining;
 /// This is a prototype for defining ores that generate in rock
 /// </summary>
 [Prototype("ore")]
-public sealed class OrePrototype : IPrototype
+public sealed partial class OrePrototype : IPrototype
 {
     /// <inheritdoc/>
     [IdDataField]
index 82dce0cf3bcf486f68fb81700c2eda4e87831872..25c5616bad176db22148b0b108a199eca8a59954 100644 (file)
@@ -3,7 +3,7 @@
 namespace Content.Shared.NameIdentifier;
 
 [Prototype("nameIdentifierGroup")]
-public sealed class NameIdentifierGroupPrototype : IPrototype
+public sealed partial class NameIdentifierGroupPrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index 051836a5578363ca27b71bd3b9b25be95733eaad..cb77ae72711f08bf6558c0f524f82a7b8c9764ae 100644 (file)
@@ -3,7 +3,7 @@ using Robust.Shared.Prototypes;
 namespace Content.Shared.Nutrition;
 
 [Prototype("flavor")]
-public sealed class FlavorPrototype : IPrototype
+public sealed partial class FlavorPrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index 74a98f67f077207edf00c34e45f6b7bbe349b74f..b9fe40b1ba1826f74f8af302b6af066da107065d 100644 (file)
@@ -1,5 +1,4 @@
 using Content.Shared.Parallax.Biomes.Layers;
-using Robust.Shared.Noise;
 using Robust.Shared.Prototypes;
 
 namespace Content.Shared.Parallax.Biomes;
@@ -8,7 +7,7 @@ namespace Content.Shared.Parallax.Biomes;
 /// A preset group of biome layers to be used for a <see cref="BiomeComponent"/>
 /// </summary>
 [Prototype("biomeTemplate")]
-public sealed class BiomeTemplatePrototype : IPrototype
+public sealed partial class BiomeTemplatePrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = default!;
 
index 3b9aac97fd1b1c74f92f58fa64b38ea664a06b10..d1cfc7f8d4bb0dc3f9ec57426aa9b0996fd4323c 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.Players.PlayTimeTracking;
 /// Given to a role to specify its ID for role-timer tracking purposes. That's it.
 /// </summary>
 [Prototype("playTimeTracker")]
-public sealed class PlayTimeTrackerPrototype : IPrototype
+public sealed partial class PlayTimeTrackerPrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = default!;
 }
index 02f2aad1d4713fed1d92da8cc627819b478a9011..07a7000d63748b8acd381bc241a4070735b0ec81 100644 (file)
@@ -5,7 +5,7 @@ using Robust.Shared.Prototypes;
 namespace Content.Shared.Procedural;
 
 [Prototype("dungeonConfig")]
-public sealed class DungeonConfigPrototype : IPrototype
+public sealed partial class DungeonConfigPrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index 29ae933be6bb10fc81671af210540bba8e715c31..a143c3c8c054f6c606d176fb7806de69f447964e 100644 (file)
@@ -3,7 +3,7 @@ using Robust.Shared.Prototypes;
 namespace Content.Shared.Procedural;
 
 [Prototype("dungeonPreset")]
-public sealed class DungeonPresetPrototype : IPrototype
+public sealed partial class DungeonPresetPrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = default!;
 
index 20332271e3f7cfa6785a5b6587010b5b99fac0ee..8cd129d30a4985a263317ee9c84e24f75d263b4a 100644 (file)
@@ -3,7 +3,7 @@ using Robust.Shared.Prototypes;
 namespace Content.Shared.Procedural;
 
 [Prototype("dungeonRoomPack")]
-public sealed class DungeonRoomPackPrototype : IPrototype
+public sealed partial class DungeonRoomPackPrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = string.Empty;
index 2fc2bcc88094985277593b368eb4b7745f86d585..74fa4b36e3c7900a87b64d6e3ac4d3db8f502b38 100644 (file)
@@ -6,7 +6,7 @@ using Robust.Shared.Utility;
 namespace Content.Shared.Procedural;
 
 [Prototype("dungeonRoom")]
-public sealed class DungeonRoomPrototype : IPrototype
+public sealed partial class DungeonRoomPrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = string.Empty;
 
index ba684dfe435b227acc850505eee77849df6051e0..9e9c0d3e64f49733c75656e8d1848c0511c91cdc 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.Procedural.Loot;
 /// Spawned inside of a salvage mission.
 /// </summary>
 [Prototype("salvageLoot")]
-public sealed class SalvageLootPrototype : IPrototype
+public sealed partial class SalvageLootPrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = default!;
 
index 335bebde3f8424d4982d176e57d8a76382790171..6bf447fdc7eef25689b6fe7942b2a5da9803b592 100644 (file)
@@ -3,7 +3,7 @@ using Robust.Shared.Prototypes;
 namespace Content.Shared.Procedural;
 
 [Prototype("salvageDifficulty")]
-public sealed class SalvageDifficultyPrototype : IPrototype
+public sealed partial class SalvageDifficultyPrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = string.Empty;
 
index b8b862f61f1b56dbf190ef791b166e1c5eec79ba..cc65f885375cd19627c85b6bdc7024996ef3390e 100644 (file)
@@ -3,7 +3,7 @@ using Robust.Shared.Prototypes;
 namespace Content.Shared.Radio;
 
 [Prototype("radioChannel")]
-public sealed class RadioChannelPrototype : IPrototype
+public sealed partial class RadioChannelPrototype : IPrototype
 {
     /// <summary>
     /// Human-readable name for the channel.
@@ -30,7 +30,7 @@ public sealed class RadioChannelPrototype : IPrototype
     public string ID { get; } = default!;
 
     /// <summary>
-    /// If channel is long range it doesn't require telecommunication server 
+    /// If channel is long range it doesn't require telecommunication server
     /// and messages can be sent across different stations
     /// </summary>
     [DataField("longRange"), ViewVariables]
index 3d1e1ab1a18a08481b7250cd7ad0b991200b0b7f..6bbc3a68f8f56460be38761b16adaf0ba3f4c974 100644 (file)
@@ -12,7 +12,7 @@ namespace Content.Shared.Random;
 /// e.g. "choose maintenance audio if 90% of tiles nearby are maintenance tiles"
 /// </summary>
 [Prototype("rules")]
-public sealed class RulesPrototype : IPrototype
+public sealed partial class RulesPrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = string.Empty;
 
index 8a6f133d0954c7b9819a1ca81e4731ec8a3ff56c..48dc99799c0bb8f4944067a4f51cb1f9253a8972 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.Random;
 ///     Random weighting dataset for solutions, able to specify reagents quantity.
 /// </summary>
 [Prototype("weightedRandomFillSolution")]
-public sealed class WeightedRandomFillSolutionPrototype : IPrototype
+public sealed partial class WeightedRandomFillSolutionPrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = default!;
 
index 8dafad3dc59e06742b13ef7a1738fd5dc9ba1ef4..709a592cc1d5629b9aeb05b253c938cf560ec429 100644 (file)
@@ -8,7 +8,7 @@ using Robust.Shared.Utility;
 namespace Content.Shared.Research.Prototypes
 {
     [NetSerializable, Serializable, Prototype("latheRecipe")]
-    public sealed class LatheRecipePrototype : IPrototype
+    public sealed partial class LatheRecipePrototype : IPrototype
     {
         [ViewVariables]
         [IdDataField]
index 76eb8092add65ba2c1d661abad4c0fce7b0ed7f6..b48d8256b7310a70b99ae05fbf46feb917bc38b0 100644 (file)
@@ -8,7 +8,7 @@ namespace Content.Shared.Research.Prototypes;
 /// that governs how <see cref="TechnologyPrototype"/>s are unlocked.
 /// </summary>
 [Prototype("techDiscipline")]
-public sealed class TechDisciplinePrototype : IPrototype
+public sealed partial class TechDisciplinePrototype : IPrototype
 {
     /// <inheritdoc/>
     [IdDataField]
index 38000677a136375f7225cd481c4930c8a9a93b99..93b30772b592f9e4e8e7d2c5dc0ebf1f288891c9 100644 (file)
@@ -7,7 +7,7 @@ namespace Content.Shared.Research.Prototypes;
 /// This is a prototype for a technology that can be unlocked.
 /// </summary>
 [Prototype("technology")]
-public sealed class TechnologyPrototype : IPrototype
+public sealed partial class TechnologyPrototype : IPrototype
 {
     /// <inheritdoc/>
     [IdDataField]
index 91cb94050f9ca784ad7998167382dad6bd6760f1..c6acb9b75756b9581055c7c4616fbeedaf91bade 100644 (file)
@@ -8,7 +8,7 @@ namespace Content.Shared.Roles;
 /// </summary>
 [Prototype("antag")]
 [Serializable, NetSerializable]
-public sealed class AntagPrototype : IPrototype
+public sealed partial class AntagPrototype : IPrototype
 {
     [ViewVariables]
     [IdDataField]
index 55b20c4db4575b2658552bc771310b317a03d493..f91d1a43fd00febc880e4e5b1670bdc3ac988fed 100644 (file)
@@ -1,11 +1,10 @@
-using System.Linq;
 using Robust.Shared.Prototypes;
 using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
 
 namespace Content.Shared.Roles;
 
 [Prototype("department")]
-public sealed class DepartmentPrototype : IPrototype
+public sealed partial class DepartmentPrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = default!;
 
index b4733d0679ff65ac060ddc2554431d4d012111f7..64cd2c66439e9cff242e7018af62459e2df97758 100644 (file)
@@ -11,7 +11,7 @@ namespace Content.Shared.Roles
     ///     Describes information for a single job on the station.
     /// </summary>
     [Prototype("job")]
-    public sealed class JobPrototype : IPrototype
+    public sealed partial class JobPrototype : IPrototype
     {
         [ViewVariables]
         [IdDataField]
index 98e20fe53429b44b0c1a57ad5e976f4f86da7ecd..0d4122b6466e20223fdd1cb7aa960fe6dc7a5b11 100644 (file)
@@ -4,7 +4,7 @@ using Robust.Shared.Prototypes;
 namespace Content.Shared.Roles
 {
     [Prototype("startingGear")]
-    public sealed class StartingGearPrototype : IPrototype
+    public sealed partial class StartingGearPrototype : IPrototype
     {
         [DataField]
         public Dictionary<string, EntProtoId> Equipment = new();
index 717c21947bc3cc67fd75da02ae2340f6d112f2a4..c9f038e38f28fb54cd20f97fd11e423032d48579 100644 (file)
@@ -10,7 +10,7 @@ namespace Content.Shared.Salvage.Expeditions.Modifiers;
 /// Which one is selected depends on the mission difficulty, different weightedRandoms are picked from.
 /// </summary>
 [Prototype("salvageAirMod")]
-public sealed class SalvageAirMod : IPrototype, IBiomeSpecificMod
+public sealed partial class SalvageAirMod : IPrototype, IBiomeSpecificMod
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index fe806f2cd3c6ee5922599ef21fe181ac8e0982c1..1d4efbd18d3df2abfcc7b2fcca746f9b1ee1d4e4 100644 (file)
@@ -8,7 +8,7 @@ namespace Content.Shared.Salvage.Expeditions.Modifiers;
 /// Affects the biome to be used for salvage.
 /// </summary>
 [Prototype("salvageBiomeMod")]
-public sealed class SalvageBiomeModPrototype : IPrototype, ISalvageMod
+public sealed partial class SalvageBiomeModPrototype : IPrototype, ISalvageMod
 {
     [IdDataField] public string ID { get; } = default!;
 
index f86f7cfd3b68d8f54a7faa05fe8700d3ef9a7c8b..ee3233c551276031e5759ba46a1e64dfa02a4821 100644 (file)
@@ -6,7 +6,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
 namespace Content.Shared.Salvage.Expeditions.Modifiers;
 
 [Prototype("salvageDungeonMod")]
-public sealed class SalvageDungeonModPrototype : IPrototype, IBiomeSpecificMod
+public sealed partial class SalvageDungeonModPrototype : IPrototype, IBiomeSpecificMod
 {
     [IdDataField] public string ID { get; } = default!;
 
index cfdc6a2b76246c44fc3d95e6d64d125a109a6861..a7c38b258dd5a25e27f538f2525aa1d8303c4d8a 100644 (file)
@@ -4,7 +4,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
 namespace Content.Shared.Salvage.Expeditions.Modifiers;
 
 [Prototype("salvageLightMod")]
-public sealed class SalvageLightMod : IPrototype, IBiomeSpecificMod
+public sealed partial class SalvageLightMod : IPrototype, IBiomeSpecificMod
 {
     [IdDataField] public string ID { get; } = default!;
 
index 07c07b75c34766e9f7202a83f4c4feaa3a074abc..3cc4488684e25c88fe624e4940e419d38a549b20 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.Salvage.Expeditions.Modifiers;
 /// Generic modifiers with no additional data
 /// </summary>
 [Prototype("salvageMod")]
-public sealed class SalvageMod : IPrototype, ISalvageMod
+public sealed partial class SalvageMod : IPrototype, ISalvageMod
 {
     [IdDataField] public string ID { get; } = default!;
 
index bc3d5eb85124dc35b86f03f81266fa084dec8363..17e9af038f3d737049083ff886655fa08a8ff347 100644 (file)
@@ -1,11 +1,10 @@
 using Robust.Shared.Prototypes;
-using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
 using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
 
 namespace Content.Shared.Salvage.Expeditions.Modifiers;
 
 [Prototype("salvageTemperatureMod")]
-public sealed class SalvageTemperatureMod : IPrototype, IBiomeSpecificMod
+public sealed partial class SalvageTemperatureMod : IPrototype, IBiomeSpecificMod
 {
     [IdDataField] public string ID { get; } = default!;
 
index 89fc84c4168f41161892b15ffb33f04935329914..1629d02b088c3fde05429eaf0f92511a08af8bd9 100644 (file)
@@ -6,7 +6,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
 namespace Content.Shared.Salvage.Expeditions.Modifiers;
 
 [Prototype("salvageWeatherMod")]
-public sealed class SalvageWeatherMod : IPrototype, IBiomeSpecificMod
+public sealed partial class SalvageWeatherMod : IPrototype, IBiomeSpecificMod
 {
     [IdDataField] public string ID { get; } = default!;
 
index 9de6d5221b9f47aca7400a1140159e116e3bd4d8..4c594945f0d4610204bdc1e9fe83c83fa56c3a58 100644 (file)
@@ -1,11 +1,9 @@
-using Content.Shared.Salvage.Expeditions.Modifiers;
 using Robust.Shared.Prototypes;
-using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Dictionary;
 
 namespace Content.Shared.Salvage.Expeditions;
 
 [Prototype("salvageFaction")]
-public sealed class SalvageFactionPrototype : IPrototype
+public sealed partial class SalvageFactionPrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = default!;
 
index 4103e4dcb683b4227c75d55580d27f306a6f8cb5..41cf0f8807e280c54282da5e417e1e2254de316e 100644 (file)
@@ -4,7 +4,7 @@ using Robust.Shared.Prototypes;
 namespace Content.Shared.Speech
 {
     [Prototype("speechSounds")]
-    public sealed class SpeechSoundsPrototype : IPrototype
+    public sealed partial class SpeechSoundsPrototype : IPrototype
     {
         [ViewVariables]
         [IdDataField]
index cf468c44bc7a8b9907778c0a87e3cc26536de71c..7ed1705f115680484ee87d870142034c4240d3de 100644 (file)
@@ -1,5 +1,4 @@
 using Robust.Shared.Prototypes;
-using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
 
 namespace Content.Shared.Speech;
 
@@ -8,7 +7,7 @@ namespace Content.Shared.Speech;
 ///     on punctuation or by directly overriding the prototype.
 /// </summary>
 [Prototype("speechVerb")]
-public sealed class SpeechVerbPrototype : IPrototype
+public sealed partial class SpeechVerbPrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = default!;
 
index 06cde83f905d8623cfdb58bc5ef94e7c0f0d6581..24c28b8b7a75bfcb595bcad33996e922379ce6f7 100644 (file)
@@ -3,7 +3,7 @@ using Robust.Shared.Prototypes;
 namespace Content.Shared.SprayPainter.Prototypes;
 
 [Prototype("AirlockGroup")]
-public sealed class AirlockGroupPrototype : IPrototype
+public sealed partial class AirlockGroupPrototype : IPrototype
 {
     [IdDataField]
     public string ID { get; private set; } = default!;
index a1e31da3caa67202f19c560ecb76e18ee6358e8d..fee8f93a6d3c467a00e19475c419338d9a41d34b 100644 (file)
@@ -6,7 +6,7 @@ namespace Content.Shared.Spreader;
 /// Adds this node group to <see cref="Content.Server.Spreader.SpreaderSystem"/> for tick updates.
 /// </summary>
 [Prototype("edgeSpreader")]
-public sealed class EdgeSpreaderPrototype : IPrototype
+public sealed partial class EdgeSpreaderPrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = string.Empty;
     [DataField(required:true)] public int UpdatesPerSecond;
index 5d60364e209845fb675d939e91a7c342d3166e7a..28b7da8f2ae88ccdec9e820ae9a8accaf60e1546 100644 (file)
@@ -5,7 +5,7 @@ using Robust.Shared.Utility;
 namespace Content.Shared.Stacks;
 
 [Prototype("stack")]
-public sealed class StackPrototype : IPrototype
+public sealed partial class StackPrototype : IPrototype
 {
     [ViewVariables]
     [IdDataField]
index 9e13f69d20e110ac5daedcbb022284f199dc5b41..ae9e26879ebb991b69cda05d14f7ef7525578ebf 100644 (file)
@@ -4,7 +4,7 @@ using Robust.Shared.Prototypes;
 namespace Content.Shared.StatusEffect
 {
     [Prototype("statusEffect")]
-    public sealed class StatusEffectPrototype : IPrototype
+    public sealed partial class StatusEffectPrototype : IPrototype
     {
         [IdDataField]
         public string ID { get; private set; } = default!;
index b227cf82b585623d963195b822a488511610b765..2a06e22cf907e5a8d53407f3bc31fa2ed5c52e30 100644 (file)
@@ -8,7 +8,7 @@ namespace Content.Shared.Tag
     ///     gets saved in TagComponent.
     /// </summary>
     [Prototype("Tag")]
-    public sealed class TagPrototype : IPrototype
+    public sealed partial class TagPrototype : IPrototype
     {
         [ViewVariables]
         [IdDataField]
index 727a31738c3bfc55331547b3598ea41b2dbb8ef5..420644683e0c08301bd85d0505e88ca8b0630ab4 100644 (file)
@@ -5,7 +5,7 @@ using Robust.Shared.Utility;
 namespace Content.Shared.Tools
 {
     [Prototype("tool")]
-    public sealed class ToolQualityPrototype : IPrototype
+    public sealed partial class ToolQualityPrototype : IPrototype
     {
         [IdDataField]
         public string ID { get; private set; } = default!;
index f7ae6f9c71f2ced50169f88b1065ae8d889f123a..34feb8da22c37163ae618060ddb945449deafc9c 100644 (file)
@@ -1,7 +1,8 @@
 using Content.Shared.Whitelist;
 using Robust.Shared.Prototypes;
 using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
-using static Robust.Shared.Prototypes.EntityPrototype; // don't worry about it
+
+// don't worry about it
 
 namespace Content.Shared.Traits
 {
@@ -9,7 +10,7 @@ namespace Content.Shared.Traits
     ///     Describes a trait.
     /// </summary>
     [Prototype("trait")]
-    public sealed class TraitPrototype : IPrototype
+    public sealed partial class TraitPrototype : IPrototype
     {
         [ViewVariables]
         [IdDataField]
index 4869eae6dee57e38523af03bc19aac5000bd7a95..b8f1e2b13f894bb07521e2ce0a4fcb49cb36459c 100644 (file)
@@ -5,7 +5,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
 namespace Content.Shared.VendingMachines
 {
     [Serializable, NetSerializable, Prototype("vendingMachineInventory")]
-    public sealed class VendingMachineInventoryPrototype : IPrototype
+    public sealed partial class VendingMachineInventoryPrototype : IPrototype
     {
         [ViewVariables]
         [IdDataField]
index 121249752d203188ab7e4aedd708b0be5f7174bc..a5063e3ab5b656099a6a3dfc27d37462561852c4 100644 (file)
@@ -8,7 +8,7 @@ using Robust.Shared.Utility;
 namespace Content.Shared.Weapons.Ranged;
 
 [Prototype("hitscan")]
-public sealed class HitscanPrototype : IPrototype, IShootable
+public sealed partial class HitscanPrototype : IPrototype, IShootable
 {
     [ViewVariables]
     [IdDataField]
index e782d97e1566c6cb76c6b8cd88192c81b9c8f3f3..3803c37d4ce886ae0c4b429f40b491eba9bf04c0 100644 (file)
@@ -5,7 +5,7 @@ using Robust.Shared.Utility;
 namespace Content.Shared.Weather;
 
 [Prototype("weather")]
-public sealed class WeatherPrototype : IPrototype
+public sealed partial class WeatherPrototype : IPrototype
 {
     [IdDataField] public string ID { get; } = default!;