Dayz 1.25
Dayz Code Explorer by KGB
Загрузка...
Поиск...
Не найдено
Файл Effect.c

См. исходные тексты.

Перечисления

enum  EffectType
 Enum to determine what type of effect the Effect is. Подробнее...
 

Функции

EffectType

Information about what type of effect the Effect is, without the need for casting

EffectType GetEffectType ()
 Get what type of effect the Effect is.
 
bool IsSound ()
 Check whether the Effect is EffectSound without casting.
 
bool IsParticle ()
 Check whether the Effect is EffectParticle without casting.
 
Playback

Methods to Play/Stop Effect Generally, SEffectManager.Play methods are used instead of Start

void Start ()
 Plays all elements this effects consists of.
 
void ValidateStart ()
 Validation whether an effect truly started playing or if the Effect should stop as none is present.
 
void Stop ()
 Stops all elements this effect consists of.
 
bool IsPlaying ()
 Returns true when the Effect is playing, false otherwise.
 
Destroy

Methods regarding automatic cleanup

void Destroy ()
 Cleans up the Effect, including unregistering if needed.
 
void SetAutodestroy (bool auto_destroy)
 Sets whether Effect automatically cleans up when it stops.
 
bool IsAutodestroy ()
 Get whether Effect automatically cleans up when it stops.
 
bool IsPendingDeletion ()
 Get whether the Effect is queued up for being cleaned up.
 
bool CanDestroy ()
 Get whether the Effect can be destroyed right now.
 
void SetEnableEventFrame (bool enable)
 Enable Event_OnFrameUpdate for the effect.
 
Events

Various events that can be overriden for custom behaviour

void Event_OnFrameUpdate (float time_delta)
 Event called on frame when enabled by SetEnableEventFrame(true)
 
void Event_OnRegistered (int id)
 Event called from SEffectManager when the Effect is registered.
 
void Event_OnUnregistered ()
 Event called from SEffectManager when the Effect is unregistered.
 
void OnCheckUpdate ()
 Event used when EffectParticle.CheckLifeSpan was called (DEPRECATED)
 
Generic API

Setters and getters for generic data and properties

void SetParent (Object parent_obj)
 Set parent of the Effect.
 
Object GetParent ()
 Get parent of the Effect.
 
void SetCurrentParent (Object parent_obj, bool updateCached=true)
 Set current parent of the managed effect.
 
Object GetCurrentParent ()
 Get the current parent of the managed Effect.
 
void SetPosition (vector pos)
 Set the world position of the Effect.
 
vector GetPosition ()
 Get the world position of the Effect.
 
void SetCurrentPosition (vector pos, bool updateCached=true)
 Set the current world position of the managed effect.
 
vector GetCurrentPosition ()
 Get the current world position of the managed effect.
 
void SetLocalPosition (vector pos)
 Set the local position of the Effect.
 
vector GetLocalPosition ()
 Get the local position of the Effect.
 
void SetCurrentLocalPosition (vector pos, bool updateCached=true)
 Set the current local position of the managed effect.
 
vector GetCurrentLocalPosition ()
 Get the current local position of the managed effect.
 
Effect ID

The ID of the effect when registered in SEffectManager

void SetID (int id)
 Set the ID registered in SEffectManager.
 
int GetID ()
 Get the ID registered in SEffectManager.
 
bool IsRegistered ()
 Get whether this Effect is registered in SEffectManager.
 
Attachment API

Data to attach an Effect to a parent Mostly replaced by equivalents without 'Attachment' in name Mildly deprecated, exist for backwards compatibility

void SetAttachmentParent (Object obj)
 Set parent for the Effect.
 
Object GetAttachmentParent ()
 Get the parent set by SetAttachmentParent.
 
void SetAttachedLocalPos (vector pos)
 Set local pos for the Effect relative to the parent.
 
vector GetAttachedLocalPos ()
 Get the local pos set by SetAttachedLocalPos.
 
