Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
actiontargets.c File Reference

Go to the source code of this file.

Data Structures

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

Functions

class VicinityObjects ActionTarget (Object object, Object parent, int componentIndex, vector cursorHitPos, float utility)
 
void VicinityObjects ()
 
void StoreVicinityObject (Object object, Object parent=null)
 stores VicinityObject to Hashmap - for storing of parent/child relationship More...
 
void TransformToVicinityObjects (array< Object > objects)
 transform simple array of Objects to VicinityObjects hashmap More...
 
void ClearVicinityObjects ()
 
array< ObjectGetVicinityObjects ()
 return simple array of Objects in Vicinity More...
 
array< ObjectGetRawVicinityObjects ()
 return simple array of Objects in Vicinity More...
 
Object GetObject (int i)
 returns VicinityObjects Key More...
 
Object GetParent (int i)
 returns VicinityObjects Element More...
 
int Count ()
 
void Remove (Object object)
 
void Remove (array< Object > objects)
 
Object GetObject ()
 
Object GetParent ()
 Get parent of the Effect. More...
 
bool IsProxy ()
 
int GetComponentIndex ()
 
float GetUtility ()
 
vector GetCursorHitPos ()
 
void SetCursorHitPos (vector cursor_position)
 
void DbgPrintTargetDump ()
 
string DumpToString ()
 

Variables

private ref map< Object, Objectm_VicinityObjects
 
private Object m_Object
 
private Object m_Parent
 
private int m_ComponentIndex
 
private vector m_CursorHitPos
 
private float m_Utility
 
class ActionTargets ActionTarget
 

Function Documentation

◆ ActionTarget()

class VicinityObjects ActionTarget ( Object  object,
Object  parent,
int  componentIndex,
vector  cursorHitPos,
float  utility 
)

Definition at line 113 of file actiontargets.c.

◆ ClearVicinityObjects()

void ActionTarget::ClearVicinityObjects ( )

Definition at line 44 of file actiontargets.c.

◆ Count()

int ActionTarget::Count ( )

Definition at line 90 of file actiontargets.c.

◆ DbgPrintTargetDump()

void DbgPrintTargetDump ( )

Definition at line 149 of file actiontargets.c.

◆ DumpToString()

string DumpToString ( )

Definition at line 154 of file actiontargets.c.

◆ GetComponentIndex()

int GetComponentIndex ( )

Definition at line 135 of file actiontargets.c.

◆ GetCursorHitPos()

vector GetCursorHitPos ( )

Definition at line 141 of file actiontargets.c.

◆ GetObject() [1/2]

Object GetObject ( )

Definition at line 122 of file actiontargets.c.

◆ GetObject() [2/2]

Object ActionTarget::GetObject ( int  i)

returns VicinityObjects Key

Definition at line 79 of file actiontargets.c.

◆ GetParent()

Object ActionTarget::GetParent ( int  i)

returns VicinityObjects Element

Definition at line 85 of file actiontargets.c.

◆ GetRawVicinityObjects()

array< Object > ActionTarget::GetRawVicinityObjects ( )

return simple array of Objects in Vicinity

Definition at line 67 of file actiontargets.c.

◆ GetUtility()

float GetUtility ( )

Definition at line 138 of file actiontargets.c.

◆ GetVicinityObjects()

array< Object > ActionTarget::GetVicinityObjects ( )

return simple array of Objects in Vicinity

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

Definition at line 50 of file actiontargets.c.

◆ IsProxy()

bool IsProxy ( )

Definition at line 128 of file actiontargets.c.

◆ Remove() [1/2]

void ActionTarget::Remove ( array< Object objects)

Definition at line 100 of file actiontargets.c.

◆ Remove() [2/2]

void ActionTarget::Remove ( Object  object)

Definition at line 95 of file actiontargets.c.

◆ SetCursorHitPos()

void SetCursorHitPos ( vector  cursor_position)

Definition at line 144 of file actiontargets.c.

◆ StoreVicinityObject()

void ActionTarget::StoreVicinityObject ( Object  object,
Object  parent = null 
)

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

◆ TransformToVicinityObjects()

void ActionTarget::TransformToVicinityObjects ( array< Object objects)

transform simple array of Objects to VicinityObjects hashmap

Definition at line 32 of file actiontargets.c.

◆ VicinityObjects()

void ActionTarget::VicinityObjects ( )

Definition at line 4 of file actiontargets.c.

Variable Documentation

◆ ActionTarget

class ActionTargets ActionTarget

◆ m_ComponentIndex

private int m_ComponentIndex

Definition at line 168 of file actiontargets.c.

◆ m_CursorHitPos

private vector m_CursorHitPos

Definition at line 169 of file actiontargets.c.

◆ m_Object

private Object m_Object

Definition at line 166 of file actiontargets.c.

◆ m_Parent

private Object m_Parent

Definition at line 167 of file actiontargets.c.

◆ m_Utility

private float m_Utility

Definition at line 170 of file actiontargets.c.

◆ m_VicinityObjects

private ref map<Object, Object> m_VicinityObjects

Definition at line 2 of file actiontargets.c.