Fix warnings and code cleanup/fixes (#13570)

This commit is contained in:
Visne
2023-01-19 03:56:45 +01:00
committed by GitHub
parent 3ca5a0224b
commit c6d3e4f3bd
265 changed files with 499 additions and 666 deletions

View File

@@ -34,12 +34,11 @@ public sealed class StealthComponent : Component
/// <summary>
/// Last set level of visibility. The visual effect ranges from 1 (fully visible) and -1 (fully hidden). Values
/// outside of this range simply act as a buffer for the visual effect (i.e., a delay before turning invisible). To
/// get the actual current visibility, use <see cref="SharedStealthSystem.GetVisibility(EntityUid,
/// StealthComponent?)"/>
/// get the actual current visibility, use <see cref="SharedStealthSystem.GetVisibility(EntityUid, StealthComponent?)"/>
/// If you don't have anything else updating the stealth, this will just stay at a constant value, which can be useful.
/// </summary>
[DataField("lastVisibility")]
[Access(typeof(SharedStealthSystem), Other = AccessPermissions.None)]
[Access(typeof(SharedStealthSystem), Other = AccessPermissions.None)]
public float LastVisibility = 1;