|
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 () |
|
protected override void | CreateLight () |
|
void | ~FlashGrenade () |
|
void | M67Grenade () |
|
void | ~M67Grenade () |
|
void | RGD5Grenade () |
|
void | ~RGD5Grenade () |
|
void | Pin () |
|
void | Unpin () |
|
override void | OnActivatedByTripWire () |
| DEPRECATED use OnActivatedByItem.
|
|
override void | OnActivatedByItem (notnull ItemBase item) |
|
bool | IsPinned () |
|
bool | IsPinnable () |
|
void | ActivateImmediate () |
|
void | ActivateRandomTime () |
|
void | SetPinnable (bool state) |
|
void | SetFuseDelay (float delay) |
|
void | SetGrenadeType (EGrenadeType type) |
|
EGrenadeType | GetGrenadeType () |
|
protected void | Activate () |
|
protected void | Deactivate () |
|
protected override void | InitiateExplosion () |
|
protected void | ExplodeGrenade (EGrenadeType grenade_type) |
| DEPRECATED - for backward compatibility only.
|
|
protected void | OnPin () |
|
protected void | OnUnpin () |
|
protected void | OnActivateStarted () |
|
protected void | OnActivateFinished () |
|
protected void | OnActivateImmediate () |
|
protected void | OnDeactivate () |
|
override void | OnStoreSave (ParamsWriteContext ctx) |
|
override bool | OnStoreLoad (ParamsReadContext ctx, int version) |
|
override bool | CanBeArmed () |
|
override bool | CanBeDisarmed () |
|
override bool | CanExplodeInFire () |
|
override void | SetActions () |
|
override void | EEItemLocationChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc) |
|
override void | OnWasAttached (EntityAI parent, int slot_id) |
|
void | Grenade_Base () |
|
override void | InitSpecificsExplosionEffectForSurface () |
|
◆ ~FlashGrenade()
◆ ~M67Grenade()
◆ ~RGD5Grenade()
◆ Grenade_Base()
◆ Activate()
protected void Activate |
( |
| ) |
|
|
inlineprivate |
◆ ActivateImmediate()
void ActivateImmediate |
( |
| ) |
|
|
inlineprivate |
◆ ActivateRandomTime()
void ActivateRandomTime |
( |
| ) |
|
|
inlineprivate |
◆ CanBeArmed()
override bool CanBeArmed |
( |
| ) |
|
|
inlineprivate |
◆ CanBeDisarmed()
override bool CanBeDisarmed |
( |
| ) |
|
|
inlineprivate |
◆ CanExplodeInFire()
override bool CanExplodeInFire |
( |
| ) |
|
|
inlineprivate |
◆ CreateLight()
protected override void CreateLight |
( |
| ) |
|
|
inlineprivate |
◆ Deactivate()
protected void Deactivate |
( |
| ) |
|
|
inlineprivate |
◆ EEItemLocationChanged()
activate grenade when it leaves player hands (safety handle released)
References Activate(), and IsPinned().
◆ ExplodeGrenade()
◆ FlashGrenade()
◆ GetGrenadeType()
◆ InitiateExplosion()
protected override void InitiateExplosion |
( |
| ) |
|
|
inlineprivate |
◆ InitSpecificsExplosionEffectForSurface()
override void InitSpecificsExplosionEffectForSurface |
( |
| ) |
|
|
inlineprivate |
◆ IsPinnable()
◆ IsPinned()
◆ M67Grenade()
◆ OnActivatedByItem()
override void OnActivatedByItem |
( |
notnull ItemBase |
item | ) |
|
|
inlineprivate |
◆ OnActivatedByTripWire()
override void OnActivatedByTripWire |
( |
| ) |
|
|
private |
DEPRECATED use OnActivatedByItem.
◆ OnActivateFinished()
protected void OnActivateFinished |
( |
| ) |
|
|
inlineprivate |
◆ OnActivateImmediate()
protected void OnActivateImmediate |
( |
| ) |
|
|
inlineprivate |
◆ OnActivateStarted()
protected void OnActivateStarted |
( |
| ) |
|
|
private |
◆ OnDeactivate()
protected void OnDeactivate |
( |
| ) |
|
|
private |
◆ OnExplosionEffects()
◆ OnPin()
◆ OnStoreLoad()
◆ OnStoreSave()
◆ OnUnpin()
protected void OnUnpin |
( |
| ) |
|
|
inlineprivate |
◆ OnWasAttached()
override void OnWasAttached |
( |
EntityAI |
parent, |
|
|
int |
slot_id |
|
) |
| |
|
inlineprivate |
◆ Pin()
◆ RGD5Grenade()
◆ SetActions()
override void SetActions |
( |
| ) |
|
|
inlineprivate |
◆ SetFuseDelay()
void SetFuseDelay |
( |
float |
delay | ) |
|
|
inlineprivate |
◆ SetGrenadeType()
◆ SetPinnable()
void SetPinnable |
( |
bool |
state | ) |
|
|
inlineprivate |
◆ Unpin()
◆ DEFAULT_FUSE_DELAY
protected const float DEFAULT_FUSE_DELAY = 10 |
|
private |
◆ FX_RANGE_MAX_MULT
const float FX_RANGE_MAX_MULT = 1.0 |
|
private |
◆ m_FuseDelay
protected float m_FuseDelay |
|
private |
◆ m_FuseTimer
protected ref Timer m_FuseTimer |
|
private |
◆ m_GrenadeType
◆ m_Pinnable
protected bool m_Pinnable |
|
private |
◆ m_Pinned
◆ m_RemainingFuseTime
protected float m_RemainingFuseTime |
|
private |
The documentation for this class was generated from the following files: