DayZ Enforce
Script API
Private Member Functions | Private Attributes | List of all members
ModifierPoolBase Class Reference

#include <ModifierPoolBase.h>

Inheritance diagram for ModifierPoolBase:
MessageReceiverBase ModifierPoolDisease ModifierPoolEnvironment ModifierPoolMain ModifierPoolPlayer

Private Member Functions

void  ModifierPoolBase (ModifiersManager manager)
 
void  ~ModifierPoolBase ()
 
void  TickPoolPlayer ()
 
void  TickPoolGeneral ()
 
void  NewModifier (ModifierBase modifier)
 
void  AddModifier (ModifierBase modifier)
 
void  RemoveModifier (ModifierBase modifier)
 
void  CalculateDeltaT ()
 
void  Tick ()
 
void  OnStoreSave (ParamsWriteContext ctx)
 
bool  IsPlayerPool ()
 
void  PoolAttachByType (int modifier, bool triggerEvent=true)
 
void  PoolDetachByType (int modifier, bool triggerEvent=true)
 
bool  PoolIsAttached (int modifier)
 

Private Attributes

ModifiersManager  m_Manager
 
autoptr array< ModifierBase m_Pool
 
private float  m_DeltaT
 
private float  m_LastTick = 0
 
autoptr Timer  m_TickPool
 
int  m_Type
 
int  m_TickRate = 3
 
int  m_TickCounter = 0
 

Constructor & Destructor Documentation

void ModifierPoolBase::ModifierPoolBase ( ModifiersManager  manager )
private
void ModifierPoolBase::~ModifierPoolBase ( )
private

References m_Pool.

Member Function Documentation

void ModifierPoolBase::TickPoolPlayer ( )
private
void ModifierPoolBase::TickPoolGeneral ( )
private
void ModifierPoolBase::NewModifier ( ModifierBase  modifier )
private
void ModifierPoolBase::AddModifier ( ModifierBase  modifier )
private
void ModifierPoolBase::RemoveModifier ( ModifierBase  modifier )
private
void ModifierPoolBase::CalculateDeltaT ( )
private

References GetGame(), CGame::GetTime(), m_DeltaT, and m_LastTick.

Referenced by Tick().

void ModifierPoolBase::Tick ( )
private
void ModifierPoolBase::OnStoreSave ( ParamsWriteContext  ctx )
private

References m_Pool.

bool ModifierPoolBase::IsPlayerPool ( )
private

References m_Type.

void ModifierPoolBase::PoolAttachByType ( int  modifier,
bool  triggerEvent = true 
)
private

References m_Pool.

void ModifierPoolBase::PoolDetachByType ( int  modifier,
bool  triggerEvent = true 
)
private

References m_Pool.

bool ModifierPoolBase::PoolIsAttached ( int  modifier )
private

References m_Pool.

Member Data Documentation

ModifiersManager ModifierPoolBase::m_Manager
private
autoptr array<ModifierBase> ModifierPoolBase::m_Pool
private
private float ModifierPoolBase::m_DeltaT
private
private float ModifierPoolBase::m_LastTick = 0
private

Referenced by CalculateDeltaT().

autoptr Timer ModifierPoolBase::m_TickPool
private
int ModifierPoolBase::m_Type
private
int ModifierPoolBase::m_TickRate = 3
private
int ModifierPoolBase::m_TickCounter = 0
private

The documentation for this class was generated from the following files:
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)