|
EvEmu
0.8.4
11 September 2021
|
#include "Damage.h"

Public Member Functions | |
| Damage (SystemEntity *pSE, InventoryItemRef wRef, float mod, uint16 eID) | |
| Damage (SystemEntity *pSE, InventoryItemRef wRef, InventoryItemRef cRef, uint16 eID) | |
| Damage (SystemEntity *pSE, InventoryItemRef wRef, float kin, float ther, float emp, float exp, float mod, uint16 eID) | |
| Damage (SystemEntity *pSE, bool fatal_blow=false) | |
| ~Damage () | |
| float | GetThermal () |
| float | GetEM () |
| float | GetKinetic () |
| float | GetExplosive () |
| float | GetModifier () |
| float | GetTotal () const |
| Damage | MultiplyDup (float kinetic_multiplier, float thermal_multiplier, float em_multiplier, float explosive_multiplier) const |
| Damage & | operator*= (float factor) |
Public Attributes | |
| SystemEntity * | srcSE |
| uint16 | effectID |
| InventoryItemRef | weaponRef |
| InventoryItemRef | chargeRef |
Private Attributes | |
| float | kinetic |
| float | thermal |
| float | em |
| float | explosive |
| float | modifier |
| Damage::Damage | ( | SystemEntity * | pSE, |
| InventoryItemRef | wRef, | ||
| float | mod, | ||
| uint16 | eID | ||
| ) |
Definition at line 68 of file Damage.cpp.
References _log, AttrEmDamage, AttrExplosiveDamage, AttrKineticDamage, AttrThermalDamage, em, explosive, EvilNumber::get_float(), InventoryItem::GetAttribute(), SystemEntity::GetID(), SystemEntity::GetName(), InventoryItem::itemID(), kinetic, modifier, InventoryItem::name(), srcSE, and thermal.
Referenced by MultiplyDup().


| Damage::Damage | ( | SystemEntity * | pSE, |
| InventoryItemRef | wRef, | ||
| InventoryItemRef | cRef, | ||
| uint16 | eID | ||
| ) |
Definition at line 83 of file Damage.cpp.
References _log, AttrEmDamage, AttrExplosiveDamage, AttrKineticDamage, AttrThermalDamage, em, explosive, EvilNumber::get_float(), InventoryItem::GetAttribute(), SystemEntity::GetID(), SystemEntity::GetName(), InventoryItem::itemID(), kinetic, modifier, InventoryItem::name(), srcSE, and thermal.

| Damage::Damage | ( | SystemEntity * | pSE, |
| InventoryItemRef | wRef, | ||
| float | kin, | ||
| float | ther, | ||
| float | emp, | ||
| float | exp, | ||
| float | mod, | ||
| uint16 | eID | ||
| ) |
| Damage::Damage | ( | SystemEntity * | pSE, |
| bool | fatal_blow = false |
||
| ) |
Definition at line 98 of file Damage.cpp.
References chargeRef, em, explosive, kinetic, thermal, and weaponRef.
|
inline |
Definition at line 44 of file Damage.h.
References em.
Referenced by SystemEntity::ApplyDamage().

|
inline |
Definition at line 46 of file Damage.h.
References explosive.
Referenced by SystemEntity::ApplyDamage().

|
inline |
Definition at line 45 of file Damage.h.
References kinetic.
Referenced by SystemEntity::ApplyDamage().

|
inline |
Definition at line 47 of file Damage.h.
References modifier.
Referenced by SystemEntity::ApplyDamage().

|
inline |
Definition at line 43 of file Damage.h.
References thermal.
Referenced by SystemEntity::ApplyDamage().

|
inline |
Definition at line 48 of file Damage.h.
References em, explosive, kinetic, and thermal.
Referenced by SystemEntity::ApplyDamage(), CustomsSE::Killed(), StructureSE::Killed(), and ShipSE::Killed().

|
inline |
Definition at line 50 of file Damage.h.
References Damage(), effectID, em, explosive, kinetic, modifier, srcSE, thermal, and weaponRef.
Referenced by SystemEntity::ApplyDamage().


|
inline |
| InventoryItemRef Damage::chargeRef |
Definition at line 87 of file Damage.h.
Referenced by SystemEntity::ApplyDamage(), and Damage().
| uint16 Damage::effectID |
Definition at line 85 of file Damage.h.
Referenced by MultiplyDup().
|
private |
Definition at line 92 of file Damage.h.
Referenced by Damage(), GetEM(), GetTotal(), MultiplyDup(), and operator*=().
|
private |
Definition at line 93 of file Damage.h.
Referenced by Damage(), GetExplosive(), GetTotal(), MultiplyDup(), and operator*=().
|
private |
Definition at line 90 of file Damage.h.
Referenced by Damage(), GetKinetic(), GetTotal(), MultiplyDup(), and operator*=().
|
private |
Definition at line 94 of file Damage.h.
Referenced by Damage(), GetModifier(), and MultiplyDup().
| SystemEntity* Damage::srcSE |
Definition at line 84 of file Damage.h.
Referenced by SystemEntity::ApplyDamage(), Damage(), Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), DroneSE::Killed(), StructureSE::Killed(), ShipSE::Killed(), and MultiplyDup().
|
private |
Definition at line 91 of file Damage.h.
Referenced by Damage(), GetThermal(), GetTotal(), MultiplyDup(), and operator*=().
| InventoryItemRef Damage::weaponRef |
Definition at line 86 of file Damage.h.
Referenced by SystemEntity::ApplyDamage(), Damage(), CustomsSE::Killed(), StructureSE::Killed(), ShipSE::Killed(), and MultiplyDup().