diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-05-01 00:47:57 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-05-05 17:34:17 +0200 |
commit | 3c102870f600178b7cabf6714f83e06fc05b42fd (patch) | |
tree | a9e022f5405de9c59b70ea7e664e1f5df758e3fc /src/Enchantments.h | |
parent | Merge pull request #978 from mc-server/VectorAssignmentOperator (diff) | |
download | cuberite-3c102870f600178b7cabf6714f83e06fc05b42fd.tar cuberite-3c102870f600178b7cabf6714f83e06fc05b42fd.tar.gz cuberite-3c102870f600178b7cabf6714f83e06fc05b42fd.tar.bz2 cuberite-3c102870f600178b7cabf6714f83e06fc05b42fd.tar.lz cuberite-3c102870f600178b7cabf6714f83e06fc05b42fd.tar.xz cuberite-3c102870f600178b7cabf6714f83e06fc05b42fd.tar.zst cuberite-3c102870f600178b7cabf6714f83e06fc05b42fd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Enchantments.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Enchantments.h b/src/Enchantments.h index ec42257c8..82eea53f9 100644 --- a/src/Enchantments.h +++ b/src/Enchantments.h @@ -84,6 +84,9 @@ public: /** Adds enchantments in the stringspec; if a specified enchantment already exists, overwrites it */ void AddFromString(const AString & a_StringSpec); + /** Get the count of enchantments */ + int Size(void); + /** Serializes all the enchantments into a string */ AString ToString(void) const; |