2023-03-22 20:29:55 +11:00
|
|
|
using Robust.Shared.GameStates;
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Tiles;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Prevents floor tile updates when attached to a grid.
|
|
|
|
|
/// </summary>
|
2025-05-16 21:54:27 -04:00
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
|
|
|
[Access(typeof(ProtectedGridSystem))]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class ProtectedGridComponent : Component
|
2023-03-22 20:29:55 +11:00
|
|
|
{
|
2025-05-16 21:54:27 -04:00
|
|
|
/// <summary>
|
|
|
|
|
/// A bitmask of all the initial tiles on this grid.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField, AutoNetworkedField]
|
|
|
|
|
public Dictionary<Vector2i, ulong> BaseIndices = new();
|
2023-03-22 20:29:55 +11:00
|
|
|
}
|