mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
* mass clean up
(cherry picked from commit 12bb873b02c1ef50e20763542b030452cc0613da)
* Revert "Centrifuge buff (#393)"
This reverts commit 2a59a18230.
(cherry picked from commit 9ee495ab4bb365e1ccd3dc627ecb55114fea6944)
* Shoving merge conflict
* fix rich traitor
* fix test
* yml
* fix test
* fix test
* ohh
27 lines
714 B
C#
27 lines
714 B
C#
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.UserInterface;
|
|
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class IntrinsicUIComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// List of UIs and their actions that this entity has.
|
|
/// </summary>
|
|
[DataField("uis", required: true)] public Dictionary<Enum, IntrinsicUIEntry> UIs = new();
|
|
}
|
|
|
|
[DataDefinition]
|
|
public sealed partial class IntrinsicUIEntry
|
|
{
|
|
[DataField("toggleAction", required: true)]
|
|
public EntProtoId? ToggleAction;
|
|
|
|
/// <summary>
|
|
/// The action used for this BUI.
|
|
/// </summary>
|
|
[ViewVariables] // WD EDIT
|
|
public EntityUid? ToggleActionEntity = new();
|
|
}
|