перенос файлов клиента из папки White в _White
This commit is contained in:
22
Content.Client/_White/Economy/Ui/VendingItem.xaml.cs
Normal file
22
Content.Client/_White/Economy/Ui/VendingItem.xaml.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using Robust.Client.AutoGenerated;
|
||||
using Robust.Client.Graphics;
|
||||
using Robust.Client.UserInterface;
|
||||
using Robust.Client.UserInterface.XAML;
|
||||
|
||||
namespace Content.Client._White.Economy.Ui;
|
||||
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class VendingItem : Control
|
||||
{
|
||||
public VendingItem(string itemName, string price, Texture? texture = null)
|
||||
{
|
||||
RobustXamlLoader.Load(this);
|
||||
|
||||
VendingItemName.Text = itemName;
|
||||
|
||||
VendingItemBuyButton.Text = price;
|
||||
// VendingItemBuyButton.Disabled = !canBuy;
|
||||
|
||||
VendingItemTexture.Texture = texture;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user