Data Structures | |
| class | ExplosiveLight |
Functions | |
| void | ExplosivesBase () |
| override bool | IsExplosive () |
| override void | OnExplosionEffects (Object source, Object directHit, int componentIndex, string surface, vector pos, vector surfNormal, float energyFactor, float explosionFactor, bool isWater, string ammoType) |
| override void | EEDelete (EntityAI parent) |
| override void | EEKilled (Object killer) |
| override void | OnCEUpdate () |
| override void | UnpairRemote () |
| override void | OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0") |
| string | GetArmSoundset () |
| string | GetDisarmSoundset () |
| override void | InitItemSounds () |
| protected void | CreateLight () |
| protected void | DestroyParticle (Particle p) |
| protected void | InitiateExplosion () |
| protected void | OnExplode () |
| override void | SetActions () |
| override bool | IsInventoryVisible () |
| override bool | IsTakeable () |
| bool | IsTimerDetonable () |
| void | Arm () |
| void | OnArmed () |
| bool | CanBeArmed () |
| void | Disarm (bool pWithTool=false) |
| void | OnBeforeDisarm () |
| void | OnDisarmed (bool pWithTool) |
| bool | CanBeDisarmed () |
| bool | GetArmed () |
| protected void | SetArmed (bool state) |
| override bool | CanPutInCargo (EntityAI parent) |
| override bool | CanPutIntoHands (EntityAI parent) |
| override bool | CanRemoveFromHands (EntityAI parent) |
| bool | GetDefused () |
| protected void | SetDefused (bool state) |
| void | SetAmmoType (string pAmmoType) |
| void | SetAmmoTypes (array< string > pAmmoTypes) |
| void | SetParticleExplosion (int particle) |
| void | SetParticlePosition (vector local_pos) |
| set position for smoke particle - needs to be in Local Space | |
| void | SetParticleOrientation (vector local_ori) |
| override void | OnStoreSave (ParamsWriteContext ctx) |
| override bool | OnStoreLoad (ParamsReadContext ctx, int version) |
| void | UpdateLED (int pState) |
| HELPERS. | |
| bool | HasLockedTriggerSlots () |
| void | LockTriggerSlots () |
| void | UnlockTriggerSlots () |
| void | LockExplosivesSlots () |
| void | UnlockExplosivesSlots () |
| void | Init () |
| Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system) | |
| static void | Cleanup () |
| void | InitSpecificsExplosionEffectForSurface () |
| void | AddExplosionEffectForSurface (string surface, int effectID) |
| int | GetParticleExplosionID (string surface) |
Variables | |
| ExplosiveLight | DEFAULT_AMMO_TYPE = "Explosion_NonLethal" |
| protected const string | ANIM_PHASE_VISIBILITY = "Visibility" |
| protected bool | m_Armed |
| protected bool | m_Defused |
| protected ref array< string > | m_AmmoTypes |
| protected ref Timer | m_DeleteTimer |
| protected ExplosiveLight | m_Light |
| light | |
| protected Particle | m_ParticleExplosion |
| particle | |
| protected ref array< ParticleSource > | m_ParticleExplosionArr = {} |
| protected int | m_ParticleExplosionId |
| protected vector | m_ParticlePosition |
| protected vector | m_ParticleOrientation |
| static protected ref map< string, ref map< string, int > > | m_TypeToSurfaceParticleIDMap |
References GetName(), and m_TypeToSurfaceParticleIDMap.
Referenced by Grenade_Base::InitSpecificsExplosionEffectForSurface().
| void Arm | ( | ) |
| bool CanBeArmed | ( | ) |
| bool CanBeDisarmed | ( | ) |
References ItemBase::IsTakeable().
References ItemBase::IsTakeable().
References ItemBase::IsTakeable().
|
static |
References m_TypeToSurfaceParticleIDMap.
| protected void CreateLight | ( | ) |
References GetPosition, and m_Light.
Referenced by EntityLightSource::CreateLightAtObjMemoryPoint(), and OnExplosionEffects().
| protected void DestroyParticle | ( | Particle | p | ) |
References Particle::Stop().
Referenced by EEDelete(), and RefreshParticlesAndSounds().
| void Disarm | ( | bool | pWithTool = false | ) |
References OnDisarmed(), and SetArmed().
| override void EEDelete | ( | EntityAI | parent | ) |
References DestroyParticle(), m_ParticleExplosion, and m_ParticleExplosionArr.
| override void EEKilled | ( | Object | killer | ) |
should be called only here to avoid multiple explosion calculations, call SetHealth("","",0.0) instead
References InitiateExplosion(), and UnpairRemote().
| void ExplosivesBase | ( | ) |
no effect
References DEFAULT_AMMO_TYPE, GetPosition, Init(), ParticleList::INVALID, m_AmmoTypes, m_DeleteTimer, SetAmmoType(), SetParticleExplosion(), SetParticleOrientation(), SetParticlePosition(), and vector::Zero.
Referenced by ActionCondition(), ActionTriggerRemotely::ActionCondition(), ChainedDropAndRestrainLambda::CopyOldPropertiesToNew(), CreateRemoteDetonatorReceiverAsAttachment(), OnAbort(), OnCEUpdate(), OnEndServer(), OnFinishProgressClient(), OnFinishProgressServer(), OnStartServer(), Plastic_Explosive::OnWasAttached(), Plastic_Explosive::OnWasDetached(), PluginBase::PlayerKilled(), SetControlledDevice(), SpawnInPlayerHands(), and MissionBaseWorld::~MissionBase().
| bool GetArmed | ( | ) |
References m_Armed.
Referenced by ClaymoreMine::AfterStoreLoad(), ImprovisedExplosive::CanBeArmed(), Plastic_Explosive::CanBeArmed(), ClaymoreMine::CanBeDisarmed(), Plastic_Explosive::CanBeDisarmed(), ImprovisedExplosive::CanReceiveAttachment(), Plastic_Explosive::CanReceiveAttachment(), ClaymoreMine::GetViewIndex(), ImprovisedExplosive::IsDeployable(), Plastic_Explosive::IsDeployable(), ClaymoreMine::IsTakeable(), ImprovisedExplosive::IsTakeable(), Plastic_Explosive::IsTakeable(), ClaymoreMine::OnActivatedByItem(), ImprovisedExplosive::OnActivatedByItem(), Plastic_Explosive::OnActivatedByItem(), OnCEUpdate(), and ClaymoreMine::UpdateVisuals().
| string GetArmSoundset | ( | ) |
References string::Empty.
Referenced by InitItemSounds().
| bool GetDefused | ( | ) |
References m_Defused.
Referenced by ClaymoreMine::InitiateExplosion(), and ClaymoreMine::UpdateVisuals().
| string GetDisarmSoundset | ( | ) |
References string::Empty.
Referenced by InitItemSounds().
References GetName(), m_ParticleExplosionId, and m_TypeToSurfaceParticleIDMap.
Referenced by OnExplosionEffects().
| bool HasLockedTriggerSlots | ( | ) |
| void Init | ( | ) |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
whole body slots
upper body part slots
bottom body part slots
lower body part slots
heat comfort related slots
pre-init arrays
References GetName(), InitSpecificsExplosionEffectForSurface(), and m_TypeToSurfaceParticleIDMap.
| protected void InitiateExplosion | ( | ) |
References Explode(), m_AmmoTypes, and OnExplode().
Referenced by EEKilled(), and Plastic_Explosive::OnActivatedByItem().
| override void InitItemSounds | ( | ) |
References Empty, GetArmSoundset(), GetDisarmSoundset(), GetItemSoundHandler(), and ItemSoundHandler().
| void InitSpecificsExplosionEffectForSurface | ( | ) |
Referenced by Init().
| override bool IsExplosive | ( | ) |
| override bool IsInventoryVisible | ( | ) |
| override bool IsTakeable | ( | ) |
Referenced by CanPutInCargo(), CanPutIntoHands(), and CanRemoveFromHands().
| bool IsTimerDetonable | ( | ) |
| void LockExplosivesSlots | ( | ) |
| void LockTriggerSlots | ( | ) |
| void OnArmed | ( | ) |
Referenced by Arm().
| void OnBeforeDisarm | ( | ) |
| override void OnCEUpdate | ( | ) |
| protected void OnExplode | ( | ) |
References GetGame(), and m_DeleteTimer.
Referenced by InitiateExplosion(), and Grenade_Base::InitiateExplosion().
| override void OnPlacementComplete | ( | Man | player, |
| vector | position = "0 0 0", |
||
| vector | orientation = "0 0 0" |
||
| ) |
References GetGame(), and SetPosition().
| override bool OnStoreLoad | ( | ParamsReadContext | ctx, |
| int | version | ||
| ) |
References Serializer::Read(), and SetArmed().
| override void OnStoreSave | ( | ParamsWriteContext | ctx | ) |
References m_Armed, and Serializer::Write().
| override void SetActions | ( | ) |
References ActionAttach(), ActionDetach(), and AddAction().
| void SetAmmoType | ( | string | pAmmoType | ) |
References SetAmmoTypes().
Referenced by ExplosivesBase(), Grenade_Base::FlashGrenade(), SmokeGrenadeBase::M18SmokeGrenade_ColorBase(), Grenade_Base::M67Grenade(), Plastic_Explosive::Plastic_Explosive(), SmokeGrenadeBase::RDG2SmokeGrenade_ColorBase(), Grenade_Base::RGD5Grenade(), and SmokeGrenadeBase().
References m_AmmoTypes.
Referenced by ClaymoreMine::ClaymoreMine(), and SetAmmoType().
| protected void SetArmed | ( | bool | state | ) |
References m_Armed.
Referenced by Arm(), Disarm(), ImprovisedExplosive::EEHealthLevelChanged(), Plastic_Explosive::EEHealthLevelChanged(), and OnStoreLoad().
| protected void SetDefused | ( | bool | state | ) |
References m_Defused.
Referenced by ClaymoreMine::OnDisarmed().
| void SetParticleExplosion | ( | int | particle | ) |
| void SetParticleOrientation | ( | vector | local_ori | ) |
References GetOrientation(), and m_ParticleOrientation.
Referenced by ClaymoreMine::ClaymoreMine(), and ExplosivesBase().
| void SetParticlePosition | ( | vector | local_pos | ) |
set position for smoke particle - needs to be in Local Space
References GetPosition, and m_ParticlePosition.
Referenced by ExplosivesBase(), and SmokeGrenadeBase::RDG2SmokeGrenade_ColorBase().
| void UnlockExplosivesSlots | ( | ) |
| void UnlockTriggerSlots | ( | ) |
| override void UnpairRemote | ( | ) |
References GetRemotelyActivatedItemBehaviour(), and RemotelyActivatedItemBehaviour::Unpair().
Referenced by EEKilled(), ClaymoreMine::OnDisarmed(), ImprovisedExplosive::OnDisarmed(), and Plastic_Explosive::OnDisarmed().
| void UpdateLED | ( | int | pState | ) |
HELPERS.
| protected const string ANIM_PHASE_VISIBILITY = "Visibility" |
Referenced by ImprovisedExplosive::OnActivatedByItem().
| ExplosiveLight DEFAULT_AMMO_TYPE = "Explosion_NonLethal" |
Referenced by ExplosivesBase().
Referenced by ExplosivesBase(), InitiateExplosion(), Grenade_Base::InitiateExplosion(), and SetAmmoTypes().
| protected bool m_Armed |
Referenced by GetArmed(), OnStoreSave(), and SetArmed().
| protected bool m_Defused |
Referenced by GetDefused(), and SetDefused().
| protected ref Timer m_DeleteTimer |
Referenced by EntityLightSource::DeleteLightWithDelay(), DeleteThis(), ExplosivesBase(), and OnExplode().
| protected ExplosiveLight m_Light |
light
| protected Particle m_ParticleExplosion |
particle
Referenced by EEDelete(), OnExplode(), and OnExplosionEffects().
| protected ref array<ParticleSource> m_ParticleExplosionArr = {} |
Referenced by EEDelete(), and OnExplosionEffects().
| protected int m_ParticleExplosionId |
Referenced by GetParticleExplosionID(), OnExplosionEffects(), and SetParticleExplosion().
| protected vector m_ParticleOrientation |
Referenced by OnExplosionEffects(), and SetParticleOrientation().
| protected vector m_ParticlePosition |
Referenced by OnExplosionEffects(), PlaySmokeParticle(), and SetParticlePosition().
Referenced by AddExplosionEffectForSurface(), Cleanup(), GetParticleExplosionID(), and Init().