Files
tbd-station-14/Content.Shared/Atmos/Components/SharedMapAtmosphereComponent.cs
2023-06-28 21:22:03 +10:00

23 lines
618 B
C#

using Content.Shared.Atmos.EntitySystems;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
namespace Content.Shared.Atmos.Components;
[NetworkedComponent]
public abstract class SharedMapAtmosphereComponent : Component
{
[ViewVariables] public SharedGasTileOverlaySystem.GasOverlayData OverlayData;
}
[Serializable, NetSerializable]
public sealed class MapAtmosphereComponentState : ComponentState
{
public SharedGasTileOverlaySystem.GasOverlayData Overlay;
public MapAtmosphereComponentState(SharedGasTileOverlaySystem.GasOverlayData overlay)
{
Overlay = overlay;
}
}