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

Protected Member Functions

void ATCCachedTarget ()
Object Get ()
int GetCursorCompIdx ()
vector GetCursorWorldPos ()
void Invalidate ()
 invalidate cached objec
void Store (Object obj, vector pos, int compIdx)
 cache object and its world pos

Protected Attributes

Object m_CachedObject
int m_CompIdx
vector m_CursorWPos
vector m_ScreenPos

Detailed Description

Definition at line 1 of file actiontargetscursor.c.

Member Function Documentation

◆ ATCCachedTarget()

void ATCCachedTarget ( )
inlineprotected

Definition at line 8 of file actiontargetscursor.c.

References m_CachedObject, m_CompIdx, m_ScreenPos, and vector::Zero.

◆ Get()

Object Get ( )
inlineprotected

Definition at line 37 of file actiontargetscursor.c.

References m_CachedObject.

◆ GetCursorCompIdx()

int GetCursorCompIdx ( )
inlineprotected

Definition at line 47 of file actiontargetscursor.c.

References m_CompIdx.

◆ GetCursorWorldPos()

vector GetCursorWorldPos ( )
inlineprotected

Definition at line 42 of file actiontargetscursor.c.

References m_CursorWPos.

◆ Invalidate()

void Invalidate ( )
inlineprotected

invalidate cached objec

Definition at line 27 of file actiontargetscursor.c.

References m_CachedObject, m_CompIdx, m_CursorWPos, and vector::Zero.

◆ Store()

void Store ( Object obj,
vector pos,
int compIdx )
inlineprotected

cache object and its world pos

Definition at line 16 of file actiontargetscursor.c.

References m_CachedObject, m_CompIdx, and m_CursorWPos.

Field Documentation

◆ m_CachedObject

Object m_CachedObject
protected

Definition at line 3 of file actiontargetscursor.c.

Referenced by ATCCachedTarget(), Get(), Invalidate(), and Store().

◆ m_CompIdx

int m_CompIdx
protected

Definition at line 6 of file actiontargetscursor.c.

Referenced by ATCCachedTarget(), GetCursorCompIdx(), Invalidate(), and Store().

◆ m_CursorWPos

vector m_CursorWPos
protected

Definition at line 4 of file actiontargetscursor.c.

Referenced by GetCursorWorldPos(), Invalidate(), and Store().

◆ m_ScreenPos

vector m_ScreenPos
protected

Definition at line 5 of file actiontargetscursor.c.

Referenced by ATCCachedTarget().


The documentation for this class was generated from the following file: