Delta-v/Content.Shared/Shuttles/BUIStates
Pieter-Jan Briers f9c225df61
Refactor FTL time tracking code to fix a UI bug (#26538)
The FTL UI on the shuttle console would reset the FTL progress bar every time you open it. This is because the server only sends "time until completion", not a start/end time. The FTL code now uses a separate start/end time so the exact same progress bar can be preserved.

For convenience, I made a StartEndTime record struct that stores the actual tuple. This is now used by the code and has some helpers.

(cherry picked from commit 3b791459c74c6b56c8ae6204a936f6de06674b93)
2024-04-07 14:12:57 +02:00
..
DockingInterfaceState.cs Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
DockingPortState.cs Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
EmergencyConsoleBoundUserInterfaceState.cs Evac shuttle (#8931) 2022-06-26 15:20:45 +10:00
IFFConsoleBoundUserInterfaceState.cs IFF console (#10504) 2022-08-11 11:58:44 -05:00
NavBoundUserInterfaceState.cs Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
NavInterfaceState.cs Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
ShuttleBoundUserInterfaceState.cs Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
ShuttleMapInterfaceState.cs Refactor FTL time tracking code to fix a UI bug (#26538) 2024-04-07 14:12:57 +02:00