Emergency 20 Dokumentation  4.2.0
em5::HealthSpecsGroup Class Reference

Health specs group implementation. More...

#include <HealthSpecsGroup.h>

Inheritance diagram for em5::HealthSpecsGroup:
em5::SpecsGroup qsf::UniqueInstance< HealthSpecsGroup > qsf::ParameterGroup qsf::Pluginable< ParameterGroupManager > qsf::PluginableBase qsf::Object

Public Member Functions

 HealthSpecsGroup (SpecsGroupManager *specsGroupManager)
 Constructor. More...
 
virtual ~HealthSpecsGroup ()
 Destructor. More...
 
float getRegenerationDelta () const
 
void setRegenerationDelta (float regeneration)
 
float getReanimationDelta () const
 
void setReanimationDelta (float reanimation)
 
float getDeathFightDelta () const
 
void setDeathFightDelta (float deathFightDelta)
 
float getReanimationLife () const
 
void setReanimationLife (float lifeEnergy)
 
float getFireDamageConvert () const
 
void setFireDamageConvert (float fireDamageConvert)
 
qsf::Time getInjuryAudioTimeMinimum () const
 
void setInjuryAudioTimeMinimum (qsf::Time injuryAudioTimeMinimum)
 
qsf::Time getInjuryAudioTimeMaximum () const
 
void setInjuryAudioTimeMaximum (qsf::Time injuryAudioTimeMaximum)
 
float getPlagueQuickTestPositivChance () const
 
void setPlagueQuickTestPositivChance (float plagueQuickTestPositivChance)
 
float getCQCGangsterPoliceAttackerDamage () const
 
void setCQCGangsterPoliceAttackerDamage (float damage)
 
float getCQCGangsterPoliceVictimDamage () const
 
void setCQCGangsterPoliceVictimDamage (float damage)
 
float getCQCGangsterGangsterAttackerDamage () const
 
void setCQCGangsterGangsterAttackerDamage (float damage)
 
float getCQCGangsterGangsterVictimDamage () const
 
void setCQCGangsterGangsterVictimDamage (float damage)
 
- Public Member Functions inherited from em5::SpecsGroup
virtual ~SpecsGroup ()
 Destructor. More...
 
- Public Member Functions inherited from qsf::ParameterGroup
virtual ~ParameterGroup ()
 Destructor. More...
 
- Public Member Functions inherited from qsf::Pluginable< ParameterGroupManager >
virtual ~Pluginable ()
 Destructor. More...
 
ParameterGroupManagergetManager () const
 Return the pluginable manager this pluginable is in. More...
 
- Public Member Functions inherited from qsf::PluginableBase
virtual ~PluginableBase ()
 Destructor. More...
 
template<typename T >
T & getPluginableManager () const
 Return the pluginable manager this pluginable is in. More...
 
- Public Member Functions inherited from qsf::Object
virtual ~Object ()
 Destructor. More...
 
const camp::Class & getCampClass () const
 Return the CAMP class. More...
 
int getPropertyIndexById (const StringHash &propertyId) const
 Return the CAMP property index by using the unique class property ID. More...
 
uint32 getPropertyIdByIndex (int index) const
 Return the unique class property ID with the given index. More...
 
std::string getPropertyNameById (const StringHash &propertyId) const
 Return the CAMP property name by using the unique class property ID. More...
 
const camp::Property * getCampPropertyById (const StringHash &propertyId) const
 Return the CAMP property by using the unique class property ID. More...
 
void setPropertyValuesByString (const std::string &values)
 Set CAMP reflection property values by using a given string. More...
 
void setPropertiesToDefaultValues ()
 Set all CAMP reflection system properties to their default values. More...
 
void serializeToBoostPTree (boost::property_tree::ptree &pTree, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL) const
 
void serializeToBoostPTree (boost::property_tree::ptree &pTree, const camp::Class &campClass, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL) const
 
