DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ GetSlotLockedState()

bool ItemBase::GetSlotLockedState ( )
inlineprotected

См. определение в файле BarbedWire.c строка 53

54 {
55 BaseBuildingBase base_building = BaseBuildingBase.Cast( GetHierarchyParent() );
56 if ( base_building )
57 {
58 InventoryLocation inventory_location = new InventoryLocation;
59 GetInventory().GetCurrentInventoryLocation( inventory_location );
60 return base_building.GetInventory().GetSlotLock( inventory_location.GetSlot() );
61 }
62
63 return false;
64 }
proto native int GetSlot()
returns slot id if current type is Attachment
void BaseBuildingBase()
Определения BaseBuildingBase.c:39

Перекрестные ссылки BaseBuildingBase() и InventoryLocation::GetSlot().

Используется в AfterStoreLoad() и IsMounted().