Files
tbd-station-14/Content.Shared/Tiles/ProtectedGridComponent.cs
Nemanja 6f809d1ad6 Allow protected grids to be repaired (#36989)
* Allow protected grids to be repaired

* Probably implement it

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2025-05-17 11:54:27 +10:00

18 lines
515 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Tiles;
/// <summary>
/// Prevents floor tile updates when attached to a grid.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
[Access(typeof(ProtectedGridSystem))]
public sealed partial class ProtectedGridComponent : Component
{
/// <summary>
/// A bitmask of all the initial tiles on this grid.
/// </summary>
[DataField, AutoNetworkedField]
public Dictionary<Vector2i, ulong> BaseIndices = new();
}