Files

33 lines
672 B
C#
Raw Permalink Normal View History

2024-02-16 13:22:43 +03:00
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface;
2024-02-17 19:03:07 +03:00
using Robust.Client.UserInterface.Controls;
2024-02-16 13:22:43 +03:00
using Robust.Client.UserInterface.XAML;
namespace Content.Client._Amour.HumanoidProfileEditorExt;
[GenerateTypedNameReferences]
public sealed partial class GenitalBoxView : Control
{
public GenitalBoxView()
{
RobustXamlLoader.Load(this);
2024-02-17 19:03:07 +03:00
2024-02-16 13:22:43 +03:00
}
public void AddChild(Control control)
{
Container.AddChild(control);
}
public void ClearChilds()
{
Container.RemoveAllChildren();
}
2024-02-17 19:03:07 +03:00
public void OnExide(Action<BaseButton.ButtonEventArgs> action)
{
Exide.OnPressed += action;
}
2024-02-16 13:22:43 +03:00
}