void SetAttachedLocalOri (vector ori)
 Set local orientation for the Effectparticle to attach to when the Effect is started.
 
vector GetAttachedLocalOri ()
 Get the local orientation set by SetAttachedLocalOri.
 

Переменные

 NONE
 Plain Effect base.
 
 SOUND
 EffectSound.
 
 PARTICLE
 EffectParticle.
 
Event invokers

Base wrapper class for managing effects (Particles, Sound) through SEffectManager

Заметки
This is just a base class, not intended for direct usage

ScriptInvonkers for certain events

 Event_OnStarted () = new ScriptInvoker()
 Event used when Start was called.
 
ref ScriptInvoker Event_OnStopped () = new ScriptInvoker()
 Event used when Stop was called.
 
ref ScriptInvoker Event_OnEffectStarted () = new ScriptInvoker()
 Event used when the actual effect started playing.
 
ref ScriptInvoker Event_OnEffectEnded () = new ScriptInvoker()
 Event used when the actual effect stopped playing.
 
Generic data

Generic data for the Effect

bool m_IsAutodestroy
 Whether the Effect cleans up after itself when stopped.
 
bool m_IsPendingDeletion
 Whether the Destroy process has already been called.
 
bool m_IsPlaying
 Whether the Effect is currently playing.
 
Object m_ParentObject
 Cached parent.
 
vector m_Position
 Cached world position.
 
SEffectManager data

Data filled in by SEffectManager to identify it when it is registered

int m_ID
 ID of effect, given by SEffectManager when registered (automatically done when playing through it)
 
bool m_IsRegistered
 Whether the effect is registered in SEffectManager.
 

Attachment data

Cached settings set through 'SetAttachment...' methods Does not necessarily reflect the current state when EffectParticle

vector m_LocalPos
 Cached local pos.
 
vector m_LocalOri
 Local orientation set by SetAttachedLocalOri, only used by EffectParticle.
 
void Effect ()
 ctor
 
void ~Effect ()
 dtor
 
void InitEffect ()
 init
 

Перечисления

◆ EffectType

Enum to determine what type of effect the Effect is.

3{
5 NONE,
7 SOUND,
10}
PARTICLE
EffectParticle.
Definition Effect.c:9
SOUND
EffectSound.
Definition Effect.c:7
NONE
Plain Effect base.
Definition Effect.c:5

Функции

◆ Effect()

void Effect ( )
protected

ctor

71 {
72 if (GetGame().IsDedicatedServer())
73 {
74 ErrorEx("Created Effect on server.", ErrorExSeverity.WARNING);
75 }
76
77 InitEffect();
78 }
void InitEffect()
init
Definition Effect.c:99
proto native CGame GetGame()
ErrorExSeverity
Definition EnDebug.c:62
enum ShapeType ErrorEx

Перекрестные ссылки ErrorEx, GetGame() и InitEffect().

◆ Event_OnFrameUpdate()

void Event_OnFrameUpdate ( float time_delta)
protected

Event called on frame when enabled by SetEnableEventFrame(true)

Заметки
Called from SEffectManager.Event_OnFrameUpdate in MissionGameplay.OnUpdate
Аргументы
time_deltafloat Time passed since the previous frame
344 {
345 // Override this method for own use
346 }

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

◆ Event_OnRegistered()

void Event_OnRegistered ( int id)
protected

Event called from SEffectManager when the Effect is registered.

Заметки
Should only ever be called by SEffectManager!
Аргументы
idint ID registered in SEffectManager
354 {
355 SetID(id);
356 m_IsRegistered = true;
357 }
bool m_IsRegistered
Whether the effect is registered in SEffectManager.
Definition Effect.c:51
void SetID(int id)
Set the ID registered in SEffectManager.
Definition Effect.c:525

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

◆ Event_OnUnregistered()

void Event_OnUnregistered ( )
protected

