Files
crystall-punk-14/Content.Shared/Atmos/Components/SharedMapAtmosphereComponent.cs

23 lines
626 B
C#
Raw Permalink Normal View History

2023-06-28 21:22:03 +10:00
using Content.Shared.Atmos.EntitySystems;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
namespace Content.Shared.Atmos.Components;
[NetworkedComponent]
public abstract partial class SharedMapAtmosphereComponent : Component
2023-06-28 21:22:03 +10:00
{
[ViewVariables] public SharedGasTileOverlaySystem.GasOverlayData OverlayData;
}
[Serializable, NetSerializable]
public sealed class MapAtmosphereComponentState : ComponentState
{
public SharedGasTileOverlaySystem.GasOverlayData Overlay;
public MapAtmosphereComponentState(SharedGasTileOverlaySystem.GasOverlayData overlay)
{
Overlay = overlay;
}
}