Delta-v/Content.Server/Humanoid/Components/RandomHumanoidAppearanceCom...

14 lines
522 B
C#

using Content.Shared.Humanoid.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set;
namespace Content.Server.CharacterAppearance.Components;
[RegisterComponent]
public sealed class RandomHumanoidAppearanceComponent : Component
{
[DataField("randomizeName")] public bool RandomizeName = true;
[DataField("ignoredSpecies", customTypeSerializer: typeof(PrototypeIdHashSetSerializer<SpeciesPrototype>))]
public readonly HashSet<string> IgnoredSpecies = new();
}