Draw MapAtmosphere gasses (#17688)

This commit is contained in:
metalgearsloth
2023-06-28 21:22:03 +10:00
committed by GitHub
parent 2488dd4ecd
commit 44a3db398b
11 changed files with 250 additions and 81 deletions

View File

@@ -0,0 +1,22 @@
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;
}
}