Serv3 rework content changes (#7145)
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
using Content.Shared.Stacks;
|
||||
using Robust.Shared.Maths;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
using Robust.Shared.Utility;
|
||||
using Robust.Shared.ViewVariables;
|
||||
|
||||
namespace Content.Shared.Materials
|
||||
{
|
||||
@@ -16,15 +13,15 @@ namespace Content.Shared.Materials
|
||||
public sealed class MaterialPrototype : IPrototype, IInheritingPrototype
|
||||
{
|
||||
[ViewVariables]
|
||||
[DataField("parent")]
|
||||
[ParentDataField(typeof(PrototypeIdSerializer<MaterialPrototype>))]
|
||||
public string? Parent { get; } = null;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("abstract")]
|
||||
[AbstractDataFieldAttribute]
|
||||
public bool Abstract { get; } = false;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("id", required: true)]
|
||||
[IdDataFieldAttribute]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
[ViewVariables]
|
||||
|
||||
Reference in New Issue
Block a user