summaryrefslogtreecommitdiffstats
path: root/src/NBT/StringTag.hpp
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-02-01 01:38:20 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-02-01 01:38:20 +0100
commita6a2a6281218688de7a74a9cd2a426aad3fe2da2 (patch)
treea8a40ab0978ebeff31321ae6d094a7ea605ee553 /src/NBT/StringTag.hpp
parentcbe64618821a0ae9f1901ce1a4a3893d939fdc32 (diff)
downloadMinedMap-a6a2a6281218688de7a74a9cd2a426aad3fe2da2.tar
MinedMap-a6a2a6281218688de7a74a9cd2a426aad3fe2da2.zip
More convenient tag access
Diffstat (limited to 'src/NBT/StringTag.hpp')
-rw-r--r--src/NBT/StringTag.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/NBT/StringTag.hpp b/src/NBT/StringTag.hpp
index a120183..0144081 100644
--- a/src/NBT/StringTag.hpp
+++ b/src/NBT/StringTag.hpp
@@ -49,6 +49,10 @@ public:
virtual Type getType() const {
return Type::String;
}
+
+ const std::string & getValue() const {
+ return value;
+ }
};
}