Remove redundant read-only VV from datafields (#12626)

This commit is contained in:
DrSmugleaf
2022-11-16 20:22:11 +01:00
committed by GitHub
parent fb892cb374
commit 7fbc2608e8
179 changed files with 171 additions and 462 deletions

View File

@@ -12,15 +12,12 @@ namespace Content.Shared.Body.Components;
[Access(typeof(SharedBodySystem))]
public sealed class BodyComponent : Component, IDraggable
{
[ViewVariables]
[DataField("prototype", customTypeSerializer: typeof(PrototypeIdSerializer<BodyPrototype>))]
public readonly string? Prototype;
[ViewVariables]
[DataField("root")]
public BodyPartSlot Root = default!;
[ViewVariables]
[DataField("gibSound")]
public SoundSpecifier GibSound = new SoundCollectionSpecifier("gib");