Event called from SEffectManager when the Effect is unregistered.

Заметки
Should only ever be called by SEffectManager!
364 {
366 m_IsRegistered = false;
367 }
Manager class for managing Effect (EffectParticle, EffectSound)
Definition EffectManager.c:6
static const int INVALID_ID
As the counter starts at 1, Effect ID can never be 0.
Definition EffectManager.c:14

Перекрестные ссылки SEffectManager::INVALID_ID, m_IsRegistered и SetID().

◆ GetAttachedLocalOri()

vector GetAttachedLocalOri ( )
protected

Get the local orientation set by SetAttachedLocalOri.

Предупреждения
Is not necessarily the current local orientation
Возвращает
vector The local orientation set by SetAttachedLocalOri
612 {
613 return m_LocalOri;
614 }
vector m_LocalOri
Local orientation set by SetAttachedLocalOri, only used by EffectParticle.
Definition Effect.c:62

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

Используется в EffectParticle::ReAttach() и EffectParticle::Start().

◆ GetAttachedLocalPos()

vector GetAttachedLocalPos ( )
protected

Get the local pos set by SetAttachedLocalPos.

Возвращает
vector The local pos set by SetAttachedLocalPos
591 {
592 return GetLocalPosition();
593 }
vector GetLocalPosition()
Get the local position of the Effect.
Definition Effect.c:486

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

◆ GetAttachmentParent()

Object GetAttachmentParent ( )
protected

Get the parent set by SetAttachmentParent.

Возвращает
Object The parent set by SetAttachmentParent
573 {
574 return GetParent();
575 }
Object GetParent()
Get parent of the Effect.
Definition Effect.c:405

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

Используется в EffEngineSmoke::Event_OnFrameUpdate(), EffExhaustSmoke::SetParticleStateLight() и EffCoolantSteam::UpdateParticle().

◆ GetCurrentLocalPosition()

vector GetCurrentLocalPosition ( )
protected

Get the current local position of the managed effect.

Возвращает
vector The current local position of the managed effect
507 {
508 return vector.Zero;
509 }
Definition EnConvert.c:106
static const vector Zero
Definition EnConvert.c:110

Перекрестные ссылки vector::Zero.

◆ GetCurrentParent()

Object GetCurrentParent ( )
protected

Get the current parent of the managed Effect.

Возвращает
Object The current parent of the managed Effect
427 {
428 return null;
429 }
Definition EntityAI.c:95

◆ GetCurrentPosition()

vector GetCurrentPosition ( )
protected

Get the current world position of the managed effect.

Возвращает
vector The current world position of the managed effect
467 {
468 return vector.Zero;
469 }

Перекрестные ссылки vector::Zero.

◆ GetEffectType()

EffectType GetEffectType ( )
protected

Get what type of effect the Effect is.

Возвращает
EffectType What type of effect the Effect is
117 {
118 return EffectType.NONE;
119 }
EffectType
Enum to determine what type of effect the Effect is.
Definition Effect.c:3

◆ GetID()

int GetID ( )
protected

Get the ID registered in SEffectManager.

Возвращает
int ID registered in SEffectManager, or 0 (SEffectManager.INVALID_ID) when not registered
535 {
536 return m_ID;
537 }
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition Effect.c:49

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

Используется в AnalyticsManagerClient::Event_OnEntityKilled(), CGame::GamepadCheck(), ManBase::InitEditor(), BiosUserManager::OnPartyHost(), MissionBase::Pause() и ~Effect().

◆ GetLocalPosition()

vector GetLocalPosition ( )
protected

Get the local position of the Effect.

Предупреждения
Only gets the cached variable, for immediate effect use GetCurrent variant
Возвращает
vector The lcoal position of the Effect
487 {
488 return m_LocalPos;
489 }
vector m_LocalPos
Cached local pos.
Definition Effect.c:60

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

