См. определение в файле CASingleUseQuantity.c строка 25
Перекрестные ссылки CalcAndSetQuantity(), ActionData::m_Player, UA_ERROR и UA_FINISHED.