Files
OldThink/Content.Server/Configurable/ConfigurationComponent.cs

17 lines
588 B
C#
Raw Normal View History

2021-06-09 22:19:39 +02:00
using Content.Shared.Configurable;
using Content.Shared.Tools;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
2022-03-31 18:22:38 +13:00
namespace Content.Server.Configurable;
2022-03-31 18:22:38 +13:00
[RegisterComponent]
[ComponentReference(typeof(SharedConfigurationComponent))]
public sealed class ConfigurationComponent : SharedConfigurationComponent
{
[DataField("config")]
public readonly Dictionary<string, string> Config = new();
2022-03-31 18:22:38 +13:00
[DataField("qualityNeeded", customTypeSerializer: typeof(PrototypeIdSerializer<ToolQualityPrototype>))]
public string QualityNeeded = "Pulsing";
}