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

@@ -58,7 +58,6 @@ public sealed class BlockingComponent : Component
/// <summary>
/// The sound to be played when you get hit while actively blocking
/// </summary>
[ViewVariables]
[DataField("blockSound")]
public SoundSpecifier BlockSound = new SoundPathSpecifier("/Audio/Weapons/block_metal1.ogg");
}

View File

@@ -12,11 +12,9 @@ public sealed class BlockingUserComponent : Component
/// <summary>
/// The entity that's being used to block
/// </summary>
[ViewVariables]
[DataField("blockingItem")]
public EntityUid? BlockingItem;
[ViewVariables]
[DataField("modifiers")]
public DamageModifierSet Modifiers = default!;
@@ -24,7 +22,6 @@ public sealed class BlockingUserComponent : Component
/// Stores the entities original bodytype
/// Used so that it can be put back to what it was after anchoring
/// </summary>
[ViewVariables]
[DataField("originalBodyType")]
public BodyType OriginalBodyType;