◆ ActivateCondition()
27 {
29 }
provides access to slot configuration
Definition InventorySlots.c:6
Definition AirborneMask.c:2
Используется в DeactivateCondition().
◆ DeactivateCondition()
32 {
34 }
override bool ActivateCondition(PlayerBase player)
Definition Mask.c:26
Перекрестные ссылки ActivateCondition().
◆ HandleSounds()
70 {
72
73 if(
mask.CanHaveExternalFilter() && !
mask.IsExternalFilterAttached())
74 return;
75
77 return;
78
80
83 {
85
87
89 {
91 }
93 {
95 }
98 }
99 }
EPlayerSoundEventID
Definition PlayerSoundEventHandler.c:2
const float LOW_FILTER_SOUND_THRESHOLD
Definition Mask.c:12
float m_NextSoundEventTime
Definition Mask.c:15
const float LOW_FILTER_SOUND_EVENT_MIN
Definition Mask.c:9
float m_SoundTimeAccu1
Definition Mask.c:14
const float LOW_FILTER_SOUND_EVENT_MAX
Definition Mask.c:10
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...
static proto float Lerp(float a, float b, float time)
Linearly interpolates between 'a' and 'b' given 'time'.
Перекрестные ссылки Math::InverseLerp(), Math::Lerp(), LOW_FILTER_SOUND_EVENT_MAX, LOW_FILTER_SOUND_EVENT_MIN, LOW_FILTER_SOUND_THRESHOLD, m_NextSoundEventTime и m_SoundTimeAccu1.
Используется в OnTick().
◆ Init()
18 {
24 }
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition Effect.c:49
bool m_TrackActivatedTime
overall time this modifier was active
Definition ModifierBase.c:14
bool m_AnalyticsStatsEnabled
Definition ModifierBase.c:31
float m_TickIntervalActive
Definition ModifierBase.c:18
float m_TickIntervalInactive
Definition ModifierBase.c:17
const int DEFAULT_TICK_TIME_INACTIVE
Definition ModifiersManager.c:29
const int DEFAULT_TICK_TIME_ACTIVE_SHORT
Definition ModifiersManager.c:28
eModifiers
Definition eModifiers.c:2
Перекрестные ссылки DEFAULT_TICK_TIME_ACTIVE_SHORT, DEFAULT_TICK_TIME_INACTIVE, m_AnalyticsStatsEnabled, m_ID, m_TickIntervalActive, m_TickIntervalInactive и m_TrackActivatedTime.
◆ OnActivate()
◆ OnDeactivate()
112 {
116 }
eSoundHandlers
Definition PlayerSoundManager.c:5
EStaminaMultiplierTypes
Definition StaminaHandler.c:2
◆ OnReconnect()
102 {
104 }
void OnActivate()
Definition Trap_LandMine.c:67
Перекрестные ссылки OnActivate().
◆ OnTick()
◆ IN_AREA_CONSUME_FILTER_QUANTITY_PER_SEC
const float IN_AREA_CONSUME_FILTER_QUANTITY_PER_SEC = 0.3 |
|
private |
◆ LOW_FILTER_SOUND_EVENT_MAX
◆ LOW_FILTER_SOUND_EVENT_MIN
◆ LOW_FILTER_SOUND_THRESHOLD
◆ m_NextSoundEventTime
float m_NextSoundEventTime |
|
private |
◆ m_SoundTimeAccu1
◆ OUT_AREA_CONSUME_FILTER_QUANTITY_PER_SEC
const float OUT_AREA_CONSUME_FILTER_QUANTITY_PER_SEC = 0.03 |
|
private |
◆ STAMINA_DEPLETION_MODIFIER
◆ STAMINA_RECOVERY_MODIFIER
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Classes/PlayerModifiers/Modifiers/Mask.c