Re-organize all projects (#4166)
This commit is contained in:
18
Content.Shared/Dataset/DatasetPrototype.cs
Normal file
18
Content.Shared/Dataset/DatasetPrototype.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
#nullable enable
|
||||
using System.Collections.Generic;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
using Robust.Shared.ViewVariables;
|
||||
|
||||
namespace Content.Shared.Dataset
|
||||
{
|
||||
[Prototype("dataset")]
|
||||
public class DatasetPrototype : IPrototype
|
||||
{
|
||||
[ViewVariables]
|
||||
[DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
[DataField("values")] public IReadOnlyList<string> Values { get; } = new List<string>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user