* Power stuff - Add shared IsPowered - Add shared ResolveApc - Move PowerChangedEvent to shared for now - Add SlimPoweredLight that actually functions how you'd expect a PoweredLight to function it id didn't have a bunch of bloat on it. * big update * boing
8 lines
260 B
C#
8 lines
260 B
C#
namespace Content.Shared.Power;
|
|
|
|
/// <summary>
|
|
/// Raised whenever an ApcPowerReceiver becomes powered / unpowered.
|
|
/// Does nothing on the client.
|
|
/// </summary>
|
|
[ByRefEvent]
|
|
public readonly record struct PowerChangedEvent(bool Powered, float ReceivingPower); |