using Robust.Shared.Map; using Robust.Shared.Map.Components; using Content.Shared.Singularity.Components; namespace Content.Server.Singularity.Events; /// /// Event raised on the event horizon entity whenever an event horizon consumes an entity. /// public sealed class TilesConsumedByEventHorizonEvent : EntityEventArgs { /// /// The tiles that the event horizon is consuming. /// Ripped directly from the relevant proc so the second element of each element will be what the tiles are going to be after the grid is updated; usually . /// public readonly IReadOnlyList<(Vector2i, Tile)> Tiles; /// /// The mapgrid that the event horizon is consuming tiles of. /// public readonly MapGridComponent MapGrid; /// /// The event horizon consuming the tiles. /// public readonly EventHorizonComponent EventHorizon; public TilesConsumedByEventHorizonEvent(IReadOnlyList<(Vector2i, Tile)> tiles, MapGridComponent mapGrid, EventHorizonComponent eventHorizon) { Tiles = tiles; MapGrid = mapGrid; EventHorizon = eventHorizon; } }