Microwave UX enhancements (#24547)
* Facelift Microwave UI Includes new background light in UI, Uses predictive input, UI now properly disables buttons when microwave is active * Microwave now shows Elapsed time * Fixed bad formatting * Added new term for "BottomMargin" * Change yellow color * Update StyleNano.cs just spacing fixed * Cook time countdown now detached from server Instead of the server constantly sending out messages for the cook countdown, it is now predicted client side using TimeSpan * Update MicrowaveMenu.xaml forgot to re-add item space
This commit is contained in:
@@ -54,13 +54,16 @@ namespace Content.Shared.Kitchen.Components
|
||||
public int ActiveButtonIndex;
|
||||
public uint CurrentCookTime;
|
||||
|
||||
public TimeSpan CurrentCookTimeEnd;
|
||||
|
||||
public MicrowaveUpdateUserInterfaceState(NetEntity[] containedSolids,
|
||||
bool isMicrowaveBusy, int activeButtonIndex, uint currentCookTime)
|
||||
bool isMicrowaveBusy, int activeButtonIndex, uint currentCookTime, TimeSpan currentCookTimeEnd)
|
||||
{
|
||||
ContainedSolids = containedSolids;
|
||||
IsMicrowaveBusy = isMicrowaveBusy;
|
||||
ActiveButtonIndex = activeButtonIndex;
|
||||
CurrentCookTime = currentCookTime;
|
||||
CurrentCookTimeEnd = currentCookTimeEnd;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user