class SoftSkillsManagerSource
Constructors 2
void SoftSkillsManager(PlayerBase player)Referenced by PlayerBase.Init()
void ~SoftSkillsManager()References m_CoolDownTimer
Constants 4
static protected const int DEFAULT_EFFICIENCY = 0Referenced by GetPreciseRoughLevels()
static protected const float PRECISE_WEIGHT_LIMIT = -1Referenced by AddExponentialPrecise(), AddExponentialRough(), AddLinearPrecise()
Show 1 more
, AddLinearRough()static protected const float ROUGH_WEIGHT_LIMIT = 1Referenced by AddExponentialPrecise(), AddExponentialRough(), AddLinearPrecise()
Show 1 more
, AddLinearRough()Members 18
protected PlayerBase m_PlayerReferenced by AddSpecialty(), GetSoftSkillsPlayer(), SoftSkillsManager()
Show 2 more
, SynchDebugStats(), and SynchSpecialtyLevel()protected float m_SpecialtyLevelprotected float m_RoughLevelReferenced by AddSpecialtyBonus(), AdjustCraftingTime(), GetPreciseRoughLevels()
Show 1 more
, SubtractSpecialtyBonus()protected float m_PreciseLevelReferenced by AddSpecialtyBonus(), AdjustCraftingTime(), GetPreciseRoughLevels()
Show 1 more
, SubtractSpecialtyBonus()protected bool m_IsLinearprotected bool m_IsActiveprotected bool m_IsCoolDownprotected int m_UserActionsCounterprotected ref Timer m_CoolDownTimer = new Timer()protected bool m_IsDebugModeprotected float m_CoolDownValueprotected float m_LastUAValueprotected float m_ComponentBonusBeforeprotected float m_ComponentBonusAfterprotected float m_GeneralBonusBeforeprotected float m_GeneralBonusAfterprotected ref SoftSkillManagerDebug m_DebugWindowReferenced by CreateDebugWindow()
protected ref Timer m_SynchTimerMethods 42
void InitSpecialty(float specialty_level)Referenced by PlayerBase.OnSelectPlayer()
References Math.Clamp(), SetLastUAValue(), m_SpecialtyLevel
Show 2 more
, PRECISE_WEIGHT_LIMIT, and ROUGH_WEIGHT_LIMITReferenced by AddSpecialty()
References Math.Clamp(), SetLastUAValue(), m_SpecialtyLevel
Show 2 more
, PRECISE_WEIGHT_LIMIT, and ROUGH_WEIGHT_LIMITReferenced by AddSpecialty()
References Math.AbsInt(), Math.Clamp(), SetLastUAValue()
Show 5 more
, Math.Sqrt(), m_SpecialtyLevel, m_UserActionsCounter, PRECISE_WEIGHT_LIMIT, and ROUGH_WEIGHT_LIMITReferenced by AddSpecialty()
References Math.AbsInt(), Math.Clamp(), SetLastUAValue()
Show 5 more
, Math.Sqrt(), m_SpecialtyLevel, m_UserActionsCounter, PRECISE_WEIGHT_LIMIT, and ROUGH_WEIGHT_LIMITReferenced by AddSpecialty()
void AddSpecialty(float specialty_weight)float AddSpecialtyBonus(float base_value, float specialty_weight, bool is_cacomponent = false, float limit_efficiency = 2)References GetPreciseRoughLevels(), SetBonusAfter(), SetBonusBefore()
Show 2 more
, m_PreciseLevel, and m_RoughLevelfloat SubtractSpecialtyBonus(float base_value, float specialty_weight, bool is_cacomponent = false, float limit_efficiency = 2)References GetPreciseRoughLevels(), SetBonusAfter(), SetBonusBefore()
Show 2 more
, m_PreciseLevel, and m_RoughLevelReferences GetPreciseRoughLevels(), SetBonusAfter(), SetBonusBefore()
Show 2 more
, m_PreciseLevel, and m_RoughLevelvoid SetSpecialtyLevel(float specialty_level)References m_SpecialtyLevel
Referenced by PlayerBase.OnRPC(), PluginDiagMenu.OnRPC(), AddSpecialty()
Show 2 more
, InitSpecialty(), and ResetDebugWindow()float GetSpecialtyLevel()References m_SpecialtyLevel
void SynchSpecialtyLevel()Referenced by PluginDiagMenu.OnRPC(), AddSpecialty(), InitSpecialty()
Show 1 more
, ResetDebugWindow()bool GetSoftSkillsState()References m_IsActive
bool IsLinear()References m_IsLinear
void GetPreciseRoughLevels()References Math.AbsFloat(), DEFAULT_EFFICIENCY, m_PreciseLevel
Show 2 more
, m_RoughLevel, and m_SpecialtyLevelvoid StartCoolDownTimer(float cooldown_value)Referenced by AddSpecialty()
bool IsCoolDown()References m_IsCoolDown
void SetCoolDown(bool cool_down)References m_IsCoolDown
void CreateDebugWindow(bool create)Referenced by PluginDiagMenu.CheckSoftSkillsDebug()
void SynchDebugStats()References Man.GetIdentity(), CGame.IsMultiplayer(), CGame.IsServer()
Show 7 more
, CGame.RPCSingleParam(), m_CoolDownValue, m_GeneralBonusAfter, m_GeneralBonusBefore, m_IsCoolDown, m_LastUAValue, and m_Playervoid SetIsDebug(bool is_debug)References m_IsDebugMode
bool IsDebug()References m_IsDebugMode
void SetCoolDownValue(float cooldown_value)References m_CoolDownValue
void SetLastUAValue(float last_ua_value)References m_LastUAValue
Referenced by PlayerBase.OnRPC(), AddExponentialPrecise(), AddExponentialRough()
Show 3 more
, AddLinearPrecise(), AddLinearRough(), and ResetDebugWindow()float GetComponentBonusBefore()References m_ComponentBonusBefore
Referenced by SoftSkillManagerDebug.OnUpdate()
void SetComponentBonusBefore(float component_bonus_before)References m_ComponentBonusBefore
float GetComponentBonusAfter()References m_ComponentBonusAfter
Referenced by SoftSkillManagerDebug.OnUpdate()
void SetComponentBonusAfter(float component_bonus_after)References m_ComponentBonusAfter
float GetGeneralBonusBefore()References m_GeneralBonusBefore
Referenced by SoftSkillManagerDebug.OnUpdate()
void SetGeneralBonusBefore(float general_bonus_before)References m_GeneralBonusBefore
float GetGeneralBonusAfter()References m_GeneralBonusAfter
Referenced by SoftSkillManagerDebug.OnUpdate()
void SetGeneralBonusAfter(float general_bonus_after)References m_GeneralBonusAfter
void StartSynchTimer()Referenced by PluginDiagMenu.OnRPC()
void StopSynchTimer()Referenced by PluginDiagMenu.OnRPC()
void ResetDebugWindow()