diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-26 22:45:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-26 22:45:55 +0300 |
commit | 80bbbc4c18273e0d1116d7e924d1df068a5d63d5 (patch) | |
tree | bef2f6458ee7fc5079c1993921abdfc4926570bb /src/input/inputactionmap.h | |
parent | 918e2a5cf24311e87b0dc754770480727f77eac3 (diff) | |
download | ManaVerse-80bbbc4c18273e0d1116d7e924d1df068a5d63d5.tar.gz ManaVerse-80bbbc4c18273e0d1116d7e924d1df068a5d63d5.tar.bz2 ManaVerse-80bbbc4c18273e0d1116d7e924d1df068a5d63d5.tar.xz ManaVerse-80bbbc4c18273e0d1116d7e924d1df068a5d63d5.zip |
Add chat command for print memory usage. For now only report about resources.
New chat command: /dumpmemoryusage
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r-- | src/input/inputactionmap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 2a12b5765..6d3c957e3 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5503,6 +5503,12 @@ static const InputActionData inputActionData "adoptchild|childadopt|askforchild", UseArgs_true, Protected_true}, + {"keyDumpMemmoryUsage", + defaultAction(&Actions::dumpMemoryUsage), + InputCondition::INGAME, + "dumpmemoryusage|memoryusage", + UseArgs_false, + Protected_true}, }; #undef defaultAction |