PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
ATCCachedObject Class Reference

Private Member Functions

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

Private Attributes

protected Object m_CachedObject
 
protected vector m_CursorWPos
 
protected vector m_ScreenPos
 
protected int m_CompIdx
 

Member Function Documentation

◆ ATCCachedTarget()

void ATCCachedTarget ( )
inlineprivate

◆ Get()

Object Get ( )
inlineprivate

References m_CachedObject.

Referenced by ActionTargetsCursor::Update().

◆ GetCursorCompIdx()

int GetCursorCompIdx ( )
inlineprivate

◆ GetCursorWorldPos()

vector GetCursorWorldPos ( )
inlineprivate

◆ Invalidate()

void Invalidate ( )
inlineprivate

◆ Store()

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

cache object and its world pos

References m_CachedObject, m_CompIdx, and m_CursorWPos.

Referenced by ActionTargetsCursor::GetOnScreenPosition().

Field Documentation

◆ m_CachedObject

protected Object m_CachedObject
private

◆ m_CompIdx

protected int m_CompIdx
private

◆ m_CursorWPos

protected vector m_CursorWPos
private

◆ m_ScreenPos

protected vector m_ScreenPos
private

Referenced by ATCCachedTarget().


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