DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс VomitStuffedMdfr
+ Граф наследования:VomitStuffedMdfr:

Закрытые члены

override void Init ()
 
override bool ActivateCondition (PlayerBase player)
 
override bool DeactivateCondition (PlayerBase player)
 
override void OnActivate (PlayerBase player)
 

Подробное описание

Методы

◆ ActivateCondition()

override bool ActivateCondition ( PlayerBase player)
inlineprivate
12 {
13 float stomach = m_Player.m_PlayerStomach.GetStomachVolume();
15 }
DayZPlayer m_Player
Definition Hand_Events.c:42
Definition EntityAI.c:95
Definition PlayerConstants.c:2
const int VOMIT_THRESHOLD
last User Action message lifetime [s] (default: 30s)
Definition PlayerConstants.c:197

Перекрестные ссылки m_Player и PlayerConstants::VOMIT_THRESHOLD.

Используется в DeactivateCondition().

◆ DeactivateCondition()

override bool DeactivateCondition ( PlayerBase player)
inlineprivate
18 {
20 }
override bool ActivateCondition(PlayerBase player)
Definition VomitStuffed.c:11

Перекрестные ссылки ActivateCondition().

◆ Init()

override void Init ( )
inlineprivate
4 {
6 m_ID = eModifiers.MDF_VOMITSTUFFED;
9 }
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
float m_TickIntervalActive
Definition ModifierBase.c:18
float m_TickIntervalInactive
Definition ModifierBase.c:17
const int DEFAULT_TICK_TIME_INACTIVE
Definition ModifiersManager.c:29
enum eModifierSyncIDs DEFAULT_TICK_TIME_ACTIVE
eModifiers
Definition eModifiers.c:2

Перекрестные ссылки DEFAULT_TICK_TIME_ACTIVE, DEFAULT_TICK_TIME_INACTIVE, m_ID, m_TickIntervalActive, m_TickIntervalInactive и m_TrackActivatedTime.

◆ OnActivate()

override void OnActivate ( PlayerBase player)
inlineprivate
23 {
24 SymptomBase symptom = player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_VOMIT);
25 if (symptom)
26 {
29 }
30 }
Definition UtilityClasses.c:10
static ref Param1< float > PARAM1_FLOAT
Definition UtilityClasses.c:13
Definition StateBase.c:2

Перекрестные ссылки CachedObjectsParams::PARAM1_FLOAT.


Объявления и описания членов класса находятся в файле: