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

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

override void Init ()
 
override bool ActivateCondition (PlayerBase player)
 
override bool DeactivateCondition (PlayerBase player)
 
override void OnActivate (PlayerBase player)
 
override void OnReconnect (PlayerBase player)
 
override void OnDeactivate (PlayerBase player)
 
override string GetDebugText ()
 
override string GetDebugTextSimple ()
 

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

Методы

◆ ActivateCondition()

override bool ActivateCondition ( PlayerBase player)
inlineprivate
13 {
14 if (player.GetStatWet().Get() == player.GetStatWet().GetMax())
15 return true;
16
17 return false;
18 }
Definition EntityAI.c:95

◆ DeactivateCondition()

override bool DeactivateCondition ( PlayerBase player)
inlineprivate
21 {
22 if (player.GetStatWet().Get() == player.GetStatWet().GetMin())
23 return true;
24
25 return false;
26 }

◆ GetDebugText()

override string GetDebugText ( )
inlineprivate
48 {
49 string wetness = m_Player.GetStatWet().Get().ToString();
50 string wetness_min = m_Player.GetStatWet().GetMin().ToString();
51 return "wetness:"+wetness+" | " +"wetness min:"+wetness_min;
52 }
DayZPlayer m_Player
Definition Hand_Events.c:42

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

◆ GetDebugTextSimple()

override string GetDebugTextSimple ( )
inlineprivate
55 {
56 return "";
57 }

◆ Init()

override void Init ( )
inlineprivate
4 {
7 m_ID = eModifiers.MDF_WETNESS;
10 }
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
enum eModifierSyncIDs DEFAULT_TICK_TIME_ACTIVE
eModifiers
Definition eModifiers.c:2

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

◆ OnActivate()

override void OnActivate ( PlayerBase player)
inlineprivate
30 {
31 if (player.m_NotifiersManager)
32 player.m_NotifiersManager.ActivateByType(eNotifiers.NTF_WETNESS);
33 }
eNotifiers
Definition NotifiersManager.c:2

◆ OnDeactivate()

override void OnDeactivate ( PlayerBase player)
inlineprivate
42 {
43 if (player.m_NotifiersManager)
44 player.m_NotifiersManager.DeactivateByType(eNotifiers.NTF_WETNESS);
45 }

◆ OnReconnect()

override void OnReconnect ( PlayerBase player)
inlineprivate
36 {
38 }
void OnActivate()
Definition Trap_LandMine.c:67

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


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