Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
ShockHandler Class Reference

Protected Member Functions

void ShockHandler (PlayerBase player)
 
void Update (float deltaT)
 
float GetCurrentShock ()
 
float GetShock ()
 
void SetShock (float dealtShock)
 
void Synchronize ()
 
float BaseEffectIntensityCalc ()
 
float AddEffectBobbing (float baseVal)
 adds bobbing, also clamps to valid range
 
float SetMultiplier (float mult)
 

Protected Attributes

const float UPDATE_THRESHOLD = 3
 
const float VALUE_CHECK_INTERVAL = 0.95
 
float m_Shock
 
float m_LastEffectIntensityValue
 
float m_ShockValueMax
 
float m_CumulatedShock
 
ref Param1< floatm_Param
 
PlayerBase m_Player
 
float m_ShockValueThreshold
 Deprecated.
 

Detailed Description

Definition at line 1 of file shockhandler.c.

Constructor & Destructor Documentation

◆ ShockHandler()

void ShockHandler::ShockHandler ( PlayerBase player)
protected

Definition at line 31 of file shockhandler.c.

Member Function Documentation

◆ AddEffectBobbing()

float ShockHandler::AddEffectBobbing ( float baseVal)
protected

adds bobbing, also clamps to valid range

Definition at line 150 of file shockhandler.c.

◆ BaseEffectIntensityCalc()

float ShockHandler::BaseEffectIntensityCalc ( )
protected

Definition at line 136 of file shockhandler.c.

◆ GetCurrentShock()

float ShockHandler::GetCurrentShock ( )
protected

Definition at line 84 of file shockhandler.c.

◆ GetShock()

float ShockHandler::GetShock ( )
protected

Definition at line 89 of file shockhandler.c.

◆ SetMultiplier()

float ShockHandler::SetMultiplier ( float mult)
protected

Definition at line 163 of file shockhandler.c.

◆ SetShock()

void ShockHandler::SetShock ( float dealtShock)
protected

Definition at line 94 of file shockhandler.c.

◆ Synchronize()

void ShockHandler::Synchronize ( )
protected

Definition at line 131 of file shockhandler.c.

◆ Update()

void ShockHandler::Update ( float deltaT)
protected

Definition at line 44 of file shockhandler.c.

Member Data Documentation

◆ m_CumulatedShock

float ShockHandler::m_CumulatedShock
protected

Definition at line 17 of file shockhandler.c.

◆ m_LastEffectIntensityValue

float ShockHandler::m_LastEffectIntensityValue
protected

Definition at line 15 of file shockhandler.c.

◆ m_Param

ref Param1<float> ShockHandler::m_Param
protected

Definition at line 27 of file shockhandler.c.

◆ m_Player

PlayerBase ShockHandler::m_Player
protected

Definition at line 29 of file shockhandler.c.

◆ m_Shock

float ShockHandler::m_Shock
protected

Definition at line 14 of file shockhandler.c.

◆ m_ShockValueMax

float ShockHandler::m_ShockValueMax
protected

Definition at line 16 of file shockhandler.c.

◆ m_ShockValueThreshold

float ShockHandler::m_ShockValueThreshold
protected

Deprecated.

Definition at line 189 of file shockhandler.c.

◆ UPDATE_THRESHOLD

const float ShockHandler::UPDATE_THRESHOLD = 3
protected

Definition at line 3 of file shockhandler.c.

◆ VALUE_CHECK_INTERVAL

const float ShockHandler::VALUE_CHECK_INTERVAL = 0.95
protected

Definition at line 4 of file shockhandler.c.


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