From df1e6aa11bf7031bd2320f2def9b7cebfdd7a9f0 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 18 May 2016 14:29:23 +0200 Subject: [PATCH] Changed: New command /version to display Ryzom client version --HG-- branch : develop --- code/ryzom/client/src/commands.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/ryzom/client/src/commands.cpp b/code/ryzom/client/src/commands.cpp index cb8c5d9df..59c2c9fa6 100644 --- a/code/ryzom/client/src/commands.cpp +++ b/code/ryzom/client/src/commands.cpp @@ -5806,3 +5806,10 @@ NLMISC_COMMAND(playedTime, "Display character played time", "") CInterfaceManager::getInstance()->displaySystemInfo(msg, "AROUND"); return true; } + +NLMISC_COMMAND(version, "Display client version", "") +{ + ucstring msg = getDebugVersion(); + CInterfaceManager::getInstance()->displaySystemInfo(msg, "AROUND"); + return true; +}