Используется в GetAttachedLocalPos(), EffectSound::GetCurrentLocalPosition(), EffectParticle::ReAttach(), ParticleSource::SetWiggle() и EffectParticle::Start().

◆ GetPosition()

vector GetPosition ( )
protected

Get the world position of the Effect.

Предупреждения
Only gets the cached variable, for immediate effect use GetCurrent variant
Возвращает
vector The world position of the Effect
447 {
448 return m_Position;
449 }
vector m_Position
Cached world position.
Definition Effect.c:41

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

◆ InitEffect()

void InitEffect ( )
protected

init

100 {
104 }
ref ScriptInvoker Event_OnEffectStarted
Event used when the actual effect started playing.
Definition Effect.c:24
ref ScriptInvoker Event_OnEffectEnded
Event used when the actual effect stopped playing.
Definition Effect.c:25
ref ScriptInvoker Event_OnStopped
Event used when Stop was called.
Definition Effect.c:23
void ValidateStart()
Validation whether an effect truly started playing or if the Effect should stop as none is present.
Definition Effect.c:170
Event_OnStarted
Event used when Start was called.
Definition Effect.c:300

Перекрестные ссылки Event_OnEffectEnded, Event_OnEffectStarted, Event_OnStarted, Event_OnStopped и ValidateStart().

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

◆ IsParticle()

bool IsParticle ( )
protected

Check whether the Effect is EffectParticle without casting.

Возвращает
bool Whether the Effect is EffectParticle
135 {
136 return false;
137 }

◆ IsPlaying()

bool IsPlaying ( )
protected

Returns true when the Effect is playing, false otherwise.

194 {
195 return m_IsPlaying;
196 }
bool m_IsPlaying
Whether the Effect is currently playing.
Definition Effect.c:37

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

Используется в EffVehicleSmoke::SetParticleState(), Start() и Stop().

◆ IsRegistered()

bool IsRegistered ( )
protected

Get whether this Effect is registered in SEffectManager.

Возвращает
bool Whether this Effect is registered in SEffectManager
544 {
545 return m_IsRegistered;
546 }

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

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

◆ IsSound()

bool IsSound ( )
protected

Check whether the Effect is EffectSound without casting.

Возвращает
bool Whether the Effect is EffectSound
126 {
127 return false;
128 }

◆ OnCheckUpdate()

void OnCheckUpdate ( )
protected

Event used when EffectParticle.CheckLifeSpan was called (DEPRECATED)

Заметки
So this is EffectParticle specific...
EffectParticle.CheckLifeSpan is currently not in use
375 {
376
377 }

◆ SetAttachedLocalOri()

void SetAttachedLocalOri ( vector ori)
protected

Set local orientation for the Effectparticle to attach to when the Effect is started.

Предупреждения
Only caches it into a variable to be used by Start, does not live update when called afterwards
Заметки
Overrides the orientation set by EffectParticle.SetOrientation
Аргументы
orivector The local orientation to use on Start
602 {
603 m_LocalOri = ori;
604 }

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

Используется в EffectParticle::AttachTo().

◆ SetAttachedLocalPos()

void SetAttachedLocalPos ( vector pos)
protected

Set local pos for the Effect relative to the parent.

Аргументы
posvector The local pos relative to the parent
582 {
583 SetLocalPosition(pos);
584 }
void SetLocalPosition(vector pos)
Set the local position of the Effect.
Definition Effect.c:476

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

◆ SetAttachmentParent()

void SetAttachmentParent ( Object obj)
protected

Set parent for the Effect.

Аргументы
objObject The parent for the Effect
564 {
565 SetParent(obj);
566 }
void SetParent(Object parent_obj)
Set parent of the Effect.
Definition Effect.c:394

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

◆ SetCurrentLocalPosition()

void SetCurrentLocalPosition ( vector pos,
bool updateCached = true )
protected

Set the current local position of the managed effect.

