Files
tbd-station-14/Content.Shared/Silicons/Laws/SiliconLawEditEuiState.cs
Simon 4c4cdb5b06 UI to edit silicon laws from admin verb (#28483)
* UI to edit silicon laws from admin verb

(peak shitcode)

* Improve UI

* Use Moderator admin flag

* Reviews
2024-08-09 16:16:22 +10:00

30 lines
716 B
C#

using Content.Shared.Eui;
using Robust.Shared.Serialization;
namespace Content.Shared.Silicons.Laws;
[Serializable, NetSerializable]
public sealed class SiliconLawsEuiState : EuiStateBase
{
public List<SiliconLaw> Laws { get; }
public NetEntity Target { get; }
public SiliconLawsEuiState(List<SiliconLaw> laws, NetEntity target)
{
Laws = laws;
Target = target;
}
}
[Serializable, NetSerializable]
public sealed class SiliconLawsSaveMessage : EuiMessageBase
{
public List<SiliconLaw> Laws { get; }
public NetEntity Target { get; }
public SiliconLawsSaveMessage(List<SiliconLaw> laws, NetEntity target)
{
Laws = laws;
Target = target;
}
}