Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
VicinityObjects Class Reference

objects in vicinity - extended with secondary object which is parent of that Object More...

Private Member Functions

void VicinityObjects ()
void ClearVicinityObjects ()
int Count ()
Object GetObject (int i)
 returns VicinityObjects Key
Object GetParent (int i)
 returns VicinityObjects Element
array< ObjectGetRawVicinityObjects ()
 return simple array of Objects in Vicinity
array< ObjectGetVicinityObjects ()
 return simple array of Objects in Vicinity
void Remove (array< Object > objects)
void Remove (Object object)
void StoreVicinityObject (Object object, Object parent=null)
 stores VicinityObject to Hashmap - for storing of parent/child relationship
void TransformToVicinityObjects (array< Object > objects)
 transform simple array of Objects to VicinityObjects hashmap

Private Attributes

ref map< Object, Objectm_VicinityObjects

Detailed Description

objects in vicinity - extended with secondary object which is parent of that Object

Definition at line 2 of file actiontargets.c.

Constructor & Destructor Documentation

◆ VicinityObjects()

void VicinityObjects ( )
inlineprivate

Definition at line 6 of file actiontargets.c.

References m_VicinityObjects.

Member Function Documentation

◆ ClearVicinityObjects()

void ClearVicinityObjects ( )
inlineprivate

Definition at line 46 of file actiontargets.c.

References m_VicinityObjects.

◆ Count()

int Count ( )
inlineprivate

Definition at line 92 of file actiontargets.c.

References m_VicinityObjects.

◆ GetObject()

Object GetObject ( int i)
inlineprivate

returns VicinityObjects Key

Definition at line 81 of file actiontargets.c.

References m_VicinityObjects.

◆ GetParent()

Object GetParent ( int i)
inlineprivate

returns VicinityObjects Element

Definition at line 87 of file actiontargets.c.

References m_VicinityObjects.

◆ GetRawVicinityObjects()

array< Object > GetRawVicinityObjects ( )
inlineprivate

return simple array of Objects in Vicinity

Definition at line 69 of file actiontargets.c.

References GetObject(), and m_VicinityObjects.

◆ GetVicinityObjects()

array< Object > GetVicinityObjects ( )
inlineprivate

return simple array of Objects in Vicinity

filters out non-takeable items (won't be shown in vicinity)

Definition at line 52 of file actiontargets.c.

References GetObject(), ItemBase::IsTakeable(), and m_VicinityObjects.

◆ Remove() [1/2]

void Remove ( array< Object > objects)
inlineprivate

Definition at line 102 of file actiontargets.c.

References m_VicinityObjects.

◆ Remove() [2/2]

void Remove ( Object object)
inlineprivate

Definition at line 97 of file actiontargets.c.

References m_VicinityObjects.

◆ StoreVicinityObject()

void StoreVicinityObject ( Object object,
Object parent = null )
inlineprivate

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 12 of file actiontargets.c.

References m_VicinityObjects.

Referenced by TransformToVicinityObjects().

◆ TransformToVicinityObjects()

void TransformToVicinityObjects ( array< Object > objects)
inlineprivate

transform simple array of Objects to VicinityObjects hashmap

Definition at line 34 of file actiontargets.c.

References CanBeActionTarget(), GetType(), and StoreVicinityObject().

Field Documentation

◆ m_VicinityObjects


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/classes/useractionscomponent/actiontargets.c