DayZ 1.24
Loading...
Searching...
No Matches
TestDiseaseMdfr Class Reference
Inheritance diagram for TestDiseaseMdfr:
[legend]
Collaboration diagram for TestDiseaseMdfr:
[legend]

Private Member Functions

override void Init ()
 
override bool ActivateCondition (PlayerBase player)
 
override void OnActivate (PlayerBase player)
 
override void OnReconnect (PlayerBase player)
 
override void OnDeactivate (PlayerBase player)
 
override bool DeactivateCondition (PlayerBase player)
 
override void OnTick (PlayerBase player, float deltaT)
 

Private Attributes

float m_Interval
 
ref Param1< floatm_SomeValue
 

Detailed Description

Definition at line 1 of file TestDisease.c.

Member Function Documentation

◆ ActivateCondition()

override bool TestDiseaseMdfr::ActivateCondition ( PlayerBase player)
inlineprivate

Definition at line 19 of file TestDisease.c.

20 {
21 return false;
22 }

◆ DeactivateCondition()

override bool TestDiseaseMdfr::DeactivateCondition ( PlayerBase player)
inlineprivate

Definition at line 39 of file TestDisease.c.

40 {
41 return false;
42 }

◆ Init()

override void TestDiseaseMdfr::Init ( )
inlineprivate

Definition at line 6 of file TestDisease.c.

7 {
9 m_ID = 9999;
14
17 }
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition Effect.c:49
bool m_TrackActivatedTime
void DisableDeactivateCheck()
void DisableActivateCheck()
float m_TickIntervalActive
float m_TickIntervalInactive
void MakeParamObjectPersistent(Param object)
const int DEFAULT_TICK_TIME_INACTIVE
ref Param1< float > m_SomeValue
Definition TestDisease.c:4

References DEFAULT_TICK_TIME_INACTIVE, DisableActivateCheck(), DisableDeactivateCheck(), m_ID, m_SomeValue, m_TickIntervalActive, m_TickIntervalInactive, m_TrackActivatedTime, and MakeParamObjectPersistent().

◆ OnActivate()

override void TestDiseaseMdfr::OnActivate ( PlayerBase player)
inlineprivate

Definition at line 24 of file TestDisease.c.

25 {
26 //player.GetBleedingManagerServer().AttemptAddBleedingSource(Math.RandomInt(0, 100));
27 }

◆ OnDeactivate()

override void TestDiseaseMdfr::OnDeactivate ( PlayerBase player)
inlineprivate

Definition at line 35 of file TestDisease.c.

36 {
37 }

◆ OnReconnect()

override void TestDiseaseMdfr::OnReconnect ( PlayerBase player)
inlineprivate

Definition at line 29 of file TestDisease.c.

30 {
31 //OnActivate(player);
32 //player.GetSymptomManager().QueueUpSecondaryState( SymptomIDs.SYMPTOM_BLINDNESS );
33 }

◆ OnTick()

override void TestDiseaseMdfr::OnTick ( PlayerBase player,
float deltaT )
inlineprivate

Definition at line 44 of file TestDisease.c.

45 {
46 player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_LAUGHTER);
47 }

Member Data Documentation

◆ m_Interval

float TestDiseaseMdfr::m_Interval
private

Definition at line 3 of file TestDisease.c.

◆ m_SomeValue

ref Param1<float> TestDiseaseMdfr::m_SomeValue
private

Definition at line 4 of file TestDisease.c.

Referenced by Init().


The documentation for this class was generated from the following file: