22 lines
599 B
C#
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();
|
|
}
|