using Content.Shared.Maps; using Robust.Shared.Noise; using Robust.Shared.Prototypes; using Robust.Shared.Serialization; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List; namespace Content.Shared.Parallax.Biomes.Layers; [Serializable, NetSerializable] public sealed class BiomeEntityLayer : IBiomeWorldLayer { /// [DataField("allowedTiles", customTypeSerializer:typeof(PrototypeIdListSerializer))] public List AllowedTiles { get; } = new(); [DataField("noise")] public FastNoiseLite Noise { get; } = new(0); /// [DataField("threshold")] public float Threshold { get; } = 0.5f; /// [DataField("invert")] public bool Invert { get; } = false; [DataField("entities", required: true, customTypeSerializer: typeof(PrototypeIdListSerializer))] public List Entities = new(); }