makes prototypeinheritance opt in
This commit is contained in:
@@ -20,10 +20,6 @@ namespace Content.Shared.GameObjects.Components.Body.Preset
|
||||
[field: DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
[ViewVariables]
|
||||
[field: DataField("parent")]
|
||||
public string? Parent { get; }
|
||||
|
||||
[DataField("partIDs")]
|
||||
private Dictionary<string, string> _partIDs = new();
|
||||
|
||||
|
||||
@@ -32,10 +32,6 @@ namespace Content.Shared.GameObjects.Components.Body.Template
|
||||
[field: DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
[ViewVariables]
|
||||
[field: DataField("parent")]
|
||||
public string? Parent { get; }
|
||||
|
||||
[ViewVariables]
|
||||
[field: DataField("name")]
|
||||
public string Name { get; } = string.Empty;
|
||||
|
||||
@@ -24,10 +24,6 @@ namespace Content.Shared.GameObjects.Components.Chemistry.ReagentDispenser
|
||||
[field: DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
[ViewVariables]
|
||||
[field: DataField("parent")]
|
||||
public string? Parent { get; }
|
||||
|
||||
public List<string> Inventory => _inventory;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#nullable enable
|
||||
#nullable enable
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Robust.Shared.GameObjects;
|
||||
@@ -81,10 +81,6 @@ namespace Content.Shared.GameObjects.Components
|
||||
[field: DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
[ViewVariables]
|
||||
[field: DataField("parent")]
|
||||
public string? Parent { get; }
|
||||
|
||||
[field: DataField("spritePath")] public string SpritePath { get; } = string.Empty;
|
||||
|
||||
[field: DataField("decals")] public List<string> Decals { get; } = new();
|
||||
|
||||
@@ -14,10 +14,6 @@ namespace Content.Shared.GameObjects.Components.Weapons.Melee
|
||||
[field: DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
[ViewVariables]
|
||||
[field: DataField("parent")]
|
||||
public string? Parent { get; }
|
||||
|
||||
[ViewVariables]
|
||||
[field: DataField("state")]
|
||||
public string State { get; } = string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user