using System; using System.Collections.Generic; using UnityEngine; namespace SLZ.Marrow.Warehouse { [Serializable] public class MarrowQuery { [Tooltip("Matches if contains ALL listed tags")] [SerializeField] private List _tags = new List(); public List Tags { get => _tags; set => _tags = value; } [Tooltip("Sets the operator between Tags/Crates")] [SerializeField] private LogicOperator _operator = LogicOperator.And; public LogicOperator TagCrateOperator { get => _operator; set => _operator = value; } [Tooltip("Matches if is any listed crates")] [SerializeField] private List _crates = new List(); public List Crates { get => _crates; set => _crates = value; } public enum LogicOperator { And = 0, Or = 1 } } }