mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* IoC source gen compatibility Can be merged before or after https://github.com/space-wizards/RobustToolbox/pull/6549 doesn't really matter. * Missed a spot
22 lines
753 B
C#
22 lines
753 B
C#
using Content.Client.Chemistry.Components;
|
|
using Content.Client.Chemistry.UI;
|
|
using Content.Client.Items;
|
|
using Content.Shared.Chemistry.EntitySystems;
|
|
|
|
namespace Content.Client.Chemistry.EntitySystems;
|
|
|
|
/// <summary>
|
|
/// Wires up item status logic for <see cref="SolutionItemStatusComponent"/>.
|
|
/// </summary>
|
|
/// <seealso cref="SolutionStatusControl"/>
|
|
public sealed partial class SolutionItemStatusSystem : EntitySystem
|
|
{
|
|
[Dependency] private SharedSolutionContainerSystem _solutionContainerSystem = default!;
|
|
|
|
public override void Initialize()
|
|
{
|
|
base.Initialize();
|
|
Subs.ItemStatus<SolutionItemStatusComponent>(
|
|
entity => new SolutionStatusControl(entity, EntityManager, _solutionContainerSystem));
|
|
}
|
|
}
|