SharedMapAtmosphereComponent.cs 626 B

12345678910111213141516171819202122
  1. using Content.Shared.Atmos.EntitySystems;
  2. using Robust.Shared.GameStates;
  3. using Robust.Shared.Serialization;
  4. namespace Content.Shared.Atmos.Components;
  5. [NetworkedComponent]
  6. public abstract partial class SharedMapAtmosphereComponent : Component
  7. {
  8. [ViewVariables] public SharedGasTileOverlaySystem.GasOverlayData OverlayData;
  9. }
  10. [Serializable, NetSerializable]
  11. public sealed class MapAtmosphereComponentState : ComponentState
  12. {
  13. public SharedGasTileOverlaySystem.GasOverlayData Overlay;
  14. public MapAtmosphereComponentState(SharedGasTileOverlaySystem.GasOverlayData overlay)
  15. {
  16. Overlay = overlay;
  17. }
  18. }