1
0

DeleteOnSolutionEmptyComponent.cs 503 B

123456789101112131415
  1. namespace Content.Server.Chemistry.Components.DeleteOnSolutionEmptyComponent
  2. {
  3. /// <summary>
  4. /// Component that removes an item when a specific solution in it becomes empty.
  5. /// </summary>
  6. [RegisterComponent]
  7. public sealed partial class DeleteOnSolutionEmptyComponent : Component
  8. {
  9. /// <summary>
  10. /// The name of the solution of which to check emptiness
  11. /// </summary>
  12. [DataField("solution")]
  13. public string Solution = string.Empty;
  14. }
  15. }