* Engine namespace changes.
* Automated remove redundant using statements.
* Simplified Graphics namespace.
* Apparently the container system stores full type names in the map file.😞 This updates those names.
* API Changes to LocalizationManager.LoadCulture.
* Update submodule to v0.3.2
36 lines
818 B
C#
36 lines
818 B
C#
using Content.Client.Eui;
|
|
using Content.Shared.Eui;
|
|
using JetBrains.Annotations;
|
|
using Content.Shared.Administration;
|
|
|
|
namespace Content.Client.UserInterface.AdminMenu.SetOutfit
|
|
{
|
|
[UsedImplicitly]
|
|
public sealed class SetOutfitEui : BaseEui
|
|
{
|
|
private readonly SetOutfitMenu _window;
|
|
public SetOutfitEui()
|
|
{
|
|
_window = new SetOutfitMenu();
|
|
}
|
|
|
|
public override void Opened()
|
|
{
|
|
_window.OpenCentered();
|
|
}
|
|
|
|
public override void Closed()
|
|
{
|
|
base.Closed();
|
|
_window.Close();
|
|
}
|
|
|
|
public override void HandleState(EuiStateBase state)
|
|
{
|
|
var outfitState = (SetOutfitEuiState) state;
|
|
_window.TargetEntityId = outfitState.TargetEntityId;
|
|
|
|
}
|
|
}
|
|
}
|