147 {
148 InventoryLocation il = new InventoryLocation;
149 item.GetInventory().GetCurrentInventoryLocation( il );
150
152 #ifdef PLATFORM_CONSOLE
154 #else
156 #endif
158 {
160 if( data.param1 )
161 {
162 if( data.param2 !=
x || data.param3 !=
y )
163 {
166 #ifdef PLATFORM_CONSOLE
168 #endif
169 #ifdef PLATFORM_WINDOWS
170 data.param1.SetPosX( data.param2 );
171 data.param1.SetPosY( data.param3 );
172 #endif
173 }
174 data.param1.UpdateInterval();
175 }
176 }
178 }
ref map< EntityAI, ref Param3< ref Icon, int, int > > m_ShowedItemPositions
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