#pragma once #include "UI/ViewModels/UiViewCommon.h" /** One queued piece group in the refinery (DESIGN_UE.md 6.5). */ struct FDescentRefineryEntry { FName OreId; // ferrite, cobalt, pearl int32 Count = 0; }; /** Refinery window: queue, progress of the piece in the furnace, the hopper and the output counts. */ struct FDescentRefineryViewModel { TArray Queue; int32 QueueLimit = 12; FName CurrentOre; // NAME_None = idle float Progress = 0.f; // 0..1 of the current piece float SecondsLeft = 0.f; FString HopperText = TEXT("Carry an ore box to the hopper and press E"); int32 Ingots = 0; int32 Wafers = 0; int32 Lattices = 0; bool bStorageFull = false; };