summaryrefslogtreecommitdiff
path: root/src/resources/basicstat.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-29 21:06:30 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-30 00:03:20 +0300
commite2c1b87e38e5c921912b334ca971e92b7989f8a8 (patch)
treeeb95d5d620c5318403bafd014738906c3d602adf /src/resources/basicstat.h
parent370a8245ae3fbbfe449000b6bdaab366d08d925e (diff)
downloadplus-e2c1b87e38e5c921912b334ca971e92b7989f8a8.tar.gz
plus-e2c1b87e38e5c921912b334ca971e92b7989f8a8.tar.bz2
plus-e2c1b87e38e5c921912b334ca971e92b7989f8a8.tar.xz
plus-e2c1b87e38e5c921912b334ca971e92b7989f8a8.zip
Rename ItemDb::Stat into BasicStat.
Diffstat (limited to 'src/resources/basicstat.h')
-rw-r--r--src/resources/basicstat.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/resources/basicstat.h b/src/resources/basicstat.h
new file mode 100644
index 000000000..598e9dc8b
--- /dev/null
+++ b/src/resources/basicstat.h
@@ -0,0 +1,42 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2004-2009 The Mana World Development Team
+ * Copyright (C) 2009-2010 The Mana Developers
+ * Copyright (C) 2011-2016 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef RESOURCES_BASICSTAT_H
+#define RESOURCES_BASICSTAT_H
+
+#include <string>
+
+#include "localconsts.h"
+
+struct BasicStat final
+{
+ BasicStat(const std::string &tag0,
+ const std::string &format0) :
+ tag(tag0),
+ format(format0)
+ {}
+
+ std::string tag;
+ std::string format;
+};
+
+#endif // RESOURCES_BASICSTAT_H