Files
tbd-station-14/Content.Client
ShadowCommander e2bf127323 Move ApcPowerReceiverComponent Powered state to shared (#28206)
* Try syncing powered state to client

For some reason the client is not receiving the ApcPowerReceiverComponentState, so it's not working.

* Fix powered state not syncing to client

The client PowerReceiverSystem was abstract, which prevented it from
running initialize.

* Flip check so that it runs bigger checks first

PowerDisabled skips the others.
NeedsPower skips the receiving check.

* Disallow changing Powered manually

* Move Powered update to PowerReceiverSystem

* Move appearance to event subscription

* Move metadata component to AllEntityQuery

* Cleanup

* Move Powered update back to PowerNetSystem

It's easier to use the EntityQueries and it dosen't need to be updated
anywhere else.

* Put appearance updating back

* Move IsPowered to shared

* Simplify IsPowered

* Cleanup

* Remove duplicate PowerChangedEvent

PowerChangedEvent on ProviderChanged doesn't seem to be needed
PowerChangedEvent gets raised by in update if the power state changes
after a new provider is connected
2024-05-30 16:46:22 +10:00
..
2024-05-02 12:40:07 +10:00
2024-04-01 19:29:13 +11:00
2023-09-28 20:48:50 +10:00
2024-03-03 18:39:19 +11:00
2024-02-01 11:33:10 +11:00
2024-04-09 18:18:07 -04:00
2023-11-27 22:12:34 +11:00
2023-09-11 19:18:06 +10:00
2024-01-05 15:11:26 +11:00
2023-11-14 19:23:40 -07:00
2024-04-25 11:31:45 +10:00
2024-04-28 21:38:23 -07:00
2024-04-21 23:16:23 +10:00
2024-04-30 16:49:35 +10:00
2024-02-16 16:52:31 -07:00
2024-03-24 03:34:56 +11:00
2023-10-24 10:23:56 -04:00
2024-02-29 17:25:10 +11:00
2024-05-25 16:09:52 -04:00
2024-03-19 14:30:56 +11:00
2024-04-16 22:57:43 +10:00
2024-05-29 00:05:40 -04:00
2023-09-22 15:01:05 -05:00
2023-10-01 16:46:09 -04:00
2024-02-16 16:52:31 -07:00
2024-02-01 19:30:07 +11:00
2024-05-12 17:07:54 +02:00
2023-12-27 12:42:15 -08:00
2024-03-19 14:30:56 +11:00
2023-11-03 22:53:51 -07:00
2024-04-21 23:16:23 +10:00
2023-11-27 22:12:34 +11:00