20 lines
614 B
C#
20 lines
614 B
C#
using Robust.Client.AutoGenerated;
|
|
using Robust.Client.UserInterface.Controls;
|
|
using Robust.Client.UserInterface.XAML;
|
|
|
|
namespace Content.Client.UserInterface.Systems.Inventory.Widgets;
|
|
|
|
[GenerateTypedNameReferences]
|
|
public sealed partial class InventoryGui : UIWidget
|
|
{
|
|
public InventoryGui()
|
|
{
|
|
RobustXamlLoader.Load(this);
|
|
|
|
var inventoryUIController = UserInterfaceManager.GetUIController<InventoryUIController>();
|
|
inventoryUIController.RegisterInventoryBarContainer(InventoryHotbar);
|
|
|
|
LayoutContainer.SetGrowVertical(this, LayoutContainer.GrowDirection.Begin);
|
|
}
|
|
}
|