genericize ui fragments (#12810)

This commit is contained in:
Nemanja
2022-12-02 17:46:58 -05:00
committed by GitHub
parent d52cbdc18e
commit 64f57aceb2
8 changed files with 32 additions and 29 deletions

View File

@@ -0,0 +1,15 @@
namespace Content.Client.UserInterface.Fragments;
/// <summary>
/// The component used for defining a ui fragment to attach to an entity
/// </summary>
/// <remarks>
/// This is used primarily for PDA cartridges.
/// </remarks>
/// <seealso cref="UIFragment"/>
[RegisterComponent]
public sealed class UIFragmentComponent : Component
{
[DataField("ui", true)]
public UIFragment? Ui;
}