Files
wwdpublic/Content.Server/Silicon/Charge/Components/SiliconDownOnDeadComponent.cs
VMSolidus 4a542df160 IPC Refactor (#771)
# Description

IPCs were ported from a codebase that didn't necessarily follow all of
our repo's coding standards. And while I had done my part to cleanup as
much of the system as was practical within the bounds of a Maintainer
Review, there were a lot of things that I felt were inappropriate to
leave to review, and wished to go over with a fine lense. Thus, here is
my Refactor of IPC code.

Do not merge this without first testing that nothing was broken. Because
I haven't tested it myself yet.
2024-10-19 12:57:44 +07:00

18 lines
525 B
C#

namespace Content.Server.Silicon.Death;
/// <summary>
/// Marks a Silicon as becoming incapacitated when they run out of battery charge.
/// </summary>
/// <remarks>
/// Uses the Silicon System's charge states to do so, so make sure they're a battery powered Silicon.
/// </remarks>
[RegisterComponent]
public sealed partial class SiliconDownOnDeadComponent : Component
{
/// <summary>
/// Is this Silicon currently dead?
/// </summary>
[ViewVariables(VVAccess.ReadOnly)]
public bool Dead;
}