405 {
406 if (MemoryPointExists("invView2"))
407 {
408 InventoryLocation il = new InventoryLocation();
409 GetInventory().GetCurrentInventoryLocation(il);
411
413 {
414 switch (type)
415 {
417 return 1;
418 default:
419 return 0;
420 }
421 }
422 else
423 {
424 switch (type)
425 {
428 return 1;
429 default:
430 return 0;
431 }
432 }
433 }
434
435 return 0;
436 }
InventoryLocationType
types of Inventory Location
proto native int GetType()
returns type of InventoryLocation