summaryrefslogtreecommitdiff
path: root/src/clientiface.h
diff options
context:
space:
mode:
authorLejo <Lejo_1@web.de>2019-12-20 19:16:29 +0100
committerSmallJoker <SmallJoker@users.noreply.github.com>2019-12-20 19:16:29 +0100
commit37f771a95bd54e2072f07783df142da4a91e7bff (patch)
tree2f6fe149f6373e7cabdbf345f4e62bcee97f754a /src/clientiface.h
parentec3224dce26fac8361f457514d4376d9753ee36b (diff)
downloadminetest-37f771a95bd54e2072f07783df142da4a91e7bff.tar.gz
minetest-37f771a95bd54e2072f07783df142da4a91e7bff.tar.bz2
minetest-37f771a95bd54e2072f07783df142da4a91e7bff.zip
Fix the player information version_string return value (#8616)
* Give more player information * Correct lua_api.txt * Correct keys in lua_api.txt * Improve Code * Only Bugfix+ser_vers * Correct doc * Fix double
Diffstat (limited to 'src/clientiface.h')
-rw-r--r--src/clientiface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/clientiface.h b/src/clientiface.h
index 2b0ccfbb1..bf95df4a8 100644
--- a/src/clientiface.h
+++ b/src/clientiface.h
@@ -338,6 +338,7 @@ public:
u8 getMajor() const { return m_version_major; }
u8 getMinor() const { return m_version_minor; }
u8 getPatch() const { return m_version_patch; }
+ const std::string &getFull() const { return m_full_version; }
private:
// Version is stored in here after INIT before INIT2
u8 m_pending_serialization_version = SER_FMT_VER_INVALID;