◆ ActivateCondition()
19 {
20 return false;
21 }
◆ DeactivateCondition()
57 {
59
61 {
62 return true;
63 }
64 else
65 {
66 return false;
67 }
68 }
float GetAttachedTime()
Definition ModifierBase.c:150
const int LIFETIME
Definition DisinfectMdfr.c:3
Перекрестные ссылки GetAttachedTime() и LIFETIME.
◆ GetDebugText()
◆ GetDebugTextSimple()
◆ Init()
8 {
14
16 }
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
void DisableActivateCheck()
Definition ModifierBase.c:81
float m_TickIntervalActive
Definition ModifierBase.c:18
float m_TickIntervalInactive
Definition ModifierBase.c:17
bool m_IsPersistent
should this modifier track overall time it was active ?
Definition ModifierBase.c:15
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, DisableActivateCheck(), m_ID, m_IsPersistent, m_TickIntervalActive, m_TickIntervalInactive и m_TrackActivatedTime.
◆ OnActivate()
40 {
41 player.IncreaseHealingsCount();
42
43 }
◆ OnDeactivate()
46 {
47 player.DecreaseHealingsCount();
48
49 if(
player.GetModifiersManager().IsModifierActive(
eModifiers.MDF_WOUND_INFECTION1))
50 {
52 }
53
54 }
eAgents
Definition EAgents.c:3
◆ OnReconnect()
24 {
26 }
void OnActivate()
Definition Trap_LandMine.c:67
Перекрестные ссылки OnActivate().
◆ OnTick()
71 {
72 if(
player.GetModifiersManager().IsModifierActive(
eModifiers.MDF_WOUND_INFECTION2))
73 {
75 }
76 else
77 {
79 }
80 }
PluginTransmissionAgents m_PluginTransmissionAgents
Definition DisinfectMdfr.c:5
Перекрестные ссылки m_PluginTransmissionAgents.
◆ LIFETIME
◆ m_PluginTransmissionAgents
PluginTransmissionAgents m_PluginTransmissionAgents = PluginTransmissionAgents.Cast(GetPlugin(PluginTransmissionAgents)) |
|
private |
◆ m_WoundAgentInvasibility
float m_WoundAgentInvasibility |
|
private |
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Classes/PlayerModifiers/Modifiers/DisinfectMdfr.c