69    {
   70        InventoryLocation il = new InventoryLocation;
   71        item.GetInventory().GetCurrentInventoryLocation( il );
   74        
   76        {
   81        }
   82        else
   83        {
   84            ref Icon icon = new Icon( this, false );
   88        }
   89        
   90        if (refresh)
   92        
   93        #ifdef PLATFORM_CONSOLE
   94        for ( 
int i = 0; i < 
m_Cargo.GetItemCount(); i++ )
 
   95        {
   98            if ( data )
   99            {
  100                data.param1.SetCargoPos( i );
  101                data.param1.SetPos();
  102            }
  103        }
  104        
  106        
  107        if (refresh)
  109        #endif
  110    }
ref array< ref Icon > m_Icons
int m_FocusedItemPosition
ref map< EntityAI, ref Param3< ref Icon, int, int > > m_ShowedItemPositions
Icon InitIconEx(Icon icon, EntityAI item, int pos_x, int pos_y, bool refresh=true)
proto native int GetCol()
returns column of cargo if current type is Cargo / ProxyCargo
proto native int GetRow()
returns row of cargo if current type is Cargo / ProxyCargo