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

#include <ModifiersManager.h>

Inheritance diagram for ModifiersManager:
MessageReceiverBase

Private Member Functions

void  ModifiersManager (PlayerBase player)
 
void  ~ModifiersManager ()
 
void  Attach (ModifierBase modifier, string target, ModifierPoolBase parent)
 
void  Detach (ModifierBase modifier, string target, ModifierPoolBase home)
 
void  AddPool (ModifierPoolBase pool)
 
ModifierPoolBase  FindPoolByString (string pool)
 
void  AttachByType (int modifier, bool triggerEvent=true)
 
void  DetachByType (int modifier, bool triggerEvent=true)
 
void  OnStoreSave (ParamsWriteContext ctx)
 
void  OnStoreLoad (ParamsReadContext ctx)
 
PlayerBase  GetPlayer ()
 
void  AddToSaveQueue (int modifier)
 
bool  IsAttached (int modifier)
 

Private Attributes

autoptr ModifierPoolBase  m_PoolGeneral
 
autoptr ModifierPoolBase  m_PoolPlayer
 
autoptr array< ModifierPoolBase m_PoolList
 
autoptr array< int >  m_ModifierSaveList
 
autoptr array< int >  m_ModifierLoadList
 
PlayerBase  m_Player
 

Constructor & Destructor Documentation

void ModifiersManager::ModifiersManager ( PlayerBase  player )
private
void ModifiersManager::~ModifiersManager ( )
private

References m_PoolList.

Member Function Documentation

void ModifiersManager::Attach ( ModifierBase  modifier,
string  target,
ModifierPoolBase  parent 
)
private
void ModifiersManager::Detach ( ModifierBase  modifier,
string  target,
ModifierPoolBase  home 
)
private
void ModifiersManager::AddPool ( ModifierPoolBase  pool )
private

References m_PoolList.

Referenced by ModifiersManager().

ModifierPoolBase ModifiersManager::FindPoolByString ( string  pool )
private

References ClassName(), and m_PoolList.

Referenced by Attach(), and Detach().

void ModifiersManager::AttachByType ( int  modifier,
bool  triggerEvent = true 
)
private
void ModifiersManager::DetachByType ( int  modifier,
bool  triggerEvent = true 
)
private
void ModifiersManager::OnStoreSave ( ParamsWriteContext  ctx )
private
void ModifiersManager::OnStoreLoad ( ParamsReadContext  ctx )
private
PlayerBase ModifiersManager::GetPlayer ( )
private
void ModifiersManager::AddToSaveQueue ( int  modifier )
private

References m_ModifierSaveList.

Referenced by ModifierBase::OnStoreSave().

bool ModifiersManager::IsAttached ( int  modifier )
private

References m_PoolList.

Member Data Documentation

autoptr ModifierPoolBase ModifiersManager::m_PoolGeneral
private
autoptr ModifierPoolBase ModifiersManager::m_PoolPlayer
private
autoptr array<ModifierPoolBase> ModifiersManager::m_PoolList
private
autoptr array<int> ModifiersManager::m_ModifierSaveList
private
autoptr array<int> ModifiersManager::m_ModifierLoadList
private

Referenced by ModifiersManager(), and OnStoreLoad().

PlayerBase ModifiersManager::m_Player
private

Referenced by GetPlayer(), and ModifiersManager().


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