mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-23 00:27:50 +03:00
# 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.
18 lines
525 B
C#
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;
|
|
}
|