Dayz
1.11.153731
Dayz Code Explorer by Zeroy
|
Private Member Functions | |
proto native bool | CollidesWith (notnull InventoryLocation rhs) |
proto native bool | CompareLocationOnly (notnull InventoryLocation other) |
proto native InventoryLocation | Copy (notnull InventoryLocation rhs) |
proto native InventoryLocation | CopyLocationFrom (notnull InventoryLocation rhs, bool copyFlip) |
string | DumpToString () |
proto native int | GetCol () |
returns column of cargo if current type is Cargo / ProxyCargo More... | |
proto native void | GetDir (out float dir[4]) |
proto native bool | GetFlip () |
returns flip status of cargo More... | |
proto native int | GetIdx () |
returns index of cargo if current type is Cargo / ProxyCargo More... | |
proto native EntityAI | GetItem () |
returns item of current inventory location More... | |
proto native EntityAI | GetParent () |
returns parent of current inventory location More... | |
proto native vector | GetPos () |
returns position of item in world if type is Ground More... | |
proto native int | GetRow () |
returns row of cargo if current type is Cargo / ProxyCargo More... | |
proto native int | GetSlot () |
returns slot id if current type is Attachment More... | |
proto native int | GetType () |
returns type of InventoryLocation More... | |
proto native bool | IsValid () |
verify current set inventory location More... | |
bool | ReadFromContext (ParamsReadContext ctx) |
proto native void | Reset () |
proto native void | SetAttachment (notnull EntityAI parent, EntityAI e, int slotId) |
proto native void | SetCargo (notnull EntityAI parent, EntityAI e, int idx, int row, int col, bool flip) |
proto native void | SetCargoAuto (notnull CargoBase cargo, EntityAI e, int row, int col, bool flip) |
proto native void | SetCol (int col) |
proto native void | SetFlip (bool flip) |
proto native void | SetGround (EntityAI e, vector mat[4]) |
proto native void | SetGroundEx (EntityAI e, vector pos, float dir[4]) |
proto native void | SetHands (notnull EntityAI parent, EntityAI e) |
proto native void | SetIndex (int idx) |
proto native void | SetParent (notnull EntityAI parent) |
proto native void | SetProxyCargo (notnull EntityAI parent, EntityAI e, int idx, int row, int col, bool flip) |
proto native void | SetRow (int row) |
proto native void | SetSlot (int slotId) |
bool | WriteToContext (ParamsWriteContext ctx) |
Static Private Member Functions | |
static string | DumpToStringNullSafe (InventoryLocation loc) |
Definition at line 27 of file InventoryLocation.c.
|
private |
|
private |
|
private |
Referenced by DropEquipAndDestroyRootLambda::CopyOldPropertiesToNew(), InventoryItem::EEItemLocationChanged(), GameInventory::MakeDstForSwap(), GameInventory::MakeSrcAndDstForForceSwap(), HumanInventory::OnEntityInHandsCreated(), HumanInventory::OnEntityInHandsDestroyed(), ActionSawPlanks::OnFinishProgressServer(), SlotToAnimType(), HumanInventory::SwappingToPreviousLocation(), and MiscGameplayFunctions::TransferInventory().
|
private |
|
inlineprivate |
Definition at line 220 of file InventoryLocation.c.
References GetCol(), GetDir(), GetFlip(), GetIdx(), GetItem(), GetParent(), GetPos(), GetRow(), GetSlot(), and GetType().
Referenced by DumpToStringNullSafe().
|
inlinestaticprivate |
Definition at line 213 of file InventoryLocation.c.
References DumpToString().
Referenced by HandActionBase::Action(), HandEventBase::CheckRequestSrc(), CreateCopyOfItemInInventory(), DumpToString(), HandEventBase::DumpToString(), ReplaceItemWithNewLambdaBase::Execute(), HumanInventory::ForceSwapEntities(), HandGuardBase::GuardCondition(), HandleForceSwapEntities(), HandleRemoteItemManipulation(), HandleSwapEntities(), HandleTakeToDst(), HumanInventory::OnEntityInHandsCreated(), HumanInventory::OnEntityInHandsDestroyed(), ActionDigInStash::OnFinishProgressServer(), OnQuickBarSingleUse(), InventoryItem::OnRightClick(), GameInventory::OnServerInventoryCommandStatic(), ProccessInputData(), ReplaceItemWithNewLambdaBase::RemoveOldItemFromLocation(), SelectAnimationOfForceSwapInHands(), InventoryInputUserData::SendInputUserDataDestroy(), InventoryInputUserData::SendInputUserDataMove(), InventoryInputUserData::SendInputUserDataSwap(), SendServerHandEventViaJuncture(), InventoryInputUserData::SendServerMove(), InventoryInputUserData::SendServerSwap(), SetupAction(), HumanInventory::SwapEntities(), HumanInventory::TakeToDst(), TakeToDst(), EntityAI::TakeToDstImpl(), TryAcquireInventoryJunctureFromServer(), TryAcquireTwoInventoryJuncturesFromServer(), and ReplaceItemWithNewLambdaBase::UndoRemoveOldItemFromLocation().
|
private |
returns column of cargo if current type is Cargo / ProxyCargo
Referenced by Container::AddedToCargo(), GameInventory::CreateInInventory(), DumpToString(), Container::MovedInCargo(), InventoryItem::OnRightClick(), Container::SetLock(), and WriteToContext().
|
private |
Referenced by DumpToString(), ReplaceItemWithNewLambdaBase::PrepareLocations(), and WriteToContext().
|
private |
returns flip status of cargo
Referenced by GameInventory::CreateInInventory(), ContainerWithCargo::DropReceived(), ClosableContainer::DropReceived(), HandsContainer::DropReceived(), DumpToString(), InventoryItem::OnRightClick(), Container::SetLock(), and WriteToContext().
|
private |
returns index of cargo if current type is Cargo / ProxyCargo
Referenced by GameInventory::CreateInInventory(), DumpToString(), IsItemInCargoOfSomething(), InventoryItem::OnRightClick(), PumpkinHelmet::UpdateGlowState(), and WriteToContext().
|
private |
returns item of current inventory location
Item can be null if and only if this is a query for location of item that is about to be created (new spawn).
Referenced by HandEventSwap::CanPerformEvent(), HandEventBase::CheckAndExecuteForceStandUp(), CheckForRope(), ClearInventoryReservation(), HumanInventory::ClearUserReservedLocationAtIndexSynced(), DropNonUsableMaterialsServer(), DumpToString(), InventoryItem::EEItemLocationChanged(), GetSrcEntity(), HandGuardBase::GuardCondition(), HandleHandEvent(), HandleSwapEntities(), WeaponManager::InventoryReservation(), GameInventory::LocalDestroyEntity(), WeaponManager::OnInputUserDataProcess(), GameInventory::OnServerInventoryCommandStatic(), WeaponManager::OnWeaponActionEnd(), ProccessInputData(), RefreshReservations(), SendServerHandEventViaJuncture(), SlotToAnimType(), StaticConstructionMethods::SpawnConstructionMaterialPiles(), WeaponManager::StartPendingAction(), HumanInventory::Update(), and WriteToContext().
|
private |
returns parent of current inventory location
Parent entity can be null if item is on ground.
Referenced by Environment::ApplyDrynessToItem(), Environment::ApplyWetnessToItem(), CanAddAsShortcut(), WeaponManager::CanAttachMagazine(), GameInventory::CanSwapEntitiesEx(), WeaponManager::CanSwapMagazine(), GameInventory::CreateInInventory(), Icon::DoubleClick(), Icon::DropReceivedFromMain(), DumpToString(), InventoryItem::EEDelete(), GameInventory::EEInit(), InventoryItem::EEItemLocationChanged(), Weapon::IsRemoteWeapon(), PlayerContainer::OnDropReceivedFromGhostArea(), InventoryItem::OnRightClick(), EntityAI::PredictiveMoveItemFromHandsToInventory(), ReplaceItemWithNewLambdaBase::PrepareLocations(), HumanInventory::RedirectToHandEvent(), GameInventory::ReplaceItemWithNew(), ZombieContainer::Select(), PlayerContainer::Select(), SendServerHandEventViaJuncture(), SlotToAnimType(), PluginBase::SpawnEntityInInventory(), SplitItemUtils::TakeOrSplitToInventory(), WriteToContext(), and InventoryItem::~ItemBase().
|
private |
returns position of item in world if type is Ground
Referenced by ReplaceItemWithNewLambdaBase::CreateNewEntity(), DumpToString(), WeaponStateBase::OnAbort(), OnAbort(), WeaponStateBase::OnExit(), ReplaceItemWithNewLambdaBase::PrepareLocations(), SpawnEntityOnGroundPos(), and WriteToContext().
|
private |
returns row of cargo if current type is Cargo / ProxyCargo
Referenced by Container::AddedToCargo(), GameInventory::CreateInInventory(), DumpToString(), Container::MovedInCargo(), InventoryItem::OnRightClick(), Container::SetLock(), and WriteToContext().
|
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
Referenced by ActionAttachToConstruction::ActionCondition(), AttachmentCategoriesRow::CanCombine(), InventoryItemSuper::CanDetachAttachment(), GameInventory::CanForceSwapEntitiesEx(), CanReleaseAttachment(), GameInventory::CanSwapEntitiesEx(), AttachmentCategoriesRow::Combine(), CombineItemsClient(), GameInventory::CreateInInventory(), DestroyMaterialsServer(), ZombieContainer::DoubleClick(), DropNonUsableMaterialsServer(), DumpToString(), InventoryItem::EEDelete(), InventoryItem::EEItemLocationChanged(), GameInventory::GetCurrentAttachmentSlotInfo(), InventoryItem::GetQuantityMax(), ItemBase::GetSlotLockedState(), ItemBase::IsAttachmentSlotLocked(), IsLockedInSlot(), ItemBase::LockAttachmentSlot(), LockServer(), Icon::MouseClick(), PlayerContainer::MoveContainerDown(), PlayerContainer::MoveContainerUp(), AttachmentCategoriesRow::OnDropReceivedFromHeader(), WeaponStateBase::OnEntry(), BotStateBase::OnEntry(), ActionTakeHybridAttachment::OnExecuteClient(), ActionTakeItem::OnExecuteClient(), ActionAttachPowerSourceToPanel::OnExecuteImpl(), ActionTakeHybridAttachment::OnExecuteServer(), ActionTakeItem::OnExecuteServer(), OnFinishProgressServer(), BotStateBase::OnUpdate(), HumanInventory::RedirectToHandEvent(), AttachmentCategoriesRow::Select(), Attachments::Select(), SetLockOnAttachedMaterials(), SlotToAnimType(), StaticConstructionMethods::SpawnConstructionMaterialPiles(), PluginBase::SpawnEntityInInventory(), HumanInventory::SwappingToPreviousLocation(), ClosableContainer::TakeAsAttachment(), EntityAI::TakeEntityToTargetAttachmentImpl(), TakeMaterialsServer(), SplitItemUtils::TakeOrSplitToInventory(), PlayerContainer::ToggleContainer(), UnlockServer(), ItemBase::UpdateAttachmentSlot(), UpdateCookingStateOnStick(), PumpkinHelmet::UpdateGlowState(), WriteToContext(), and InventoryItem::~ItemBase().
|
private |
returns type of InventoryLocation
Referenced by ActionTurnOffWhileOnGround::ActionCondition(), ActionTurnOnWhileOnGround::ActionCondition(), GameInventory::CreateInInventory(), ReplaceItemWithNewLambdaBase::CreateNewEntity(), ItemBase::CreateRope(), Icon::DoubleClick(), DraggingOverCenterPanel(), HumanInventory::DropEntity(), Icon::DropReceivedFromMain(), DumpToString(), InventoryItem::EEDelete(), GameInventory::EEInit(), InventoryItem::EEItemLocationChanged(), HumanInventory::ForceSwapEntities(), GameInventory::GetCurrentAttachmentSlotInfo(), ItemBase::GetViewIndex(), GetViewIndex(), GameInventory::IsAttachment(), GameInventory::IsInCargo(), Weapon::IsRemoteWeapon(), IsSwapBetweenHandsAndGroundLargeItem(), HumanInventory::LocalDestroyEntity(), GameInventory::LocalDestroyEntity(), OnCenterPanelDropReceived(), WeaponStateBase::OnEntry(), BotStateBase::OnUpdate(), PredictiveForceSwapEntities(), ReplaceItemWithNewLambdaBase::PrepareLocations(), HumanInventory::RedirectToHandEvent(), HumanInventory::ReplaceItemInElsewhereWithNewinHandsImpl(), HumanInventory::ReplaceItemInHandsWithNewImpl(), GameInventory::ReplaceItemWithNew(), ItemManager::ShowSourceDropzone(), SlotToAnimType(), InventoryItem::SplitItem(), HumanInventory::SwapEntities(), HumanInventory::SwappingToPreviousLocation(), HumanInventory::TakeEntityAsAttachmentEx(), HumanInventory::TakeEntityToCargoEx(), SplitItemUtils::TakeOrSplitToInventory(), HumanInventory::ThrowEntity(), WriteToContext(), and InventoryItem::~ItemBase().
|
private |
verify current set inventory location
Referenced by CanReleaseAttachment(), VicinitySlotsContainer::DoubleClick(), DraggingOverCenterPanel(), ContainerWithCargo::DraggingOverGrid(), ContainerWithCargo::DropReceived(), ClosableContainer::DropReceived(), HandsContainer::DropReceived(), HandGuardBase::GuardCondition(), PlayerContainer::MoveContainerDown(), PlayerContainer::MoveContainerUp(), WeaponStateBase::OnAbort(), OnAbort(), OnCenterPanelDropReceived(), HandStartAction::OnEntry(), WeaponStateBase::OnExit(), WeaponManager::OnInputUserDataProcess(), GameInventory::OnServerInventoryCommandStatic(), EntityAI::PredictiveMoveItemFromHandsToInventory(), ProccessInputData(), SendServerHandEventViaJuncture(), InventoryItem::SplitItem(), and VicinitySlotsContainer::TransferItem().
|
inlineprivate |
Definition at line 276 of file InventoryLocation.c.
References Error(), Serializer::Read(), SetAttachment(), SetCargo(), SetGroundEx(), SetHands(), and SetProxyCargo().
Referenced by HandleRemoteItemManipulation(), WeaponManager::OnInputUserDataProcess(), GameInventory::OnServerInventoryCommandStatic(), ProccessInputData(), FirearmActionDetachMagazine_Old::ReadFromContext(), WeaponEventBase::ReadFromContext(), HandEventBase::ReadFromContext(), FirearmActionDetachMagazine::ReadFromContext(), and HandEventDrop::ReadFromContext().
|
private |
Referenced by InventoryItem::EEItemLocationChanged(), and EOnContact().
Referenced by CoverHeadOfTargetPlayerLambda::CoverHeadOfTargetPlayerLambda(), FoldBandanaToSlotLambda::FoldBandanaToSlotLambda(), WeaponStateBase::OnEntry(), WeaponManager::OnInputUserDataProcess(), OnUpdate(), ReadFromContext(), HumanInventory::TakeEntityAsAttachmentEx(), and GameInventory::TakeEntityAsTargetAttachmentEx().
|
private |
Referenced by Icon::DraggingOver(), ContainerWithCargo::DraggingOverGrid(), ContainerWithCargo::DropReceived(), ClosableContainer::DropReceived(), AttachmentCategoriesRow::DropReceived(), HandsContainer::DropReceived(), Icon::DropReceivedFromMain(), PredictiveTakeEntityToTargetCargoEx(), and GameInventory::TakeEntityToTargetCargoEx().
|
private |
|
private |
Referenced by ChainedDropAndKillPlayerLambda(), DestroyItemInCorpsesHandsAndCreateNewOnGndLambda::DestroyItemInCorpsesHandsAndCreateNewOnGndLambda(), DropNonUsableMaterialsServer(), FireplaceToIndoorOvenLambda(), FireplaceToIndoorsLambda(), DayZPlayerUtils::HandleDropMagazine(), ActionUncoverHeadSelf::OnFinishProgressServer(), ActionUncoverHeadTarget::OnFinishProgressServer(), InventoryItem::OnRightClick(), PredictiveDropEntity(), ReplaceItemWithNewLambdaBase::PrepareLocations(), SpawnEntityOnGround(), and SpawnEntityOnGroundPos().
Referenced by ActionManagerClient::ActionManagerClient(), CommandHandlerDebug(), EmoteManager(), HandEventBase::GetDst(), HandEvent(), ActionManagerClient::HasHandInventoryReservation(), InventoryReservation(), ActionDeployObject::OnEndServer(), ActionTakeItemToHands::OnExecute(), OnQuickBarSingleUse(), WeaponManager::OnWeaponActionEnd(), ReadFromContext(), RepackLambda::RepackLambda(), RestrainTargetPlayerLambda(), SetEmoteLockState(), EntityAI::TakeEntityToHandsImpl(), and UngagSelfLambda::UngagSelfLambda().
|
private |
|
private |
Referenced by MiscGameplayFunctions::TransferInventory().
|
private |
Referenced by ReadFromContext().
|
private |
|
private |
|
inlineprivate |
Definition at line 392 of file InventoryLocation.c.
References Error(), GetCol(), GetDir(), GetFlip(), GetIdx(), GetItem(), GetParent(), GetPos(), GetRow(), GetSlot(), GetType(), and Serializer::Write().
Referenced by InventoryItem::OnRightClick(), OptionalLocationWriteToContext(), ProccessInputData(), WeaponManager::Synchronize(), and WeaponEventBase::WriteToContext().