Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
SymptomBase Class Reference
Inheritance diagram for SymptomBase:
DeafnessCompleteSymptom LaughterSymptom VomitSymptom

Protected Member Functions

void OnAnimationFinish ()
 
void OnAnimationStart ()
 
void OnAnimationPlayFailed ()
 
void OnInit ()
 this is just for the Symptom parameters set-up and is called even if the Symptom doesn't execute, don't put any gameplay code in here
 
void OnUpdateServer (PlayerBase player, float deltatime)
 gets called every frame
 
bool CanActivate ()
 
void OnUpdateClient (PlayerBase player, float deltatime)
 gets called every frame
 
void OnGetActivatedServer (PlayerBase player)
 gets called once on an Symptom which is being activated
 
void OnGetActivatedClient (PlayerBase player)
 
void OnGetDeactivatedServer (PlayerBase player)
 only gets called once on an active Symptom that is being deactivated
 
void OnGetDeactivatedClient (PlayerBase player)
 
override void OnInit ()
 
override void OnUpdateServer (PlayerBase player, float deltatime)
 gets called every frame
 
override void OnUpdateClient (PlayerBase player, float deltatime)
 
override void OnGetActivatedServer (PlayerBase player)
 gets called once on an Symptom which is being activated
 
override void OnGetActivatedClient (PlayerBase player)
 
override void OnGetDeactivatedServer (PlayerBase player)
 
override void OnGetDeactivatedClient (PlayerBase player)
 only gets called once on an active Symptom that is being deactivated
 
override void OnInit ()
 
override void OnUpdateClient (PlayerBase player, float deltatime)
 
override void OnGetActivatedServer (PlayerBase player)
 gets called once on an Symptom which is being activated
 
override void OnGetActivatedClient (PlayerBase player)
 
override void OnGetDeactivatedServer (PlayerBase player)
 
override void OnGetDeactivatedClient (PlayerBase player)
 only gets called once on an active Symptom that is being deactivated
 

Protected Attributes

PPERequester_FeverEffects m_Requester
 
const float BLUR_STRENGTH_MIN = 0.15
 
const float BLUR_STRENGTH_MAX = 0.25
 
const int BLUR_DURATION_TIME_MIN = 1.5
 
const int BLUR_DURATION_TIME_MAX = 2.5
 
const int MIN_TIME_BETWEEN_EFFECTS = 25.0
 
const int MAX_TIME_BETWEEN_EFFECTS = 35.0
 
float m_EffectDuration
 
PPERequester_HMPGhosts m_Requester
 
const int EFFECT_DURATION_TIME_MIN = 6
 
const int EFFECT_DURATION_TIME_MAX = 10
 

Detailed Description

Definition at line 1 of file statebase.c.

Member Function Documentation

◆ CanActivate()

bool SymptomBase::CanActivate ( )
protected

Definition at line 348 of file statebase.c.

◆ OnAnimationFinish()

void SymptomBase::OnAnimationFinish ( )
protected

◆ OnAnimationPlayFailed()

void SymptomBase::OnAnimationPlayFailed ( )
protected

◆ OnAnimationStart()

void SymptomBase::OnAnimationStart ( )
protected

◆ OnGetActivatedClient() [1/3]

void SymptomBase::OnGetActivatedClient ( PlayerBase player)
protected

◆ OnGetActivatedClient() [2/3]

override void SymptomBase::OnGetActivatedClient ( PlayerBase player)
protected

Definition at line 79 of file feverblurstate.c.

◆ OnGetActivatedClient() [3/3]

override void SymptomBase::OnGetActivatedClient ( PlayerBase player)
protected

Definition at line 61 of file hmpsevere.c.

◆ OnGetActivatedServer() [1/3]

void SymptomBase::OnGetActivatedServer ( PlayerBase player)
protected

gets called once on an Symptom which is being activated

◆ OnGetActivatedServer() [2/3]

override void SymptomBase::OnGetActivatedServer ( PlayerBase player)
protected

gets called once on an Symptom which is being activated

Definition at line 74 of file feverblurstate.c.

◆ OnGetActivatedServer() [3/3]

override void SymptomBase::OnGetActivatedServer ( PlayerBase player)
protected

gets called once on an Symptom which is being activated

Definition at line 56 of file hmpsevere.c.

◆ OnGetDeactivatedClient() [1/3]

void SymptomBase::OnGetDeactivatedClient ( PlayerBase player)
protected

