From 2205fef06a36193a990b67e2908124f831099209 Mon Sep 17 00:00:00 2001 From: Vera Aguilera Puerto Date: Tue, 3 Aug 2021 14:26:34 +0200 Subject: [PATCH] Document a few atmos classes. --- Content.Server/Atmos/Components/GasTankComponent.cs | 1 - Content.Server/Atmos/Components/GridAtmosphereComponent.cs | 3 ++- Content.Server/Atmos/EntitySystems/AtmosphereSystem.cs | 3 +++ Content.Server/Atmos/TileAtmosphere.cs | 2 ++ 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Content.Server/Atmos/Components/GasTankComponent.cs b/Content.Server/Atmos/Components/GasTankComponent.cs index 2d0f7105b8..c8fdcb815e 100644 --- a/Content.Server/Atmos/Components/GasTankComponent.cs +++ b/Content.Server/Atmos/Components/GasTankComponent.cs @@ -1,4 +1,3 @@ -#nullable disable warnings using System; using Content.Server.Atmos.EntitySystems; using Content.Server.Body.Respiratory; diff --git a/Content.Server/Atmos/Components/GridAtmosphereComponent.cs b/Content.Server/Atmos/Components/GridAtmosphereComponent.cs index fedac5c2dd..76840c37c2 100644 --- a/Content.Server/Atmos/Components/GridAtmosphereComponent.cs +++ b/Content.Server/Atmos/Components/GridAtmosphereComponent.cs @@ -14,13 +14,14 @@ using Dependency = Robust.Shared.IoC.DependencyAttribute; namespace Content.Server.Atmos.Components { /// - /// This is our SSAir equivalent. + /// Internal Atmos class. Use to interact with atmos instead. /// [ComponentReference(typeof(IAtmosphereComponent))] [RegisterComponent, Serializable] public class GridAtmosphereComponent : Component, IAtmosphereComponent, ISerializationHooks { public override string Name => "GridAtmosphere"; + public virtual bool Simulated => true; [ViewVariables] diff --git a/Content.Server/Atmos/EntitySystems/AtmosphereSystem.cs b/Content.Server/Atmos/EntitySystems/AtmosphereSystem.cs index 8588417ad2..90d482e39a 100644 --- a/Content.Server/Atmos/EntitySystems/AtmosphereSystem.cs +++ b/Content.Server/Atmos/EntitySystems/AtmosphereSystem.cs @@ -8,6 +8,9 @@ using Robust.Shared.Map; namespace Content.Server.Atmos.EntitySystems { + /// + /// This is our SSAir equivalent, if you need to interact with or query atmos in any way, go through this. + /// [UsedImplicitly] public partial class AtmosphereSystem : SharedAtmosphereSystem { diff --git a/Content.Server/Atmos/TileAtmosphere.cs b/Content.Server/Atmos/TileAtmosphere.cs index d64a9bdd35..49447e012a 100644 --- a/Content.Server/Atmos/TileAtmosphere.cs +++ b/Content.Server/Atmos/TileAtmosphere.cs @@ -1,3 +1,4 @@ +using Content.Server.Atmos.EntitySystems; using Content.Shared.Atmos; using Content.Shared.Maps; using Robust.Shared.Map; @@ -8,6 +9,7 @@ namespace Content.Server.Atmos { /// /// Internal Atmos class that stores data about the atmosphere in a grid. + /// You shouldn't use this directly, use instead. /// public class TileAtmosphere : IGasMixtureHolder {