DayZ 1.24
|
Protected Attributes | |
const float | DEFAULT_FUSE_DELAY = 10 |
ref Timer | m_FuseTimer |
float | m_FuseDelay |
float | m_RemainingFuseTime |
bool | m_Pinned |
bool | m_Pinnable |
EGrenadeType | m_GrenadeType |
Private Member Functions | |
override void | OnExplosionEffects (Object source, Object directHit, int componentIndex, string surface, vector pos, vector surfNormal, float energyFactor, float explosionFactor, bool isWater, string ammoType) |
void | FlashGrenade () |
void | M67Grenade () |
void | ~M67Grenade () |
void | RGD5Grenade () |
void | ~RGD5Grenade () |
Private Attributes | |
const float | FX_RANGE_MAX_MULT = 1.0 |
Definition at line 1 of file FlashGrenade.c.
|
inlineprotected |
Definition at line 90 of file FlashGrenade.c.
|
inlineprivate |
Definition at line 10 of file M67Grenade.c.
|
inlineprivate |
Definition at line 10 of file RGD5Grenade.c.
|
inlineprotected |
Definition at line 280 of file Grenade_Base.c.
References DEFAULT_FUSE_DELAY, m_FuseTimer, m_Pinned, m_RemainingFuseTime, SetFuseDelay(), SetGrenadeType(), and SetPinnable().
|
inlineprotected |
run only the remaining part (already unpinned and pinned)
Definition at line 116 of file Grenade_Base.c.
References m_FuseDelay, m_FuseTimer, and m_RemainingFuseTime.
Referenced by EEItemLocationChanged().
|
inlineprotected |
Definition at line 84 of file Grenade_Base.c.
References OnActivateImmediate().
Referenced by ActivateRandomTime().
|
inlineprotected |
to millis
Definition at line 89 of file Grenade_Base.c.
References ActivateImmediate(), CALL_CATEGORY_GAMEPLAY, GetGame(), and Math::RandomFloat().
Definition at line 238 of file Grenade_Base.c.
Definition at line 243 of file Grenade_Base.c.
Definition at line 248 of file Grenade_Base.c.
Definition at line 85 of file FlashGrenade.c.
References FlashGrenadeLight(), GetPosition, and m_Light.
|
inlineprotected |
Definition at line 135 of file Grenade_Base.c.
References m_FuseTimer, m_RemainingFuseTime, and OnDeactivate().
Referenced by OnPin(), and OnWasAttached().
|
inlineprotected |
activate grenade when it leaves player hands (safety handle released)
Definition at line 261 of file Grenade_Base.c.
References Activate(), and IsPinned().
|
inlineprotected |
DEPRECATED - for backward compatibility only.
Definition at line 163 of file Grenade_Base.c.
References InitiateExplosion().
|
inlineprivate |
Definition at line 77 of file FlashGrenade.c.
References ParticleList::GRENADE_M84, SetAmmoType(), SetFuseDelay(), SetGrenadeType(), and SetParticleExplosion().
|
inlineprotected |
Definition at line 111 of file Grenade_Base.c.
References m_GrenadeType.
Referenced by InitiateExplosion().
Definition at line 145 of file Grenade_Base.c.
References Explode(), GetGrenadeType(), m_AmmoTypes, and OnExplode().
Referenced by ExplodeGrenade().
|
inlineprotected |
cannot be pinned once the fuse has started
Definition at line 75 of file Grenade_Base.c.
References m_FuseTimer, and m_Pinnable.
|
inlineprotected |
Definition at line 70 of file Grenade_Base.c.
References m_Pinned.
Referenced by EEItemLocationChanged().
|
inlineprivate |
Definition at line 3 of file M67Grenade.c.
References ParticleList::M67, SetAmmoType(), SetFuseDelay(), and SetParticleExplosion().
Definition at line 59 of file Grenade_Base.c.
References OnActivateFinished(), and Unpin().
|
inlineprotected |
Definition at line 193 of file Grenade_Base.c.
References GetGame(), and SetTakeable().
Referenced by Grenade_ChemGas::EOnContact(), and OnActivatedByItem().
|
inlineprotected |
Definition at line 202 of file Grenade_Base.c.
References GetGame(), and SetTakeable().
Referenced by ActivateImmediate().
|
protected |
Referenced by Deactivate().
|
inlineprivate |
values less than 1.0 make no sense
removes possible obstacles made by items around the grenade(or on the same position)
Definition at line 5 of file FlashGrenade.c.
References Math::Clamp(), vector::Distance(), vector::DistanceSq(), GetGame(), GetPlayer(), MAX, DayZPhysics::RaycastRVProxy(), and Math::SqrFloat().
|
inlineprotected |
Definition at line 168 of file Grenade_Base.c.
References Deactivate(), GetGame(), and m_Pinned.
Referenced by Pin().
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Definition at line 180 of file Grenade_Base.c.
References GetGame(), m_Pinned, and OnActivateStarted().
Referenced by Unpin().
Definition at line 270 of file Grenade_Base.c.
References Deactivate().
|
inlineprotected |
Definition at line 44 of file Grenade_Base.c.
References m_Pinnable, m_Pinned, and OnPin().
|
inlineprivate |
Definition at line 3 of file RGD5Grenade.c.
References ParticleList::RGD5, SetAmmoType(), SetFuseDelay(), and SetParticleExplosion().
Definition at line 253 of file Grenade_Base.c.
References AddAction().
Definition at line 101 of file Grenade_Base.c.
References m_FuseDelay.
Referenced by FlashGrenade(), Grenade_Base(), M67Grenade(), and RGD5Grenade().
|
inlineprotected |
Definition at line 106 of file Grenade_Base.c.
References m_GrenadeType.
Referenced by FlashGrenade(), Grenade_Base(), and Grenade_ChemGas::Grenade_ChemGas().
Definition at line 96 of file Grenade_Base.c.
References m_Pinnable.
Referenced by Grenade_Base(), and Grenade_ChemGas::Grenade_ChemGas().
|
inlineprotected |
Definition at line 50 of file Grenade_Base.c.
References m_Pinned, and OnUnpin().
Referenced by OnActivatedByItem().
Definition at line 32 of file Grenade_Base.c.
Referenced by Grenade_Base().
Definition at line 3 of file FlashGrenade.c.
|
protected |
Definition at line 35 of file Grenade_Base.c.
Referenced by Activate(), and SetFuseDelay().
Definition at line 34 of file Grenade_Base.c.
Referenced by Activate(), Deactivate(), Grenade_Base(), and IsPinnable().
|
protected |
Definition at line 42 of file Grenade_Base.c.
Referenced by GetGrenadeType(), and SetGrenadeType().
|
protected |
Definition at line 39 of file Grenade_Base.c.
Referenced by IsPinnable(), Pin(), and SetPinnable().
|
protected |
Definition at line 38 of file Grenade_Base.c.
Referenced by Grenade_Base(), Grenade_ChemGas::Grenade_ChemGas(), IsPinned(), OnPin(), OnStoreLoad(), OnStoreSave(), OnUnpin(), Pin(), and Unpin().
|
protected |
Definition at line 36 of file Grenade_Base.c.
Referenced by Activate(), Deactivate(), and Grenade_Base().