#include <BodyModule.h>
Inherited by BodyModule.
Definition at line 119 of file BodyModule.h.
◆ applyDamageScalar()
| virtual void BodyModuleInterface::applyDamageScalar |
( |
Real | scalar | ) |
|
|
pure virtual |
◆ attemptDamage()
| virtual void BodyModuleInterface::attemptDamage |
( |
DamageInfo * | damageInfo | ) |
|
|
pure virtual |
◆ attemptHealing()
| virtual void BodyModuleInterface::attemptHealing |
( |
DamageInfo * | healingInfo | ) |
|
|
pure virtual |
Instead of having negative damage count as healing, or allowing access to the private changeHealth Method, we will use this parallel to attemptDamage to do healing without hack.
Implemented in ActiveBody, BodyModule, and InactiveBody.
◆ clearArmorSetFlag()
| virtual void BodyModuleInterface::clearArmorSetFlag |
( |
ArmorSetType | ast | ) |
|
|
pure virtual |
◆ clearLastAttacker()
| virtual void BodyModuleInterface::clearLastAttacker |
( |
| ) |
|
|
pure virtual |
◆ estimateDamage()
Estimate the (unclipped) damage that would be done to this object by the given damage (taking bonuses, armor, etc into account), but DO NOT alter the body in any way. (This is used by the AI system to choose weapons.)
Implemented in ActiveBody, BodyModule, and InactiveBody.
◆ evaluateVisualCondition()
| virtual void BodyModuleInterface::evaluateVisualCondition |
( |
| ) |
|
|
pure virtual |
◆ getBackCrushed()
| virtual Bool BodyModuleInterface::getBackCrushed |
( |
| ) |
const |
|
pure virtual |
◆ getClearableLastAttacker()
| virtual ObjectID BodyModuleInterface::getClearableLastAttacker |
( |
| ) |
const |
|
pure virtual |
◆ getCurrentSubdualDamageAmount()
| virtual Real BodyModuleInterface::getCurrentSubdualDamageAmount |
( |
| ) |
const |
|
pure virtual |
◆ getDamageScalar()
| virtual Real BodyModuleInterface::getDamageScalar |
( |
| ) |
const |
|
pure virtual |
◆ getDamageState()
◆ getFrontCrushed()
| virtual Bool BodyModuleInterface::getFrontCrushed |
( |
| ) |
const |
|
pure virtual |
◆ getHealth()
| virtual Real BodyModuleInterface::getHealth |
( |
| ) |
const |
|
pure virtual |
◆ getInitialHealth()
| virtual Real BodyModuleInterface::getInitialHealth |
( |
| ) |
const |
|
pure virtual |
◆ getLastDamageInfo()
| virtual const DamageInfo * BodyModuleInterface::getLastDamageInfo |
( |
| ) |
const |
|
pure virtual |
◆ getLastDamageTimestamp()
| virtual UnsignedInt BodyModuleInterface::getLastDamageTimestamp |
( |
| ) |
const |
|
pure virtual |
◆ getLastHealingTimestamp()
| virtual UnsignedInt BodyModuleInterface::getLastHealingTimestamp |
( |
| ) |
const |
|
pure virtual |
◆ getMaxHealth()
| virtual Real BodyModuleInterface::getMaxHealth |
( |
| ) |
const |
|
pure virtual |
◆ getPreviousHealth()
| virtual Real BodyModuleInterface::getPreviousHealth |
( |
| ) |
const |
|
pure virtual |
◆ getSubdualDamageHealAmount()
| virtual Real BodyModuleInterface::getSubdualDamageHealAmount |
( |
| ) |
const |
|
pure virtual |
◆ getSubdualDamageHealRate()
| virtual UnsignedInt BodyModuleInterface::getSubdualDamageHealRate |
( |
| ) |
const |
|
pure virtual |
◆ hasAnySubdualDamage()
| virtual Bool BodyModuleInterface::hasAnySubdualDamage |
( |
| ) |
const |
|
pure virtual |
◆ internalChangeHealth()
| virtual void BodyModuleInterface::internalChangeHealth |
( |
Real | delta | ) |
|
|
pure virtual |
Change the module's health by the given delta. Note that the module's DamageFX and Armor are NOT taken into account, so you should think about what you're bypassing when you call this directly (especially when when decreasing health, since you probably want "attemptDamage" or "attemptHealing")
Implemented in ActiveBody, BodyModule, ImmortalBody, and InactiveBody.
◆ isIndestructible()
| virtual Bool BodyModuleInterface::isIndestructible |
( |
void | | ) |
const |
|
pure virtual |
◆ onVeterancyLevelChanged()
◆ setAflame()
| virtual void BodyModuleInterface::setAflame |
( |
Bool | setting | ) |
|
|
pure virtual |
◆ setArmorSetFlag()
| virtual void BodyModuleInterface::setArmorSetFlag |
( |
ArmorSetType | ast | ) |
|
|
pure virtual |
◆ setBackCrushed()
| virtual void BodyModuleInterface::setBackCrushed |
( |
Bool | v | ) |
|
|
pure virtual |
◆ setDamageState()
| virtual void BodyModuleInterface::setDamageState |
( |
BodyDamageType | newState | ) |
|
|
pure virtual |
◆ setFrontCrushed()
| virtual void BodyModuleInterface::setFrontCrushed |
( |
Bool | v | ) |
|
|
pure virtual |
◆ setIndestructible()
| virtual void BodyModuleInterface::setIndestructible |
( |
Bool | indestructible | ) |
|
|
pure virtual |
◆ setInitialHealth()
| virtual void BodyModuleInterface::setInitialHealth |
( |
Int | initialPercent | ) |
|
|
pure virtual |
◆ setMaxHealth()
◆ testArmorSetFlag()
◆ updateBodyParticleSystems()
| virtual void BodyModuleInterface::updateBodyParticleSystems |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: