* Add SmartFridge * my nit so pick * my access so expanded and my whitelist so both * list -> hashset
19 lines
455 B
C#
19 lines
455 B
C#
using Robust.Client.AutoGenerated;
|
|
using Robust.Client.UserInterface.Controls;
|
|
using Robust.Client.UserInterface.XAML;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Client.SmartFridge;
|
|
|
|
[GenerateTypedNameReferences]
|
|
public sealed partial class SmartFridgeItem : BoxContainer
|
|
{
|
|
public SmartFridgeItem(EntityUid uid, string text)
|
|
{
|
|
RobustXamlLoader.Load(this);
|
|
|
|
EntityView.SetEntity(uid);
|
|
NameLabel.Text = text;
|
|
}
|
|
}
|