summaryrefslogtreecommitdiff
path: root/src/playerinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/playerinfo.h')
-rw-r--r--src/playerinfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/playerinfo.h b/src/playerinfo.h
index 8bb3a6f1d..d96e3e126 100644
--- a/src/playerinfo.h
+++ b/src/playerinfo.h
@@ -49,6 +49,7 @@ struct PlayerInfoBackend final
{
IntMap mAttributes;
StatMap mStats;
+ IntMap mSkills;
};
class Equipment;
@@ -111,6 +112,10 @@ namespace PlayerInfo
void setAttribute(const int id, const int value,
const bool notify = true);
+ int getSkillLevel(const int id) A_WARN_UNUSED;
+
+ void setSkillLevel(const int id, const int value);
+
// --- Stats ------------------------------------------------------------------
/**
@@ -169,6 +174,8 @@ namespace PlayerInfo
*/
void clearInventory();
+ void clear();
+
/**
* Changes the inventory item at the given slot.
*/