Delta-v/Content.Shared/Atmos/Piping/Components/AtmosDeviceEnabledEvent.cs

14 lines
600 B
C#

namespace Content.Shared.Atmos.Piping.Components;
/// <summary>
/// <para>Raised directed on an AtmosDeviceComponent when it has been added to
/// a GridAtmosphereComponent.
/// This can occur when it has been requested manually or when the device has been anchored.</para>
///
/// <para>You can use this to cache specific information about the grid the device is on,
/// though be careful with caching references to objects that can be removed or changed at any time
/// (such as <see cref="GasMixture"/>s).</para>
/// </summary>
[ByRefEvent]
public readonly record struct AtmosDeviceEnabledEvent;