◆ OnGetDeactivatedClient() [2/3]

override void SymptomBase::OnGetDeactivatedClient ( PlayerBase player)
protected

only gets called once on an active Symptom that is being deactivated

Definition at line 90 of file feverblurstate.c.

◆ OnGetDeactivatedClient() [3/3]

override void SymptomBase::OnGetDeactivatedClient ( PlayerBase player)
protected

only gets called once on an active Symptom that is being deactivated

Definition at line 73 of file hmpsevere.c.

◆ OnGetDeactivatedServer() [1/3]

void SymptomBase::OnGetDeactivatedServer ( PlayerBase player)
protected

only gets called once on an active Symptom that is being deactivated

◆ OnGetDeactivatedServer() [2/3]

override void SymptomBase::OnGetDeactivatedServer ( PlayerBase player)
protected

Definition at line 84 of file feverblurstate.c.

◆ OnGetDeactivatedServer() [3/3]

override void SymptomBase::OnGetDeactivatedServer ( PlayerBase player)
protected

Definition at line 67 of file hmpsevere.c.

◆ OnInit() [1/3]

void SymptomBase::OnInit ( )
protected

this is just for the Symptom parameters set-up and is called even if the Symptom doesn't execute, don't put any gameplay code in here

◆ OnInit() [2/3]

override void SymptomBase::OnInit ( )
protected

Definition at line 22 of file feverblurstate.c.

◆ OnInit() [3/3]

override void SymptomBase::OnInit ( )
protected

Definition at line 17 of file hmpsevere.c.

◆ OnUpdateClient() [1/3]

void SymptomBase::OnUpdateClient ( PlayerBase player,
float deltatime )
protected

gets called every frame

◆ OnUpdateClient() [2/3]

override void SymptomBase::OnUpdateClient ( PlayerBase player,
float deltatime )
protected

Definition at line 44 of file feverblurstate.c.

◆ OnUpdateClient() [3/3]

override void SymptomBase::OnUpdateClient ( PlayerBase player,
float deltatime )
protected

Definition at line 32 of file hmpsevere.c.

◆ OnUpdateServer() [1/2]

void SymptomBase::OnUpdateServer ( PlayerBase player,
float deltatime )
protected

gets called every frame

◆ OnUpdateServer() [2/2]

override void SymptomBase::OnUpdateServer ( PlayerBase player,
float deltatime )
protected

gets called every frame

Definition at line 38 of file feverblurstate.c.

Member Data Documentation

◆ BLUR_DURATION_TIME_MAX

const int SymptomBase::BLUR_DURATION_TIME_MAX = 2.5
protected

Definition at line 16 of file feverblurstate.c.

◆ BLUR_DURATION_TIME_MIN

const int SymptomBase::BLUR_DURATION_TIME_MIN = 1.5
protected

Definition at line 15 of file feverblurstate.c.

◆ BLUR_STRENGTH_MAX

const float SymptomBase::BLUR_STRENGTH_MAX = 0.25
protected

Definition at line 13 of file feverblurstate.c.

◆ BLUR_STRENGTH_MIN

const float SymptomBase::BLUR_STRENGTH_MIN = 0.15
protected

Definition at line 12 of file feverblurstate.c.

◆ EFFECT_DURATION_TIME_MAX

const int SymptomBase::EFFECT_DURATION_TIME_MAX = 10
protected

Definition at line 11 of file hmpsevere.c.

◆ EFFECT_DURATION_TIME_MIN

const int SymptomBase::EFFECT_DURATION_TIME_MIN = 6
protected

Definition at line 10 of file hmpsevere.c.

◆ m_EffectDuration

float SymptomBase::m_EffectDuration
protected

Definition at line 3 of file hmpsevere.c.

◆ m_Requester [1/2]

PPERequester_FeverEffects SymptomBase::m_Requester
protected

Definition at line 10 of file feverblurstate.c.

◆ m_Requester [2/2]

PPERequester_HMPGhosts SymptomBase::m_Requester
protected

Definition at line 8 of file hmpsevere.c.

◆ MAX_TIME_BETWEEN_EFFECTS

const int SymptomBase::MAX_TIME_BETWEEN_EFFECTS = 35.0
protected

Definition at line 19 of file feverblurstate.c.

◆ MIN_TIME_BETWEEN_EFFECTS

const int SymptomBase::MIN_TIME_BETWEEN_EFFECTS = 25.0
protected

Definition at line 18 of file feverblurstate.c.


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