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

#include <AgentBase.h>

Inheritance diagram for AgentBase:
MessageReceiverBase InfluenzaAgent

Private Member Functions

void  AgentBase (string targetPool, AgentManager manager, AgentPoolBase parent)
 
void  ~AgentBase ()
 
private bool  AttachCondition ()
 
private bool  DetachCondition ()
 
private void  OnAttach ()
 
private void  OnDetach ()
 
private void  OnTick ()
 
int  GetCount ()
 
void  SetHome (AgentPoolBase home)
 
private void  Detach (bool b)
 
void  ForceDetach (bool b)
 
private void  Attach (bool b)
 
void  ForceAttach (int value, bool b)
 
bool  OnPlayerTick (float deltaT)
 
bool  OnAttachCheck (float deltaT)
 
void  OnStoreSave (ParamsWriteContext ctx)
 
string  GetName ()
 
int  GetAgentType ()
 
void  OnReceiveFloat (int channel, float value)
 
float  GetInvasibility ()
 
float  GetTransferability ()
 
void  ImmuneAttack (float value)
 
int  GetInitialCount ()
 

Private Attributes

string  m_Target
 
AgentPoolBase  m_Home
 
AgentManager  m_Manager
 
AgentPoolBase  m_ParentPool
 
float  m_DeltaT
 
autoptr Timer  m_Timer1
 
PlayerBase  m_Player
 
float  m_Type = 0
 
int  m_InitialRangeMin = 1
 
int  m_InitialRangeMax = 100
 
float  m_Count = 0
 
float  m_Invasibility = 0
 
float  m_Transferability = 0
 
int  m_MaxCount
 
ModulePlayerStatus  m_ModulePlayerStatus
 

Constructor & Destructor Documentation

void AgentBase::AgentBase ( string  targetPool,
AgentManager  manager,
AgentPoolBase  parent 
)
private
void AgentBase::~AgentBase ( )
private

Member Function Documentation

private bool AgentBase::AttachCondition ( )
private

Referenced by OnAttachCheck().

private bool AgentBase::DetachCondition ( )
private

Referenced by OnPlayerTick().

private void AgentBase::OnAttach ( )
private

Referenced by Attach().

private void AgentBase::OnDetach ( )
private

References m_Count.

Referenced by Detach().

private void AgentBase::OnTick ( )
private
int AgentBase::GetCount ( )
private

References m_Count.

void AgentBase::SetHome ( AgentPoolBase  home )
private

References m_Home.

Referenced by AgentPoolBase::Newagent().

private void AgentBase::Detach ( bool  b )
private
void AgentBase::ForceDetach ( bool  b )
private

References Detach().

Referenced by ImmuneAttack().

private void AgentBase::Attach ( bool  b )
private
void AgentBase::ForceAttach ( int  value,
bool  b 
)
private

References Attach(), and m_Count.

bool AgentBase::OnPlayerTick ( float  deltaT )
private
bool AgentBase::OnAttachCheck ( float  deltaT )
private

References Attach(), AttachCondition(), and m_DeltaT.

void AgentBase::OnStoreSave ( ParamsWriteContext  ctx )
private
string AgentBase::GetName ( )
private
int AgentBase::GetAgentType ( )
private

References m_Type.

Referenced by OnStoreSave().

void AgentBase::OnReceiveFloat ( int  channel,
float  value 
)
private
float AgentBase::GetInvasibility ( )
private

References m_Invasibility.

float AgentBase::GetTransferability ( )
private

References m_Transferability.

void AgentBase::ImmuneAttack ( float  value )
private
int AgentBase::GetInitialCount ( )
private

Member Data Documentation

string AgentBase::m_Target
private

Referenced by AgentBase(), Attach(), and Detach().

AgentPoolBase AgentBase::m_Home
private

Referenced by Detach(), and SetHome().

AgentManager AgentBase::m_Manager
private

Referenced by AgentBase(), Attach(), Detach(), and OnStoreSave().

AgentPoolBase AgentBase::m_ParentPool
private

Referenced by AgentBase(), and Attach().

float AgentBase::m_DeltaT
private

Referenced by OnAttachCheck(), OnPlayerTick(), and OnTick().

autoptr Timer AgentBase::m_Timer1
private

Referenced by AgentBase().

PlayerBase AgentBase::m_Player
private

Referenced by AgentBase(), and OnTick().

float AgentBase::m_Type = 0
private
int AgentBase::m_InitialRangeMin = 1
private
int AgentBase::m_InitialRangeMax = 100
private
float AgentBase::m_Count = 0
private
float AgentBase::m_Invasibility = 0
private
float AgentBase::m_Transferability = 0
private
int AgentBase::m_MaxCount
private
ModulePlayerStatus AgentBase::m_ModulePlayerStatus
private

Referenced by AgentBase().


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