См. определение в файле Attachments.c строка 213
Перекрестные ссылки ActionManagerClient::CanPerformActionFromInventory(), Class::CastTo(), GetFocusedItem(), GetGame(), GetPlayer() и m_player.