#pragma once #include "UI/ViewModels/UiViewCommon.h" /** One suit inventory cell (DESIGN_UE.md 6.1: 24 slots). ItemId NAME_None = empty. */ struct FDescentPdaItem { FName ItemId; FString Name; int32 Count = 0; }; /** PDA > INVENTORY: the 24-cell grid, the equipment column (O2 tank slot and the greyed weapon slot) and the selected item's text. */ struct FDescentPdaViewModel { TArray Slots; // up to 24, row-major, 6 per row int32 Selected = -1; FDescentPdaItem O2Tank; // the equipped tank (NAME_None = none) FString WeaponCaption = TEXT("NOT LICENSED"); // the weapon slot is shown greyed (V11); it never holds anything yet FString SelectedName; FString SelectedDesc; TFunction OnSelect; TFunction OnAssignHotbar; // 1..9 pressed while the inventory tab is open };