2022-08-04 01:52:08 -07:00
|
|
|
namespace Content.Server.Nutrition.Components
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Component that tags solution containers as trash when their contents have been emptied.
|
|
|
|
|
/// Used for things like used ketchup packets or used syringes.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent]
|
2023-10-31 21:39:12 +01:00
|
|
|
public sealed partial class TrashOnSolutionEmptyComponent : Component
|
2022-08-04 01:52:08 -07:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The name of the solution of which to check emptiness
|
|
|
|
|
/// </summary>
|
2022-11-16 20:22:11 +01:00
|
|
|
[DataField("solution")]
|
2022-08-04 01:52:08 -07:00
|
|
|
public string Solution { get; set; } = string.Empty;
|
|
|
|
|
}
|
|
|
|
|
}
|