Add setoutfit command (#2874)

* Add setoutfit command

* Adds setoutfit as a verb and adds a proper UI to the command

* Removes from AdminMenuWindow

* Changes the SetOutfit verb to be a component verb instead of a global verb

* Addresses reviews

* Remove empty method

* Remove on server aswell
This commit is contained in:
Leo
2021-01-08 10:29:08 -03:00
committed by GitHub
parent 6eeaa58988
commit 8eb96cfb01
9 changed files with 378 additions and 9 deletions

View File

@@ -0,0 +1,17 @@
<customControls:SS14Window
xmlns:customControls="clr-namespace:Robust.Client.UserInterface.CustomControls;assembly=Robust.Client"
xmlns:controls="clr-namespace:Robust.Client.UserInterface.Controls;assembly=Robust.Client"
xmlns:userInterface="clr-namespace:Robust.Client.UserInterface;assembly=Robust.Client">
<controls:HBoxContainer SizeFlagsHorizontal="FillExpand">
<controls:VBoxContainer SizeFlagsHorizontal="FillExpand" SizeFlagsStretchRatio="0.45">
<controls:HBoxContainer SizeFlagsHorizontal="FillExpand" SizeFlagsVertical="FillExpand"
SizeFlagsStretchRatio="0.1">
<controls:LineEdit Name="SearchBar" PlaceHolder="Search" SizeFlagsHorizontal="FillExpand"
SizeFlagsStretchRatio="0.6" />
</controls:HBoxContainer>
<controls:ItemList Name="OutfitList" SelectMode="Single" SizeFlagsVertical="FillExpand"
SizeFlagsStretchRatio="0.9" />
<controls:Button Name="ConfirmButton" SizeFlagsHorizontal="FillExpand" />
</controls:VBoxContainer>
</controls:HBoxContainer>
</customControls:SS14Window>