DayZ 1.24
|
Protected Attributes | |
PPERequester_FeverEffects | m_Requester |
const float | BLUR_STRENGTH_MIN = 0.15 |
const float | BLUR_STRENGTH_MAX = 0.25 |
const int | BLUR_DURATION_TIME_MIN = 1.5 |
const int | BLUR_DURATION_TIME_MAX = 2.5 |
const int | MIN_TIME_BETWEEN_EFFECTS = 25.0 |
const int | MAX_TIME_BETWEEN_EFFECTS = 35.0 |
Definition at line 1 of file StateBase.c.
|
inlineprivate |
Definition at line 30 of file StateBase.c.
|
inlineprivate |
Definition at line 34 of file StateBase.c.
|
inlineprivate |
Definition at line 161 of file StateBase.c.
References GetGame(), GetManager(), GetType(), GetUID(), IsSyncToClient(), m_IsActivated, m_Player, OnGetActivatedClient(), OnGetActivatedServer(), and SyncToClientActivated().
Referenced by SymptomManager::UpdateActiveSymptoms().
|
inlineprivate |
gets called upon animation Symptom exit
Definition at line 293 of file StateBase.c.
References m_DestroyOnAnimFinish, OnAnimationFinish(), and RequestDestroy().
Referenced by AnimationPlayFailed().
|
inlineprivate |
Definition at line 300 of file StateBase.c.
References AnimationFinish(), and OnAnimationPlayFailed().
|
inlineprivate |
Definition at line 306 of file StateBase.c.
References OnAnimationStart().
Referenced by SymptomManager::OnAnimationStarted().
|
inlineprotected |
Definition at line 321 of file StateBase.c.
Definition at line 29 of file FreezeState.c.
Definition at line 29 of file HotState.c.
Definition at line 29 of file PainHeavyState.c.
Definition at line 29 of file PainLightState.c.
Definition at line 59 of file VomitState.c.
References m_Manager.
|
inlineprivate |
Definition at line 64 of file StateBase.c.
References m_AnimPlayRequested.
|
inlineprivate |
Definition at line 264 of file StateBase.c.
References CheckSoundFinished(), Destroy(), IsPrimary(), m_ActivatedTime, m_DestroyRequested, MAX_TIME_ACTIVE_SAVEGUARD, and RequestDestroy().
Referenced by Update().
|
inlineprivate |
Definition at line 255 of file StateBase.c.
References GetGame(), m_ActivatedTime, m_Duration, m_PlayedSound, and RequestDestroy().
Referenced by CheckDestroy().
|
inlineprivate |
Definition at line 180 of file StateBase.c.
References GetGame(), GetType(), GetUID(), IsSyncToClient(), m_IsActivated, m_Player, OnGetDeactivatedClient(), OnGetDeactivatedServer(), and SyncToClientDeactivated().
Referenced by OnDestructed().
|
inlineprivate |
Definition at line 286 of file StateBase.c.
References m_IsTemplate, and OnDestructed().
Referenced by CheckDestroy().
|
inlineprivate |
|
inlineprivate |
Definition at line 95 of file StateBase.c.
References m_Manager.
Referenced by Activate(), and OnDestructed().
|
inlineprivate |
Definition at line 48 of file StateBase.c.
References m_MaxCount.
|
inlineprivate |
Definition at line 90 of file StateBase.c.
Definition at line 115 of file StateBase.c.
References m_PersistentParams.
|
inlineprivate |
Definition at line 140 of file StateBase.c.
References m_Player.
Referenced by PlaySound(), SyncToClientActivated(), and SyncToClientDeactivated().
|
inlineprivate |
Definition at line 145 of file StateBase.c.
References m_Priority.
|
inlineprivate |
Definition at line 100 of file StateBase.c.
References m_ID.
Referenced by Activate(), Deactivate(), PlayAnimationADD(), and PlayAnimationFB().
|
inlineprivate |
Definition at line 53 of file StateBase.c.
References m_UID.
Referenced by Activate(), and Deactivate().
|
inlineprivate |
Definition at line 39 of file StateBase.c.
References m_IsTemplate, m_Manager, m_Player, m_UID, and OnInit().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Definition at line 14 of file CoughState.c.
References m_Player.
|
inlineprivate |
Definition at line 27 of file VomitState.c.
References m_Player.
|
inlineprivate |
|
inlineprivate |
Definition at line 133 of file StateBase.c.
References m_SymptomType.
Referenced by CheckDestroy().
|
inlineprivate |
Definition at line 110 of file StateBase.c.
References m_SyncToClient.
Referenced by Activate(), and Deactivate().
Definition at line 121 of file StateBase.c.
References GetGame(), and m_PersistentParams.
|
protected |
Referenced by AnimationFinish().
deplete stamina
Definition at line 47 of file VomitState.c.
References DayZPlayer::DepleteStamina(), GetPlugin(), m_Player, and PluginLifespan().
|
protected |
Referenced by AnimationPlayFailed().
Definition at line 24 of file FreezeState.c.
Definition at line 24 of file HotState.c.
Definition at line 24 of file PainHeavyState.c.
Definition at line 24 of file PainLightState.c.
|
protected |
Referenced by AnimationStart().
Definition at line 30 of file CoughState.c.
References GetPlugin(), m_Player, and PluginLifespan().
Definition at line 32 of file VomitState.c.
References m_Player.
|
inlineprivate |
Definition at line 150 of file StateBase.c.
|
inlineprivate |
Definition at line 155 of file StateBase.c.
References Deactivate(), GetManager(), IsActivated(), m_Manager, m_UID, and SymptomManager::OnSymptomExit().
Referenced by Destroy().
|
protected |
Referenced by Activate().
|
inlineprivate |
gets called once on a Symptom which is being activated
Definition at line 59 of file CoughState.c.
|
inlineprivate |
gets called once on a Symptom which is being activated
Definition at line 49 of file FreezeState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
gets called once on a Symptom which is being activated
Definition at line 49 of file HotState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
gets called once on a Symptom which is being activated
Definition at line 34 of file LaughterState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
gets called once on a Symptom which is being activated
Definition at line 44 of file PainHeavyState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
gets called once on a Symptom which is being activated
Definition at line 44 of file PainLightState.c.
References LogManager::IsSymptomLogEnable(), m_Player, CachedObjectsParams::PARAM2_FLOAT_FLOAT, Debug::SymptomLog(), and ToString().
|
inlineprivate |
gets called once on an Symptom which is being activated
Definition at line 35 of file SneezeState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
Definition at line 35 of file BlindnessState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
Definition at line 47 of file BloodLoss.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprotected |
Definition at line 77 of file FeverBlurState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
Definition at line 43 of file HandShivers.c.
|
protected |
gets called once on an Symptom which is being activated
Referenced by Activate().
|
inlineprivate |
gets called once on an Symptom which is being activated
Definition at line 46 of file CoughState.c.
References m_Manager, and PlaySound().
|
inlineprivate |
gets called once on an Symptom which is being activated
Definition at line 35 of file FreezeState.c.
References LogManager::IsSymptomLogEnable(), m_Manager, m_Player, PlaySound(), Debug::SymptomLog(), and ToString().
|
inlineprivate |
gets called once on an Symptom which is being activated
Definition at line 35 of file HotState.c.
References LogManager::IsSymptomLogEnable(), m_Manager, m_Player, PlaySound(), Debug::SymptomLog(), and ToString().
|
inlineprivate |
gets called once on an Symptom which is being activated
Definition at line 26 of file LaughterState.c.
References LogManager::IsSymptomLogEnable(), m_Player, PlaySound(), Debug::SymptomLog(), and ToString().
|
inlineprivate |
gets called once on an Symptom which is being activated
Definition at line 35 of file PainHeavyState.c.
References LogManager::IsSymptomLogEnable(), m_Player, PlaySound(), Debug::SymptomLog(), and ToString().
|
inlineprivate |
gets called once on an Symptom which is being activated
Definition at line 35 of file PainLightState.c.
References LogManager::IsSymptomLogEnable(), m_Player, PlaySound(), Debug::SymptomLog(), and ToString().
|
inlineprivate |
gets called once on an Symptom which is being activated
Definition at line 24 of file SneezeState.c.
References LogManager::IsSymptomLogEnable(), m_Manager, m_Player, PlaySound(), Debug::SymptomLog(), and ToString().
|
inlineprivate |
gets called once on an Symptom which is being activated
Definition at line 65 of file VomitState.c.
References GetDuration().
|
inlineprivate |
gets called once on an Symptom which is being activated
Definition at line 30 of file BlindnessState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
gets called once on an Symptom which is being activated
Definition at line 42 of file BloodLoss.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprotected |
gets called once on an Symptom which is being activated
Definition at line 72 of file FeverBlurState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
Definition at line 33 of file HandShivers.c.
|
protected |
Referenced by Deactivate().
|
inlineprivate |
only gets called once on an active Symptom that is being deactivated
Definition at line 71 of file CoughState.c.
|
inlineprivate |
only gets called once on an active Symptom that is being deactivated
Definition at line 61 of file FreezeState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
only gets called once on an active Symptom that is being deactivated
Definition at line 61 of file HotState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
only gets called once on an active Symptom that is being deactivated
Definition at line 46 of file LaughterState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
only gets called once on an active Symptom that is being deactivated
Definition at line 58 of file PainHeavyState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
only gets called once on an active Symptom that is being deactivated
Definition at line 60 of file PainLightState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
only gets called once on an active Symptom that is being deactivated
Definition at line 48 of file SneezeState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
Definition at line 78 of file VomitState.c.
|
inlineprivate |
only gets called once on an active Symptom that is being deactivated
Definition at line 46 of file BlindnessState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
only gets called once on an active Symptom that is being deactivated
Definition at line 58 of file BloodLoss.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprotected |
only gets called once on an active Symptom that is being deactivated
Definition at line 88 of file FeverBlurState.c.
References LogManager::IsSymptomLogEnable(), m_Player, m_Requester, Debug::SymptomLog(), and ToString().
|
inlineprivate |
only gets called once on an active Symptom that is being deactivated
Definition at line 50 of file HandShivers.c.
|
protected |
only gets called once on an active Symptom that is being deactivated
Referenced by Deactivate().
|
inlineprivate |
only gets called once on an active Symptom that is being deactivated
Definition at line 65 of file CoughState.c.
|
inlineprivate |
only gets called once on an active Symptom that is being deactivated
Definition at line 55 of file FreezeState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
only gets called once on an active Symptom that is being deactivated
Definition at line 55 of file HotState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
only gets called once on an active Symptom that is being deactivated
Definition at line 40 of file LaughterState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
only gets called once on an active Symptom that is being deactivated
Definition at line 52 of file PainHeavyState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
only gets called once on an active Symptom that is being deactivated
Definition at line 54 of file PainLightState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
only gets called once on an active Symptom that is being deactivated
Definition at line 42 of file SneezeState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
only gets called once on an active Symptom that is being deactivated
Definition at line 73 of file VomitState.c.
|
inlineprivate |
Definition at line 40 of file BlindnessState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
Definition at line 52 of file BloodLoss.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprotected |
Definition at line 82 of file FeverBlurState.c.
References LogManager::IsSymptomLogEnable(), m_Player, Debug::SymptomLog(), and ToString().
|
inlineprivate |
Definition at line 38 of file HandShivers.c.
|
protected |
this is just for the Symptom parameters set-up and is called even if the Symptom doesn't execute, don't put any gameplay code in here
Referenced by Init().
Definition at line 5 of file CoughState.c.
References m_ID, m_Priority, and m_SymptomType.
Definition at line 4 of file FreezeState.c.
References m_ID, m_Priority, and m_SymptomType.
Definition at line 4 of file HotState.c.
References m_ID, m_Priority, and m_SymptomType.
Definition at line 4 of file LaughterState.c.
References m_Duration, m_ID, m_Priority, and m_SymptomType.
Definition at line 4 of file PainHeavyState.c.
References m_Duration, m_ID, m_Priority, and m_SymptomType.
Definition at line 4 of file PainLightState.c.
References m_Duration, m_ID, m_Priority, and m_SymptomType.
Definition at line 4 of file SneezeState.c.
References m_ID, m_Priority, and m_SymptomType.
Definition at line 5 of file VomitState.c.
References m_Duration, m_ID, m_Priority, and m_SymptomType.
Definition at line 8 of file BlindnessState.c.
References m_ID, m_IsPersistent, m_Position, m_Priority, m_SymptomType, and MakeParamObjectPersistent().
Definition at line 9 of file BloodLoss.c.
References Class::CastTo(), GetGame(), m_ID, m_IsPersistent, m_Priority, and m_SymptomType.
Definition at line 22 of file FeverBlurState.c.
References Class::CastTo(), GetGame(), m_ID, m_IsPersistent, m_Priority, m_Requester, and m_SymptomType.
Definition at line 6 of file HandShivers.c.
References m_ID, m_Priority, and m_SymptomType.
|
inlineprivate |
Definition at line 58 of file StateBase.c.
|
protected |
gets called every frame
Referenced by Update().
|
inlineprivate |
Definition at line 26 of file CoughState.c.
|
inlineprivate |
Definition at line 20 of file FreezeState.c.
|
inlineprivate |
Definition at line 20 of file HotState.c.
|
inlineprivate |
Definition at line 20 of file LaughterState.c.
|
inlineprivate |
Definition at line 20 of file PainHeavyState.c.
|
inlineprivate |
Definition at line 20 of file PainLightState.c.
|
inlineprivate |
Definition at line 19 of file SneezeState.c.
|
inlineprivate |
Definition at line 22 of file VomitState.c.
|
inlineprivate |
Definition at line 23 of file BlindnessState.c.
|
inlineprivate |
Definition at line 29 of file BloodLoss.c.
|
inlineprotected |
Definition at line 42 of file FeverBlurState.c.
References m_Requester, m_Time, Math::PI, Math::RandomFloat(), Math::RandomFloatInclusive(), and Math::Sin().
|
inlineprivate |
Definition at line 28 of file HandShivers.c.
|
protected |
gets called every frame
Referenced by Update().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprotected |
gets called every frame
Definition at line 36 of file FeverBlurState.c.
Definition at line 226 of file StateBase.c.
References GetType(), m_AnimPlayRequested, m_Player, and DayZPlayerSyncJunctures::SendPlayerSymptomADD().
|
inlineprivate |
Definition at line 220 of file StateBase.c.
References GetType(), m_AnimPlayRequested, m_Player, and DayZPlayerSyncJunctures::SendPlayerSymptomFB().
|
inlineprivate |
|
inlineprivate |
Definition at line 280 of file StateBase.c.
References m_DestroyRequested.
Referenced by AnimationFinish(), CheckDestroy(), and CheckSoundFinished().
Definition at line 80 of file StateBase.c.
References m_Duration.
Definition at line 105 of file StateBase.c.
Definition at line 15 of file HandShivers.c.
|
inlineprivate |
Definition at line 274 of file StateBase.c.
|
inlineprivate |
Definition at line 40 of file CoughState.c.
|
inlineprivate |
Definition at line 66 of file FreezeState.c.
|
inlineprivate |
Definition at line 66 of file HotState.c.
|
inlineprivate |
Definition at line 53 of file SneezeState.c.
|
inlineprivate |
Definition at line 83 of file VomitState.c.
Definition at line 238 of file StateBase.c.
References GetGame(), GetPlayer(), and CachedObjectsParams::PARAM2_INT_INT.
Referenced by Activate().
Definition at line 247 of file StateBase.c.
References GetGame(), GetPlayer(), and CachedObjectsParams::PARAM2_INT_INT.
Referenced by Deactivate().
Definition at line 201 of file StateBase.c.
References CheckDestroy(), GetGame(), m_ActivatedTime, m_Player, m_ServerUpdateDelta, m_ServerUpdateInterval, OnUpdateClient(), and OnUpdateServer().
Referenced by SymptomManager::UpdateActiveSymptoms().
Definition at line 4 of file VomitState.c.
Definition at line 4 of file BlindnessState.c.
Definition at line 16 of file FeverBlurState.c.
Definition at line 15 of file FeverBlurState.c.
Definition at line 13 of file FeverBlurState.c.
Definition at line 12 of file FeverBlurState.c.
Definition at line 3 of file CoughState.c.
|
private |
Definition at line 12 of file StateBase.c.
Referenced by CheckDestroy(), CheckSoundFinished(), and Update().
|
private |
Definition at line 26 of file StateBase.c.
|
private |
Definition at line 23 of file StateBase.c.
Referenced by CanBeInterupted(), PlayAnimationADD(), and PlayAnimationFB().
|
private |
Definition at line 5 of file BloodLoss.c.
|
private |
Definition at line 5 of file FeverBlurState.c.
|
private |
Definition at line 6 of file FeverBlurState.c.
Definition at line 16 of file StateBase.c.
Referenced by AnimationFinish().
Definition at line 17 of file StateBase.c.
Referenced by CheckDestroy(), and RequestDestroy().
|
private |
Definition at line 22 of file StateBase.c.
Referenced by CheckSoundFinished(), GetDuration(), and SetDuration().
|
private |
Definition at line 8 of file FeverBlurState.c.
|
private |
Definition at line 7 of file FeverBlurState.c.
|
private |
Definition at line 13 of file StateBase.c.
Referenced by GetType().
|
private |
Definition at line 7 of file StateBase.c.
Referenced by Activate(), Deactivate(), and IsActivated().
|
private |
Definition at line 15 of file StateBase.c.
Referenced by IsClientOnly().
Definition at line 19 of file StateBase.c.
Referenced by IsPersistent().
Definition at line 11 of file StateBase.c.
|
private |
Definition at line 20 of file StateBase.c.
Referenced by GetManager(), Init(), and OnDestructed().
|
private |
Definition at line 3 of file BlindnessState.c.
|
private |
Definition at line 24 of file StateBase.c.
Referenced by GetMaxCount().
Definition at line 28 of file StateBase.c.
Referenced by GetPersistentParams(), and MakeParamObjectPersistent().
|
private |
Definition at line 6 of file StateBase.c.
Referenced by CheckSoundFinished(), and PlaySound().
|
private |
Definition at line 8 of file StateBase.c.
Referenced by Activate(), Deactivate(), GetPlayer(), Init(), PlayAnimationADD(), PlayAnimationFB(), and Update().
Definition at line 5 of file BlindnessState.c.
|
private |
Definition at line 4 of file StateBase.c.
Referenced by GetPriority().
|
protected |
Definition at line 10 of file FeverBlurState.c.
|
private |
Definition at line 6 of file BloodLoss.c.
|
private |
Definition at line 10 of file StateBase.c.
Referenced by Update().
|
private |
Definition at line 9 of file StateBase.c.
Referenced by Update().
|
private |
Definition at line 4 of file HandShivers.c.
|
private |
Definition at line 5 of file StateBase.c.
|
private |
Definition at line 18 of file StateBase.c.
Referenced by IsPrimary().
Definition at line 21 of file StateBase.c.
Referenced by IsSyncToClient().
|
private |
Definition at line 9 of file FeverBlurState.c.
|
private |
Definition at line 14 of file StateBase.c.
Referenced by GetUID(), Init(), and OnDestructed().
Definition at line 3 of file StateBase.c.
Referenced by CheckDestroy().
Definition at line 19 of file FeverBlurState.c.
Definition at line 18 of file FeverBlurState.c.