Аргументы
posvector The current local position for the managed effect
updateCachedbool Whether to update the cached variable
497 {
498 if (updateCached)
499 SetLocalPosition(pos);
500 }

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

◆ SetCurrentParent()

void SetCurrentParent ( Object parent_obj,
bool updateCached = true )
protected

Set current parent of the managed effect.

Заметки
Same as SetAttachmentParent, but more generic name
Аргументы
parent_objObject The parent for the Effect
updateCachedbool Whether to update the cached variable
417 {
418 if (updateCached)
420 }

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

◆ SetCurrentPosition()

void SetCurrentPosition ( vector pos,
bool updateCached = true )
protected

Set the current world position of the managed effect.

Аргументы
posvector The current world position for the Effect
updateCachedbool Whether to update the cached variable
457 {
458 if (updateCached)
459 SetPosition(pos);
460 }
void SetPosition(vector pos)
Set the world position of the Effect.
Definition Effect.c:436

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

◆ SetID()

void SetID ( int id)
protected

Set the ID registered in SEffectManager.

Заметки
Should only ever be called by Event_OnRegistered!
Аргументы
idint ID registered in SEffectManager
526 {
527 m_ID = id;
528 }

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

Используется в Event_OnRegistered() и Event_OnUnregistered().

◆ SetLocalPosition()

void SetLocalPosition ( vector pos)
protected

Set the local position of the Effect.

Предупреждения
Only sets the cached variable, for immediate effect use SetCurrent variant
Аргументы
posvector The local position for the Effect
477 {
478 m_LocalPos = pos;
479 }

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

Используется в EffectParticle::AttachTo(), SetAttachedLocalPos() и SetCurrentLocalPosition().

◆ SetParent()

void SetParent ( Object parent_obj)
protected

Set parent of the Effect.

Заметки
Same as SetAttachmentParent, but more generic name
Предупреждения
Only sets the cached variable, for immediate effect use SetCurrent variant
Аргументы
parent_objObject The parent for the Effect
395 {
397 }
Object m_ParentObject
Cached parent.
Definition Effect.c:39

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

Используется в EffectParticle::AttachTo(), Construction(), SetAttachmentParent() и SetCurrentParent().

◆ Start()

void Start ( )
protected

Plays all elements this effects consists of.

Заметки
Is called by SEffectManager.Play methods
154 {
155 // It is already playing!
156 if (IsPlaying())
157 return;
158
160 // I can't call this from inside the method with same name
161 // because that method is often overriden without super......
162 Event_OnStarted.Invoke(this);
163 }
bool IsPlaying()
Returns true when the Effect is playing, false otherwise.
Definition Effect.c:193

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

Используется в HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::LoadAndSetCurrentFSMState(), Bot::OnDelayedStart(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::OnStoreLoad(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::RandomizeFSMStateEx() и HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::ValidateAndRepairHelper().

◆ Stop()

void Stop ( )
protected

Stops all elements this effect consists of.

Заметки
Alternatively use SEffectManager.Stop( effect_id )
180 {
181 // It is not playing!
182 if (!IsPlaying())
183 return;
184
186 // Yes, that event is new, but let's keep up some consistency
187 Event_OnStopped.Invoke(this);
188 }

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

Используется в Destroy(), UIScriptedMenu::OnClick(), UIScriptedMenu::OnKeyPress(), PPERequester_GameplayBase::OnUpdate(), UIScriptedMenu::Update() и ~Effect().

◆ ValidateStart()

void ValidateStart ( )
protected

Validation whether an effect truly started playing or if the Effect should stop as none is present.

Заметки
Override this when inheriting to create own validation check
Is called from Event_OnStarted invoker after Event_OnStarted has been performed
171 {
172
173 }

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

◆ ~Effect()

void ~Effect ( )
protected

dtor

84 {
85 // Safety
86 if ( IsRegistered() )
88
89 // Certain effects need to be stopped to clean up properly
90 Stop();
91
92 // Another safety
94 }
void Stop()
Stops all elements this effect consists of.
Definition Effect.c:179
int GetID()
Get the ID registered in SEffectManager.
Definition Effect.c:534
bool IsRegistered()
Get whether this Effect is registered in SEffectManager.
Definition Effect.c:543
static void EffectUnregister(int id)
Unregisters Effect in SEffectManager.
Definition EffectManager.c:347
void SetEnableEventFrame(bool enable)
Enable Event_OnFrameUpdate for the effect.
Definition Effect.c:278

Перекрестные ссылки SEffectManager::EffectUnregister(), GetID(), IsRegistered(), SetEnableEventFrame() и Stop().

Переменные

◆ Event_OnEffectEnded

void Event_OnEffectEnded = new ScriptInvoker()

Event used when the actual effect stopped playing.

Используется в EffectSound::Event_OnSoundWaveEnded(), InitEffect(), EffectParticle::InitEffect(), EffectSound::InitEffect() и EffectParticle::SetParticle().

◆ Event_OnEffectStarted

void Event_OnEffectStarted = new ScriptInvoker()

Event used when the actual effect started playing.

Используется в EffectSound::Event_OnSoundWaveStarted(), InitEffect(), EffectSound::InitEffect() и EffectParticle::SetParticle().

◆ Event_OnStarted

void Event_OnStarted = new ScriptInvoker()

Event used when Start was called.

301 {
302 // Override this method for own use
303 }

Используется в InitEffect(), EffectSound::InitEffect() и Start().

◆ Event_OnStopped

void Event_OnStopped = new ScriptInvoker()

Event used when Stop was called.

Используется в InitEffect(), EffectParticle::InitEffect(), EffectSound::InitEffect() и Stop().

◆ m_ID

int m_ID
protected

ID of effect, given by SEffectManager when registered (automatically done when playing through it)

Используется в MindStateSoundEventBase::AlertedMoveSoundEvent(), MindStateSoundEventBase::CalmMoveSoundEvent(), CalmMoveSoundEvent(), CanPlay(), MindStateSoundEventBase::ChaseMoveSoundEvent(), ChaseMoveSoundEvent(), DamageSoundEvents::DamageHeavySoundEvent(), DrowningSoundEventBase::DrowningEvent2(), DrowningEvents(), EmoteBase::EmoteCampfireSit(), EmoteCampfireSit(), EmoteBase::EmoteClap(), EmoteClap(), EmoteBase::EmoteCome(), EmoteCome(), EmoteBase::EmoteDabbing(), EmoteDabbing(), EmoteBase::EmoteGreeting(), EmoteGreeting(), EmoteBase::EmoteHeart(), EmoteHeart(), EmoteBase::EmoteListening(), EmoteListening(), EmoteBase::EmoteLookAtMe(), EmoteLookAtMe(), EmoteBase::EmoteLyingDown(), EmoteBase::EmoteMove(), EmoteMove(), EmoteBase::EmotePoint(), EmotePoint(), EmoteBase::EmoteRPSRock(), EmoteRPSRock(), EmoteBase::EmoteRPSScisors(), EmoteRPSScisors(), EmoteBase::EmoteSalute(), EmoteSalute(), EmoteBase::EmoteShake(), EmoteShake(), EmoteBase::EmoteSitB(), EmoteSitB(), EmoteBase::EmoteSuicide(), EmoteSuicide(), EmoteBase::EmoteThroat(), EmoteThroat(), EmoteBase::EmoteThumb(), EmoteThumb(), EmoteBase::EmoteWatching(), EmoteWatching(), HoldBreathSoundEventBase::ExhaustedBreathSoundEvent(), ExhaustedBreathSoundEvent(), SymptomSoundEventBase::FatigueSoundEvent(), GestureMenuItem(), GetID(), GetModifierID(), HasPriorityOverCurrent(), HoldBreathSoundEventBase(), HeatComfortEventsBase::HotSoundEvent(), AntibioticsMdfr::Init(), BloodRegenMdfr::Init(), BoneRegenMdfr::Init(), ModifierBase::Init(), CharcoalMdfr::Init(), AreaExposureMdfr::Init(), BleedingCheckMdfr::Init(), BlindedMdfr::Init(), BrokenArmsMdfr::Init(), BrokenLegsMdfr::Init(), BurningMdfr::Init(), FatigueMdfr::Init(), FeverMdfr::Init(), HeartAttackMdfr::Init(), HeatBufferMdfr::Init(), HemolyticReactionMdfr::Init(), PoisoningMdfr::Init(), StuffedStomachMdfr::Init(), TremorMdfr::Init(), VomitStuffedMdfr::Init(), WetMdfr::Init(), BrainDiseaseMdfr::Init(), CholeraMdfr::Init(), CommonColdMdfr::Init(), ContaminationStage1Mdfr::Init(), ContaminationStage2Mdfr::Init(), ContaminationStage3Mdfr::Init(), InfluenzaMdfr::Init(), SalmonellaMdfr::Init(), TestDiseaseMdfr::Init(), WoundInfectStage1Mdfr::Init(), WoundInfectStage2Mdfr::Init(), DisinfectionMdfr::Init(), DrowningMdfr::Init(), EpinephrineMdfr::Init(), FliesMdfr::Init(), HealthMdfr::Init(), HealthRegenMdfr::Init(), HeatComfortMdfr::Init(), HungerMdfr::Init(), ImmuneSystemMdfr::Init(), ImmunityBoost::Init(), MaskMdfr::Init(), MorphineMdfr::Init(), PainKillersMdfr::Init(), SalineMdfr::Init(), ShockMdfr::Init(), ShockDamageMdfr::Init(), StomachMdfr::Init(), TestingMdfr::Init(), ThirstMdfr::Init(), ToxicityMdfr::Init(), UnconsciousnessMdfr::Init(), InjuryMediumSoundEvent(), SymptomSoundEventBase::LaugherSoundEvent(), LaugherSoundEvent(), MeleeAttackSoundEvents::MeleeAttackHeavyEvent(), MeleeAttackSoundEvents(), SymptomBase::OnInit(), PlayerSoundEventBase::PickupHeavySoundEvent(), PickupHeavySoundEvent(), SetID(), StaminaSoundEventBase::StaminaDownHeavy(), StaminaDownHeavy(), StaminaLowFilterBase::StaminaLowFilterLower(), StaminaLowFilterBase::StaminaLowFilterUpper(), StaminaLowFilterUpper(), StaminaSoundEventBase::StaminaNormalDummy(), StaminaSoundEventBase::StaminaUpLight(), StaminaUpLight(), SymptomSoundEventBase() и SyncedValueAgent().

◆ m_IsAutodestroy

bool m_IsAutodestroy
protected

Whether the Effect cleans up after itself when stopped.

Используется в IsAutodestroy() и SetAutodestroy().

◆ m_IsPendingDeletion

bool m_IsPendingDeletion
protected

Whether the Destroy process has already been called.

Используется в Destroy() и IsPendingDeletion().

◆ m_IsPlaying

◆ m_IsRegistered

bool m_IsRegistered
protected

Whether the effect is registered in SEffectManager.

Используется в Event_OnRegistered(), Event_OnUnregistered() и IsRegistered().

◆ m_LocalOri

vector m_LocalOri
protected

Local orientation set by SetAttachedLocalOri, only used by EffectParticle.

Используется в EntityLightSource::AttachOnObject(), EntityLightSource::DetachFromParent(), GetAttachedLocalOri() и SetAttachedLocalOri().

◆ m_LocalPos

◆ m_ParentObject

◆ m_Position

◆ NONE

@ NONE

Plain Effect base.

◆ PARTICLE

PARTICLE

◆ SOUND

SOUND