* Replace usages of customTypeSerializer PrototypeIdListSerializer with something that doesn't take 20 separate words to type out * Missed one * Missed another * Fix data field ids
27 lines
774 B
C#
27 lines
774 B
C#
using Content.Shared.Maps;
|
|
using Robust.Shared.Noise;
|
|
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Parallax.Biomes.Layers;
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed partial class BiomeEntityLayer : IBiomeWorldLayer
|
|
{
|
|
/// <inheritdoc/>
|
|
[DataField]
|
|
public List<ProtoId<ContentTileDefinition>> AllowedTiles { get; private set; } = new();
|
|
|
|
[DataField("noise")] public FastNoiseLite Noise { get; private set; } = new(0);
|
|
|
|
/// <inheritdoc/>
|
|
[DataField("threshold")]
|
|
public float Threshold { get; private set; } = 0.5f;
|
|
|
|
/// <inheritdoc/>
|
|
[DataField("invert")] public bool Invert { get; private set; } = false;
|
|
|
|
[DataField(required: true)]
|
|
public List<EntProtoId> Entities = new();
|
|
}
|