using Content.Shared.Chemistry.EntitySystems;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
namespace Content.Shared.Chemistry.Components.SolutionManager;
///
/// Component used to relate a solution to its container.
///
///
/// When containers are finally ECS'd have this attach to the container entity.
/// The field should then be extracted out into this component.
/// Solution entities would just become an apporpriately composed entity hanging out in the container.
/// Will probably require entities in components being given a relation to associate themselves with their container.
///
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
[Access(typeof(SharedSolutionContainerSystem))]
public sealed partial class ContainedSolutionComponent : Component
{
///
/// The entity that the solution is contained in.
///
[DataField(required: true), AutoNetworkedField]
public EntityUid Container;
///
/// The name/key of the container the solution is located in.
///
[DataField(required: true), AutoNetworkedField]
public string ContainerName = default!;
}