using Robust.Shared.Collections;
using Robust.Shared.Map;
using Robust.Shared.Map.Components;
namespace Content.Server.Spreader;
///
/// Raised when trying to spread to neighboring tiles.
/// If the spread is no longer able to happen you MUST cancel this event!
///
[ByRefEvent]
public record struct SpreadNeighborsEvent
{
public ValueList<(MapGridComponent Grid, TileRef Tile)> NeighborFreeTiles;
public ValueList Neighbors;
///
/// How many updates allowed are remaining.
/// Subscribers can handle as they wish.
///
public int Updates;
}