bool deserializeFromBoostPTree (const boost::property_tree::ptree &pTree, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL)
 
bool deserializeFromBoostPTree (const boost::property_tree::ptree &pTree, const camp::Class &campClass, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL)
 
void serializeToBinarySerializer (BinarySerializer &serializer, SerializationMode mode=MODE_MINIMAL, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL) const
 
void deserializeFromBinarySerializer (BinarySerializer &serializer, SerializationMode mode=MODE_MINIMAL, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL, bool setOverrideState=true)
 
virtual camp::Value getPropertyDefaultValue (const StringHash &propertyId) const
 
virtual PropertyOverrideState getPropertyOverrideState (const StringHash &propertyId) const
 
virtual bool setPropertyOverrideState (const StringHash &propertyId, PropertyOverrideState overrideState)
 
virtual void onPreDeserialize ()
 Called right before the object is deserialized using any of the above methods. Default implementation is empty. More...
 
virtual void onPostDeserialize ()
 Called right after the object was deserialized using any of the above methods. Default implementation is empty. More...
 
virtual ScriptgetAssociatedScript () const
 Return the script instance associated with this object instance. More...
 

Static Public Attributes

static const uint32 PLUGINABLE_ID
 "em5::HealthSpecsGroup" unique pluginable specs group ID More...
 
static const uint32 FIREDAMAGE_CONVERT
 "FireDamageConvert" unique class property ID inside the class More...
 
static const uint32 INJURYAUDIOTIME_MINIMUM
 "InjuryAudioTime_Minimum" unique class property ID inside the class More...
 
static const uint32 INJURYAUDIOTIME_MAXIMUM
 "InjuryAudioTime_Maximum" unique class property ID inside the class More...
 
static const uint32 PLAGUEQUICKTESTPOSTIVCHANCE
 "PlagueQuickTestPositivChance" unique class property ID inside the class More...
 

Additional Inherited Members

- Public Types inherited from qsf::Object
enum  PropertyOverrideState { PROPERTY_INVALID, PROPERTY_DEFAULT, PROPERTY_OVERRIDE, PROPERTY_REMOVED }
 
enum  SerializationMethod { SERIALIZE_FLAT, SERIALIZE_COMPLETE, SERIALIZE_DIFFERENTIAL, SERIALIZE_IGNORE_UNKNOWN }
 
enum  SerializationMode { MODE_MINIMAL, MODE_COMPATIBLE }
 
- Static Public Member Functions inherited from qsf::UniqueInstance< HealthSpecsGroup >
static HealthSpecsGroup * getInstance ()
 Return the global unique instance. More...
 
static HealthSpecsGroup & getInstanceSafe ()
 Return the global unique instance. More...
 
- Protected Member Functions inherited from em5::SpecsGroup
 SpecsGroup (SpecsGroupManager *specsGroupManager)
 Constructor. More...
 
- Protected Member Functions inherited from qsf::ParameterGroup
 ParameterGroup (ParameterGroupManager *parameterGroupManager)
 Constructor. More...
 
void promotePropertyChange (uint32 propertyId)
 A component property value was changed. More...
 
template<typename T >
bool assignAndPromoteChange (T &variable, const T &newValue, uint32 propertyId)
 Comfort function for updating an exported member variable and promoting any change that happened. More...
 
- Protected Member Functions inherited from qsf::Pluginable< ParameterGroupManager >
 Pluginable (ParameterGroupManager *pluginableManager)
 Constructor. More...
 
- Protected Member Functions inherited from qsf::PluginableBase
 PluginableBase (PluginableManager *pluginableManager)
 Constructor. More...
 
- Protected Member Functions inherited from qsf::Object
 Object ()
 Default constructor. More...
 
- Protected Member Functions inherited from qsf::UniqueInstance< HealthSpecsGroup >
 UniqueInstance ()
 Default constructor. More...
 
