summaryrefslogtreecommitdiff
path: root/src/resources/basicstat.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-29 21:56:30 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-30 00:03:20 +0300
commitd0a72be7362cfad41187b6e9544ac44802a66ebd (patch)
tree76ca7130307a6f9b9b648ffd019fe0bba5cfda67 /src/resources/basicstat.h
parente2c1b87e38e5c921912b334ca971e92b7989f8a8 (diff)
downloadmanaplus-d0a72be7362cfad41187b6e9544ac44802a66ebd.tar.gz
manaplus-d0a72be7362cfad41187b6e9544ac44802a66ebd.tar.bz2
manaplus-d0a72be7362cfad41187b6e9544ac44802a66ebd.tar.xz
manaplus-d0a72be7362cfad41187b6e9544ac44802a66ebd.zip
Remove basic attributes usage from generalhandler and move to statuswindow and statdb.
Diffstat (limited to 'src/resources/basicstat.h')
-rw-r--r--src/resources/basicstat.h14
1 files changed, 11 insertions, 3 deletions
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 <string>
#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