Files
OldThink/Content.Client/_Amour/HumanoidProfileEditorExt/GenitalBoxView.xaml.cs
2024-02-17 19:03:07 +03:00

33 lines
672 B
C#

using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.XAML;
namespace Content.Client._Amour.HumanoidProfileEditorExt;
[GenerateTypedNameReferences]
public sealed partial class GenitalBoxView : Control
{
public GenitalBoxView()
{
RobustXamlLoader.Load(this);
}
public void AddChild(Control control)
{
Container.AddChild(control);
}
public void ClearChilds()
{
Container.RemoveAllChildren();
}
public void OnExide(Action<BaseButton.ButtonEventArgs> action)
{
Exide.OnPressed += action;
}
}