См. определение в файле QuantityConversions.c строка 143
Перекрестные ссылки Class::CastTo(), QUANTITY_COUNT, QUANTITY_HIDDEN и QUANTITY_PROGRESS.
Используется в SlotsIcon::CheckHasQuantity(), Icon::CheckHasQuantityEx(), ActionTargetsCursor::GetItemQuantity(), ScriptedWidgetEventHandler::GetItemQuantity(), InventoryGridController::HasItemQuantity(), Attachments::IsItemActive(), HandsContainer::IsItemActive(), Attachments::IsItemWithQuantityActive(), Container::IsItemWithQuantityActive(), HandsContainer::IsItemWithQuantityActive(), PlayerContainer::IsItemWithQuantityActive(), VicinitySlotsContainer::IsItemWithQuantityActive(), ZombieContainer::IsItemWithQuantityActive(), Icon::SetQuantity(), SlotsIcon::SetQuantity() и UIScriptedMenu::UpdateQuickbarItemCard().