ReactiveContainerComponent.cs 624 B

123456789101112131415161718192021
  1. namespace Content.Shared.Chemistry.Components;
  2. /// <summary>
  3. /// Represents a container that also contains a solution.
  4. /// This means that reactive entities react when inserted into the container.
  5. /// </summary>
  6. [RegisterComponent]
  7. public sealed partial class ReactiveContainerComponent : Component
  8. {
  9. /// <summary>
  10. /// The container that holds the solution.
  11. /// </summary>
  12. [DataField(required: true)]
  13. public string Container = default!;
  14. /// <summary>
  15. /// The solution in the container.
  16. /// </summary>
  17. [DataField(required: true)]
  18. public string Solution = default!;
  19. }