Files
tbd-station-14/Content.Shared/Light/Components/RoofComponent.cs
2025-02-23 18:23:00 +11:00

22 lines
599 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Light.Components;
/// <summary>
/// Will draw shadows over tiles flagged as roof tiles on the attached grid.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class RoofComponent : Component
{
public const int ChunkSize = 8;
[DataField, AutoNetworkedField]
public Color Color = Color.Black;
/// <summary>
/// Chunk origin and bitmask of value in chunk.
/// </summary>
[DataField, AutoNetworkedField]
public Dictionary<Vector2i, ulong> Data = new();
}