virtual ~UniqueInstance ()
 Destructor. More...
 

Detailed Description

Health specs group implementation.

Constructor & Destructor Documentation

em5::HealthSpecsGroup::HealthSpecsGroup ( SpecsGroupManager specsGroupManager)
inlineexplicit

Constructor.

Parameters
[in]specsGroupManagerOptional pointer to the specs group manager this specs group should be registered to, can be a null pointer
em5::HealthSpecsGroup::~HealthSpecsGroup ( )
inlinevirtual

Destructor.

Member Function Documentation

float em5::HealthSpecsGroup::getCQCGangsterGangsterAttackerDamage ( ) const
inline
float em5::HealthSpecsGroup::getCQCGangsterGangsterVictimDamage ( ) const
inline
float em5::HealthSpecsGroup::getCQCGangsterPoliceAttackerDamage ( ) const
inline
float em5::HealthSpecsGroup::getCQCGangsterPoliceVictimDamage ( ) const
inline
float em5::HealthSpecsGroup::getDeathFightDelta ( ) const
inline
float em5::HealthSpecsGroup::getFireDamageConvert ( ) const
inline
qsf::Time em5::HealthSpecsGroup::getInjuryAudioTimeMaximum ( ) const
inline
qsf::Time em5::HealthSpecsGroup::getInjuryAudioTimeMinimum ( ) const
inline
float em5::HealthSpecsGroup::getPlagueQuickTestPositivChance ( ) const
inline
float em5::HealthSpecsGroup::getReanimationDelta ( ) const
inline
float em5::HealthSpecsGroup::getReanimationLife ( ) const
inline
float em5::HealthSpecsGroup::getRegenerationDelta ( ) const
inline
void em5::HealthSpecsGroup::setCQCGangsterGangsterAttackerDamage ( float  damage)
inline
void em5::HealthSpecsGroup::setCQCGangsterGangsterVictimDamage ( float  damage)
inline
void em5::HealthSpecsGroup::setCQCGangsterPoliceAttackerDamage ( float  damage)
inline
void em5::HealthSpecsGroup::setCQCGangsterPoliceVictimDamage ( float  damage)
inline
void em5::HealthSpecsGroup::setDeathFightDelta ( float  deathFightDelta)
inline
void em5::HealthSpecsGroup::setFireDamageConvert ( float  fireDamageConvert)
void em5::HealthSpecsGroup::setInjuryAudioTimeMaximum ( qsf::Time  injuryAudioTimeMaximum)
void em5::HealthSpecsGroup::setInjuryAudioTimeMinimum ( qsf::Time  injuryAudioTimeMinimum)
void em5::HealthSpecsGroup::setPlagueQuickTestPositivChance ( float  plagueQuickTestPositivChance)
void em5::HealthSpecsGroup::setReanimationDelta ( float  reanimation)
inline
void em5::HealthSpecsGroup::setReanimationLife ( float  lifeEnergy)
inline
void em5::HealthSpecsGroup::setRegenerationDelta ( float  regeneration)
inline

Member Data Documentation

const uint32 em5::HealthSpecsGroup::FIREDAMAGE_CONVERT
static

"FireDamageConvert" unique class property ID inside the class

const uint32 em5::HealthSpecsGroup::INJURYAUDIOTIME_MAXIMUM
static

"InjuryAudioTime_Maximum" unique class property ID inside the class

const uint32 em5::HealthSpecsGroup::INJURYAUDIOTIME_MINIMUM
static

"InjuryAudioTime_Minimum" unique class property ID inside the class

const uint32 em5::HealthSpecsGroup::PLAGUEQUICKTESTPOSTIVCHANCE
static

"PlagueQuickTestPositivChance" unique class property ID inside the class

const uint32 em5::HealthSpecsGroup::PLUGINABLE_ID
static

"em5::HealthSpecsGroup" unique pluginable specs group ID


The documentation for this class was generated from the following files: