16 lines
459 B
C#
16 lines
459 B
C#
namespace Content.Shared.Decals
|
|
{
|
|
[RegisterComponent]
|
|
[Access(typeof(SharedDecalSystem))]
|
|
public sealed class DecalGridComponent : Component
|
|
{
|
|
[DataField("chunkCollection", serverOnly: true)]
|
|
public DecalGridChunkCollection ChunkCollection = new(new ());
|
|
|
|
public record DecalGridChunkCollection(Dictionary<Vector2i, Dictionary<uint, Decal>> ChunkCollection)
|
|
{
|
|
public uint NextUid;
|
|
}
|
|
}
|
|
}
|