// Frontier: cherry-pick upstream#35075
using Content.Shared.Storage.EntitySystems;
using Robust.Shared.Analyzers;
using Robust.Shared.GameStates;
namespace Content.Shared.Storage.Components;
///
/// Attached to an actor to keep track of which storages it's opened in which order in order to close inventories on a LIFO basis if a new one past the limit is opened
///
[RegisterComponent, Access(typeof(SharedStorageSystem)), AutoGenerateComponentState, NetworkedComponent]
public sealed partial class RecentlyOpenedStoragesComponent : Component
{
///
/// A list of lists of entities whose storages this actor has opened. Nested inventories (e.g. folder in a briefcase) belong to the same sublist.
///
[DataField, ViewVariables, AutoNetworkedField]
public List> OpenedStorages = new();
}
// End Frontier: cherry-pick upstream#35075