returns index of cargo if current type is Cargo / ProxyCargo
Используется в GameInventory::CreateInInventory(), DumpToString(), IsItemInCargoOfSomething(), OnRightClick(), PumpkinHelmet::UpdateGlowState() и WriteToContext().