Make more fields VV-writeable (#21754)

This commit is contained in:
LordEclipse
2023-11-19 15:17:53 -05:00
committed by GitHub
parent 808555ade6
commit f3df6b85af
13 changed files with 28 additions and 28 deletions

View File

@@ -43,7 +43,7 @@ namespace Content.Server.Atmos.Components
/// <summary>
/// Whether the entity is immuned to pressure (i.e possess the PressureImmunity component)
/// </summary>
[ViewVariables]
[ViewVariables(VVAccess.ReadWrite)]
public bool HasImmunity = false;
}

View File

@@ -6,7 +6,7 @@ namespace Content.Server.Forensics
[RegisterComponent]
public sealed partial class FingerprintComponent : Component
{
[DataField("fingerprint")]
[DataField("fingerprint"), ViewVariables(VVAccess.ReadWrite)]
public string? Fingerprint;
}
}

View File

@@ -21,7 +21,7 @@ public sealed partial class GatewayComponent : Component
/// <summary>
/// Can the gateway be interacted with? If false then only settable via admins / mappers.
/// </summary>
[DataField]
[DataField, ViewVariables(VVAccess.ReadWrite)]
public bool Interactable = true;
/// <summary>