|
| | HiveStructureBody (Thing *thing, const ModuleData *moduleData) |
| |
Public Member Functions inherited from StructureBody |
| | StructureBody (Thing *thing, const ModuleData *moduleData) |
| |
| void | setConstructorObject (Object *obj) |
| |
| ObjectID | getConstructorObjectID (void) |
| |
Public Member Functions inherited from ActiveBody |
| | ActiveBody (Thing *thing, const ModuleData *moduleData) |
| |
| virtual void | onDelete (void) |
| |
| virtual Real | estimateDamage (DamageInfoInput &damageInfo) const |
| |
| virtual void | attemptHealing (DamageInfo *damageInfo) |
| | try to heal this object
|
| |
| virtual Real | getHealth () const |
| | get current health
|
| |
| virtual BodyDamageType | getDamageState () const |
| |
| virtual void | setDamageState (BodyDamageType newState) |
| | control damage state directly. Will adjust hitpoints.
|
| |
| virtual void | setAflame (Bool setting) |
| | This is a major change like a damage state.
|
| |
| virtual UnsignedInt | getSubdualDamageHealRate () const |
| |
| virtual Real | getSubdualDamageHealAmount () const |
| |
| virtual Bool | hasAnySubdualDamage () const |
| |
| virtual Real | getCurrentSubdualDamageAmount () const |
| |
| virtual const DamageInfo * | getLastDamageInfo () const |
| | return info on last damage dealt to this object
|
| |
| virtual UnsignedInt | getLastDamageTimestamp () const |
| | return frame of last damage dealt
|
| |
| virtual UnsignedInt | getLastHealingTimestamp () const |
| | return frame of last damage dealt
|
| |
| virtual ObjectID | getClearableLastAttacker () const |
| |
| virtual void | clearLastAttacker () |
| |
| void | onVeterancyLevelChanged (VeterancyLevel oldLevel, VeterancyLevel newLevel, Bool provideFeedback=TRUE) |
| | I just achieved this level right this moment.
|
| |
| virtual void | setArmorSetFlag (ArmorSetType ast) |
| |
| virtual void | clearArmorSetFlag (ArmorSetType ast) |
| |
| virtual Bool | testArmorSetFlag (ArmorSetType ast) |
| |
| virtual void | setInitialHealth (Int initialPercent) |
| | Sets the inital load health %.
|
| |
| virtual void | setMaxHealth (Real maxHealth, MaxHealthChangeType healthChangeType=SAME_CURRENTHEALTH) |
| | Sets the inital max health.
|
| |
| virtual Bool | getFrontCrushed () const |
| |
| virtual Bool | getBackCrushed () const |
| |
| virtual void | setFrontCrushed (Bool v) |
| |
| virtual void | setBackCrushed (Bool v) |
| |
| virtual Real | getMaxHealth () const |
| | return max health
|
| |
| virtual Real | getInitialHealth () const |
| |
| virtual Real | getPreviousHealth () const |
| | return previous health
|
| |
| virtual void | setIndestructible (Bool indestructible) |
| |
| virtual Bool | isIndestructible (void) const |
| |
| virtual void | internalChangeHealth (Real delta) |
| | change health
|
| |
| virtual void | evaluateVisualCondition () |
| |
| virtual void | updateBodyParticleSystems (void) |
| |
| virtual Bool | isSubdued () const |
| |
| virtual Bool | canBeSubdued () const |
| |
| virtual void | onSubdualChange (Bool isNowSubdued) |
| | Override this if you want a totally different effect than DISABLED_SUBDUED.
|
| |
Public Member Functions inherited from BodyModule |
| | BodyModule (Thing *thing, const ModuleData *moduleData) |
| |
| virtual BodyModuleInterface * | getBody () |
| |
| virtual void | applyDamageScalar (Real scalar) |
| |
| virtual Real | getDamageScalar () const |
| |
| | BehaviorModule (Thing *thing, const ModuleData *moduleData) |
| |
| virtual CollideModuleInterface * | getCollide () |
| |
| virtual ContainModuleInterface * | getContain () |
| |
| virtual CreateModuleInterface * | getCreate () |
| |
| virtual DamageModuleInterface * | getDamage () |
| |
| virtual DestroyModuleInterface * | getDestroy () |
| |
| virtual DieModuleInterface * | getDie () |
| |
| virtual SpecialPowerModuleInterface * | getSpecialPower () |
| |
| virtual UpdateModuleInterface * | getUpdate () |
| |
| virtual UpgradeModuleInterface * | getUpgrade () |
| |
| virtual StealthUpdate * | getStealth () |
| |
| virtual SpyVisionUpdate * | getSpyVisionUpdate () |
| |
| virtual ParkingPlaceBehaviorInterface * | getParkingPlaceBehaviorInterface () |
| |
| virtual RebuildHoleBehaviorInterface * | getRebuildHoleBehaviorInterface () |
| |
| virtual BridgeBehaviorInterface * | getBridgeBehaviorInterface () |
| |
| virtual BridgeTowerBehaviorInterface * | getBridgeTowerBehaviorInterface () |
| |
| virtual BridgeScaffoldBehaviorInterface * | getBridgeScaffoldBehaviorInterface () |
| |
| virtual OverchargeBehaviorInterface * | getOverchargeBehaviorInterface () |
| |
| virtual TransportPassengerInterface * | getTransportPassengerInterface () |
| |
| virtual CaveInterface * | getCaveInterface () |
| |
| virtual LandMineInterface * | getLandMineInterface () |
| |
| virtual DieModuleInterface * | getEjectPilotDieInterface () |
| |
| virtual ProjectileUpdateInterface * | getProjectileUpdateInterface () |
| |
| virtual AIUpdateInterface * | getAIUpdateInterface () |
| |
| virtual ExitInterface * | getUpdateExitInterface () |
| |
| virtual DockUpdateInterface * | getDockUpdateInterface () |
| |
| virtual RailedTransportDockUpdateInterface * | getRailedTransportDockUpdateInterface (void) |
| |
| virtual SlowDeathBehaviorInterface * | getSlowDeathBehaviorInterface () |
| |
| virtual SpecialPowerUpdateInterface * | getSpecialPowerUpdateInterface () |
| |
| virtual SlavedUpdateInterface * | getSlavedUpdateInterface () |
| |
| virtual ProductionUpdateInterface * | getProductionUpdateInterface () |
| |
| virtual HordeUpdateInterface * | getHordeUpdateInterface () |
| |
| virtual PowerPlantUpdateInterface * | getPowerPlantUpdateInterface () |
| |
| virtual SpawnBehaviorInterface * | getSpawnBehaviorInterface () |
| |
| virtual CountermeasuresBehaviorInterface * | getCountermeasuresBehaviorInterface () |
| |
| virtual const CountermeasuresBehaviorInterface * | getCountermeasuresBehaviorInterface () const |
| |
| | ObjectModule (Thing *thing, const ModuleData *moduleData) |
| | < this abstract class needs memory pool hooks
|
| |
| virtual void | onCapture (Player *oldOwner, Player *newOwner) |
| |
| virtual void | onDisabledEdge (Bool nowDisabled) |
| |
| | Module (const ModuleData *moduleData) |
| | < this abstract class needs memory pool hooks
|
| |
| virtual NameKeyType | getModuleNameKey () const =0 |
| |
| NameKeyType | getModuleTagNameKey () const |
| |
| virtual void | onObjectCreated () |
| |
| virtual void | onDrawableBoundToObject () |
| |
| virtual void | preloadAssets (TimeOfDay timeOfDay) |
| | preload any assets we might have for this time of day
|
| |
| void | deleteInstance () |
| |
| | Snapshot (void) |
| |
| | ~Snapshot (void) |
| |
Structure body module
Definition at line 69 of file HiveStructureBody.h.