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

◆ GetSlot()

proto native int InventoryLocation::GetSlot ( )
private

returns slot id if current type is Attachment

@NOTE: slot id is related to order of entries in DZ/data/config.cpp secton CfgSlots

Возвращает
slot id if attachment, -1 otherwise

Используется в ActionLockAttachment::ActionCondition(), ActionRefuelTorch::ActionCondition(), ActionRepairCarPart::ActionCondition(), ActionRepairMotorbikePart::ActionCondition(), AttachmentCategoriesRow::CanCombine(), InventoryItemSuper::CanDetachAttachment(), LayoutHolder::CanEquipEx(), GameInventory::CanForceSwapEntitiesEx(), Car::CanReleaseAttachment(), Entity::CanReleaseAttachment(), GameInventory::CanSwapEntitiesEx(), ManBase::CheckAndExecuteStackSplitToInventoryLocation(), Entity::CheckAttachmentReceiveExclusion(), Entity::ClearExclusionValueRecursive(), AttachmentCategoriesRow::Combine(), GameInventory::CreateInInventory(), DestroyMaterialsServer(), ZombieContainer::DoubleClick(), DumpToString(), EEDelete(), EEItemLocationChanged(), ActionAttachToConstruction::FindAndTranslateAttachmentSlot(), ItemManager::GetCombinationFlags(), GameInventory::GetCurrentAttachmentSlotInfo(), Shemag_ColorBase::GetProtectionLevel(), GetQuantityMax(), ItemBase::GetSlotLockedState(), ItemBase::IsAttachmentSlotLocked(), Entity::IsExclusionFlagPresentRecursive(), Entity::IsLockedInSlot(), Entity::IsSlotReserved(), ItemBase::LockAttachmentSlot(), LockServer(), LockToParent(), Icon::MouseClick(), Container::MoveContainerDown(), Container::MoveContainerUp(), PluginBase::MoveItemToCorrectPosition(), AttachmentCategoriesRow::OnDropReceivedFromHeader(), WeaponStateBase::OnEntry(), ActionTakeArrow::OnExecute(), ActionTakeHybridAttachment::OnExecute(), ActionTakeItem::OnExecute(), ActionRemoveSeed::OnExecuteClient(), ActionAttachPowerSourceToPanel::OnExecuteImpl(), OnFinishProgressServer(), CachedEquipmentStorage::ProcessAttachments(), CachedEquipmentStorage::ProcessCargo(), Entity::PropagateExclusionValueRecursive(), HumanInventory::RedirectToHandEvent(), AttachmentCategoriesRow::Select(), Attachments::Select(), SetLockOnAttachedMaterials(), SetQuantity(), SetupAction(), SlotToAnimType(), StaticConstructionMethods::SpawnConstructionMaterialPilesEx(), PluginBase::SpawnEntityInPlayerInventory(), HumanInventory::SwappingToPreviousLocation(), ClosableContainer::TakeAsAttachment(), EntityAI::TakeEntityToTargetAttachmentImpl(), TakeMaterialsServer(), SplitItemUtils::TakeOrSplitToInventory(), PlayerContainer::ToggleContainer(), UnlockFromParent(), DigitalCodeLock::UnlockOnServer(), UnlockOnServer(), ItemBase::UpdateAttachmentSlot(), UpdateConsoleToolbar(), PumpkinHelmet::UpdateGlowState(), EntityLightSource::UpdateMode(), CachedEquipmentStorageBase::UpdateParents(), WriteToContext() и ~ItemBase().