From ff39885af284c97474af48be016706640a06c8be 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 --- 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; +}