From d0a72be7362cfad41187b6e9544ac44802a66ebd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 29 Jun 2016 21:56:30 +0300 Subject: Remove basic attributes usage from generalhandler and move to statuswindow and statdb. --- src/resources/basicstat.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/resources/basicstat.h') diff --git a/src/resources/basicstat.h b/src/resources/basicstat.h index 598e9dc8b..a57581ffe 100644 --- a/src/resources/basicstat.h +++ b/src/resources/basicstat.h @@ -23,20 +23,28 @@ #ifndef RESOURCES_BASICSTAT_H #define RESOURCES_BASICSTAT_H +#include "enums/being/attributes.h" + #include #include "localconsts.h" struct BasicStat final { - BasicStat(const std::string &tag0, - const std::string &format0) : + BasicStat(const AttributesT attr0, + const std::string &tag0, + const std::string &name0, + const std::string &format0) : tag(tag0), - format(format0) + name(name0), + format(format0), + attr(attr0) {} std::string tag; + std::string name; std::string format; + AttributesT attr; }; #endif // RESOURCES_BASICSTAT_H -- cgit v1.2.3-70-g09d2