ACE3/extensions/medical/handleDamage.h
2015-05-14 17:36:58 +02:00

67 lines
1.6 KiB
C++

#pragma once
#include <string>
#include <vector>
#include <memory>
namespace ace {
namespace medical {
namespace injuries {
class DamageType;
class InjuryType;
class OpenWound;
}
class handleDamage
{
public:
~handleDamage();
/**
*
*/
std::vector<ace::medical::injuries::OpenWound> HandleDamageWounds(const std::string& selectionName, double amountOfDamage, const std::string& typeOfDamage);
/**
*
*/
void AddDamageType(const std::vector<std::string>& sqfDamageTypeDefinition);
/**
*
*/
void AddInjuryType(const std::vector<std::string>& sqfInjuryDefinition);
/**
*
*/
//static std::string SetInjuryTypeData(const std::string& data);
/**
*
*/
int SelectionToNumber(const std::string& selectionName);
/**
*
*/
//static std::vector<std::shared_ptr<ace::medical::injuries::InjuryType>> GetInjuryInfoFor(const std::string& damageType);
/**
*
*/
void FinalizeDefinitions();
private:
handleDamage();
std::vector<std::shared_ptr<ace::medical::injuries::DamageType>> damageTypes;
std::vector<std::shared_ptr<ace::medical::injuries::InjuryType>> injuryTypes;
std::vector<std::string> selections;
std::vector<std::string> hitPoints;
};
}
}