1608 {
1609 if (object.CanProxyObstruct())
1610 {
1613 if (cache.HitProxyObjects)
1614 {
1615 if (cache.HitProxyObjects.Count() > 0)
1616 {
1617 if (cache.HitProxyObjects[0].hierLevel > 0)
1618 {
1619
1620 if (!cache.HitProxyObjects[0].parent.IsMan())
1621 {
1622 if (cache.HitProxyObjects[0].parent)
1623 {
1626 if (proxyInventory && proxyInventory.
GetCargo())
1627 return true;
1628 }
1629 }
1630 }
1631 }
1632 }
1633 }
1634 return false;
1635 }
static proto bool RaycastRVProxy(notnull RaycastRVParams in, out notnull array< ref RaycastRVResult > results, array< Object > excluded=null)
proto native CargoBase GetCargo()
cargo
script counterpart to engine's class Inventory