DayZ 1.24
|
Go to the source code of this file.
Classes | |
class | VicinityObjects |
objects in vicinity - extended with secondary object which is parent of that Object More... | |
class | ActionTargets |
class | ObjectGroup |
Variables | |
ref map< Object, Object > | m_VicinityObjects |
Object | m_Object |
Object | m_Parent |
int | m_ComponentIndex |
vector | m_CursorHitPos |
float | m_Utility |
class ActionTargets | ActionTarget |
class VicinityObjects ActionTarget | ( | Object | object, |
Object | parent, | ||
int | componentIndex, | ||
vector | cursorHitPos, | ||
float | utility ) |
Definition at line 1 of file ActionTargets.c.
|
private |
Definition at line 152 of file ActionTargets.c.
|
private |
Definition at line 196 of file ActionTargets.c.
void DbgPrintTargetDump | ( | ) |
string DumpToString | ( | ) |
Definition at line 150 of file ActionTargets.c.
int GetComponentIndex | ( | ) |
vector GetCursorHitPos | ( | ) |
Object GetObject | ( | ) |
Definition at line 118 of file ActionTargets.c.
References m_Object.
Referenced by Container::CanCombineAmmo(), Particle::CreateParticleEffect(), Container::EquipItem(), VicinityObjects::GetRawVicinityObjects(), VicinityObjects::GetVicinityObjects(), Container::IsItemActive(), Container::IsItemWithQuantityActive(), ParticleList::PreloadParticles(), Container::SplitItem(), Container::TransferItem(), and Container::TransferItemToVicinity().
returns VicinityObjects Key
Definition at line 185 of file ActionTargets.c.
returns VicinityObjects Element
Definition at line 191 of file ActionTargets.c.
References m_VicinityObjects.
float GetUtility | ( | ) |
return simple array of Objects in Vicinity
filters out non-takeable items (won't be shown in vicinity)
Definition at line 158 of file ActionTargets.c.
bool IsProxy | ( | ) |
Definition at line 124 of file ActionTargets.c.
References m_Parent.
Definition at line 206 of file ActionTargets.c.
Definition at line 201 of file ActionTargets.c.
Referenced by AttachmentCategoriesRow::RefreshSlot(), set< Class T >::RemoveItem(), array< Class T >::RemoveItemUnOrdered(), map< Class TKey, Class TValue >::ReplaceKey(), array< ref CallQueueContext >::Tick(), and CallQueue::Tick().
Definition at line 140 of file ActionTargets.c.
References m_CursorHitPos.
stores VicinityObject to Hashmap - for storing of parent/child relationship
completely remove items that are being placed or are holograms
ignores plain objects
init of VicinityObjects - object, parent(if exists)
Definition at line 118 of file ActionTargets.c.
transform simple array of Objects to VicinityObjects hashmap
Definition at line 140 of file ActionTargets.c.
|
private |
Definition at line 112 of file ActionTargets.c.
Referenced by ActionTargets::ActionTargets().
|
private |
Referenced by ActionManagerClient::CanPerformActionFromInventory(), ActionManagerClient::CanPerformActionFromQuickbar(), ActionManagerClient::CanSetActionFromInventory(), ActionManagerClient::FindActionTarget(), ActionManagerClient::ForceTarget(), UIScriptedMenu::HandleLights(), UIScriptedMenu::HandleNVG(), HandleReciveData(), ActionWorldCraft::HandleReciveData(), FirearmActionAttachMagazine::HandleReciveData(), FirearmActionAttachMagazineQuick::HandleReciveData(), OnCenterPanelDropReceived(), BotWaitForChangeInHands::OnEntry(), ActionManagerClient::PerformActionFromInventory(), ActionManagerClient::PerformActionFromQuickbar(), ManBase::PhysicalPredictiveDropItem(), FirearmActionAttachMagazineQuick::Post_SetupAction(), ManBase::PredictiveForceSwapEntities(), ManBase::PredictiveSwapEntities(), ManBase::PredictiveTakeEntityToHands(), ReadFromContext(), ManBase::ReloadWeapon(), InventoryActionHandler::SetAction(), ActionManagerClient::SetActionFromInventory(), SetupAction(), ActionManagerServer::Update(), CarHornShortActionInput::UpdatePossibleActions(), ToggleLightsActionInput::UpdatePossibleActions(), and ToggleNVGActionInput::UpdatePossibleActions().
|
private |
Definition at line 164 of file ActionTargets.c.
|
private |
Definition at line 165 of file ActionTargets.c.
Referenced by GetCursorHitPos(), and SetCursorHitPos().
|
private |
Definition at line 162 of file ActionTargets.c.
Referenced by GetObject().
|
private |
Definition at line 163 of file ActionTargets.c.
|
private |
Definition at line 166 of file ActionTargets.c.
Referenced by GetUtility().
Definition at line 110 of file ActionTargets.c.
Referenced by ActionTargets::ActionTargets(), ActionTargets::FilterObstructedObjects(), ActionTargets::FilterObstructedObjectsEx(), GetParent(), and ActionTargets::GetVicinityObjects().