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

Protected Member Functions

void SoftSkillsManager (PlayerBase player)
 
void InitSpecialty (float specialty_level)
 
void ~SoftSkillsManager ()
 
float AddLinearPrecise (float specialty_weight)
 
float AddLinearRough (float specialty_weight)
 
float AddExponentialPrecise (float specialty_weight)
 
float AddExponentialRough (float specialty_weight)
 
void AddSpecialty (float specialty_weight)
 
float AddSpecialtyBonus (float base_value, float specialty_weight, bool is_cacomponent=false, float limit_efficiency=2)
 
float SubtractSpecialtyBonus (float base_value, float specialty_weight, bool is_cacomponent=false, float limit_efficiency=2)
 
float AdjustCraftingTime (float base_time, float specialty_weight, float limit_efficiency=2)
 
PlayerBase GetSoftSkillsPlayer ()
 
void SetSpecialtyLevel (float specialty_level)
 
float GetSpecialtyLevel ()
 
void SynchSpecialtyLevel ()
 
void SetSoftSkillsState (bool state)
 
bool GetSoftSkillsState ()
 
void SetLinearState (bool model)
 
bool IsLinear ()
 
void GetPreciseRoughLevels ()
 
void StartCoolDownTimer (float cooldown_value)
 
bool IsCoolDown ()
 
void SetCoolDown (bool cool_down)
 
void CreateDebugWindow (bool create)
 
void SynchDebugStats ()
 
void SetIsDebug (bool is_debug)
 
bool IsDebug ()
 
void SetCoolDownValue (float cooldown_value)
 
float GetCoolDownValue ()
 
float GetLastUAValue ()
 
void SetLastUAValue (float last_ua_value)
 
void SetBonusBefore (bool is_cacomponent, float base_value)
 
void SetBonusAfter (bool is_cacomponent, float adjusted_value)
 
float GetComponentBonusBefore ()
 
void SetComponentBonusBefore (float component_bonus_before)
 
float GetComponentBonusAfter ()
 
void SetComponentBonusAfter (float component_bonus_after)
 
float GetGeneralBonusBefore ()
 
void SetGeneralBonusBefore (float general_bonus_before)
 
float GetGeneralBonusAfter ()
 
void SetGeneralBonusAfter (float general_bonus_after)
 
void StartSynchTimer ()
 
void StopSynchTimer ()
 
void ResetDebugWindow ()
 

Protected Attributes

PlayerBase m_Player
 
float m_SpecialtyLevel
 
float m_RoughLevel
 
float m_PreciseLevel
 
bool m_IsLinear
 
bool m_IsActive
 
bool m_IsCoolDown
 
int m_UserActionsCounter
 
ref Timer m_CoolDownTimer = new Timer()
 
bool m_IsDebugMode
 
float m_CoolDownValue
 
float m_LastUAValue
 
float m_ComponentBonusBefore
 
float m_ComponentBonusAfter
 
float m_GeneralBonusBefore
 
float m_GeneralBonusAfter
 
ref SoftSkillManagerDebug m_DebugWindow
 
ref Timer m_SynchTimer
 

Static Protected Attributes

const int DEFAULT_EFFICIENCY = 0
 
const float PRECISE_WEIGHT_LIMIT = -1
 
const float ROUGH_WEIGHT_LIMIT = 1
 
const float COOLDOWN_TIMER = 5
 

Detailed Description

Definition at line 1 of file softskillsmanager.c.

Constructor & Destructor Documentation

◆ SoftSkillsManager()

void SoftSkillsManager::SoftSkillsManager ( PlayerBase player)
protected

Definition at line 33 of file softskillsmanager.c.

◆ ~SoftSkillsManager()

void SoftSkillsManager::~SoftSkillsManager ( )
protected

Definition at line 48 of file softskillsmanager.c.

Member Function Documentation

◆ AddExponentialPrecise()

float SoftSkillsManager::AddExponentialPrecise ( float specialty_weight)
protected

Definition at line 74 of file softskillsmanager.c.

◆ AddExponentialRough()

float SoftSkillsManager::AddExponentialRough ( float specialty_weight)
protected

Definition at line 95 of file softskillsmanager.c.

◆ AddLinearPrecise()

float SoftSkillsManager::AddLinearPrecise ( float specialty_weight)
protected

Definition at line 54 of file softskillsmanager.c.

◆ AddLinearRough()

float SoftSkillsManager::AddLinearRough ( float specialty_weight)
protected

Definition at line 64 of file softskillsmanager.c.

◆ AddSpecialty()

void SoftSkillsManager::AddSpecialty ( float specialty_weight)
protected

Definition at line 116 of file softskillsmanager.c.

◆ AddSpecialtyBonus()

float SoftSkillsManager::AddSpecialtyBonus ( float base_value,
float specialty_weight,
bool is_cacomponent = false,
float limit_efficiency = 2 )
protected

Definition at line 168 of file softskillsmanager.c.

◆ AdjustCraftingTime()

float SoftSkillsManager::AdjustCraftingTime ( float base_time,
float specialty_weight,
float limit_efficiency = 2 )
protected

Definition at line 256 of file softskillsmanager.c.

◆ CreateDebugWindow()

void SoftSkillsManager::CreateDebugWindow ( bool create)
protected

Definition at line 377 of file softskillsmanager.c.

◆ GetComponentBonusAfter()

float SoftSkillsManager::GetComponentBonusAfter ( )
protected

Definition at line 483 of file softskillsmanager.c.

◆ GetComponentBonusBefore()

float SoftSkillsManager::GetComponentBonusBefore ( )
protected

Definition at line 471 of file softskillsmanager.c.

◆ GetCoolDownValue()

float SoftSkillsManager::GetCoolDownValue ( )
protected

Definition at line 421 of file softskillsmanager.c.

◆ GetGeneralBonusAfter()

float SoftSkillsManager::GetGeneralBonusAfter ( )
protected

Definition at line 507 of file softskillsmanager.c.

◆ GetGeneralBonusBefore()

float SoftSkillsManager::GetGeneralBonusBefore ( )
protected

Definition at line 495 of file softskillsmanager.c.

◆ GetLastUAValue()

float SoftSkillsManager::GetLastUAValue ( )
protected

Definition at line 427 of file softskillsmanager.c.

◆ GetPreciseRoughLevels()

void SoftSkillsManager::GetPreciseRoughLevels ( )
protected

Definition at line 335 of file softskillsmanager.c.

◆ GetSoftSkillsPlayer()

PlayerBase SoftSkillsManager::GetSoftSkillsPlayer ( )
protected

Definition at line 284 of file softskillsmanager.c.

◆ GetSoftSkillsState()

bool SoftSkillsManager::GetSoftSkillsState ( )
protected

Definition at line 317 of file softskillsmanager.c.

◆ GetSpecialtyLevel()

float SoftSkillsManager::GetSpecialtyLevel ( )
protected

Definition at line 296 of file softskillsmanager.c.

◆ InitSpecialty()

void SoftSkillsManager::InitSpecialty ( float specialty_level)
protected

Definition at line 42 of file softskillsmanager.c.

◆ IsCoolDown()

bool SoftSkillsManager::IsCoolDown ( )
protected

Definition at line 363 of file softskillsmanager.c.

◆ IsDebug()

bool SoftSkillsManager::IsDebug ( )
protected

Definition at line 409 of file softskillsmanager.c.

◆ IsLinear()

bool SoftSkillsManager::IsLinear ( )
protected

Definition at line 329 of file softskillsmanager.c.

◆ ResetDebugWindow()

void SoftSkillsManager::ResetDebugWindow ( )
protected

Definition at line 539 of file softskillsmanager.c.

◆ SetBonusAfter()

void SoftSkillsManager::SetBonusAfter ( bool is_cacomponent,
float adjusted_value )
protected

Definition at line 455 of file softskillsmanager.c.

◆ SetBonusBefore()

void SoftSkillsManager::SetBonusBefore ( bool is_cacomponent,
float base_value )
protected

Definition at line 439 of file softskillsmanager.c.

◆ SetComponentBonusAfter()

void SoftSkillsManager::SetComponentBonusAfter ( float component_bonus_after)
protected

Definition at line 489 of file softskillsmanager.c.

◆ SetComponentBonusBefore()

void SoftSkillsManager::SetComponentBonusBefore ( float component_bonus_before)
protected

Definition at line 477 of file softskillsmanager.c.

◆ SetCoolDown()

void SoftSkillsManager::SetCoolDown ( bool cool_down)
protected

Definition at line 369 of file softskillsmanager.c.

◆ SetCoolDownValue()

void SoftSkillsManager::SetCoolDownValue ( float cooldown_value)
protected

Definition at line 415 of file softskillsmanager.c.

◆ SetGeneralBonusAfter()

void SoftSkillsManager::SetGeneralBonusAfter ( float general_bonus_after)
protected

Definition at line 513 of file softskillsmanager.c.

◆ SetGeneralBonusBefore()

void SoftSkillsManager::SetGeneralBonusBefore ( float general_bonus_before)
protected

Definition at line 501 of file softskillsmanager.c.

◆ SetIsDebug()

void SoftSkillsManager::SetIsDebug ( bool is_debug)
protected

Definition at line 403 of file softskillsmanager.c.

◆ SetLastUAValue()

void SoftSkillsManager::SetLastUAValue ( float last_ua_value)
protected

Definition at line 433 of file softskillsmanager.c.

◆ SetLinearState()

void SoftSkillsManager::SetLinearState ( bool model)
protected

Definition at line 323 of file softskillsmanager.c.

◆ SetSoftSkillsState()

void SoftSkillsManager::SetSoftSkillsState ( bool state)
protected

Definition at line 311 of file softskillsmanager.c.

◆ SetSpecialtyLevel()

void SoftSkillsManager::SetSpecialtyLevel ( float specialty_level)
protected

Definition at line 290 of file softskillsmanager.c.

◆ StartCoolDownTimer()

void SoftSkillsManager::StartCoolDownTimer ( float cooldown_value)
protected

Definition at line 355 of file softskillsmanager.c.

◆ StartSynchTimer()

void SoftSkillsManager::StartSynchTimer ( )
protected

Definition at line 519 of file softskillsmanager.c.

◆ StopSynchTimer()

void SoftSkillsManager::StopSynchTimer ( )
protected

Definition at line 527 of file softskillsmanager.c.

◆ SubtractSpecialtyBonus()

float SoftSkillsManager::SubtractSpecialtyBonus ( float base_value,
float specialty_weight,
bool is_cacomponent = false,
float limit_efficiency = 2 )
protected

Definition at line 212 of file softskillsmanager.c.

◆ SynchDebugStats()

void SoftSkillsManager::SynchDebugStats ( )
protected

Definition at line 393 of file softskillsmanager.c.

◆ SynchSpecialtyLevel()

void SoftSkillsManager::SynchSpecialtyLevel ( )
protected

Definition at line 302 of file softskillsmanager.c.

Member Data Documentation

◆ COOLDOWN_TIMER

const float SoftSkillsManager::COOLDOWN_TIMER = 5
staticprotected

Definition at line 17 of file softskillsmanager.c.

◆ DEFAULT_EFFICIENCY

const int SoftSkillsManager::DEFAULT_EFFICIENCY = 0
staticprotected

Definition at line 14 of file softskillsmanager.c.

◆ m_ComponentBonusAfter

float SoftSkillsManager::m_ComponentBonusAfter
protected

Definition at line 25 of file softskillsmanager.c.

◆ m_ComponentBonusBefore

float SoftSkillsManager::m_ComponentBonusBefore
protected

Definition at line 24 of file softskillsmanager.c.

◆ m_CoolDownTimer

ref Timer SoftSkillsManager::m_CoolDownTimer = new Timer()
protected

Definition at line 19 of file softskillsmanager.c.

◆ m_CoolDownValue

float SoftSkillsManager::m_CoolDownValue
protected

Definition at line 22 of file softskillsmanager.c.

◆ m_DebugWindow

ref SoftSkillManagerDebug SoftSkillsManager::m_DebugWindow
protected

Definition at line 29 of file softskillsmanager.c.

◆ m_GeneralBonusAfter

float SoftSkillsManager::m_GeneralBonusAfter
protected

Definition at line 27 of file softskillsmanager.c.

◆ m_GeneralBonusBefore

float SoftSkillsManager::m_GeneralBonusBefore
protected

Definition at line 26 of file softskillsmanager.c.

◆ m_IsActive

bool SoftSkillsManager::m_IsActive
protected

Definition at line 9 of file softskillsmanager.c.

◆ m_IsCoolDown

bool SoftSkillsManager::m_IsCoolDown
protected

Definition at line 10 of file softskillsmanager.c.

◆ m_IsDebugMode

bool SoftSkillsManager::m_IsDebugMode
protected

Definition at line 21 of file softskillsmanager.c.

◆ m_IsLinear

bool SoftSkillsManager::m_IsLinear
protected

Definition at line 8 of file softskillsmanager.c.

◆ m_LastUAValue

float SoftSkillsManager::m_LastUAValue
protected

Definition at line 23 of file softskillsmanager.c.

◆ m_Player

PlayerBase SoftSkillsManager::m_Player
protected

Definition at line 3 of file softskillsmanager.c.

◆ m_PreciseLevel

float SoftSkillsManager::m_PreciseLevel
protected

Definition at line 6 of file softskillsmanager.c.

◆ m_RoughLevel

float SoftSkillsManager::m_RoughLevel
protected

Definition at line 5 of file softskillsmanager.c.

◆ m_SpecialtyLevel

float SoftSkillsManager::m_SpecialtyLevel
protected

Definition at line 4 of file softskillsmanager.c.

◆ m_SynchTimer

ref Timer SoftSkillsManager::m_SynchTimer
protected

Definition at line 31 of file softskillsmanager.c.

◆ m_UserActionsCounter

int SoftSkillsManager::m_UserActionsCounter
protected

Definition at line 12 of file softskillsmanager.c.

◆ PRECISE_WEIGHT_LIMIT

const float SoftSkillsManager::PRECISE_WEIGHT_LIMIT = -1
staticprotected

Definition at line 15 of file softskillsmanager.c.

◆ ROUGH_WEIGHT_LIMIT

const float SoftSkillsManager::ROUGH_WEIGHT_LIMIT = 1
staticprotected

Definition at line 16 of file softskillsmanager.c.


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