См. определение в файле PlayerContainer.c строка 360
Перекрестные ссылки GetFocusedItem(), IsItemWithContainerActive() и IsItemWithQuantityActive().