Blame Rider for it that always works.
This commit is contained in:
@@ -13,11 +13,11 @@ namespace Content.Shared.Prototypes.Tag
|
|||||||
/// gets saved in TagComponent.
|
/// gets saved in TagComponent.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("Tag")]
|
[Prototype("Tag")]
|
||||||
public class TagPrototype : IPrototype, IIndexedPrototype, IExposeData
|
public class TagPrototype : IPrototype, IIndexedPrototype
|
||||||
{
|
{
|
||||||
public string ID { get; [UsedImplicitly] private set; } = default!;
|
public string ID { get; [UsedImplicitly] private set; } = default!;
|
||||||
|
|
||||||
void IExposeData.ExposeData(ObjectSerializer serializer)
|
private void ExposeData(ObjectSerializer serializer)
|
||||||
{
|
{
|
||||||
serializer.DataField(this, x => x.ID, "id", "");
|
serializer.DataField(this, x => x.ID, "id", "");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user